]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
alloc_buffer: Return unqualified pointer type in alloc_buffer_next
[thirdparty/glibc.git] / ChangeLog
CommitLineData
32d85c11
FW
12019-04-11 Florian Weimer <fweimer@redhat.com>
2
3 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4 comment.
5 (alloc_buffer_next): Change return type to non-const. Update
6 comment.
7
221710af
FW
82019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
9
10 * manual/time.texi (Formatting Calendar Time): Add missing percent
11 sign to conversion specifier.
12
e621246e
CD
132019-04-09 Carlos O'Donell <carlos@redhat.com>
14 Kwok Cheung Yeung <kcy@codesourcery.com>
15
16 [BZ #16573]
17 * malloc/mtrace.c: Define prototypes for all hooks.
18 (set_default_hooks): New function.
19 (set_trace_hooks): Likewise.
20 (save_default_hooks): Likewise.
21 (tr_freehook): Use new s*_hooks functions.
22 (tr_mallochook): Likewise.
23 (tr_reallochook): Likewise.
24 (tr_memalignhook): Likewise.
25 (mtrace): Likewise.
26 (muntrace): Likewise.
27
648279f4
WD
282019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
29
30 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
31 (generic_stpcpy): New function.
32 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
33 (generic_stpncpy): New function.
34 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
35 (generic_strcat): New function.
36 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
37 (generic_strcpy): New function.
38 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
39 (STUPID_STRNCAT): Remove function.
40 (generic_strncat): New function.
41 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
42 (STUPID_STRNCPY): Remove function.
43 (generic_strncpy): New function.
44 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
45 (generic_strnlen): New function.
46 (memchr_strnlen): New function.
47 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
48 (memchr_strlen): Likewise.
49
93eebae5
WD
502019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
51
52 * benchtests/bench-strstr.c (input): Add realistic input text.
53 (stupid_strstr): Remove function.
54 (basic_strstr): Add function.
55 (twoway_strstr): Add function.
56 (do_one_test): Add result checking.
57 (do_test): Use new input text. Remove accidental early matches.
58 (test_main): Improve range of tests, reduce unaligned cases.
59
a173d09f
WD
602019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
61
62 * benchtests/bench-memmem.c (simple_memmem): Remove function.
63 (basic_memmem): Add function.
64 (twoway_memmem): Add function.
65
6103c0a8
WD
662019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
67
68 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
69 * benchtests/bench-malloc-thread.c: Likewise.
70 * benchtests/bench-skeleton.c: Likewise.
71 * benchtests/bench-strtod.c: Likewise.
72 * benchtests/bench-timing.h: Likewise.
73
33322186
FW
742019-04-08 Florian Weimer <fweimer@redhat.com>
75
76 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
77 definitions.
78 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
79 RES_INSECURE2 security checks.
80 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
81 RES_INSECURE2 handling.
82
3f8b44be
FW
832019-04-08 Florian Weimer <fweimer@redhat.com>
84
85 resolv: Remove support for RES_USE_INET6 and the inet6 option.
86 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
87 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
88 GETHOSTBYNAME.
89 * resolv/Makefile (tests): Remove tst-res_use_inet6.
90 (tests-internal): Update justification for tst-resolv-res_init,
91 tst-resolv-res_init-thread.
92 (tst-res_use_inet6): Remove target.
93 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
94 * resolv/res_debug.c (p_option): Remove "inet6" support.
95 * resolv/res_init.c (res_setoptions): Likewise.
96 * resolv/res_use_inet6.h: Remove file.
97 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
98 definition.
99 (res_use_inet6): Always return false.
100 * resolv/resolv.h (RES_USE_INET6): Remove definition.
101 * resolv/resolv_context.h: Adjust file comment.
102 (struct resolv_context): Update comment on __next field.
103 (__resolv_context_put): Update comment.
104 * resolv/tst-res_use_inet6.c: Remove file.
105 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
106 "inet6" support.
107 (test_cases): Adjust test case.
108 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
109 (thread_byname2_af_inet6): Use old byname_inet6 code.
110 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
111 (gai): Remove do_inet6 argument.
112 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
113 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
114 (thread_gai_unspec_inet6): Remove functions.
115 (do_test): Adjust thread_funcs.
116 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
117 RES_USE_INET6 flag.
118 (gaih_inet): Do not disable RES_USE_INET6 flag.
119
94e358f6
AY
1202019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
121
122 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
123 and remove redundant code.
124
e3fd0b0e
AZ
1252019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
126
f82ed45d
AZ
127 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
128 New rule.
129 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
130 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
131 Likewise.
132 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
133 Likewise.
134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
135 Likewise.
136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
137 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
138 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
139 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
140 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
141 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
143 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
144 wcsrchr-power7.
145 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
148 Remove wcsrchr optimizations.
149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
150
662c2cc4
AZ
151 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
152 the loop unroll.
153
421e3005
AZ
154 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
155 New rule.
156 * sysdeps/powerpc/power6/wcschr.c: Remove file.
157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
158 Likewise.
159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
160 Likewise.
161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
162 Likewise.
163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
164 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
165 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
166 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
167 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
168 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
170 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
171 wcschr-power7.
172 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
175 Remove wcschr optimizations.
176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
177
7ba0100c
AZ
178 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
179 the loop unroll.
180
447a1306
AZ
181 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
182 New rule.
183 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
185 Likewise.
186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
187 Likewise.
188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
189 Likewise.
190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
191 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
192 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
193 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
194 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
195 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
197 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
198 wcscpy-power7.
199 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
202 Remove wcscpy optimizations.
203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
204
e3fd0b0e
AZ
205 * include/loop_unroll.h: New file.
206 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
207 besides generic implementation.
208
8260f236
DD
2092019-04-03 DJ Delorie <dj@redhat.com>
210
211 * time/tst-strftime3.c (tm_to_printed): Disable warning about
212 snprintf truncating output.
213
0bd545ee
DD
2142019-04-02 DJ Delorie <dj@redhat.com>
215
216 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
217 warning.
218
466afec3
TS
2192019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
220
221 [BZ #22964]
222 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
223 era.
224 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
225 (mkreftable): Add rules for the new Japanese era and the new dates.
226
2f1d6155
TS
2272019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
228 Rafal Luzynski <digitalfreak@lingonborough.com>
229
230 * time/tst-strftime2.c (date_t): Explicitly define the type.
231 (dates): Use natural month and year numbers to express a date.
232 (is_before): New function to compare dates.
233 (mkreftable): Minor improvements to simplify maintenance.
234 (do_test): Reflect the changes in dates array.
235
84aea169
TS
236 [BZ #24293]
237 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
238 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
239 * time/tst-strftime2.c (locales): Likewise.
240 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
241 2010-04-01, and 2011-04-01.
242 (mkreftable): Add rules for the new locales and the new dates.
243
62449176
CD
2442019-04-01 Carlos O'Donell <carlos@redhat.com>
245
246 * localedata/locales/ja_JP: Add comments to era entries.
247
e0e4c321
DD
2482019-04-01 DJ Delorie <dj@redhat.com>
249
250 [BZ #24394]
251 * time/strptime_l.c (%Ey): Fix fencepost error.
252 * time/tst-strftime3.c: New.
253 * time/Makefile (tests): Add tst-strftime3.
254
993e3107
UB
2552019-04-01 Uros Bizjak <ubizjak@gmail.com>
256
257 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
258 conditional branch to DIVBYZERO. Fix unwind info.
259 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
260 excb after conditional branch to $powerof2. Add missing unop
261 instructions and .align directives and reorder instructions to
262 match __divqu.
263
d5ecee82
RH
2642019-04-01 Richard Henderson <rth@twiddle.net>
265
266 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
267 Do not redefine.
268 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
269 Do not redefine.
270
656dd306
MR
2712019-03-30 Maciej W. Rozycki <macro@wdc.com>
272
273 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
274 $libc_cv_riscv_float_abi in `test' invocation.
275 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
276
10cce669
PC
2772019-03-29 Paul A. Clarke <pc@us.ibm.com>
278
279 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
280 asm with builtin.
281 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
282 Likewise.
283 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
284 (_GET_SI_FPSCR): Likewise.
285 (_SET_SI_FPSCR): Likewise.
286
5e67e4bf 2872019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
288
289 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
290 clang 2.8.
291 (signbit): Use builtin for clang 3.3.
292 (isinf): Use builtin for clang 3.7.
293
01963891
AZ
2942019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
295
296 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
297
67112f7a
AH
2982019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
299
300 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
301 quote in printf.
302
7a773abf
MC
3032019-03-25 Mike Crowe <mac@mcrowe.com>
304
82849fde
MC
305 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
306 pthread_rwlock_timedrdlock with calls to
307 pthread_rwlock_timedwrlock to ensure that the latter is tested
308 too. Use new function name in diagnostic messages too.
309
7a773abf
MC
310 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
311 (do_test) Use libsupport test macros rather than hand-coded
312 conditionals and error messages. Ensure that sem_init returns zero
313 rather than not -1. Use <support/test-driver.c> rather than
314 test-skeleton.c.
315
316 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
317 test macros rather than hand-coded conditionals and error messages.
318 Use <support/test-driver.c> rather than test-skeleton.c.
319
9ac2de69
JM
3202019-03-25 Joseph Myers <joseph@codesourcery.com>
321
d7563e62
JM
322 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
323
9ac2de69
JM
324 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
325 (NT_MIPS_MSA): Likewise.
326
38cc11da
AZ
3272019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
328
7621e38b
WD
329 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
330 * benchtests/README: Update description.
331 * benchtests/bench-timing.h: Default to hp-timing.
332 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
333 HP_TIMING_PRINT): Remove.
334 (HP_TIMING_NOW): Add generic implementation.
335 (hp_timing_t): Change to uint64_t.
336
1e372ded
AZ
337 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
338 HP_TIMING_INLINE.
339 * nptl/descr.h: Likewise.
340 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
341 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
342 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
343 Abstract hp-timing usage with RTLD_* macros.
344 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
345 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
346 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
347 HP_TIMING_NONAVAIL): Likewise.
348 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
349 Likewise.
350 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
351 HP_SMALL_TIMING_AVAIL): Likewise.
352 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
353 HP_SMALL_TIMING_AVAIL): Likewise.
354 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
355 HP_SMALL_TIMING_AVAIL): Likewise.
356 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
357 HP_SMALL_TIMING_AVAIL): Likewise.
358 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
359 Likewise.
360 * sysdeps/generic/hp-timing-common.h: Update comment with
361 HP_TIMING_AVAIL removal.
362
359653aa
AZ
363 * include/random-bits.h: New file.
364 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
365 (__res_context_mkquery): Remove usage hp-timing usage and replace with
366 random_bits.
367 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
368 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
369 Likewise.
370
6e8ba7fd
AZ
371 * include/libc-internal.h (__get_clockfreq): Remove prototype.
372 * rt/Makefile (clock-routines): Remove get_clockfreq.
373 * rt/get_clockfreq.c: Remove file.
374 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
375 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
376 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
377 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
378 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
379
77b6f553
AZ
380 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
381 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
382 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
383 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
384 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
385
38cc11da
AZ
386 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
387 pthread_clock_settime.
388 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
389 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
390 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
391 * elf/rtld.c (_dl_start_final): Likewise.
392 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
393 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
394 Remove.
395 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
396 (_dl_cpuclock_offset): Remove.
397 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
398 cpuclock_offset_ununsed.
399 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
400 cpuclock_offset set.
401 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
402 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
403 * nptl/pthread_clock_gettime.c: Remove file.
404 * nptl/pthread_clock_settime.c: Likewise.
405 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
406 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
407 and CLOCK_PROCESS_CPUTIME_ID support.
408 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
409 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
410 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
411 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
412 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
413 Likewise.
414 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
415
421749d6
SL
4162019-03-22 Stefan Liebler <stli@linux.ibm.com>
417
418 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
419 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
420 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
421 New defines.
422 * sysdeps/s390/memmem-arch13.S: New file.
423 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
424 if it is only used as fallback.
425 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
426 * sysdeps/s390/multiarch/ifunc-impl-list.c
427 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
428
6f47401b
SL
4292019-03-22 Stefan Liebler <stli@linux.ibm.com>
430
431 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
432 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
433 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
434 New defines.
435 * sysdeps/s390/multiarch/ifunc-impl-list.c
436 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
437 * sysdeps/s390/strstr-arch13.S: New file.
438 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
439 if it is only used as fallback.
440 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
441
96fbb9a3
SL
4422019-03-22 Stefan Liebler <stli@linux.ibm.com>
443
444 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
445 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
446 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
447 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
448 ifunc selector.
449 * sysdeps/s390/multiarch/ifunc-impl-list.c
450 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
451 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
452 S390_IS_ARCH13_MIE3): New defines.
453
a899a551
SL
4542019-03-22 Stefan Liebler <stli@linux.ibm.com>
455
456 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
457 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
458 * sysdeps/s390/configure.ac: Add checks for arch13 support.
459 * sysdeps/s390/configure: Regenerated.
460
1a7df49c
SL
4612019-03-22 Stefan Liebler <stli@linux.ibm.com>
462
463 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
464 Add vxe2, vxp, dflt, sort flags.
465 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
466 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
467 capabilities.
468 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
469 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
470 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
471 HWCAP_S390_DFLT): Define.
472
5e67e4bf 4732019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
474
475 [BZ #24372]
476 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
477 of compiler warning.
478 * locale/programs/ld-collate.c (collate_output): Likewise.
479
ac64195c
DD
4802019-03-21 DJ Delorie <dj@redhat.com>
481
482 [BZ #24372]
483 * iconv/iconvconfig.c (write_output): Replace floating point math
484 with integer math to avoid imprecise results.
485 * locale/programs/ld-collate.c (collate_output): Likewise.
486
61f5e947
SL
4872019-03-21 Stefan Liebler <stli@linux.ibm.com>
488
489 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
490 Add HWCAP_S390_VX and HWCAP_S390_VXE.
491
57ada43c 4922019-03-20 mansayk <6688000@gmail.com>
493
494 [BZ #24296]
495 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
496 (abday): Likewise, but remove the trailing dots.
497
a2e57f89
JM
4982019-03-19 Joseph Myers <joseph@codesourcery.com>
499
500 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
501 macro.
502 (HWCAP_PACA): Likewise.
503 (HWCAP_PACG): Likewise.
504 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
505 Increase to 32.
506 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
507
e87d8ada
ST
5082019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
509
510 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
511 should be handled.
512
477e739b
JM
5132019-03-15 Joseph Myers <joseph@codesourcery.com>
514
515 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
516 version to 5.0.
517 (old_getpagesize): New syscall.
518
238d60a1
FY
5192019-03-15 Felix Yan <felixonmars@archlinux.org>
520
521 [BZ #24293]
522 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
523 * localedata/locales/cmn_TW (era): Likewise.
524 * localedata/locales/hak_TW (era): Likewise.
525 * localedata/locales/lzh_TW (era): Likewise.
526 * localedata/locales/nan_TW (era): Likewise.
527
a0a0dc83
FW
5282019-03-14 Florian Weimer <fweimer@redhat.com>
529
530 Remove obsolete, never-implemented XSI STREAMS declarations.
531 * manual/terminal.texi (Allocation): Remove portability note and
532 adjust example.
533 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
534 _SC_STREAMS.
535 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
536 * sysdeps/unix/inet/Subdirs (streams): Remove.
537 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
538 (conformtest-headers-UNIX98): Likewise.
539 (conformtest-headers-XOPEN2K): Likewise.
540 (conformtest-headers-POSIX2008): Likewise.
541 * posix/compat-streams.c: New file.
542 * posix/Makefile (routines): Add it.
543 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
544 getpmsg, isastream, putmsg, putpmsg.
545 (GLIBC_2.30): New section.
546 * bits/stropts.h: Remove file.
547 * bits/xtitypes.h: Likewise.
548 * conform/data/stropts.h-data: Likewise.
549 * include/stropts.h: Likewise.
550 * include/sys/stropts.h: Likewise.
551 * include/xtitypes.h: Likewise.
552 * streams/Makefile: Likewise.
553 * streams/fattach.c: Likewise.
554 * streams/fdetach.c: Likewise.
555 * streams/getmsg.c: Likewise.
556 * streams/getpmsg.c: Likewise.
557 * streams/isastream.c: Likewise.
558 * streams/putmsg.c: Likewise.
559 * streams/putpmsg.c: Likewise.
560 * streams/stropts.h: Likewise.
561 * streams/sys/stropts.h: Likewise.
562 * sysdeps/ia64/bits/xtitypes.h: Likewise.
563 * sysdeps/s390/bits/xtitypes.h: Likewise.
564 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
565 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
566 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
567 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
568 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
569 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
570 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
571 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
572 * sysdeps/x86/bits/xtitypes.h: Likewise.
573
081bdf94
FW
5742019-03-14 Florian Weimer <fweimer@redhat.com>
575
576 * nss/tst-nss-files-alias-truncated.c (do_test): Load
577 libnss_files.
578 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
579 but not with libnss_files.
580 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
581
97f8225d
ZW
5822019-03-14 Zack Weinberg <zackw@panix.com>
583
584 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
585 Specify encoding="utf-8" when opening headers to check.
586
0c1041ee
JM
5872019-03-13 Joseph Myers <joseph@codesourcery.com>
588
589 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
590 version to 5.0.
591 (Context.checkout_tar): Handle variable major version for Linux
592 kernel.
593
043440e7
FW
5942019-03-13 Florian Weimer <fweimer@redhat.com>
595
596 [BZ #24047]
597 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
598
29218b26
ZW
5992019-03-13 Zack Weinberg <zackw@panix.com>
600
601 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
602 Move to stdlib.
603 * include/inttypes.h: Adjust to match.
604 * include/stdint.h: New wrapper.
605
711a322a
ZW
6062019-03-13 Zack Weinberg <zackw@panix.com>
607
608 * scripts/check-obsolete-constructs.py: New test script.
609 * scripts/check-installed-headers.sh: Remove tests for
610 obsolete typedefs, superseded by check-obsolete-constructs.py.
611 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
612 as a special test. Update commentary.
613 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
614 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
615 Update commentary.
616 * posix/sys/types.h (__u_intN_t): Remove.
617 (u_int8_t): Typedef using __uint8_t.
618 (u_int16_t): Typedef using __uint16_t.
619 (u_int32_t): Typedef using __uint32_t.
620 (u_int64_t): Typedef using __uint64_t.
621
7c651308
SL
6222019-03-13 Stefan Liebler <stli@linux.ibm.com>
623
624 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
625 call _dl_procinfo.
626 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
627 Ignore types other than AT_HWCAP.
628 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
629 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
630 Likewise.
631 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
632 in the case of falling back to generic output mechanism.
633 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
634 Likewise.
635
38b52865
FW
6362019-03-12 Florian Weimer <fweimer@redhat.com>
637
638 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
639
08504de7
FW
6402019-03-12 Florian Weimer <fweimer@redhat.com>
641
642 [BZ #24047]
643 resolv: Enable full ICMP errors for UDP DNS sockets
644 * resolv/res_enable_icmp.c: New file.
645 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
646 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
647 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
648 socket.
649
5fbcd763
MH
6502019-03-11 Mao Han <han_mao@c-sky.com>
651
652 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
653 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
654
c4e5f34b
MH
6552019-03-11 Mao Han <han_mao@c-sky.com>
656
657 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
658 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
659 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
660
827e30f3
MH
6612019-03-11 Mao Han <han_mao@c-sky.com>
662
663 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
664 directly.
665 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
666 definition.
667
6229c9bf
MH
6682019-03-11 Mao Han <han_mao@c-sky.com>
669
670 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
671 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
672 in mcontext_t
673
86bdd49d
MF
6742019-03-08 Mike FABIAN <mfabian@redhat.com>
675
676 [BZ #24307]
677 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
678 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
679 Unicode 12.0.0.
680 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
681 * localedata/unicode-gen/PropList.txt: Likewise.
682 * localedata/unicode-gen/UnicodeData.txt: Likewise.
683 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
684 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
685 * localedata/charmaps/UTF-8: Regenerate.
686 * localedata/locales/i18n_ctype: Likewise.
687 * localedata/locales/tr_TR: Likewise.
688 * localedata/locales/translit_circle: Likewise.
689 * localedata/locales/translit_cjk_compat: Likewise.
690 * localedata/locales/translit_combining: Likewise.
691 * localedata/locales/translit_compat: Likewise.
692 * localedata/locales/translit_font: Likewise.
693 * localedata/locales/translit_fraction: Likewise.
694
c5f65462
JM
6952019-03-07 Joseph Myers <joseph@codesourcery.com>
696
697 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
698 than after operators.
699 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
700 (setitimer_locked): Likewise.
701 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
702 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
703 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
704 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
705 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
706 (PPC_CPU_SUPPORTED): Likewise.
707 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
708 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
709 (stat_overflow): Likewise.
710 (statfs_overflow): Likewise.
711 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
712 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
713 (eq_ttyname_r): Likewise.
714 (run_chroot_tests): Likewise.
715
27a2f2f3
FW
7162019-03-07 Florian Weimer <fweimer@redhat.com>
717
718 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
719 header check.
720
ae514971 7212019-03-07 Martin Liska <mliska@suse.cz>
722
723 * math/Makefile: Change location where math-vector-fortran.h is
724 installed.
725 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
726 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
727 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
728 * scripts/check-installed-headers.sh: Skip Fortran header files.
729 * scripts/check-wrapper-headers.py: Likewise.
730
0ddb7ea8
AZ
7312019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
732
733 * nptl/nptl-init.c (__have_futex_clock_realtime,
734 __have_futex_clock_realtime): Remove definition.
735 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
736 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
737 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
738 __ASSUME_FUTEX_CLOCK_REALTIME support.
739 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
740 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
741 * sysdeps/unix/sysv/linux/kernel-features.h
742 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
743 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
744 Adjust comment.
745
590675c0
GG
7462019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
747
748 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
749 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
750 __GI___wcscpy and wcscpy.
751
de71ee7b
FW
7522019-03-04 Florian Weimer <fweimer@redhat.com>
753
754 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
755 declaration.
756 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
757 defined.
758
ce6ddae0
SL
7592019-03-04 Stefan Liebler <stli@linux.ibm.com>
760
761 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
762 * sysdeps/s390/s390-32/sysdep.h: Likewise.
763
31efface
TS
7642019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
765
766 [BZ #24162]
767 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
768 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
769
f0eaf862
GG
7702019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
771
772 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
773 tests.
774 (do_test): Likewise.
775 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
776 (do_test_call_varg): Likewise.
777 (do_test_call_rarg): Likewise.
778 * sysdeps/ieee754/ldbl-opt/Makefile
779 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
780 tst-nldbl-error.
781 ($(objpfx)tst-nldbl-warn.c): New rule.
782 ($(objpfx)tst-nldbl-error.c): Likewise.
783 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
784 New variables.
785
d11086a9
GG
7862019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
787
788 [BZ #23984]
789 * include/bits/error-ldbl.h: New file.
790 * include/error.h: Include stdarg.h. Declare internal functions
791 __error_internal and __error_at_line_internal.
792 * misc/Makefile (headers): Add bits/error-ldbl.h.
793 * misc/bits/error-ldbl.h: New file.
794 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
795 avoid the inclusion of bits/error.h.
796 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
797 and __nldbl_error_at_line.
798 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
799 (__nldbl_error, __ndlbl_error_at_line): New functions.
800 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
801 Redirect error and error_at_line.
802 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
804 Likewise.
805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
806 Likewise.
807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
808 Likewise.
809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
810 Likewise.
811 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
812 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
813 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
814
90188e7d
GG
8152019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
816
817 [BZ #23984]
818 * include/bits/err-ldbl.h: New file.
819 * include/err.h: Add prototypes for the internal functions:
820 __vwarnx_internal and __vwarn_internal.
821 * misc/Makefile (headers): Add bits/err-ldbl.h.
822 * misc/bits/err-ldbl.h: New file.
823 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
824 defined, i.e.: when -mlong-double-64 is in use.
825 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
826 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
827 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
828 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
829 (VA_CALL): New macro.
830 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
831 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
832 functions.
833 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
834 declare prototypes for the new functions.
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
ea2d89d0
GG
8482019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
849
850 * sysdeps/ieee754/ldbl-opt/Makefile
851 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
852 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
853 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
854
6e1f6440
GG
8552019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
856
857 [BZ #23983]
858 * argp/Makefile (headers): Add bits/argp-ldbl.h.
859 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
860 * argp/bits/argp-ldbl.h: New file.
861 * include/argp.h: Include stdarg.h. Add prototypes for internal
862 functions: __argp_error_internal and __argp_failure_internal.
863 * include/bits/argp-ldbl.h: New file.
864 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
865 __nldbl_argp_error and __nldbl_argp_failure.
866 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
867 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
868 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
869 Redirect argp_error and argp_failure calls.
870 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
872 Likewise.
873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
874 Likewise.
875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
876 Likewise.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
878 Likewise.
879 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
880 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
881 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
882
c259196b
FW
8832019-03-01 Florian Weimer <fweimer@redhat.com>
884
885 [BZ #20419]
886 * elf/tst-big-note-lib.S: Create a syntactically valid note.
887 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
888 code, to avoid creating an ABI tag note.
889 (modules-names-nobuild): Add tst-big-note-lib.
890
928b305d
SL
8912019-03-01 Stefan Liebler <stli@linux.ibm.com>
892
893 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
894 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
895
36f30c10
FW
8962019-03-01 Florian Weimer <fweimer@redhat.com>
897
898 [BZ #20271]
899 * sysdeps/unix/sysv/linux/netlink_assert_response.c
900 (__netlink_assert_response): Add additional missing newlines.
901
462e83a4
JM
9022019-02-28 Joseph Myers <joseph@codesourcery.com>
903
904 * sysdeps/powerpc/powerpc32/dl-machine.c
905 (__elf_machine_fixup_plt): Use space before '('.
906 (__process_machine_rela): Likewise.
907 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
908 Likewise.
909 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
910 Likewise.
911 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
912 Likewise.
913 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
914 (pattern): Likewise.
915 (delta): Likewise.
916 (check_result): Likewise.
917 (check_excepts): Likewise.
918 (check_op): Likewise.
919 (fail_xr): Likewise.
920 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
921 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
922 (SCNHSZ): Likewise.
923 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
924 Likewise.
925 (ARGS): Likewise.
926 (__makecontext): Likewise.
927 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
928 Likewise.
929
cc3e573c
FW
9302019-02-28 Florian Weimer <fweimer@redhat.com>
931
932 [BZ #23937]
933 elf: Add test with a local IFUNC resolver.
934 * elf/ifuncmain9.c: New file.
935 * elf/ifuncmain9pic.c: Likewise.
936 * elf/ifuncmain9picstatic.c: Likewise.
937 * elf/ifuncmain9pie.c: Likewise.
938 * elf/ifuncmain9static.c: Likewise.
939 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
940 ifuncmain9static, ifuncmain9picstatic.
941 * elf/Makefile [multi-arch && build-shared] (tests-internal):
942 Add ifuncmain9, ifuncmain9pic.
943 * elf/Makefile [multi-arch && build-shared && have-fpie]
944 (ifunc-pie-tests): Add ifuncmain9pie.
945 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
946 (CFLAGS-ifuncmain9picstatic.c): Likewise.
947 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
948
92ad88fe
L
9492019-02-27 H.J. Lu <hongjiu.lu@intel.com>
950
951 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
952 * configure: Regenerated.
953 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
954
6bd4d02e
AZ
9552019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
956
957 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
958 symbol as __wcspcy instead of wcscpy.
959
1b218417
ST
9602019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
961
962 * include/stdio.h (__renameat2): New hidden prototype.
963 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
964 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
965 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
966 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
967
c4f50205
JM
9682019-02-27 Joseph Myers <joseph@codesourcery.com>
969
f627dd4d
JM
970 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
971 if statement.
972
c4f50205
JM
973 * benchtests/bench-strcpy.c (do_test): Use space before '('.
974 * benchtests/bench-string.h (cmdline_process_function): Likewise.
975 * benchtests/bench-strlen.c (do_test): Likewise.
976 (test_main): Likewise.
977 * catgets/gencat.c (read_old): Likewise.
978 * elf/cache.c (load_aux_cache): Likewise.
979 * iconvdata/bug-iconv8.c (do_test): Likewise.
980 * math/test-tgmath-ret.c (do_test): Likewise.
981 * nis/nis_call.c (rec_dirsearch): Likewise.
982 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
983 * nptl/tst-audit-threads.c (do_test): Likewise.
984 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
985 * nss/nss_test1.c (init): Likewise.
986 * nss/test-netdb.c (test_hosts): Likewise.
987 * posix/execvpe.c (maybe_script_execute): Likewise.
988 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
989 * stdio-common/tst-printf.c (do_test): Likewise.
990 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
991 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
992 * stdlib/qsort.c (STACK_SIZE): Likewise.
993 * stdlib/test-canon.c (do_test): Likewise.
994 * stdlib/tst-swapcontext1.c (do_test): Likewise.
995 * string/memcmp.c (OPSIZ): Likewise.
996 * string/test-strcpy.c (do_test): Likewise.
997 (do_random_tests): Likewise.
998 * string/test-strlen.c (do_test): Likewise.
999 (test_main): Likewise.
1000 * string/test-strrchr.c (do_test): Likewise.
1001 (do_random_tests): Likewise.
1002 * string/tester.c (test_memrchr): Likewise.
1003 (test_memchr): Likewise.
1004 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1005 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1006 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1007 (read_encoded_value_with_base): Likewise.
1008 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1009 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1010 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1011 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1012 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1013 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1014 Likewise.
1015 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1016 Likewise.
1017 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1018 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1019 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1020 Likewise.
1021 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1022 Likewise.
1023 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1024 Likewise.
1025 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1026 Likewise.
1027 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1028 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1029 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1030 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1031 * time/test_time.c (main): Likewise.
1032
7b3fb620
AZ
10332019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1034
457208b1
AZ
1035 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1036
30a7e208
AZ
1037 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1038 wmemcpy.
1039
ddf21ec7
AZ
1040 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1041 wmemcpy.
1042
4d801563
AZ
1043 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1044
81a14439
AZ
1045 * include/wchar.h (__wcscpy): New prototype.
1046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1047 (__wcscpy): Route internal symbol to generic implementation.
1048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1049 Add internal __wcscpy alias.
1050 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1051 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1052 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1053 * wcsmbs/wcscpy.c (wcscpy): Add
1054 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1055 use generic implementation.
1056 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1057
39ef0744
AZ
1058 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1059 wmemset.
1060
7b3fb620
AZ
1061 * sysdeps/m68k/wcpcpy.c: Remove file.
1062 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1063
e0cb7b61
JM
10642019-02-26 Joseph Myers <joseph@codesourcery.com>
1065
aa0e4663
JM
1066 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1067 than after operators.
1068 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1069 * sysdeps/mach/hurd/getcwd.c
1070 (__hurd_canonicalize_directory_name_internal): Likewise.
1071 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1072 (pthread_mutex_consistent): Likewise.
1073 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1074 Likewise.
1075 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1076 (__pthread_mutex_transfer_np): Likewise.
1077 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1078 (__pthread_mutex_unlock): Likewise.
1079 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1080 (mtx_owned_p): Likewise.
1081 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1082 (pthread_mutexattr_getrobust): Likewise.
1083 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1084 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1085 Likewise.
1086 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1087 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1088 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1089 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1090 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1091 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1092 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1093 Likewise.
1094 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1095 Likewise.
1096 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1097 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1098 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1099 (____longjmp_chk): Likewise.
1100 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1101 Likewise.
1102 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1103 (INTERNAL_SYSCALL): Likewise.
1104 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1105 (INTERNAL_SYSCALL): Likewise.
1106 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1107 (__get_clockfreq_via_cpuinfo): Likewise.
1108
e0cb7b61
JM
1109 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1110 comments.
1111 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1112 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1113 (WORD_COPY_BWD): Likewise.
1114 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1115 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1116 Likewise.
1117 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1118 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1119 comment.
1120 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1121
a04549c1
JM
11222019-02-25 Joseph Myers <joseph@codesourcery.com>
1123
1124 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1125 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1126 rather than after operators.
1127 * elf/cache.c (print_cache): Likewise.
1128 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1129 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1130 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1131 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1132 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1133 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1134 (reauth_proc): Likewise.
1135 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1136 (__file_name_split_at): Likewise.
1137 (__directory_name_split_at): Likewise.
1138 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1139 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1140 * iconv/gconv_dl.c (do_print): Likewise.
1141 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1142 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1143 * locale/setlocale.c (new_composite_name): Likewise.
1144 * malloc/memusagestat.c (main): Likewise.
1145 * misc/fstab.c (fstab_convert): Likewise.
1146 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1147 Likewise.
1148 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1149 (getgrent_next_file): Likewise.
1150 (internal_getgrnam_r): Likewise.
1151 (internal_getgrgid_r): Likewise.
1152 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1153 Likewise.
1154 (internal_getgrent_r): Likewise.
1155 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1156 (getpwent_next_nss): Likewise.
1157 (getpwent_next_file): Likewise.
1158 (internal_getpwnam_r): Likewise.
1159 (internal_getpwuid_r): Likewise.
1160 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1161 Likewise.
1162 (getspent_next_nss): Likewise.
1163 (internal_getspnam_r): Likewise.
1164 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1165 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1166 * string/strchr.c (STRCHR): Likewise.
1167 * string/strchrnul.c (STRCHRNUL): Likewise.
1168 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1169 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1170 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1171 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1172 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1173 Likewise.
1174 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1175 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1176 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1177 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1178 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1179 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1180 (open_file): Likewise.
1181 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1182 (pthread_mutexattr_setprotocol): Likewise.
1183 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1184 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1185 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1186 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1187 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1188 Likewise.
1189 (elf_machine_rela): Likewise.
1190 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1191 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1192 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1193 * sysdeps/posix/rename.c (rename): Likewise.
1194 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1195 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1196 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1197 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1198 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1199 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1200 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1201 Likewise.
1202 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1203 Likewise.
1204 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1205 * time/tzfile.c (__tzfile_compute): Likewise.
1206
34a5a146
JM
12072019-02-22 Joseph Myers <joseph@codesourcery.com>
1208
1209 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1210 rather than after operators.
1211 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1212 * crypt/md5.c (md5_finish_ctx): Likewise.
1213 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1214 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1215 * elf/cache.c (load_aux_cache): Likewise.
1216 * elf/dl-load.c (open_verify): Likewise.
1217 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1218 * elf/readelflib.c (process_elf_file): Likewise.
1219 * elf/rtld.c (dl_main): Likewise.
1220 * elf/sprof.c (generate_call_graph): Likewise.
1221 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1222 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1223 * hurd/dtable.c (reauth_dtable): Likewise.
1224 * hurd/getdport.c (__getdport): Likewise.
1225 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1226 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1227 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1228 Likewise.
1229 * hurd/hurdioctl.c (fioctl): Likewise.
1230 * hurd/hurdselect.c (_hurd_select): Likewise.
1231 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1232 (STOPSIGS): Likewise.
1233 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1234 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1235 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1236 * hurd/msgportdemux.c (msgport_server): Likewise.
1237 * hurd/setauth.c (_hurd_setauth): Likewise.
1238 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1239 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1240 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1241 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1242 * login/tst-utmp.c (do_check): Likewise.
1243 (simulate_login): Likewise.
1244 * mach/lowlevellock.h (lll_lock): Likewise.
1245 (lll_trylock): Likewise.
1246 * math/test-fenv.c (ALL_EXC): Likewise.
1247 * math/test-fenvinline.c (ALL_EXC): Likewise.
1248 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1249 * nis/nis_call.c (__do_niscall3): Likewise.
1250 * nis/nis_callback.c (cb_prog_1): Likewise.
1251 * nis/nis_defaults.c (searchaccess): Likewise.
1252 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1253 * nis/nis_ismember.c (internal_ismember): Likewise.
1254 * nis/nis_local_names.c (nis_local_principal): Likewise.
1255 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1256 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1257 Likewise.
1258 * nis/ypclnt.c (yp_match): Likewise.
1259 (yp_first): Likewise.
1260 (yp_next): Likewise.
1261 (yp_master): Likewise.
1262 (yp_order): Likewise.
1263 * nscd/hstcache.c (cache_addhst): Likewise.
1264 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1265 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1266 (internal_getpwuid_r): Likewise.
1267 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1268 * posix/glob.h (__GLOB_FLAGS): Likewise.
1269 * posix/regcomp.c (peek_token): Likewise.
1270 (peek_token_bracket): Likewise.
1271 (parse_expression): Likewise.
1272 * posix/regexec.c (sift_states_iter_mb): Likewise.
1273 (check_node_accept_bytes): Likewise.
1274 * posix/tst-spawn3.c (do_test): Likewise.
1275 * posix/wordexp-test.c (testit): Likewise.
1276 * posix/wordexp.c (parse_tilde): Likewise.
1277 (exec_comm): Likewise.
1278 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1279 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1280 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1281 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1282 * stdio-common/tst-fileno.c (do_test): Likewise.
1283 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1284 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1285 * stdlib/strtod_l.c (round_and_return): Likewise.
1286 (____STRTOF_INTERNAL): Likewise.
1287 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1288 * string/strcspn.c (STRCSPN): Likewise.
1289 * string/test-memmem.c (simple_memmem): Likewise.
1290 * termios/tcsetattr.c (tcsetattr): Likewise.
1291 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1292 * time/asctime.c (asctime_internal): Likewise.
1293 * time/strptime_l.c (__strptime_internal): Likewise.
1294 * time/sys/time.h (timercmp): Likewise.
1295 * time/tzfile.c (__tzfile_compute): Likewise.
1296
b0b50fe0
PF
12972019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1298
1299 [BZ #21915]
1300 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1301
f43b8dd5
GG
13022019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1303
1304 * argp/argp-help.c (__argp_error_internal): New function,
1305 renamed from __argp_error, but that takes a 'mode_flags'
1306 parameter to control the format of long double parameters.
1307 (__argp_error): Converted into a call __argp_error_internal.
1308 (__argp_failure_internal): New function, renamed from
1309 __argp_failure, but that takes a 'mode_flags' parameter.
1310 (__argp_failure): Converted into a call __argp_failure_internal.
1311 * misc/err.c (__vwarnx_internal): New function, renamed from
1312 vwarnx, but that takes a 'mode_flags' parameter.
1313 (vwarnx): Converted into a call to __vwarnx_internal.
1314 (__vwarn_internal): New function, renamed from vwarn, but that
1315 takes a 'mode_flags' parameter.
1316 (vwarn): Converted into a call to __vwarn_internal.
1317 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1318 call to __vfxprintf with 'mode_flags'.
1319 (__error_internal): New function, renamed from error, but that
1320 takes a 'mode_flags' parameter.
1321 (error): Converted into a call to __error_internal.
1322 (__error_at_line_internal): New function, renamed from
1323 error_at_line, but that takes a 'mode_flags' parameter.
1324 (error_at_line): Converted into a call to
1325 __error_at_line_internal.
1326 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1327 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1328 Likewise.
1329
dc0afac3 13302019-02-20 Martin Liska <mliska@suse.cz>
1331
1332 * math/Makefile: Install math-vector-fortran.h.
1333 * bits/math-vector-fortran.h: New file.
1334 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1335
4a2dd41c
GG
13362019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1337
1338 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1339 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1340
04de9302
WS
13412019-02-19 Wolfram Sang <wsa@the-dreams.de>
1342
1343 * nptl/pthread_mutex_trylock.c: Fix comment.
1344
b026ce1e
CD
13452019-02-19 Carlos O'Donell <carlos@redhat.com>
1346
1347 * nptl/pthread_tryjoin.c: Fix comment.
1348
8c9289b6
JM
13492019-02-18 Joseph Myers <joseph@codesourcery.com>
1350
1351 [BZ #24231]
1352 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1353 after R_SPARC_H34 case.
1354
308e022f
FW
13552019-02-18 Florian Weimer <fweimer@redhat.com>
1356
1357 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1358 (getanswer): Do not call Dprintf.
1359 (res_gethostbyname2_context): Likewise.
1360 (res_gethostbyaddr_context): Likewise.
1361
a5406364
FW
13622019-02-18 Florian Weimer <fweimer@redhat.com>
1363
1364 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1365 declaration.
1366 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1367 Remove definitions.
1368 * libio/stdfiles.c: Update comment.
1369 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1370 set _IO_stdin, _IO_stdout, _IO_stderr.
1371 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1372 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1373 inline function.
1374 (_IO_deallocate_file): New inline function.
1375 * libio/iolibio.h (_IO_vprintf): Remove definition.
1376 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1377 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1378 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1379 _IO_legacy_file.
1380 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1381 __builtin_expect. Use _IO_legacy_file.
1382
6c29942c
SL
13832019-02-18 Stefan Liebler <stli@linux.ibm.com>
1384
1385 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1386 Initialize ctid with a known value and remove update of ctid
1387 after clone.
1388 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1389 as assumed current value of ctid_ptr.
1390
225d9445 13912019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
1392
1393 Check that non-sysdeps headers have wrapper headers.
1394 * scripts/check-wrapper-headers.py: New file.
1395 * Makefile (tests-special): Add check-wrapper-headers.out.
1396 (check-wrapper-headers.out): New target.
1397 * Rules (tests-special): Add check-wrapper-headers.out.
1398 (check-wrapper-headers.out): New target.
1399
225d9445 14002019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
1401
1402 Add missing header wrappers under include/.
1403 * include/ar.h: New file.
1404 * include/bits/mqueue2.h: Likewise.
1405 * include/bits/stdio.h: Likewise.
1406 * include/bits/stdio2.h: Likewise.
1407 * include/fstab.h: Likewise.
1408 * include/fts.h: Likewise.
1409 * include/lastlog.h: Likewise.
1410 * include/netinet/icmp6.h: Likewise.
1411 * include/netinet/igmp.h: Likewise.
1412 * include/netinet/ip6.h: Likewise.
1413 * include/re_comp.h: Likewise.
1414 * include/regexp.h: Likewise.
1415 * include/rpcsvc/bootparam.h: Likewise.
1416 * include/rpcsvc/yp_prot.h: Likewise.
1417 * include/sys/random.h: Likewise.
1418 * include/sys/stropts.h: Likewise.
1419 * include/sys/ttychars.h: Likewise.
1420 * include/sys/vfs.h: Likewise.
1421 * include/wait.h: Likewise.
1422
225d9445 14232019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
1424
1425 * nptl_db/proc_service.h: Move to ...
1426 * sysdeps/nptl/proc_service.h: ... here.
1427 * nptl_db/thread_db.h: Move to ...
1428 * sysdeps/nptl/thread_db.h: ... here.
1429 * nptl/descr.h: Include <thread_db.h>.
1430
e442e40d
AZ
14312019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1432
1433 * io/Makefile (tests): Add tst-lockf.
1434 * io/lockf.c (lockf): Use __fcntl and only define for
1435 !__OFF_T_MATCHES_OFF64_T.
1436 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1437 __OFF_T_MATCHES_OFF64_T case.
1438 * io/tst-lockf.c: New file.
1439 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1440 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1441 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1442 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1443 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1445 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1446 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1447 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1448
bc10e22c
FW
14492019-02-15 Florian Weimer <fweimer@redhat.com>
1450
1451 [BZ #24211]
1452 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1453 pd->result after the thread descriptor has been freed.
1454
365f05c7
JM
14552019-02-15 Joseph Myers <joseph@codesourcery.com>
1456
8a11f970
JM
1457 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1458 from function return type.
1459
365f05c7
JM
1460 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1461
56a731d4
JK
14622019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1463
1464 * scripts/test_printers_common.py: Set TERM to a known harmless
1465 value.
1466
712182c8
JM
14672019-02-14 Joseph Myers <joseph@codesourcery.com>
1468
1469 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1470 (xdr_u_int): Likewise.
1471 (xdr_enum): Likewise.
1472 (xdr_bytes): Reword fall-through comment.
1473 (xdr_string): Likewise.
1474
eb76e5b4
AZ
14752019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1476
1477 [BZ #2421]
1478 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1479 (tests): Add tst-join8 tst-join9.
1480 * nptl/lll_timedwait_tid.c: Remove file.
1481 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1482 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1483 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1484 * nptl/pthread_join_common.c (timedwait_tid): New function.
1485 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1486 is set.
1487 * nptl/tst-join5.c (thread_join): New function.
1488 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1489 check.
1490 * nptl/tst-join8.c: New file.
1491 * nptl/tst-join9.c: Likewise.
1492 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1493 lll_futex_timed_wait_cancel): Add generic macros.
1494 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1495 Remove definitions.
1496 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1497 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1498 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1499 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1500 Remove function.
1501 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1502 Likewise.
1503 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1504 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1505 (lll_futex_timed_wait_cancel): New macro.
1506
3904fd85
WD
15072019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1508
1509 * benchtests/Makefile: Add malloc-simple benchmark.
1510 * benchtests/bench-malloc-simple.c: New benchmark.
1511
24ca04fe
SP
15122019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1513
1514 * benchtests/bench-memmove.c (do_one_test): Remove unused
1515 ORIG_SRC.
1516 (do_test): Adjust.
1517 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1518 ORIG_SRC.
1519 (do_test): Adjust.
1520
85bd1ddb
JW
15212019-01-13 Jim Wilson <jimw@sifive.com>
1522
1523 [BZ #24040]
1524 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1525 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1526 (func): New.
1527 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1528 call func directly.
1529 * nptl/Makefile (tests): Add tst-unwind-thread.
1530 (CFLAGS-tst-unwind-thread.c): Define.
1531 * nptl/tst-unwind-thread.c: New file.
1532 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1533 as undefined.
1534
86140c62
JM
15352019-02-13 Joseph Myers <joseph@codesourcery.com>
1536
10756268
JM
1537 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1538 comment wording.
1539 * nis/nis_call.c (__do_niscall3): Likewise.
1540
05383720
JM
1541 * catgets/gencat.c (normalize_line): Use braces around empty
1542 'else' body.
1543 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1544 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1545 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1546 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1547 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1548 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1549 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1550 definition.
1551
86140c62
JM
1552 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1553 execlp returns.
1554
16f87cfd
WD
15552019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1556
1557 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1558 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1559 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1560 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1561 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1562 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1563 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1564 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1565 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1566 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1567 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1568 * benchtests/bench-bcopy.c: Delete file.
1569 * benchtests/bench-bzero.c: Likewise.
1570 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1571 (simple_memccpy): Remove.
1572 (generic_memccpy): Add function.
1573 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1574 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1575 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1576 (generic_mempcpy): Add new function.
1577 * benchtests/bench-memset.c (simple_bzero): Remove.
1578 (builtin_bzero): Remove.
1579 (builtin_memset): Remove.
1580 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1581 (generic_rawmemchr): Add new function.
1582
0c6d82e9
FW
15832019-02-12 Florian Weimer <fweimer@redhat.com>
1584
1585 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1586
b3fbfe81
AZ
15872019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1588
1589 [BZ #24122]
1590 * elf/Makefile (tests): Add tst-audit13.
1591 (modules-names): Add tst-audit13mod1.
1592 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1593 rule.
1594 * elf/tst-audit13.c: New file.
1595 * elf/tst-audit13mod1.c: Likewise.
1596
3b856d09
FW
15972019-02-12 Florian Weimer <fweimer@redhat.com>
1598
1599 [BZ #24122]
1600 * elf/rtld.c (unload_audit_module): New function.
1601 (report_audit_module_load_error): Likewise.
1602 (load_audit_module): Likewise. Extracted from dl_main. Call
1603 _dl_close if the laversion symbol cannot be found. Use early
1604 returns for error handling. Add malloc error check. Check for a
1605 zero return value from la_version. Remove spurious comment about
1606 static TLS initialization. Remove useless casts.
1607 (notify_audit_modules_of_loaded_object): New function. Extracted
1608 from dl_main.
1609 (load_audit_module): Likewise.
1610 (dl_main): Call load_audit_modules.
1611
32db86d5
JM
16122019-02-12 Joseph Myers <joseph@codesourcery.com>
1613
1614 * elf/dl-exception.c (_dl_exception_create_format): Add
1615 fall-through comments.
1616 * elf/ldconfig.c (parse_conf_include): Likewise.
1617 * elf/rtld.c (print_statistics): Likewise.
1618 * locale/programs/charmap.c (parse_charmap): Likewise.
1619 * misc/mntent_r.c (__getmntent_r): Likewise.
1620 * posix/wordexp.c (parse_arith): Likewise.
1621 (parse_backtick): Likewise.
1622 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1623 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1625
a51bc4fe
PC
16262019-02-11 Paul A. Clarke <pc@us.ibm.com>
1627
1628 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1629 Use float instead of double.
1630
fb25b135
TS
16312019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1632
1633 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1634
32ea7299
JM
16352019-02-08 Joseph Myers <joseph@codesourcery.com>
1636
1637 * sysdeps/powerpc/bits/mathinline.h: Remove.
1638
eef4d4f8
FW
16392019-02-08 Florian Weimer <fweimer@redhat.com>
1640
1641 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1642 * math/bits/math-finite.h: Move to ...
1643 * bits/math-finite.h: ... here.
1644
fdfbd47d
FW
16452019-02-08 Florian Weimer <fweimer@redhat.com>
1646
1647 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1648 * bits/unistd_ext.h: here.
1649
11eb21c4
PF
16502019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1651
1652 [BZ #21915]
1653 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1654 * nss/tst-nss-files-hosts-long.c: New file.
1655 * nss/tst-nss-files-hosts-long.root: New directory.
1656 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1657 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1658
e47d82c9
FW
16592019-02-08 Florian Weimer <fweimer@redhat.com>
1660
1661 * include/bits/unistd_ext.h: Remove file.
1662 * posix/bits/unistd_ext.h: Move to ...
1663 * sysdeps/generic/bits/unistd_ext.h: ... here.
1664
8f89ab21
FW
16652019-02-08 Florian Weimer <fweimer@redhat.com>
1666
1667 * include/bits/unistd_ext.h: New file.
1668
144a794e
TS
16692019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1670
1671 * time/tst-strftime2.c: Use array_length macros instead of magic
1672 numbers.
1673
669ff911
FW
16742019-02-08 Florian Weimer <fweimer@redhat.com>
1675
1676 [BZ #24161]
1677 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1678 argument.
1679 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1680 locking if the new do_locking argument is true.
1681 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1682 __run_fork_handlers.
1683
d0bd87d4 16842019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
1685
1686 [BZ #6399]
1687 Linux: Add gettid system call wrapper.
1688 * posix/Makefile (headers): Add bits/unistd_ext.h.
1689 * posix/bits/unistd_ext.h: New file.
1690 * posix/unistd.h: Include it.
1691 * manual/process.texi (Process Identification): Document gettid.
1692 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1693 tst-gettid, tst-gettid-kill.
1694 (tst-gettid): Link with $(shared-thread-library).
1695 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1696 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1697 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1698 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1699 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1700 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1701 Add gettid.
1702 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1703 Likewise.
1704 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1705 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1706 Likewise.
1707 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1708 Likewise.
1709 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1710 Likewise.
1711 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1712 Likewise.
1713 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1714 Likewise.
1715 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1716 Likewise.
1717 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1718 Likewise.
1719 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1720 (GLIBC_2.30): Likewise.
1721 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1722 (GLIBC_2.30): Likewise.
1723 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1724 (GLIBC_2.30): Likewise.
1725 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1726 (GLIBC_2.30): Likewise.
1727 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1728 Likewise.
1729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1730 (GLIBC_2.30): Likewise.
1731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1732 (GLIBC_2.30): Likewise.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1734 (GLIBC_2.30): Likewise.
1735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1736 (GLIBC_2.30): Likewise.
1737 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1738 Likewise.
1739 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1740 Likewise.
1741 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1742 Likewise.
1743 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1744 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1745 Likewise.
1746 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1747 Likewise.
1748 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1749 Likewise.
1750 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1751 Likewise.
1752 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1753
225d9445 17542019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
1755
1756 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1757 compatibility symbols.
1758
823624bd
SL
17592019-02-07 Stefan Liebler <stli@linux.ibm.com>
1760
1761 [BZ #24180]
1762 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1763 Add compiler barriers and comments.
1764
8311c83f
FW
17652019-02-07 Florian Weimer <fweimer@redhat.com>
1766
1767 * include/array_length.h (array_length): Do not use a statement
1768 expression and _Static_assert, so that array_length can be used at
1769 file scope and as a constant expression.
1770
94b63e66
FW
17712019-02-07 Florian Weimer <fweimer@redhat.com>
1772
1773 * support/xdlfcn.h (xdlmopen): Declare.
1774 * support/xdlmopen.c: New file.
1775 * support/Makefile (libsupport-routines): Add xdlmopen.
1776
c2d8f0b7
JM
17772019-02-06 Joseph Myers <joseph@codesourcery.com>
1778
1779 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1780 before return type, without separate inline.
1781 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1782 * elf/dl-tunables.h (tunable_is_name): Likewise.
1783 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1784 (do_set_top_pad): Likewise.
1785 (do_set_mmap_threshold): Likewise.
1786 (do_set_mmaps_max): Likewise.
1787 (do_set_mallopt_check): Likewise.
1788 (do_set_perturb_byte): Likewise.
1789 (do_set_arena_test): Likewise.
1790 (do_set_arena_max): Likewise.
1791 (do_set_tcache_max): Likewise.
1792 (do_set_tcache_count): Likewise.
1793 (do_set_tcache_unsorted_limit): Likewise.
1794 * nis/nis_subr.c (count_dots): Likewise.
1795 * nptl/allocatestack.c (advise_stack_range): Likewise.
1796 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1797 (do_sin): Likewise.
1798 (reduce_sincos): Likewise.
1799 (do_sincos): Likewise.
1800 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1801 (do_set_elision_enable): Likewise.
1802 (TUNABLE_CALLBACK_FNDECL): Likewise.
1803
3b935595
FW
18042019-02-06 Florian Weimer <fweimer@redhat.com>
1805
1806 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1807 (xdlsym): Use dlerror to detect a NULL symbol.
1808
b4333340
FW
18092019-02-06 Florian Weimer <fweimer@redhat.com>
1810
1811 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1812 <stap-probe.h>.
1813 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1814
b6d8a999
SL
18152019-02-06 Stefan Liebler <stli@linux.ibm.com>
1816
1817 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1818
94eeeec0
SL
18192019-02-06 Stefan Liebler <stli@linux.ibm.com>
1820
1821 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1822 __wmemcmp and weak alias to wmemcmp.
1823
bc79db3f
SL
18242019-02-06 Stefan Liebler <stli@linux.ibm.com>
1825
1826 [BZ #23403]
1827 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1828 TLS_TCB_AT_TP tls variant.
1829 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1830 Add alignment checks.
1831 * support/Makefile (libsupport-routines): Add xposix_memalign and
1832 xpthread_setstack.
1833 * support/support.h: Add xposix_memalign.
1834 * support/xthread.h: Add xpthread_attr_setstack.
1835 * support/xposix_memalign.c: New File.
1836 * support/xpthread_attr_setstack.c: Likewise.
1837
f1ac7455
FW
18382019-02-05 Florian Weimer <fweimer@redhat.com>
1839
1840 [BZ #24164]
1841 arm: Use "nr" constraint for Systemtap probes, to avoid the
1842 compiler using memory operands for constants, due to the "o"
1843 alternative in the default "nor" constraint.
1844 * include/stap-probe.h [USE_STAP_PROBE]: Include
1845 <stap-probe-machine.h>
1846 * sysdeps/generic/stap-probe-machine.h: New file.
1847 * sysdeps/arm/stap-probe-machine.h: Likewise.
1848
7a0dcfc6
JM
18492019-02-04 Joseph Myers <joseph@codesourcery.com>
1850
77dc0d86
JM
1851 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1852 with 0, not tcache->entries[tc_idx].
1853
7a0dcfc6
JM
1854 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1855 once.
1856
65f7767a
AS
18572019-02-04 Andreas Schwab <schwab@suse.de>
1858
1859 [BZ #16976]
1860 [BZ #17396]
1861 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1862 looking up collating elements match against (wide) character
1863 sequence instead of name. Correct alignment adjustment.
1864 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1865 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1866 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1867 (LOCALES): Add cs_CZ.ISO-8859-2.
1868 * posix/tst-fnmatch4.c: New file.
1869 * posix/tst-fnmatch5.c: New file.
1870 * include/wchar.h (__wmemcmp): Declare.
1871 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1872 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1873 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1874 * sysdeps/s390/wmemcmp.c: Likewise.
1875
3f635fb4
L
18762019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1877
1878 [BZ #24155]
1879 CVE-2019-7309
1880 * NEWS: Updated for CVE-2019-7309.
1881 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1882 upper 32 bits of RDX register for x32. Use unsigned Jcc
1883 instructions, instead of signed.
1884 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1885 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1886
2ab5741b
FW
18872019-02-04 Florian Weimer <fweimer@redhat.com>
1888
1889 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1890 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1891 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1892 Likewise.
1893 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1894 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1895 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1896 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1897 Likewise.
1898 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1899 Likewise.
1900 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1901 Likewise.
1902 (posix_spawn_file_actions_addopen): Likewise.
1903 (posix_spawn_file_actions_addclose): Likewise.
1904 (posix_spawn_file_actions_adddup2): Likewise.
1905 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1906 qualifiers.
1907 (posix_spawn_file_actions_addfchdir_np): Likewise.
1908
8692ebdb
DN
19092019-02-04 David Newall <glibc@davidnewall.com>
1910
1911 elf: Implement --preload option for the dynamic linker.
1912 * elf/rtld.c (preloadarg): New variable.
1913 (handle_preload_list): Pass through “where” argument to
1914 do_preload.
1915 (dl_main): Handle "--preload" and add second call to
1916 handle_preload_list.
1917 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1918 (tst-rtld-preload-OBJS): Set variable.
1919 (tst-rtld-preload.out): New target.
1920 * elf/tst-rtld-preload.sh: New file.
1921
5e10136b
MM
19222019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1923
1924 * Makefile (testrun.sh): Exit in case of incorrect argument.
1925
221baae0
FW
19262019-02-04 Florian Weimer <fweimer@redhat.com>
1927
1928 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1929 alignment gaps.
1930
b8c72381
FW
19312019-02-03 Florian Weimer <fweimer@redhat.com>
1932
1933 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1934 implicit overflow checks.
1935
11f382ee
AJ
19362019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1937
1938 * stdlib/isomac.c: Include <unistd.h>.
1939
77c7d55e
FW
19402019-02-03 Florian Weimer <fweimer@redhat.com>
1941
1942 * include/time.h (__tzfile_default): Use int, not long int, for
1943 the GMT offsets.
1944 * time/tzfile.c (struct ttinfo): Change type of the offset member
1945 to int.
1946 (__tzfile_read): Remove useless cast.
1947 (__tzfile_default): Adjust prototype.
1948 * time/tzset.c (tz_rule): Change type of the offset member to int.
1949 (parse_offset): Change the type of the sign variable to int.
1950
ee9941f9
FW
19512019-02-03 Florian Weimer <fweimer@redhat.com>
1952
1953 [BZ #24153]
1954 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1955 * libio/getchar.c (getchar): Likewise.
1956 * libio/getchar_u.c (getchar_unlocked): Likewise.
1957 * libio/getwchar.c (getwchar): Likewise.
1958 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1959 * libio/iogets.c (_IO_gets): Likewise.
1960 * libio/vscanf.c (_IO_vscanf): Likewise.
1961 * libio/vwscanf.c (__vwscanf): Likewise.
1962 * libio/tst-bz24153.c: New file.
1963 * libio/Makefile (tests): Add it.
1964
c70824b9
FW
19652019-02-02 Florian Weimer <fweimer@redhat.com>
1966
1967 [BZ #14829]
1968 * manual/resource.texi (Basic Scheduling Functions): Add
1969 portability note. Change process to task throughout the section.
1970 Remove incorrect comment about sched_yield as it affects
1971 tasks/threads, not entire processes.
1972 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1973 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1974
4dcbbc3b
JM
19752019-02-01 Joseph Myers <joseph@codesourcery.com>
1976
1977 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1978 * configure: Regenerated.
1979 * manual/install.texi (Tools for Compilation): Update minimum GCC
1980 version.
1981 * INSTALL: Regenerated.
1982
6175507c
FW
19832019-02-01 Florian Weimer <fweimer@redhat.com>
1984
1985 * support/support_test_compare_string.c
1986 (support_test_compare_string): Use "string" in error message.
1987 * support/tst-test_compare_string.c (do_test): Adjust.
1988
baef1943
FW
19892019-02-01 Florian Weimer <fweimer@redhat.com>
1990
1991 * support/support_format_address_family.c
1992 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1993
395599f0
FW
19942019-02-01 Florian Weimer <fweimer@redhat.com>
1995
1996 * manual/socket.texi (Internet Address Formats): Clarify the byte
1997 order of struct sockaddr_in, struct sockaddr_in6. Document
1998 sin6_flowinfo and sin6_scope_id.
1999
b06f4c00
WD
20002019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2001
2002 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2003 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2004 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2005 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2006 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2007 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2008
83d1cc42
FX
20092019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2010
2011 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2012 [!MEMCHR](MEMCHR): Set to __memchr.
2013 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2014 Add memchr_generic and memchr_nosimd.
2015 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2016 (__libc_ifunc_impl_list): Add memchr ifuncs.
2017 * sysdeps/aarch64/multiarch/memchr.c: New file.
2018 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2019 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2020
c7d3890f
FX
20212019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2022
2023 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2024 Add memset_emag.
2025 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2026 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2027 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2028 Add IS_EMAG check for ifunc dispatch.
2029 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2030 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2031
07c3d1ec
FX
20322019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2033
2034 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2035 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2036 Add emag.
2037 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2038 New macro.
2039
114f792e
SL
20402019-02-01 Stefan Liebler <stli@linux.ibm.com>
2041
2042 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2043
d5627550
VG
20442019-01-31 Vineet Gupta <vgupta@synopsys.com>
2045
2046 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2047 syscall-template file.
2048
5fc9ed4c
CD
20492019-01-31 Carlos O'Donell <carlos@redhat.com>
2050 Torvald Riegel <triegel@redhat.com>
2051 Rik Prohaska <prohaska7@gmail.com>
2052
2053 [BZ# 23844]
2054 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2055 tst-rwlock-trywrlock-stall.
2056 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2057 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2058 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2059 Set __wrphase_fute to 1 only if we started the write phase.
2060 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2061 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2062 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2063 * support/xpthread_rwlock_destroy.c: New file.
2064 * support/xthread.h: Declare xpthread_rwlock_destroy.
2065
932329a5
JM
20662019-02-01 Joseph Myers <joseph@codesourcery.com>
2067
2068 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2069 version to 4.0.2.
2070
5f10701f
PP
20712019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2072
2073 [BZ #24051]
2074 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2075 * libio/fileops.c (_IO_new_file_underflow): Likewise
2076 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2077 * libio/putchar.c (putchar): Likewise.
2078 * libio/putchar_u.c (putchar_unlocked): Likewise.
2079 * libio/putwchar.c (putchar): Likewise.
2080 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2081 * libio/tst-bz24051.c: New test.
2082 * libio/Makefile (tests): Add tst-bz24051
2083
583dd860
PE
20842019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2085
b626c5aa 2086 CVE-2019-9169
583dd860
PE
2087 regex: fix read overrun [BZ #24114]
2088 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2089 https://debbugs.gnu.org/34140
2090 * posix/regexec.c (proceed_next_node):
2091 Do not read past end of input buffer.
2092
2bac7daa
FW
20932019-01-31 Florian Weimer <fweimer@redhat.com>
2094
2095 [BZ #24059]
2096 * nss/nss_files/files-alias.c (get_next_alias): Handle
2097 continuation line without newline at the end.
2098 * nss/tst-nss-files-alias-truncated.c: New file.
2099 * nss/Makefile [$(build-shared)] (tests): Add
2100 tst-nss-files-alias-truncated.
2101 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2102 * support/namespace.h (struct support_chroot_configuration): Add
2103 aliases member.
2104 (struct support_chroot): Add path_aliases member.
2105 * support/support_chroot.c (support_chroot_create): Handle
2106 aliases.
2107 (support_chroot_free): Free path_aliases.
2108
330c9d0d
SP
21092019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2110
de44ab67
SP
2111 * version.h (RELEASE): Set to "development".
2112 (VERSION): Set to "2.29.9000".
2113 * NEWS: Add section for 2.30.
2114
56c86f5d
SP
2115 * version.h (RELEASE): Set to "stable".
2116 (VERSION): Set to "2.29".
2117 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2118
330c9d0d
SP
2119 * NEWS: Add the list of bugs fixed in 2.29.
2120 * manual/contrib.texi: Update contributors list with some more
2121 names.
2122 * manual/install.texi: Update latest versions of packages
2123 tested.
2124 * INSTALL: Regenerated.
2125
e1e47c91
SP
21262019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2127
2128 * po/be.po: Update translations.
2129 * po/bg.po: Likewise.
2130 * po/ca.po: Likewise.
2131 * po/cs.po: Likewise.
2132 * po/da.po: Likewise.
2133 * po/de.po: Likewise.
2134 * po/el.po: Likewise.
2135 * po/eo.po: Likewise.
2136 * po/es.po: Likewise.
2137 * po/fi.po: Likewise.
2138 * po/fr.po: Likewise.
2139 * po/gl.po: Likewise.
2140 * po/hr.po: Likewise.
2141 * po/hu.po: Likewise.
2142 * po/ia.po: Likewise.
2143 * po/id.po: Likewise.
2144 * po/it.po: Likewise.
2145 * po/ja.po: Likewise.
2146 * po/ko.po: Likewise.
2147 * po/lt.po: Likewise.
2148 * po/nb.po: Likewise.
2149 * po/nl.po: Likewise.
2150 * po/pl.po: Likewise.
2151 * po/pt_BR.po: Likewise.
2152 * po/ru.po: Likewise.
2153 * po/rw.po: Likewise.
2154 * po/sk.po: Likewise.
2155 * po/sl.po: Likewise.
2156 * po/sv.po: Likewise.
2157 * po/tr.po: Likewise.
2158 * po/uk.po: Likewise.
2159 * po/vi.po: Likewise.
2160 * po/zh_CN.po: Likewise.
2161 * po/zh_TW.po: Likewise.
2162
8d016826
UB
21632019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2164
2165 [BZ #24130]
2166 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2167 of $f3 register on $y_is_neg path.
2168
a0bb5abd
ST
21692019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2170
b96e22d0 2171 [BZ #24110]
a0bb5abd
ST
2172 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2173 sigaltstack.ss_flags.
2174
b22eed37
TS
21752019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2176
2177 [BZ #23758]
2178 * manual/time.texi (strftime): Document "%Ey".
2179 * time/strftime_l.c (__strftime_internal): Set the default width
2180 padding with zero of "%Ey" to 2.
2181
32f600a2
TS
2182 [BZ #24096]
2183 * manual/time.texi (strftime): Document "%EC" and "%EY".
2184 * time/Makefile (tests): Add tst-strftime2.
2185 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2186 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2187 override padding for "%Ey".
2188 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2189 "%Ey" in the subformat as if decorated with that flag.
2190 * time/tst-strftime2.c: New file.
2191
8e889c5d
AZ
21922019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2193
3367acdb
AZ
2194 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2195 are not defined.
2196
8e889c5d
AZ
2197 [BZ #24122]
2198 * elf/Makefile (tests): Add tst-audit13.
2199 (modules-names): Add tst-audit13mod1.
2200 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2201 rule.
2202 * elf/rtld.c (dl_main): Handle invalid audit module version.
2203 * elf/tst-audit13.c: New file.
2204 * elf/tst-audit13mod1.c: Likewise.
2205
a95dc01c
ST
22062019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2207
2208 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2209 returned by __hurd_at_flags.
ee4d7902
ST
2210 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2211 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2212 directly instead of __hurd_file_name_lookup.
a95dc01c 2213
712f1167
JM
22142019-01-21 Joseph Myers <joseph@codesourcery.com>
2215
2216 * scripts/build-many-glibcs.py (Context.checkout): Default
2217 binutils version to 2.32 branch.
2218
108bc404
FW
22192019-01-21 Florian Weimer <fweimer@redhat.com>
2220
2221 [BZ #20018]
2222 CVE-2016-10739
2223 resolv: Reject trailing characters in host names
2224 * include/arpa/inet.h (__inet_aton_exact): Declare.
2225 (inet_aton): Remove hidden prototype. No longer used internally.
2226 * nscd/gai.c (__inet_aton): Do not define.
2227 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2228 * nss/digits_dots.c (__inet_aton): Likewise.
2229 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2230 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2231 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2232 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2233 (tst-resolv-trailing): Likewise.
2234 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2235 libc.
2236 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2237 Make static. Add endp parameter.
2238 (__inet_aton_exact): New function.
2239 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2240 (__inet_addr): Call inet_aton_end.
2241 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2242 not just IPv6. Call __inet_aton_exact.
2243 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2244 (tests): Make const. Add additional test cases with trailing
2245 characters.
2246 (do_test): Use array_length.
2247 * resolv/tst-inet_aton_exact.c: New file.
2248 * resolv/tst-resolv-trailing.c: Likewise.
2249 * resolv/tst-resolv-nondecimal.c: Likewise.
2250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2251
5165de69
L
22522019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2253
2254 [BZ# 24097]
2255 CVE-2019-6488
2256 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2257 Clear the upper 32 bits of RSI register.
2258 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2259 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2260 and tst-size_t-wcsnlen.
2261 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2262 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2263
c7c54f65
L
22642019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2265
2266 [BZ# 24097]
2267 CVE-2019-6488
2268 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2269 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2270 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2271 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2272 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2273
ee915088
L
22742019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2275
2276 [BZ# 24097]
2277 CVE-2019-6488
2278 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2279 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2280 * sysdeps/x86_64/strcmp.S: Likewise.
2281 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2282 tst-size_t-strncmp and tst-size_t-wcsncmp.
2283 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2284 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2285 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2286
82d0b4a4
L
22872019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2288
2289 [BZ# 24097]
2290 CVE-2019-6488
2291 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2292 RDX_LP for length. Clear the upper 32 bits of RDX register.
2293 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2294 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2295 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2296 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2297
ecd8b842
L
22982019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2299
2300 [BZ# 24097]
2301 CVE-2019-6488
2302 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2303 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2304 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2305 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2306
231c5676
L
23072019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2308
2309 [BZ# 24097]
2310 CVE-2019-6488
2311 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2312 length. Clear the upper 32 bits of RDX register.
2313 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2314 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2315 Likewise.
2316 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2317 Likewise.
2318 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2319 tst-size_t-wmemchr.
2320 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2321
b304fc20
L
23222019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2323
2324 [BZ# 24097]
2325 CVE-2019-6488
2326 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2327 length. Clear the upper 32 bits of RDX register.
2328 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2329 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2330 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2331 tst-size_t-wmemcmp.
2332 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2333 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2334
97700a34
L
23352019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2336
2337 [BZ# 24097]
2338 CVE-2019-6488
2339 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2340 upper 32 bits of RDX register.
2341 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2342 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2343 tst-size_t-wmemchr.
2344 * sysdeps/x86_64/x32/test-size_t.h: New file.
2345 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2346 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2347
6ca53a24
FW
23482019-01-18 Florian Weimer <fweimer@redhat.com>
2349
2350 [BZ #24112]
2351 resolv: Do not send queries for non-host-names in nss_dns.
2352 * resolv/nss_dns/dns-host.c (check_name): New function.
2353 (_nss_dns_gethostbyname2_r): Use it.
2354 (_nss_dns_gethostbyname_r): Likewise.
2355 (_nss_dns_gethostbyname4_r): Likewise.
2356
5e30b8ef
FW
23572019-01-21 Florian Weimer <fweimer@redhat.com>
2358
2359 * resolv/inet_addr.c: Reformat to GNU style.
2360 (__inet_addr, __inet_aton): Update comment.
2361
71effcea
FW
23622019-01-18 Florian Weimer <fweimer@redhat.com>
2363
2364 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2365 ("malloc: Use current (C11-style) atomics for fastbin access").
2366 This commit introduces a substantial performance regression on
2367 POWER and Aarch64.
2368 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2369 (REMOVE_FB): Define.
2370 (_int_malloc): Use it and reindent.
2371 (_int_free): Use CAS loop with
2372 catomic_compare_and_exchange_val_rel.
2373 (malloc_consolidate): Use atomic_exchange_acq.
2374
2375
562f4362
L
23762019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2377
2378 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2379 -Wl,-z,now.
2380 (LDFLAGS-tst-minsigstksz-2): Likewise.
2381 (LDFLAGS-tst-minsigstksz-3): Likewise.
2382 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2383 (LDFLAGS-tst-minsigstksz-4): Likewise.
2384
80dfa298
TS
23852019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2386
2387 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2388 than "alternate".
2389
008b598e
PC
23902019-01-16 Paul A. Clarke <pc@us.ibm.com>
2391
2392 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2393
fbbc9a4e
ZW
23942019-01-16 Zack Weinberg <zackw@panix.com>
2395
2396 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2397 (xget_sigstack_location): New test support functions.
2398 * support/xsigstack.c: New file, implementing them.
2399 * support/tst-xsigstack.c: New test for them.
2400 * support/Makefile: Update.
2401
2402 * signal/tst-minsigstksz-1.c
2403 * signal/tst-minsigstksz-2.c
2404 * signal/tst-minsigstksz-3.c
2405 * signal/tst-minsigstksz-3a.c
2406 * signal/tst-minsigstksz-4.c: New tests.
2407 * signal/Makefile: Run them.
2408
5f1135e4
SP
24092019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2410
2411 * po/libc.pot: Regenerate.
2412
ecdacd34
TMQMF
24132019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2414
2415 * math/libm-test-fma.inc (fma_test_data): Set
2416 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2417
56054664
RA
24182019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2419
2420 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2421 (do_test): Changed __vector __int128_t to __vector unsigned int.
2422
1a153e47
LS
24232019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2424
2425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2426 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2427 stpcpy-avx2 and stpncpy-avx2.
2428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2429 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2430 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2431 and __stpncpy_avx2.
2432 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2433 ifunc-strcpy.h}: rename header for a more generic name.
2434 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2435 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2436 AVX unaligned load is fast and vzeroupper is preferred.
2437 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2438 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2439 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2440 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2441 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2442 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2443
a1b02ae7
DL
24442019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2445
2446 * argp/argp-help.c: Fix typo in comment.
2447 * misc/sys/cdefs.h: Likewise.
2448 * posix/regexec.c (sift_states_iter_mb): Likewise.
2449 * socket/sockatmark.c: Likewise.
2450 * socket/sys/socket.h: Likewise.
2451 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2452 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2453 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2454 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2455 * sysdeps/unix/sockatmark.c: Likewise.
2456 * time/strptime_l.c: Likewise.
2457
5cbbf01e
TS
24582019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2459
2460 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2461 missing space after the cast of "_NL_CURRENT".
2462
0bc9bdf1
RA
24632019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2464
2465 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2466 ifdef to fix read of VSCR.
2467 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2468 tst-ucontext-ppc64-vscr.c to test list.
2469 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2470
5494af04
AH
24712019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2472
2473 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2474 fall-through.
2475
e17f63ff
JW
24762019-01-09 Jim Wilson <jimw@sifive.com>
2477
2478 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2479
02f440c1
WD
24802019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2481
2482 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2483 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2484 __memcpy_falkor for ares.
2485 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2486 Add new define.
2487 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2488 Add ares cpu.
2489
69da3c9e
L
24902019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2491
2492 [BZ #24066]
2493 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2494 4_FP_W_TYPEs are used for IEEE quad precision.
2495 * soft-fp/extendhftf2.c: Likewise.
2496 * soft-fp/extendsftf2.c: Likewise.
2497 * soft-fp/extendxftf2.c: Likewise.
2498 * soft-fp/trunctfdf2.c: Likewise.
2499 * soft-fp/trunctfhf2.c: Likewise.
2500 * soft-fp/trunctfsf2.c: Likewise.
2501 * soft-fp/trunctfxf2.c: Likewise.
2502 * sysdeps/alpha/ots_cvttx.c: Likewise.
2503 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2504 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2505 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2506 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2507 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2508 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2509 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2510 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2511 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2512 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2513 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2514 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2515 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2516 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2517 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2518 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2519 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2520
2ef42716
AJ
25212019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2522
2523 [BZ #24024]
2524 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2525 code with -fmath-errno.
2526 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2527 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2528 * string/test-strerror-errno.c: New file.
2529
7395f3a0
AJ
25302019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2531
2532 [BZ #24046]
2533 * localedata/locales/en_US (date_fmt): Add, set to
2534 "%a %d %b %Y %r %Z".
2535
010fe231
FW
25362019-01-07 Florian Weimer <fweimer@redhat.com>
2537
2538 [BZ #24063]
2539 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2540 instead of @var{errno}.
2541 (Parsing of Integers): Likewise.
2542 (Parsing of Floats): Likewise.
2543 * manual/filesys.texi (Working with Directory Trees): Likewise.
2544 (Temporary Files): Likewise.
2545 * manual/job.texi (Terminal Access Functions): Likewise.
2546 * manual/llio.texi (Synchronizing I/O): Likewise.
2547 * manual/math.texi (SVID Random): Likewise.
2548 * manual/message.texi (The catgets Functions): Likewise.
2549 (Translation with gettext): Likewise.
2550 (Locating gettext catalog): Likewise.
2551 (Charset conversion in gettext): Likewise.
2552 * manual/nss.texi (NSS Module Function Internals): Likewise.
2553 * manual/search.texi (Hash Search Function): Likewise.
2554 * manual/setjmp.texi (System V contexts): Likewise.
2555 * manual/time.texi (Sleeping): Likewise.
2556 * manual/users.texi (Lookup User): Likewise.
2557 (Lookup Group): Likewise.
2558
b79dc8d0
AZ
25592019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2560
2561 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2562 fix typo.
2563
890461fe 25642019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
2565
2566 [BZ #19444]
2567 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2568 __builtin_unreachable for default case in switch.
2569 (__ieee754_yn): Likewise.
2570 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2571 (__ieee754_ynl): Likewise.
2572 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2573 (__ieee754_ynl): Likewise.
2574 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2575 (__ieee754_ynl): Likewise.
2576
8b18d418
SN
25772019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2578
2579 * manual/maint.texi: Use @{ and @}.
2580
4392898d
FW
25812019-01-04 Florian Weimer <fweimer@redhat.com>
2582
2583 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2584 function.
2585 (do_in_chroot_1): Call it.
2586 (run_chroot_tests):
2587 Improve error reporting in case it is not possible to create a
2588 collision for the PTY name required by the test.
2589
17cc27d5
AZ
25902019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2591
ce7eb0e9
AZ
2592 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2593 lll_wait_tid with timeout.
2594 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2595 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2596 futex_reltimed_wait_cancelable for cancelabla mode.
2597 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2598 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2599 macros.
2600 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2601 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2602 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2603 SYSCALL_CANCEL_NCS): New macro.
2604 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2605 (lll_timedwait_tid): Remove macro.
2606 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2607 Likewise.
2608 (lll_timedwait_tid): Likewise.
2609 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2610 Likewise.
2611 (lll_timedwait_tid): Likewise.
2612 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2613 Likewise.
2614 (lll_timedwait_tid): Likewise.
2615 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2616 Use INTERNAL_SYSCALL_CANCEL.
2617 * sysdeps/unix/sysv/linux/futex-internal.h
2618 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2619 instead of __pthread_{enable,disable}_asynccancel.
2620 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2621 (lll_futex_wait_cancel): New macro.
2622
0b13e255
AZ
2623 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2624 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2625
85c828a4
AZ
2626 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2627 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2628
d0d7f85f
AZ
2629 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2630 in backtrace analysis.
2631 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2632 side-effects.
2633 (tf_send): Likewise.
2634
17cc27d5
AZ
2635 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2636 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2637 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2638 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2639 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2640 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2641 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2642 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2643 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2644 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2645 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2646 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2647 Likewise.
2648 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2649 tst-cancel-wrappers.sh.
2650 (generated): Remove tst-cancel-wrappers.out.
2651 (tst-cancel-wrappers.out): Remove rule.
2652 * nptl/tst-cancel-wrappers.sh: Remove file.
2653
7d7af8f1
SN
26542019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2655
2656 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2657 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2658 Update.
2659
805334b2
AZ
26602019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2661
2662 [BZ #23640]
2663 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2664 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2665 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2666 close-on-exec reset for adddup2 file action.
2667 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2668
03992356
ZW
26692019-01-03 Zack Weinberg <zackw@panix.com>
2670
2671 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2672 parameter. Only use deprecated scanf when __USE_GNU is defined
2673 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2674 than 201103L, whichever is relevant for the language being compiled.
2675
2676 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2677 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2678 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2679 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2680 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2681
2682 * libio/iovsscanf.c
2683 * libio/fwscanf.c
2684 * libio/iovswscanf.c
2685 * libio/swscanf.c
2686 * libio/vscanf.c
2687 * libio/vwscanf.c
2688 * libio/wscanf.c
2689 * stdio-common/fscanf.c
2690 * stdio-common/scanf.c
2691 * stdio-common/vfscanf.c
2692 * stdio-common/vfwscanf.c
2693 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2694 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2695 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2696 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2697 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2698 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2699 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2700 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2701 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2702 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2703 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2704 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2705 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2706 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2707 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2708
2709 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2710 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2711 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2712 not sscanf.
2713 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2714 with a preprocessor macro.
2715
2716 * stdio-common/bug21.c, stdio-common/scanf14.c:
2717 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2718 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2719 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2720 to xscanf, xfscanf, xsscanf.
2721
2722 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2723 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2724 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2725 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2726 xfscanf, xsscanf.
2727 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2728 override feature selection macros or provide definitions of u_char etc.
2729 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2730 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2731 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2732 with -std=gnu89.
2733
8083afa5
AZ
27342019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2735
6f343c1f
AZ
2736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2737 bits/termios-misc.h.
2738 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2739 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2740 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2741 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2742 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2743 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2744
51f4beb0
AZ
2745 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2746 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2747 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2748 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2749 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2750 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2751 termios-misc.h.
2752 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2753 (sysdep_headers): Add termios-misc.h.
2754
f69c5cb2
AZ
2755 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2756 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2757 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2758
3aa4a07e
AZ
2759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2760 termios-tcflow.h.
2761 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2762 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2763 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2764 TCSAFLUSH): Move to termios-tcflow.h.
2765 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2766 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2767 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2768 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2769
22679ddf
AZ
2770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2771 termios-c_lflag.h.
2772 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2773 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2774 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2775 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2776 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2777 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2778 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2779 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2780 Likewise.
2781 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2782 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2783 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2784 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2785
72eb6ecc
AZ
2786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2787 termios-c_cflag.h.
2788 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2789 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2790 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2791 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2792 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2793 termios-c_cflag.h.
2794 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2795 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2796 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2797 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2798
9c5d0d02
AZ
2799 [BZ #23783]
2800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2801 termios-baud.h.
2802 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2803 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2804 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2805 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2806 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2807 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2808 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2809 __MAX_BAUD): Move to termios-baud.h.
2810 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2811 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2812 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2813 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2814 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2815
7b832018
AZ
2816 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2817 termios-c_oflag.h.
2818 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2819 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2821 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2822 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2823 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2824 termios-c_oflag.h.
2825 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2826 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2827 FFR1): Likewise.
2828 [USE_MISC] (XTABS): Likewise.
2829 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2830 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2831 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2832 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2833
3127003e
AZ
2834 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2835 termios-c_iflag.h.
2836 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2837 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2838 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2839 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2840 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2841 IUTF8): Move to termios-c_iflag.h.
2842 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2843 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2844 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2845 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2846
48c1dd96
AZ
2847 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2848 termios-cc.h.
2849 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2850 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2851 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2852 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2853 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2854 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2855 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2856 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2857 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2858 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2859 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2860 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2861
e5a50db3
AZ
2862 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2863 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2864 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2867 termios-struct.h.
2868 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2869 termios-struct.h.
2870 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2871 Likewise.
2872 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2873 Likewise.
2874 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2875 Likewise.
2876 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2877 Likewise.
2878 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2879 _HAVE_C_OSPEED): Define.
2880 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2881 _HAVE_C_OSPEED): Likewise.
2882 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2883 _HAVE_C_OSPEED): Likewise.
2884 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2885 (cfsetospeed): Check for define value instead of existence.
2886 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2887 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2888 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2889 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2890 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2891
8083afa5
AZ
2892 [BZ #17783]
2893 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2894 Define.
2895 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2896 (TIOCSER_TEMT): Likewise.
2897 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2898 (TEOCSER_TEMT): Likewise.
2899
4d7d7dc6
P
29002019-01-02 PanderMusubi <pander@users.sourceforge.net>
2901
2902 [BZ #24011]
2903 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2904
8e291a29
JM
29052019-01-02 Joseph Myers <joseph@codesourcery.com>
2906
2907 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2908
55137f7d
ST
29092019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2910
2911 * sysdeps/htl/pt-barrierattr-setpshared.c
2912 (pthread_barrierattr_setpshared): Add stub warning.
2913 * sysdeps/htl/pt-condattr-setpshared.c
2914 (pthread_condattr_setpshared): Likewise.
2915 * sysdeps/htl/pt-mutexattr-setpshared.c
2916 (pthread_mutexattr_setpshared): Likewise.
2917 * sysdeps/htl/pt-rwlockattr-setpshared.c
2918 (pthread_rwlockattr_setpshared): Likewise.
2919 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2920 (pthread_mutexattr_setpshared): Likewise.
2921
2ce09e01
JM
29222019-01-02 Joseph Myers <joseph@codesourcery.com>
2923
acb55dcb
JM
2924 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2925 constants to match with Linux 4.20.
2926
2ce09e01
JM
2927 * sysdeps/mips/mips32/libm-test-ulps: Update.
2928 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2929
fe20bb1d
AJ
29302019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2931
2932 [BZ #24034]
2933 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2934 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2935 than __typeof (...) for the a_ptr variable.
2936
2d9837c1
GG
29372019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2938
2939 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2940 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2941 * libio/Makefile (tests): Add tst-sprintf-ub and
2942 tst-sprintf-chk-ub.
2943 (CFLAGS-tst-sprintf-ub.c): New variable.
2944 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2945 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2946 destination buffer and check for overflows in fortified mode.
2947 * libio/libioP.h (PRINTF_CHK): New macro.
2948 * libio/tst-sprintf-chk-ub.c: New file.
2949 * libio/tst-sprintf-ub.c: Likewise.
2950
d5c6df0b 29512019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
2952
2953 [BZ #24018]
2954 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2955 failure.
2956
66081e38
FW
29572019-01-02 Florian Weimer <fweimer@redhat.com>
2958
2959 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2960
04277e02
JM
29612019-01-01 Joseph Myers <joseph@codesourcery.com>
2962
6ef3d225
JM
2963 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2964 macro.
2965
e3d4e292
JM
2966 * sysdeps/unix/sysv/linux/netpacket/packet.h
2967 (PACKET_IGNORE_OUTGOING): New macro.
2968
f4507797
JM
2969 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2970 macro.
2971
47ad5e1a
JM
2972 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2973 version to 4.20.
2974 (riscv_flush_icache): New syscall.
2975
7628a1b0
JM
2976 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2977 trailing whitespace removed.
2978 * scripts/config.guess: Update to version 2019-01-01.
2979 * scripts/config.sub: Update to version 2019-01-01.
2980 * scripts/move-if-change: Update from gnulib.
2981
c9123888
JM
2982 * NEWS: Update copyright dates.
2983 * catgets/gencat.c (print_version): Likewise.
2984 * csu/version.c (banner): Likewise.
2985 * debug/catchsegv.sh: Likewise.
2986 * debug/pcprofiledump.c (print_version): Likewise.
2987 * debug/xtrace.sh (do_version): Likewise.
2988 * elf/ldconfig.c (print_version): Likewise.
2989 * elf/ldd.bash.in: Likewise.
2990 * elf/pldd.c (print_version): Likewise.
2991 * elf/sotruss.sh: Likewise.
2992 * elf/sprof.c (print_version): Likewise.
2993 * iconv/iconv_prog.c (print_version): Likewise.
2994 * iconv/iconvconfig.c (print_version): Likewise.
2995 * locale/programs/locale.c (print_version): Likewise.
2996 * locale/programs/localedef.c (print_version): Likewise.
2997 * login/programs/pt_chown.c (print_version): Likewise.
2998 * malloc/memusage.sh (do_version): Likewise.
2999 * malloc/memusagestat.c (print_version): Likewise.
3000 * malloc/mtrace.pl: Likewise.
3001 * manual/libc.texinfo: Likewise.
3002 * nptl/version.c (banner): Likewise.
3003 * nscd/nscd.c (print_version): Likewise.
3004 * nss/getent.c (print_version): Likewise.
3005 * nss/makedb.c (print_version): Likewise.
3006 * posix/getconf.c (main): Likewise.
3007 * scripts/test-installation.pl: Likewise.
3008 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3009
04277e02
JM
3010 * All files with FSF copyright notices: Update copyright dates
3011 using scripts/update-copyrights.
3012 * locale/programs/charmap-kw.h: Regenerated.
3013 * locale/programs/locfile-kw.h: Likewise.
3014
e740e5b1
JM
30152018-12-31 Joseph Myers <joseph@codesourcery.com>
3016
3017 * timezone/zdump.c: Update from tzcode 2018i.
3018 * timezone/zic.c: Likewise.
3019
9b7f98b3
PE
30202018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3021
3022 regex: improve Gnulib port to AIX
3023 From the glibc point of view, this removes duplicate macro
3024 definitions and is obviously safe.
3025 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3026 * posix/regex_internal.h:
3027 (__attribute__, __attribute_warn_unused_result__):
3028 Remove; already defined elsewhere.
3029
b50dd3bc
FW
30302018-12-31 Florian Weimer <fw@deneb.enyo.de>
3031
3032 [BZ #24027]
3033 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3034 copying operation. (ncopies had the wrong type, resulting in an
3035 integer wraparound and too few elements being copied.)
3036
0b9c8490
L
30372018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3038
3039 [BZ #24022]
3040 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3041 <asm/syscalls.h> exists with __has_include__ before including it.
3042
01047fa6
JM
30432018-12-31 Joseph Myers <joseph@codesourcery.com>
3044
3045 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3046 version to 4.20.
3047
065957a3
JW
30482018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3049
3050 * hurd/lookup-retry: Include <unistd.h>.
3051 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3052 Release it on return. Handle "pid" magical lookup retry.
3053
989182c4
RL
30542018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3055
3056 [BZ #10496]
3057 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3058 (t_fmt_ampm): Likewise.
3059 * localedata/locales/aa_ER (t_fmt): Likewise.
3060 (t_fmt_ampm): Likewise.
3061 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3062 (t_fmt_ampm): Likewise.
3063 * localedata/locales/aa_ET (t_fmt): Likewise.
3064 (t_fmt_ampm): Likewise.
3065 * localedata/locales/am_ET (t_fmt): Likewise.
3066 (t_fmt_ampm): Likewise.
3067 * localedata/locales/byn_ER (t_fmt): Likewise.
3068 (t_fmt_ampm): Likewise.
3069 * localedata/locales/om_ET (t_fmt): Likewise.
3070 (t_fmt_ampm): Likewise.
3071 * localedata/locales/sid_ET (t_fmt): Likewise.
3072 (t_fmt_ampm): Likewise.
3073 * localedata/locales/so_DJ (t_fmt): Likewise.
3074 (t_fmt_ampm): Likewise.
3075 * localedata/locales/so_ET (t_fmt): Likewise.
3076 (t_fmt_ampm): Likewise.
3077 * localedata/locales/so_SO (t_fmt): Likewise.
3078 (t_fmt_ampm): Likewise.
3079 * localedata/locales/ti_ER (t_fmt): Likewise.
3080 (t_fmt_ampm): Likewise.
3081 * localedata/locales/ti_ET (t_fmt): Likewise.
3082 (t_fmt_ampm): Likewise.
3083 * localedata/locales/tig_ER (t_fmt): Likewise.
3084 (t_fmt_ampm): Likewise.
3085 * localedata/locales/wal_ET (t_fmt): Likewise.
3086 (t_fmt_ampm): Likewise.
3087
3088 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3089 * localedata/locales/ar_IN (t_fmt): Likewise.
3090 * localedata/locales/bhb_IN (t_fmt): Likewise.
3091 * localedata/locales/bho_IN (t_fmt): Likewise.
3092 * localedata/locales/bi_VU (t_fmt): Likewise.
3093 * localedata/locales/bn_BD (t_fmt): Likewise.
3094 * localedata/locales/bn_IN (t_fmt): Likewise.
3095 * localedata/locales/brx_IN (t_fmt): Likewise.
3096 * localedata/locales/doi_IN (t_fmt): Likewise.
3097 * localedata/locales/en_HK (t_fmt): Likewise.
3098 (t_fmt_ampm): Likewise.
3099 * localedata/locales/en_IN (t_fmt): Likewise.
3100 * localedata/locales/en_PH (t_fmt): Likewise.
3101 * localedata/locales/gu_IN (t_fmt): Likewise.
3102 * localedata/locales/hi_IN (t_fmt): Likewise.
3103 * localedata/locales/hif_FJ (t_fmt): Likewise.
3104 * localedata/locales/hne_IN (t_fmt): Likewise.
3105 * localedata/locales/kn_IN (t_fmt): Likewise.
3106 * localedata/locales/kok_IN (t_fmt): Likewise.
3107 * localedata/locales/ks_IN (t_fmt): Likewise.
3108 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3109 * localedata/locales/mag_IN (t_fmt): Likewise.
3110 * localedata/locales/mai_IN (t_fmt): Likewise.
3111 * localedata/locales/mjw_IN (t_fmt): Likewise.
3112 * localedata/locales/ml_IN (t_fmt): Likewise.
3113 * localedata/locales/mni_IN (t_fmt): Likewise.
3114 * localedata/locales/mr_IN (t_fmt): Likewise.
3115 * localedata/locales/ms_MY (t_fmt): Likewise.
3116 * localedata/locales/pa_IN (t_fmt): Likewise.
3117 * localedata/locales/raj_IN (t_fmt): Likewise.
3118 * localedata/locales/sa_IN (t_fmt): Likewise.
3119 * localedata/locales/sat_IN (t_fmt): Likewise.
3120 * localedata/locales/sd_IN (t_fmt): Likewise.
3121 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3122 * localedata/locales/tcy_IN (t_fmt): Likewise.
3123 * localedata/locales/the_NP (t_fmt): Likewise.
3124 * localedata/locales/to_TO (t_fmt): Likewise.
3125 * localedata/locales/ur_IN (t_fmt): Likewise.
3126
3127 * localedata/locales/hif_FJ (d_t_fmt): Set to
3128 "%A %d %b %Y %I:%M:%S %p".
3129 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3130
3131 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3132 * localedata/locales/ar_BH (t_fmt): Likewise.
3133 * localedata/locales/ar_DZ (t_fmt): Likewise.
3134 * localedata/locales/ar_EG (t_fmt): Likewise.
3135 * localedata/locales/ar_IQ (t_fmt): Likewise.
3136 * localedata/locales/ar_JO (t_fmt): Likewise.
3137 * localedata/locales/ar_KW (t_fmt): Likewise.
3138 * localedata/locales/ar_LB (t_fmt): Likewise.
3139 * localedata/locales/ar_LY (t_fmt): Likewise.
3140 * localedata/locales/ar_OM (t_fmt): Likewise.
3141 * localedata/locales/ar_QA (t_fmt): Likewise.
3142 * localedata/locales/ar_SD (t_fmt): Likewise.
3143 * localedata/locales/ar_SS (t_fmt): Likewise.
3144 * localedata/locales/ar_SY (t_fmt): Likewise.
3145 * localedata/locales/ar_TN (t_fmt): Likewise.
3146 * localedata/locales/ar_YE (t_fmt): Likewise.
3147
3148 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3149 (t_fmt_ampm): Likewise.
3150 * localedata/locales/gez_ET (t_fmt): Likewise.
3151 (t_fmt_ampm): Likewise.
3152
3153 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3154 (t_fmt_ampm): Likewise.
3155 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3156
3157 * localedata/locales/zh_HK (t_fmt):
3158 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3159
3160 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3161 because this locale does not use the 12-hour clock.
3162 (t_fmt): Set to "%Z %H:%M:%S".
3163 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3164
3165 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3166 because this locale does not use the 12-hour clock.
3167 (t_fmt): Set to "%H:%M:%S %Z".
3168 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3169
3170 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3171 because this locale does not use the 12-hour clock.
3172 (t_fmt): Set to "%T".
3173 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3174 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3175
3176 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3177 because this locale does not use the 12-hour clock.
3178 (t_fmt): Set to "%H:%M:%S %Z".
3179 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3180
3181 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3182 because this locale does not use the 12-hour clock.
3183 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3184 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3185
27841a7d
RL
31862018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3187
3188 [BZ #10496]
3189 [BZ #23724]
3190 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3191 (t_fmt_ampm): Likewise.
3192 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3193 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3194 (d_fmt): Set to "%-d.%-m.%y".
3195
0253580a
AZ
31962018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3197
3198 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3199 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3200 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3201 Likewise.
3202 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3203 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3204 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3205 function.
3206 * support/blob_repeat.c (check_mul_overflow_size_t,
3207 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3208
09104e5b
AJ
32092018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3210
3211 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3212
c0feb731
PE
32132018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3214
3215 regex: simplify Gnulib port
3216 This simplifies the code, by removing stuff intended for porting
3217 to Gnulib but no longer needed there.
3218 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3219 uses of libc_hidden_def, weak_alias.
3220 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3221 _Restrict_ except for public-facing headers.
3222 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3223 Remove; already defined elsewhere.
3224 * posix/regex.c, posix/regex_internal.h:
3225 Use __GNUC_PREREQ instead of rolling our own.
3226 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3227
5289f1f5
WD
32282018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3229
3230 * benchtests/bench-strlen.c (generic_strlen): New function.
3231 (memchr_strlen): New function.
3232
ba4b8fab
L
32332018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3234
3235 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3236 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3237 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3238
9412979a
L
32392018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3240
3241 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3242
8700a785
L
32432018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3244
3245 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3246 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3247 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3248 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3249 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3250 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3251 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3252
57b3ff8e
JM
32532018-12-21 Joseph Myers <joseph@codesourcery.com>
3254
3255 [BZ #24023]
3256 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3257 PLT reference in libc.so.
3258 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3259 _Q_lltoq and _Q_qtod PLT references in libc.so.
3260
90d3320d
WD
32612018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3262
3263 * benchtests/bench-memchr.c: Cleanup defines.
3264 * benchtests/bench-memcmp.c: Likewise.
3265 * benchtests/bench-memset.c: Likewise.
3266 * benchtests/bench-memset-large.c: Likewise.
3267 * benchtests/bench-memset-walk.c: Likewise.
3268 * benchtests/bench-stpcpy.c: Likewise.
3269 * benchtests/bench-stpncpy.c: Likewise.
3270 * benchtests/bench-strcat.c: Likewise.
3271 * benchtests/bench-strchr.c: Likewise.
3272 * benchtests/bench-strcmp.c: Likewise.
3273 * benchtests/bench-strcpy.c: Likewise.
3274 * benchtests/bench-strcspn.c: Likewise.
3275 * benchtests/bench-string.h: Likewise.
3276 * benchtests/bench-strlen.c: Likewise.
3277 * benchtests/bench-strncat.c: Likewise.
3278 * benchtests/bench-strncmp.c: Likewise.
3279 * benchtests/bench-strncpy.c: Likewise.
3280 * benchtests/bench-strnlen.c: Likewise.
3281 * benchtests/bench-strpbrk.c: Likewise.
3282 * benchtests/bench-strrchr.c: Likewise.
3283 * benchtests/bench-strspn.c: Likewise.
3284
192963be
JM
32852018-12-21 Joseph Myers <joseph@codesourcery.com>
3286
5d025ea6
JM
3287 * stdlib/longlong.h: Update from GCC.
3288
192963be
JM
3289 [BZ #23993]
3290 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3291 * configure: Regenerated.
3292 * manual/install.texi (Tools for Compilation): Update minimum GCC
3293 version.
3294 * INSTALL: Regenerated.
3295
c0e82f11
IK
32962018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3297
3298 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3299
ebe544bf
IK
33002018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3301
3302 * malloc/malloc.c (mremap_chunk): Additional checks.
3303
5f72b005
MH
33042018-12-21 Mao Han <han_mao@c-sky.com>
3305
3306 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3307 * scripts/build-many-glibcs.py: Add C-SKY targets.
3308 * sysdeps/csky/Implies: New file.
3309 * sysdeps/csky/Makefile: Likewise.
3310 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3311 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3312 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3313 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3314 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3315 * sysdeps/csky/abiv2/memmove.S: Likewise.
3316 * sysdeps/csky/abiv2/memset.S: Likewise.
3317 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3318 * sysdeps/csky/abiv2/start.S: Likewise.
3319 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3320 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3321 * sysdeps/csky/abiv2/strlen.S: Likewise.
3322 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3323 * sysdeps/csky/abort-instr.h: Likewise.
3324 * sysdeps/csky/atomic-machine.h: Likewise.
3325 * sysdeps/csky/bits/endian.h: Likewise.
3326 * sysdeps/csky/bits/fenv.h: Likewise.
3327 * sysdeps/csky/bits/link.h: Likewise.
3328 * sysdeps/csky/bits/setjmp.h: Likewise.
3329 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3330 * sysdeps/csky/bsd-setjmp.S: Likewise.
3331 * sysdeps/csky/configure: Likewise.
3332 * sysdeps/csky/configure.ac: Likewise.
3333 * sysdeps/csky/dl-machine.h: Likewise.
3334 * sysdeps/csky/dl-procinfo.c: Likewise.
3335 * sysdeps/csky/dl-procinfo.h: Likewise.
3336 * sysdeps/csky/dl-sysdep.h: Likewise.
3337 * sysdeps/csky/dl-tls.h: Likewise.
3338 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3339 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3340 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3341 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3342 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3343 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3344 * sysdeps/csky/fpu/fegetround.c: Likewise.
3345 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3346 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3347 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3348 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3349 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3350 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3351 * sysdeps/csky/fpu/fesetround.c: Likewise.
3352 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3353 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3354 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3355 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3356 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3357 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3358 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3359 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3360 * sysdeps/csky/fpu_control.h: Likewise.
3361 * sysdeps/csky/gccframe.h: Likewise.
3362 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3363 * sysdeps/csky/ldsodefs.h: Likewise.
3364 * sysdeps/csky/libc-tls.c: Likewise.
3365 * sysdeps/csky/linkmap.h: Likewise.
3366 * sysdeps/csky/machine-gmon.h: Likewise.
3367 * sysdeps/csky/memusage.h: Likewise.
3368 * sysdeps/csky/nofpu/Implies: Likewise.
3369 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3370 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3371 * sysdeps/csky/nptl/Makefile: Likewise.
3372 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3373 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3374 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3375 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3376 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3377 * sysdeps/csky/nptl/tls.h: Likewise.
3378 * sysdeps/csky/preconfigure: Likewise.
3379 * sysdeps/csky/sfp-machine.h: Likewise.
3380 * sysdeps/csky/sotruss-lib.c: Likewise.
3381 * sysdeps/csky/stackinfo.h: Likewise.
3382 * sysdeps/csky/sysdep.h: Likewise.
3383 * sysdeps/csky/tininess.h: Likewise.
3384 * sysdeps/csky/tst-audit.h: Likewise.
3385 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3386 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3387 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3388 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3389 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3390 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3391 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3392 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3393 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3394 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3395 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3396 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3397 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3398 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3399 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3400 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3401 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3402 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3403 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3404 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3405 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3406 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3407 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3408 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3409 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3410 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3411 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3412 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3413 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3414 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3415 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3416 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3417 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3418 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3419 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3420 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3421 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3422 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3423 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3424 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3425 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3426 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3427 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3428 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3429
ac253355
AA
34302018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3431
3432 * include/time.h (__difftime64): Add.
3433 * time/difftime.c (subtract): convert to 64-bit time.
3434 * time/difftime.c (__difftime64): Add.
3435 * time/difftime.c (__difftime): Wrap around __difftime64.
3436
ab416931
L
34372018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3438
3439 * manual/examples/add.c: Remove redundant "if not".
3440 * manual/examples/argp-ex1.c: Likewise.
3441 * manual/examples/argp-ex2.c: Likewise.
3442 * manual/examples/argp-ex3.c: Likewise.
3443 * manual/examples/argp-ex4.c: Likewise.
3444 * manual/examples/atexit.c: Likewise.
3445 * manual/examples/db.c: Likewise.
3446 * manual/examples/dir.c: Likewise.
3447 * manual/examples/dir2.c: Likewise.
3448 * manual/examples/execinfo.c: Likewise.
3449 * manual/examples/filecli.c: Likewise.
3450 * manual/examples/filesrv.c: Likewise.
3451 * manual/examples/fmtmsgexpl.c: Likewise.
3452 * manual/examples/genpass.c: Likewise.
3453 * manual/examples/inetcli.c: Likewise.
3454 * manual/examples/inetsrv.c: Likewise.
3455 * manual/examples/isockad.c: Likewise.
3456 * manual/examples/longopt.c: Likewise.
3457 * manual/examples/memopen.c: Likewise.
3458 * manual/examples/memstrm.c: Likewise.
3459 * manual/examples/mkdirent.c: Likewise.
3460 * manual/examples/mkfsock.c: Likewise.
3461 * manual/examples/mkisock.c: Likewise.
3462 * manual/examples/mygetpass.c: Likewise.
3463 * manual/examples/pipe.c: Likewise.
3464 * manual/examples/popen.c: Likewise.
3465 * manual/examples/rprintf.c: Likewise.
3466 * manual/examples/search.c: Likewise.
3467 * manual/examples/select.c: Likewise.
3468 * manual/examples/setjmp.c: Likewise.
3469 * manual/examples/sigh1.c: Likewise.
3470 * manual/examples/sigusr.c: Likewise.
3471 * manual/examples/stpcpy.c: Likewise.
3472 * manual/examples/strdupa.c: Likewise.
3473 * manual/examples/strftim.c: Likewise.
3474 * manual/examples/subopt.c: Likewise.
3475 * manual/examples/swapcontext.c: Likewise.
3476 * manual/examples/termios.c: Likewise.
3477 * manual/examples/testopt.c: Likewise.
3478 * manual/examples/testpass.c: Likewise.
3479 * manual/examples/timeval_subtract.c: Likewise.
3480
515f463f
JM
34812018-12-19 Joseph Myers <joseph@codesourcery.com>
3482
da75c1b1
JM
3483 * sysdeps/x86/fpu/math_private.h: New file.
3484 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3485
515f463f
JM
3486 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3487 definition.
3488 (cosh): Likewise.
3489 (tanh): Likewise.
3490
1616d034
TMQMF
34912018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3492
3493 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3494 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3495 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3496 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3497 fields.
3498 (_dl_show_auxv): Give a special treatment to
3499 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3500 and AT_L3_CACHEGEOMETRY.
3501 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3502 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3503 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3504 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3505
61595e3d
AS
35062018-12-19 Andreas Schwab <schwab@suse.de>
3507
3508 * nscd/connections.c (check_use): Don't abort on invalid len.
3509
bbb7dc84
ST
35102018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3511
3512 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3513 values in the 64bit value cases.
3514
64c2277d
AA
35152018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3516
c4c2836a
AA
3517 * include/time.h
3518 (__ctime64_r): Add.
3519 * time/ctime_r.c
3520 (__ctime64_r): Add.
3521 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3522
7755e504
AA
3523 * include/time.h
3524 (__ctime64): Add.
3525 * time/gmtime.c
3526 (__ctime64): Add.
3527 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3528
a1d346ce
AA
3529 * include/time.h
3530 (__gmtime64_r): Add.
3531 * time/gmtime.c
3532 (__gmtime64_r): Add.
3533 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3534
131db8b0
AA
3535 * include/time.h
3536 (__gmtime64): Add.
3537 * time/gmtime.c
3538 (__gmtime64): Add.
3539 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3540
64c2277d
AA
3541 * include/time.h
3542 (__localtime64_r): Add.
3543 * time/localtime.c
3544 (__localtime64_r): Add.
3545 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3546
56b98bf1
AZ
35472018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3548
64dd7a16
AZ
3549 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3550 kernel_sigction definition.
3551
8b1d5da5
AZ
3552 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3553
f9eabb19
AZ
3554 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3555
56b98bf1
AZ
3556 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3557 __syscall_rt_sigaction.
3558 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3559 (kernel_sigaction): Use Linux generic defintion.
3560 (STUB): Define.
3561 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3562 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3563 (__syscall_rt_sigaction): Remove implementation.
3564 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3565 hidden.
3566 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3567 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3568 INTERNAL_SYSCALL): Remove definitions.
3569 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3570 action and signal set size.
3571 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3572 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3573
43a45c2d
AZ
35742018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3575 James Clarke <jrtc27@jrtc27.com>
3576
dfa6216f 3577 [BZ #23967]
43a45c2d
AZ
3578 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3579 Define if SA_RESTORER is defined.
3580 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3581 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3582 already defined.
3583 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3584 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3585 definitions.
3586 (HAS_SA_RESTORER): Define.
3587 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3588 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3589 (HAS_SA_RESTORER): Define.
3590 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3591 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3592 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3593 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3594 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3595
646ce7e0
JM
35962018-12-18 Joseph Myers <joseph@codesourcery.com>
3597
3598 * sysdeps/unix/sysv/linux/kernel-features.h
3599 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3600 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3601 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3602 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3603 (__ASSUME_ST_INO_64_BIT): Likewise.
3604 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3605 <kernel-features.h>.
3606 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3607 Remove conditional code.
3608 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3609 <kernel-features.h>.
3610 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3611 Remove conditional code.
3612 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3613 <kernel-features.h>.
3614 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3615 Remove conditional code.
3616 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3617 <kernel-features.h>.
3618 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3619 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3620
80190d2b
SL
36212018-12-18 Stefan Liebler <stli@linux.ibm.com>
3622
3623 * sysdeps/s390/multiarch/ifunc-resolve.h
3624 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3625 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3626 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3627 Delete macro definition.
3628 (s390_libc_ifunc_init): Rename to
3629 s390_libc_ifunc_expr_stfle_init.
3630 * sysdeps/s390/bzero: Use
3631 s390_libc_ifunc_expr_stfle_init instead of
3632 s390_libc_ifunc_init.
3633 * sysdeps/s390/memcmp.c: Likewise.
3634 * sysdeps/s390/memcpy.c: Likewise.
3635 * sysdeps/s390/mempcpy.c: Likewise.
3636 * sysdeps/s390/memset.c: Likewise.
3637
12f0dcb8
SL
36382018-12-18 Stefan Liebler <stli@linux.ibm.com>
3639
3640 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3641 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3642
25654a8c
SL
36432018-12-18 Stefan Liebler <stli@linux.ibm.com>
3644
3645 * sysdeps/s390/multiarch/Makefile
3646 (sysdep_routines): Remove wmemcmp variants.
3647 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3648 * sysdeps/s390/multiarch/ifunc-impl-list.c
3649 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3650 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3651 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3652 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3653 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3654 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3655 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3656 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3657
d2a7436c
SL
36582018-12-18 Stefan Liebler <stli@linux.ibm.com>
3659
3660 * sysdeps/s390/multiarch/Makefile
3661 (sysdep_routines): Remove wmemset variants.
3662 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3663 * sysdeps/s390/multiarch/ifunc-impl-list.c
3664 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3665 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3666 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3667 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3668 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3669 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3670 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3671 * sysdeps/s390/ifunc-wmemset.h: New file.
3672
c62534ae
SL
36732018-12-18 Stefan Liebler <stli@linux.ibm.com>
3674
3675 * sysdeps/s390/multiarch/Makefile
3676 (sysdep_routines): Remove wmemchr variants.
3677 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3678 * sysdeps/s390/multiarch/ifunc-impl-list.c
3679 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3680 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3681 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3682 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3683 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3684 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3685 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3686 * sysdeps/s390/ifunc-wmemchr.h: New file.
3687
79b44cf6
SL
36882018-12-18 Stefan Liebler <stli@linux.ibm.com>
3689
3690 * sysdeps/s390/multiarch/Makefile
3691 (sysdep_routines): Remove wcscspn variants.
3692 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3693 * sysdeps/s390/multiarch/ifunc-impl-list.c
3694 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3695 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3696 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3697 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3698 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3699 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3700 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3701 * sysdeps/s390/ifunc-wcscspn.h: New file.
3702
8e87c1f6
SL
37032018-12-18 Stefan Liebler <stli@linux.ibm.com>
3704
3705 * sysdeps/s390/multiarch/Makefile
3706 (sysdep_routines): Remove wcspbrk variants.
3707 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3708 * sysdeps/s390/multiarch/ifunc-impl-list.c
3709 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3710 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3711 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3712 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3713 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3714 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3715 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3716 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3717
8507e831
SL
37182018-12-18 Stefan Liebler <stli@linux.ibm.com>
3719
3720 * sysdeps/s390/multiarch/Makefile
3721 (sysdep_routines): Remove wcsspn variants.
3722 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3723 * sysdeps/s390/multiarch/ifunc-impl-list.c
3724 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3725 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3726 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3727 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3728 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3729 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3730 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3731 * sysdeps/s390/ifunc-wcsspn.h: New file.
3732
4753713a
SL
37332018-12-18 Stefan Liebler <stli@linux.ibm.com>
3734
3735 * sysdeps/s390/multiarch/Makefile
3736 (sysdep_routines): Remove wcsrchr variants.
3737 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3738 * sysdeps/s390/multiarch/ifunc-impl-list.c
3739 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3740 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3741 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3742 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3743 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3744 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3745 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3746 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3747
c09c1b6f
SL
37482018-12-18 Stefan Liebler <stli@linux.ibm.com>
3749
3750 * sysdeps/s390/multiarch/Makefile
3751 (sysdep_routines): Remove wcschrnul variants.
3752 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3753 * sysdeps/s390/multiarch/ifunc-impl-list.c
3754 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3755 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3756 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3757 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3758 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3759 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3760 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3761 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3762
cf3ccc31
SL
37632018-12-18 Stefan Liebler <stli@linux.ibm.com>
3764
3765 * sysdeps/s390/multiarch/Makefile
3766 (sysdep_routines): Remove wcschr variants.
3767 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3768 * sysdeps/s390/multiarch/ifunc-impl-list.c
3769 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3770 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3771 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3772 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3773 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3774 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3775 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3776 * sysdeps/s390/ifunc-wcschr.h: New file.
3777
e9873e1d
SL
37782018-12-18 Stefan Liebler <stli@linux.ibm.com>
3779
3780 * sysdeps/s390/multiarch/Makefile
3781 (sysdep_routines): Remove wcsncmp variants.
3782 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3783 * sysdeps/s390/multiarch/ifunc-impl-list.c
3784 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3785 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3786 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3787 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3788 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3789 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3790 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3791 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3792
3459e23d
SL
37932018-12-18 Stefan Liebler <stli@linux.ibm.com>
3794
3795 * sysdeps/s390/multiarch/Makefile
3796 (sysdep_routines): Remove wcscmp variants.
3797 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3798 * sysdeps/s390/multiarch/ifunc-impl-list.c
3799 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3800 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3801 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3802 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3803 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3804 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3805 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3806 * sysdeps/s390/ifunc-wcscmp.h: New file.
3807
814a76e1
SL
38082018-12-18 Stefan Liebler <stli@linux.ibm.com>
3809
3810 * sysdeps/s390/multiarch/Makefile
3811 (sysdep_routines): Remove wcsncat variants.
3812 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3813 * sysdeps/s390/multiarch/ifunc-impl-list.c
3814 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3815 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3816 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3817 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3818 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3819 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3820 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3821 * sysdeps/s390/ifunc-wcsncat.h: New file.
3822
3389cae4
SL
38232018-12-18 Stefan Liebler <stli@linux.ibm.com>
3824
3825 * sysdeps/s390/multiarch/Makefile
3826 (sysdep_routines): Remove wcscat variants.
3827 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3828 * sysdeps/s390/multiarch/ifunc-impl-list.c
3829 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3830 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3831 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3832 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3833 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3834 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3835 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3836 * sysdeps/s390/ifunc-wcscat.h: New file.
3837
c3081bcb
SL
38382018-12-18 Stefan Liebler <stli@linux.ibm.com>
3839
3840 * sysdeps/s390/multiarch/Makefile
3841 (sysdep_routines): Remove wcpncpy variants.
3842 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3843 * sysdeps/s390/multiarch/ifunc-impl-list.c
3844 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3845 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3846 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3847 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3848 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3849 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3850 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3851 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3852
0966dd86
SL
38532018-12-18 Stefan Liebler <stli@linux.ibm.com>
3854
3855 * sysdeps/s390/multiarch/Makefile
3856 (sysdep_routines): Remove wcsncpy variants.
3857 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3858 * sysdeps/s390/multiarch/ifunc-impl-list.c
3859 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3860 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3861 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3862 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3863 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3864 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3865 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3866 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3867
0582e428
SL
38682018-12-18 Stefan Liebler <stli@linux.ibm.com>
3869
3870 * sysdeps/s390/multiarch/Makefile
3871 (sysdep_routines): Remove wcpcpy variants.
3872 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3873 * sysdeps/s390/multiarch/ifunc-impl-list.c
3874 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3875 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3876 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3877 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3878 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3879 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3880 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3881 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3882
804f2e5c
SL
38832018-12-18 Stefan Liebler <stli@linux.ibm.com>
3884
3885 * sysdeps/s390/multiarch/Makefile
3886 (sysdep_routines): Remove wcscpy variants.
3887 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3888 * sysdeps/s390/multiarch/ifunc-impl-list.c
3889 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3890 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3891 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3892 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3893 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3894 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3895 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3896 * sysdeps/s390/ifunc-wcscpy.h: New file.
3897
c7e7cd26
SL
38982018-12-18 Stefan Liebler <stli@linux.ibm.com>
3899
3900 * sysdeps/s390/multiarch/Makefile
3901 (sysdep_routines): Remove wcsnlen variants.
3902 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3903 * sysdeps/s390/multiarch/ifunc-impl-list.c
3904 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3905 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3906 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3907 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3908 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3909 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3910 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3911 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3912
2e02d0b7
SL
39132018-12-18 Stefan Liebler <stli@linux.ibm.com>
3914
3915 * sysdeps/s390/multiarch/Makefile
3916 (sysdep_routines): Remove wcslen variants.
3917 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3918 * sysdeps/s390/multiarch/ifunc-impl-list.c
3919 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3920 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3921 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3922 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3923 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3924 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3925 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3926 * sysdeps/s390/ifunc-wcslen.h: New file.
3927
89bfcbdf
SL
39282018-12-18 Stefan Liebler <stli@linux.ibm.com>
3929
3930 * sysdeps/s390/multiarch/Makefile
3931 (sysdep_routines): Remove memrchr variants.
3932 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3933 * sysdeps/s390/multiarch/ifunc-impl-list.c
3934 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3935 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3936 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3937 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3938 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3939 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3940 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3941 * sysdeps/s390/ifunc-memrchr.h: New file.
3942
196655ba
SL
39432018-12-18 Stefan Liebler <stli@linux.ibm.com>
3944
3945 * sysdeps/s390/multiarch/Makefile
3946 (sysdep_routines): Remove memccpy variants.
3947 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3948 * sysdeps/s390/multiarch/ifunc-impl-list.c
3949 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3950 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3951 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3952 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3953 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3954 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3955 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3956 * sysdeps/s390/ifunc-memccpy.h: New file.
3957
4c7b3cec
SL
39582018-12-18 Stefan Liebler <stli@linux.ibm.com>
3959
3960 * sysdeps/s390/multiarch/Makefile
3961 (sysdep_routines): Remove rawmemchr variants.
3962 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3963 * sysdeps/s390/multiarch/ifunc-impl-list.c
3964 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3965 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3966 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3967 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3968 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3969 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3970 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3971 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3972
581a051c
SL
39732018-12-18 Stefan Liebler <stli@linux.ibm.com>
3974
3975 * sysdeps/s390/multiarch/Makefile
3976 (sysdep_routines): Remove memchr variants.
3977 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3978 * sysdeps/s390/multiarch/ifunc-impl-list.c
3979 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3980 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3981 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3982 * sysdeps/s390/multiarch/memchr.c: Move to ...
3983 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3984 * sysdeps/s390/ifunc-memchr.h: New file.
3985 * sysdeps/s390/s390-64/memchr.S: Move to ...
3986 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3987 for 31/64bit and ifunc handling.
3988 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3989 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3990 * sysdeps/s390/s390-32/memchr.S: Likewise.
3991
5d2ec20a
SL
39922018-12-18 Stefan Liebler <stli@linux.ibm.com>
3993
3994 * sysdeps/s390/multiarch/Makefile
3995 (sysdep_routines): Remove strcspn variants.
3996 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3997 * sysdeps/s390/multiarch/ifunc-impl-list.c
3998 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3999 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4000 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4001 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4002 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4003 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4004 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4005 * sysdeps/s390/ifunc-strcspn.h: New file.
4006
572cca93
SL
40072018-12-18 Stefan Liebler <stli@linux.ibm.com>
4008
4009 * sysdeps/s390/multiarch/Makefile
4010 (sysdep_routines): Remove strpbrk variants.
4011 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4012 * sysdeps/s390/multiarch/ifunc-impl-list.c
4013 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4014 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4015 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4016 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4017 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4018 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4019 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4020 * sysdeps/s390/ifunc-strpbrk.h: New file.
4021
483fc569
SL
40222018-12-18 Stefan Liebler <stli@linux.ibm.com>
4023
4024 * sysdeps/s390/multiarch/Makefile
4025 (sysdep_routines): Remove strspn variants.
4026 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4027 * sysdeps/s390/multiarch/ifunc-impl-list.c
4028 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4029 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4030 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4031 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4032 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4033 * sysdeps/s390/multiarch/strspn.c: Move to ...
4034 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4035 * sysdeps/s390/ifunc-strspn.h: New file.
4036
26ea8760
SL
40372018-12-18 Stefan Liebler <stli@linux.ibm.com>
4038
4039 * sysdeps/s390/multiarch/Makefile
4040 (sysdep_routines): Remove strrchr variants.
4041 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4042 * sysdeps/s390/multiarch/ifunc-impl-list.c
4043 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4044 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4045 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4046 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4047 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4048 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4049 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4050 * sysdeps/s390/ifunc-strrchr.h: New file.
4051
a1361e65
SL
40522018-12-18 Stefan Liebler <stli@linux.ibm.com>
4053
4054 * sysdeps/s390/multiarch/Makefile
4055 (sysdep_routines): Remove strchrnul variants.
4056 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4057 * sysdeps/s390/multiarch/ifunc-impl-list.c
4058 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4059 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4060 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4061 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4062 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4063 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4064 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4065 * sysdeps/s390/ifunc-strchrnul.h: New file.
4066
32f12653
SL
40672018-12-18 Stefan Liebler <stli@linux.ibm.com>
4068
4069 * sysdeps/s390/multiarch/Makefile
4070 (sysdep_routines): Remove strchr variants.
4071 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4072 * sysdeps/s390/multiarch/ifunc-impl-list.c
4073 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4074 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4075 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4076 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4077 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4078 * sysdeps/s390/multiarch/strchr.c: Move to ...
4079 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4080 * sysdeps/s390/ifunc-strchr.h: New file.
4081
316b8842
SL
40822018-12-18 Stefan Liebler <stli@linux.ibm.com>
4083
4084 * sysdeps/s390/multiarch/Makefile
4085 (sysdep_routines): Remove strncmp variants.
4086 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4087 * sysdeps/s390/multiarch/ifunc-impl-list.c
4088 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4089 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4090 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4091 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4092 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4093 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4094 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4095 * sysdeps/s390/ifunc-strncmp.h: New file.
4096
cdab85fe
SL
40972018-12-18 Stefan Liebler <stli@linux.ibm.com>
4098
4099 * sysdeps/s390/multiarch/Makefile
4100 (sysdep_routines): Remove strcmp variants.
4101 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4102 * sysdeps/s390/multiarch/ifunc-impl-list.c
4103 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4104 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4105 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4106 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4107 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4108 * sysdeps/s390/ifunc-strcmp.h: New file.
4109 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4110 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4111 for 31/64bit and ifunc handling.
4112 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4113 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4114 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4115
b9353351
SL
41162018-12-18 Stefan Liebler <stli@linux.ibm.com>
4117
4118 * sysdeps/s390/multiarch/Makefile
4119 (sysdep_routines): Remove strncat variants.
4120 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4121 * sysdeps/s390/multiarch/ifunc-impl-list.c
4122 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4123 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4124 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4125 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4126 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4127 * sysdeps/s390/multiarch/strncat.c: Move to ...
4128 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4129 * sysdeps/s390/ifunc-strncat.h: New file.
4130
8e5a0afb
SL
41312018-12-18 Stefan Liebler <stli@linux.ibm.com>
4132
4133 * sysdeps/s390/multiarch/Makefile
4134 (sysdep_routines): Remove strcat variants.
4135 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4136 * sysdeps/s390/multiarch/ifunc-impl-list.c
4137 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4138 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4139 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4140 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4141 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4142 * sysdeps/s390/multiarch/strcat.c: Move to ...
4143 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4144 * sysdeps/s390/ifunc-strcat.h: New file.
4145
25218822
SL
41462018-12-18 Stefan Liebler <stli@linux.ibm.com>
4147
4148 * sysdeps/s390/multiarch/Makefile
4149 (sysdep_routines): Remove stpncpy variants.
4150 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4151 * sysdeps/s390/multiarch/ifunc-impl-list.c
4152 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4153 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4154 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4155 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4156 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4157 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4158 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4159 * sysdeps/s390/ifunc-stpncpy.h: New file.
4160
d1bdbf38
SL
41612018-12-18 Stefan Liebler <stli@linux.ibm.com>
4162
4163 * sysdeps/s390/multiarch/Makefile
4164 (sysdep_routines): Remove strncpy variants.
4165 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4166 * sysdeps/s390/multiarch/ifunc-impl-list.c
4167 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4168 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4169 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4170 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4171 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4172 * sysdeps/s390/ifunc-strncpy.h: New file.
4173 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4174 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4175 and adjust ifunc handling.
4176 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4177 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4178 and adjust ifunc handling.
4179 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4180 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4181
97044931
SL
41822018-12-18 Stefan Liebler <stli@linux.ibm.com>
4183
4184 * sysdeps/s390/multiarch/Makefile
4185 (sysdep_routines): Remove stpcpy variants.
4186 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4187 * sysdeps/s390/multiarch/ifunc-impl-list.c
4188 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4189 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4190 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4191 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4192 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4193 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4194 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4195 * sysdeps/s390/ifunc-stpcpy.h: New file.
4196
914a4e05
SL
41972018-12-18 Stefan Liebler <stli@linux.ibm.com>
4198
4199 * sysdeps/s390/multiarch/Makefile
4200 (sysdep_routines): Remove strcpy variants.
4201 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4202 * sysdeps/s390/multiarch/ifunc-impl-list.c
4203 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4204 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4205 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4206 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4207 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4208 * sysdeps/s390/ifunc-strcpy.h: New file.
4209 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4210 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4211 for 31/64bit and ifunc handling.
4212 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4213 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4214 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4215
de10e44d
SL
42162018-12-18 Stefan Liebler <stli@linux.ibm.com>
4217
4218 * sysdeps/s390/multiarch/Makefile
4219 (sysdep_routines): Remove strnlen variants.
4220 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4221 * sysdeps/s390/multiarch/ifunc-impl-list.c
4222 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4223 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4224 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4225 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4226 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4227 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4228 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4229 * sysdeps/s390/ifunc-strnlen.h: New file.
4230
ff3ca374
SL
42312018-12-18 Stefan Liebler <stli@linux.ibm.com>
4232
4233 * sysdeps/s390/multiarch/Makefile
4234 (sysdep_routines): Remove strlen variants.
4235 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4236 * sysdeps/s390/multiarch/ifunc-impl-list.c
4237 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4238 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4239 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4240 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4241 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4242 * sysdeps/s390/multiarch/strlen.c: Move to ...
4243 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4244 * sysdeps/s390/ifunc-strlen.h: New file.
4245
d2c4c403
SL
42462018-12-18 Stefan Liebler <stli@linux.ibm.com>
4247
4248 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4249 * sysdeps/s390/multiarch/ifunc-impl-list.c
4250 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4251 * sysdeps/s390/ifunc-memmem.h: New file.
4252 * sysdeps/s390/memmem.c: Likewise.
4253 * sysdeps/s390/memmem-c.c: Likewise.
4254 * sysdeps/s390/memmem-vx.c: Likewise.
4255
8c25dddd
SL
42562018-12-18 Stefan Liebler <stli@linux.ibm.com>
4257
4258 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4259 * sysdeps/s390/multiarch/ifunc-impl-list.c
4260 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4261 * sysdeps/s390/ifunc-strstr.h: New file.
4262 * sysdeps/s390/strstr.c: Likewise.
4263 * sysdeps/s390/strstr-c.c: Likewise.
4264 * sysdeps/s390/strstr-vx.c: Likewise.
4265
cdd927d9
SL
42662018-12-18 Stefan Liebler <stli@linux.ibm.com>
4267
4268 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4269 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4270 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4271 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4272 New defines.
4273 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4274 * sysdeps/s390/memmove-c.c: New file.
4275 * sysdeps/s390/memmove.c: Likewise.
4276 * sysdeps/s390/multiarch/ifunc-impl-list.c
4277 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4278
2ee1bc57
SL
42792018-12-18 Stefan Liebler <stli@linux.ibm.com>
4280
4281 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4282 * sysdeps/s390/configure.ac: Add check for z13 support.
4283 * sysdeps/s390/configure: Regenerated.
4284
d097d976
SL
42852018-12-18 Stefan Liebler <stli@linux.ibm.com>
4286
4287 * sysdeps/s390/memcopy.h: New file.
4288
e099aab0
SL
42892018-12-18 Stefan Liebler <stli@linux.ibm.com>
4290
4291 * sysdeps/s390/s390-32/bcopy.S: Remove.
4292 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4293
18eb862d
SL
42942018-12-18 Stefan Liebler <stli@linux.ibm.com>
4295
4296 * sysdeps/s390/ifunc-memcpy.h: New File.
4297 * sysdeps/s390/memcpy.S: Move to ...
4298 * sysdeps/s390/memcpy-z900.S ... here.
4299 Move implementations from memcpy-s390x.s to here.
4300 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4301 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4302 Remove memcpy/mempcpy variants.
4303 * sysdeps/s390/Makefile (sysdep_routines):
4304 Add memcpy/mempcpy variants.
4305 * sysdeps/s390/multiarch/ifunc-impl-list.c
4306 (__libc_ifunc_impl_list): Adjust ifunc variants for
4307 memcpy and mempcpy.
4308 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4309 to ...
4310 * sysdeps/s390/memcpy.c: ... here.
4311 Adjust ifunc variants for memcpy.
4312 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4313 * sysdeps/s390/mempcpy.c: ... here.
4314 Adjust ifunc variants for mempcpy.
4315 * sysdeps/s390/mempcpy.S: Delete file.
4316
df3eb8de
SL
43172018-12-18 Stefan Liebler <stli@linux.ibm.com>
4318
4319 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4320 * sysdeps/s390/memcpy.S: ... here.
4321 Adjust to be usable for 31/64bit.
4322 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4323 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4324 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4325 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4326 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4327 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4328 Adjust to be usable for 31/64bit.
4329 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4330 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4331 * sysdeps/s390/multiarch/memcpy.c: ... here.
4332 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4333
b7e024a8
SL
43342018-12-18 Stefan Liebler <stli@linux.ibm.com>
4335
4336 * sysdeps/s390/ifunc-memcmp.h: New File.
4337 * sysdeps/s390/memcmp.S: Move to ...
4338 * sysdeps/s390/memcmp-z900.S ... here.
4339 Move implementations from memcmp-s390x.s to here.
4340 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4341 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4342 Remove memcmp variants.
4343 * sysdeps/s390/Makefile (sysdep_routines):
4344 Add memcmp variants.
4345 * sysdeps/s390/multiarch/ifunc-impl-list.c
4346 (__libc_ifunc_impl_list): Adjust ifunc variants for
4347 memcmp.
4348 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4349 to ...
4350 * sysdeps/s390/memcmp.c: ... here.
4351 Adjust ifunc variants for memcmp.
4352
6c6b8c74
SL
43532018-12-18 Stefan Liebler <stli@linux.ibm.com>
4354
4355 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4356 * sysdeps/s390/memcmp.S: ... here.
4357 Adjust to be usable for 31/64bit.
4358 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4359 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4360 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4361 Remove memcmp.
4362 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4363 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4364 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4365 Adjust to be usable for 31/64bit.
4366 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4367 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4368 * sysdeps/s390/multiarch/memcmp.c: ... here.
4369 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4370
07be3928
SL
43712018-12-18 Stefan Liebler <stli@linux.ibm.com>
4372
4373 * sysdeps/s390/s390-32/bzero.S: Delete file.
4374 * sysdeps/s390/s390-64/bzero.S: Likewise.
4375 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4376 * sysdeps/s390/bzero.c: New file.
4377 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4378 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4379 * sysdeps/s390/multiarch/ifunc-impl-list.c
4380 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4381
712a254a
SL
43822018-12-18 Stefan Liebler <stli@linux.ibm.com>
4383
4384 * sysdeps/s390/ifunc-memset.h: New File.
4385 * sysdeps/s390/memset.S: Move to ...
4386 * sysdeps/s390/memset-z900.S ... here.
4387 Move implementations from memset-s390x.s to here.
4388 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4389 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4390 Remove memset variants.
4391 * sysdeps/s390/Makefile (sysdep_routines):
4392 Add memset variants.
4393 * sysdeps/s390/multiarch/ifunc-impl-list.c
4394 (__libc_ifunc_impl_list): Adjust ifunc variants for
4395 memset.
4396 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4397 to ...
4398 * sysdeps/s390/memset.c: ... here.
4399 Adjust ifunc variants for memset.
4400
5f1743d1
SL
44012018-12-18 Stefan Liebler <stli@linux.ibm.com>
4402
4403 * sysdeps/s390/s390-64/memset.S: Move to ...
4404 * sysdeps/s390/memset.S: ... here.
4405 Adjust to be usable for 31/64bit.
4406 * sysdeps/s390/s390-32/memset.S: Delete File.
4407 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4408 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4409 Remove memset.
4410 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4411 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4412 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4413 Adjust to be usable for 31/64bit.
4414 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4415 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4416 * sysdeps/s390/multiarch/memset.c: ... here.
4417 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4418
e8023f26
SL
44192018-12-18 Stefan Liebler <stli@linux.ibm.com>
4420
4421 * sysdeps/s390/multiarch/ifunc-resolve.h
4422 (s390_libc_ifunc_init, s390_libc_ifunc,
4423 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4424
b8686c0d
SL
44252018-12-18 Stefan Liebler <stli@linux.ibm.com>
4426
4427 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4428 * sysdeps/s390/configure.ac: Add check for z10 support.
4429 * sysdeps/s390/configure: Regenerated.
4430
cd815050
L
44312018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4432
4433 * sysdeps/i386/atomic-machine.h: Merged with ...
4434 * sysdeps/x86_64/atomic-machine.h: To ...
4435 * sysdeps/x86/atomic-machine.h: This. New file.
4436
053c52b1
FW
44372018-12-18 Florian Weimer <fweimer@redhat.com>
4438
4439 Rewrite locale/gen-translit.pl in Python.
4440 * locale/Makefile (generated): Add C-translit.h.
4441 (before-compile): Add $(objpfx)C-translit.h.
4442 (C-translit.h): Move to $(objpfx). Create target directory.
4443 Build using Python script.
4444 * locale/gen-translit.py: New file.
4445 * locale/gen-translit.pl: Remove file.
4446 * locale/C-translit.h.in: Change comment character to '#' for
4447 easier parsing without a C preprocessor.
4448 * locale/C-translit.h: Remove generated file.
4449 * manual/install.texi (Tools for Compilation): Do not mention
4450 C-translit.h.
4451 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4452 Remove locale/C-translit.h.
4453 * scripts/update-copyrights: Likewise.
4454 * INSTALL: Regenerate.
4455
40e6c1ec
FW
44562018-12-18 Florian Weimer <fweimer@redhat.com>
4457
4458 [BZ #23995]
4459 * localedata/locales/bi_VU: Remove executable bit from file.
4460
6e15f3e2
AA
44612018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4462
4463 * include/time.h
4464 (__localtime64): Add.
4465 * manual/maint.texi: Document Y2038 symbol handling.
4466 * time/localtime.c
4467 (__localtime64): Add.
bfb79db4 4468 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 4469
df648905
JM
44702018-12-17 Joseph Myers <joseph@codesourcery.com>
4471
551e81d9
JM
4472 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4473 Do not clobber r12.
4474
df648905
JM
4475 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4476 to allow extra macros from first or second sources.
4477 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4478 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4479 (tests-special): Add $(objpfx)tst-mman-consts.out.
4480 ($(objpfx)tst-mman-consts.out): New makefile target.
4481
6bbfc5c0
MH
44822018-12-17 Mao Han <han_mao@c-sky.com>
4483
4484 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4485 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4486 without stat64 system call support.
4487 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4488 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4489 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4490 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4491 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4492 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4493 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4494 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4495 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4496 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4497 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4498
ef202e53
PE
44992018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4500
4501 regex: fix storage-exhaustion error
4502 [BZ #18040]
4503 * posix/regexec.c (get_subexp):
4504 Do not continue if storage is exhausted.
4505
077caf61
AG
45062018-12-15 Assaf Gordon <assafgordon@gmail.com>
4507
4508 regex: fix heap-use-after-free error
4509 [BZ #18040]
4510 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4511 https://debbugs.gnu.org/32592
4512 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4513 call extend_buffers which reallocates the re_string_t internal buffer.
4514 Local variable 'buf' was not updated in such case, resulting in
4515 use-after-free.
4516 * posix/regexec.c (get_subexp): Update 'buf' after call to
4517 get_subexp_sub.
4518
0c1719e6
FW
45192018-12-15 Florian Weimer <fweimer@redhat.com>
4520
4521 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4522 (minimum_stride_size): Use it.
4523 (support_blob_repeat_allocate): Likewise.
4524
033a2c0a
JM
45252018-12-14 Joseph Myers <joseph@codesourcery.com>
4526
4527 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4528 definition.
4529 (acosh): Likewise.
4530 (atanh): Likewise.
4531
e361dc04
FW
45322018-12-14 Florian Weimer <fweimer@redhat.com>
4533
4534 * manual/process.texi (Process Creation Concepts): Remove
4535 documentation of process (ID) lifetime. List more process
4536 creation functions. Reference Process Identification section.
4537 (Process Identification): Add information about process ID
4538 lifetime. Describe Linux thread/task IDs.
4539 * manual/signal.texi (Signaling Another Process): Mention that the
4540 signal is always sent to the process.
4541
bd51ff5e
GG
45422018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4543
4544 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4545 and tst-ldbl-efgcvt.
4546 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4547 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4548 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4549 (fcvt_tests, output_error, output_r_error, do_test): Use the
4550 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4551 select the type of floating-point variables and arguments; to
4552 produce extra tests for double and conversion specifiers for
4553 printf; and to set the names of called functions.
4554 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4555 in tst-efgcvt-template.c.
4556 * misc/tst-ldbl-efgcvt.c: Likewise.
4557
268bb71e
SL
45582018-12-14 Stefan Liebler <stli@linux.ibm.com>
4559
4560 * nss/Makefile (tst-nss-test3.out): New rule.
4561
db6df070
JM
45622018-12-13 Joseph Myers <joseph@codesourcery.com>
4563
4564 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4565 clobber sp.
4566
ade8b817
CD
45672018-12-13 fanjinke <fanjinke@hygon.cn>
4568
4569 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4570 "HygonGenuine".
4571
3d265911
AS
45722018-12-13 Andreas Schwab <schwab@suse.de>
4573
f21e8f8c 4574 [BZ #23861]
3d265911 4575 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
4576 (__pthread_rwlock_rdlock_full): Update expected value for
4577 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4578 * nptl/tst-rwlock-pwn.c: New file.
4579 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 4580
bf8ae8c0
JM
45812018-12-12 Joseph Myers <joseph@codesourcery.com>
4582
4583 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4584 definition.
4585
de099757
LS
45862018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4587
4588 * benchtests/scripts/compare_bench.py (do_compare): write to
4589 stderr in casestat is not present.
4590 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4591 stderr in case timings field is not present. Also string showing
4592 the output filename goes into the stderr.
4593
1990185f
LS
45942018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4595
4596 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4597 and ZeroDivisorError exceptions.
4598 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4599 argument to loop through user provided statistics.
4600 * benchtests/scripts/compare_bench.py (main): Include the --stats
4601 argument.
4602
587426d4
LS
46032018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4604
4605 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4606 instead of return.
4607
46703efa
FW
46082018-12-12 Florian Weimer <fweimer@redhat.com>
4609
4610 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4611 clause to copyright header.
4612
1d880d4a
TMQMF
46132018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4614
4615 [BZ #23614]
4616 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4617 registers saved in the stack frame.
4618 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4619 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4620
1a502f52
GG
46212018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4622
4623 * include/bits/monetary-ldbl.h: New file.
4624 * include/bits/printf-ldbl.h: Likewise.
4625 * include/bits/stdio-ldbl.h: Likewise.
4626 * include/bits/stdlib-ldbl.h: Likewise.
4627 * include/bits/syslog-ldbl.h: Likewise.
4628 * include/bits/wchar-ldbl.h: Likewise.
4629
df682d1d
GG
46302018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4631
4632 * libio/libio.h: Remove redirection for _IO_vfprintf.
4633
c2c082c1
AS
46342018-12-11 Andreas Schwab <schwab@suse.de>
4635
4636 * Makerules: Remove all references to abilist-pattern.
4637 (update-all-abi): Simplify find expression.
4638
505b5b29
SN
46392018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4640
4641 [BZ #23961]
4642 * math/auto-libm-test-in: Add new test case.
4643 * math/auto-libm-test-out-pow: Regenerated.
4644 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4645
304c61a2
DD
46462018-12-10 DJ Delorie <dj@redhat.com>
4647
4648 [BZ #23948]
4649 * support/test-container.c: Move postclean step to before we
4650 change namespaces.
4651
a8110b72
JM
46522018-12-10 Joseph Myers <joseph@codesourcery.com>
4653
cb7be159
JM
4654 * scripts/gen-as-const.py (main): Handle --python option.
4655 * scripts/gen-py-const.awk: Remove.
4656 * Makerules (py-const-script): Use gen-as-const.py.
4657 ($(py-const)): Likewise.
4658 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4659 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4660 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4661 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4662 ~PTHREAD_MUTEX_NO_ELISION_NP.
4663 * manual/README.pretty-printers: Update reference to
4664 gen-py-const.awk.
4665
a8110b72
JM
4666 * scripts/glibcextract.py: New file.
4667 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4668 or tempfile. Import glibcexctract.
4669 (compute_c_consts): Remove. Moved to glibcextract.py.
4670 (gen_test): Update reference to compute_c_consts.
4671 (main): Likewise.
4672 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4673 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4674 * sysdeps/unix/sysv/linux/Makefile
4675 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4676 Redirect stderr as well as stdout.
4677
f9ba9eb8
RÁE
46782018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4679
4680 [BZ #19767]
4681 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4682 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4683 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4684 ALWAYS_USE_VSYSCALL.
4685 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4686 ALWAYS_USE_VSYSCALL.
4687 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4688 ALWAYS_USE_VSYSCALL.
4689
8d20a2f4
FW
46902018-12-10 Florian Weimer <fweimer@redhat.com>
4691
4692 [BZ #23972]
4693 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4694 offset instead of count for clarity. Fix typo in comment.
4695 (__old_getdents64): Keep track of previous offset. Use it to call
4696 handle_overflow.
4697 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4698 that d_off is never zero.
4699
80472e2f
AS
47002018-12-10 Andreas Schwab <schwab@suse.de>
4701
4702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4703 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4705 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4706 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4707
0afcb29d
JM
47082018-12-10 Joseph Myers <joseph@codesourcery.com>
4709
4710 * timezone/private.h: Update from tzcode 2018g.
4711 * timezone/tzfile.h: Likewise.
4712 * timezone/tzselect.ksh: Likewise.
4713 * timezone/zdump.c: Likewise.
4714 * timezone/zic.c: Likewise.
4715
b93f4052
PP
47162018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4717
4718 [BZ #23490]
4719 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4720 (do_test): Adjust buffer size and fix format.
4721
7c9a7c68
DD
47222018-12-07 DJ Delorie <dj@redhat.com>
4723
4724 [BZ #23907]
4725 * malloc/tst-tcfree3.c: New.
4726 * malloc/Makefile: Add it.
4727
37caec3a
L
47282018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4729
4730 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4731
10446f5d
GG
47322018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4733
4734 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4735 used as a mask for the mode argument of __vfscanf_internal and
4736 __vfwscanf_internal.
4737 * stdio-common/vfscanf-internal.c
4738 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4739 (__strtof128_internal): Define to __wcstof128_internal.
4740 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4741 __strtof128_internal or __wcstof128_internal when the format of
4742 long double is the same as _Float128.
4743
45f33aac
ST
47442018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4745
4746 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4747 * posix/confstr.c (confstr): Rename to __confstr.
4748 (__confstr): Add hidden def.
4749 (confstr): Add weak alias for __confstr.
4750 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4751 confstr.
4752
a092ca94
L
47532018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4754
4755 * NEWS: Mention getcpu.
4756 * include/sched.h (__getcpu): New libc_hidden_proto.
4757 * manual/resource.texi: Document getcpu.
4758 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4759 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4760 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4761 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4762 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4763 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4764 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4765 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4766 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4767 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4768 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4769 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4770 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4771 Likewise.
4772 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4773 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4774 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4776 Likewise.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4778 Likewise.
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4780 Likewise.
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4782 Likewise.
4783 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4784 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4785 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4786 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4787 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4788 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4789 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4790 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4791 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4792 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4793 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4794 Also check getcpu.
4795
7c857b6f
ST
47962018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4797
4798 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4799 functions.
4800 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4801
3a3fb755
FW
48022018-12-07 Florian Weimer <fweimer@redhat.com>
4803
4804 [BZ #17405]
4805 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4806 * posix/Versions (GLIBC_2.29): Export
4807 posix_spawn_file_actions_addfchdir_np.
4808 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4809 * posix/spawn_faction_destroy.c
4810 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4811 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4812 and the field action.fchdir_action.
4813 * posix/tst-spawn-chdir.c (add_chdir): New function.
4814 (do_test): Add do_fchdir loop. Call add_chdir.
4815 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4816 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4817 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4818 posix_spawn_file_actions_addfchdir_np.
4819 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4820 Likewise.
4821 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4822 Likewise.
4823 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4824 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4825 Likewise.
4826 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4827 Likewise.
4828 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4829 Likewise.
4830 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4831 Likewise.
4832 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4833 Likewise.
4834 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4835 Likewise.
4836 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4837 (GLIBC_2.29): Likewise.
4838 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4839 (GLIBC_2.29): Likewise.
4840 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4841 (GLIBC_2.29): Likewise.
4842 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4843 (GLIBC_2.29): Likewise.
4844 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4845 Likewise.
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4847 (GLIBC_2.29): Likewise.
4848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4849 (GLIBC_2.29): Likewise.
4850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4851 (GLIBC_2.29): Likewise.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4853 (GLIBC_2.29): Likewise.
4854 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4855 Likewise.
4856 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4857 Likewise.
4858 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4859 Likewise.
4860 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4861 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4862 Likewise.
4863 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4864 Likewise.
4865 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4866 Likewise.
4867 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4868 Likewise.
4869
c37cd439
JM
48702018-12-06 Joseph Myers <joseph@codesourcery.com>
4871
4872 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4873 trailing whitespace removed.
4874 * scripts/config.guess: Update to version 2018-11-28.
4875 * scripts/config.sub: Update to version 2018-11-28.
4876 * scripts/install-sh: Update to version 2018-03-11.20.
4877 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4878 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4879
899478c2
FW
48802018-12-07 Florian Weimer <fweimer@redhat.com>
4881
4882 [BZ #23927]
4883 CVE-2018-19591
4884 * inet/tst-if_index-long.c: New file.
4885 * inet/Makefile (tests): Add tst-if_index-long.
4886
f255336a
FW
48872018-12-07 Florian Weimer <fweimer@redhat.com>
4888
4889 * support/check.h (support_record_failure_is_failed): Declare.
4890 * support/descriptors.h: New file.
4891 * support/support_descriptors.c: Likewise.
4892 * support/tst-support_descriptors.c: Likewise.
4893 * support/support_record_failure.c
4894 (support_record_failure_is_failed): New function.
4895 * support/Makefile (libsupport-routines): Add support_descriptors.
4896 (tests): Add tst-support_descriptors.
4897
35caceb1
ZW
48982018-12-05 Zack Weinberg <zackw@panix.com>
4899 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4900
4901 * stdio-common/vfprintf-internal.c
4902 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4903 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4904 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4905 and __no_long_double.
4906 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4907 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4908 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4909 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4910 and __nldbl_*syslog* functions.
4911 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4912 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4913 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4914 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4915 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4916 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4917 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4918 (__nldbl_vwprintf, __nldbl_wprintf):
4919 Directly call the appropriate __v*printf_internal routine, passing
4920 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4921 variable names.
4922 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4923 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4924 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4925 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4926 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4927 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4928 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4929 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4930 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4931 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4932 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4933 (__nldbl_syslog, __nldbl_vsyslog):
4934 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4935 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4936 appropriate.
4937 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4938 appropriate.
4939
4e2f43f8
ZW
49402018-12-05 Zack Weinberg <zackw@panix.com>
4941 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4942
4943 [BZ #11319]
4944 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4945 Moved here from debug/vsprintf_chk.c.
4946 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4947 and completion logic for the strfile to match exactly what
4948 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4949 _IO_str_init_static_internal instead of maxlen-1.
4950 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4951 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4952 __vsprintf_internal.
4953
4954 * debug/vsprintf_chk.c (__vsprintf_chk)
4955 * debug/sprintf_chk.c (__sprintf_chk):
4956 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4957 'flags' argument is positive, and slen as maxlen. No need to lock
4958 the FILE and/or construct a temporary FILE. Minimize and normalize
4959 header inclusions and variable names. Do not libc_hidden_def anything.
4960
4961 * debug/asprintf_chk.c (__asprintf_chk)
4962 * debug/dprintf_chk.c (__dprintf_chk)
4963 * debug/fprintf_chk.c (__fprintf_chk)
4964 * debug/fwprintf_chk.c (__fwprintf_chk)
4965 * debug/printf_chk.c (__printf_chk)
4966 * debug/snprintf_chk.c (__snprintf_chk)
4967 * debug/swprintf_chk.c (__swprintf_chk)
4968 * debug/vasprintf_chk.c (__vasprintf_chk)
4969 * debug/vdprintf_chk.c (__vdprintf_chk)
4970 * debug/vfprintf_chk.c (__vfprintf_chk)
4971 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4972 * debug/vprintf_chk.c (__vprintf_chk)
4973 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4974 * debug/vswprintf_chk.c (__vswprintf_chk)
4975 * debug/vwprintf_chk.c (__vwprintf_chk)
4976 * debug/wprintf_chk.c (__wprintf_chk):
4977 Directly call the corresponding vxxprintf_internal function, passing
4978 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4979 the FILE and/or construct a temporary FILE. Minimize and normalize
4980 header inclusions and variable names. Do not libc_hidden_def anything.
4981
4982 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4983 __obstack_vprintf_internal.
4984 (__obstack_vprintf_chk): Convert into a wrapper that calls
4985 __obstack_vprintf_internal (these two functions already had the
4986 same code) and move to new file...
4987 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4988 file.
4989 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4990 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4991 * debug/Makefile (routines): Add vobprintf_chk.
4992
4993 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4994 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4995 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4996 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4997 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4998 (__nldbl___obstack_vfprintf_chk):
4999 Directly call the corresponding vxxprintf_internal function,
5000 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5001 duplicate comparison of slen with 0 or maxlen from the corresponding
5002 non-__nldbl function.
5003
5004 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5005 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5006 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5007 Remove libc_hidden_proto.
5008
5009 * stdio-common/vfprintf-internal.c
5010 (__vfprintf_internal, __vfwprintf_internal):
5011 Do not check _IO_FLAGS2_FORTIFY.
5012 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5013 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5014 a comment explaining why it has the maxlen argument.
5015 (_IO_acquire_lock_clear_flags2_fct): Remove.
5016 (_IO_acquire_lock_clear_flags2): Remove.
5017 (_IO_release_lock): Remove conditional statement which will
5018 now never execute.
5019 (_IO_acquire_lock): Remove variable which is now unused.
5020 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5021 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5022
5023 * stdio-common/Makefile (tests): Add tst-bz11319 and
5024 tst-bz11319-fortify2.
5025 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5026 * stdio-common/tst-bz11319-fortify2.c: New file.
5027 * stdio-common/tst-bz11319.c: Likewise.
5028
124fc732
ZW
50292018-12-05 Zack Weinberg <zackw@panix.com>
5030 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5031
5032 * misc/syslog.c: Include libioP.h, not iolibio.h.
5033 (__vsyslog_internal): New function with the former body of
5034 __vsyslog_chk; takes mode_flags argument same as
5035 __v*printf_internal. Call __vfprintf_internal directly.
5036
5037 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5038 Remove libc_hidden_def.
5039 (__syslog, __syslog_chk): Use __vsyslog_internal.
5040 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5041
5042 * include/sys/syslog.h: Add multiple inclusion guard.
5043 Add prototype for __vsyslog_internal.
5044 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5045
5046 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5047 Use __vsyslog_internal.
5048
698fb75b
ZW
50492018-12-05 Zack Weinberg <zackw@panix.com>
5050 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5051
5052 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5053 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5054 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5055 New functions.
5056 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5057 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5058
5059 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5060 Include wctype.h here if COMPILE_WPRINTF is defined.
5061 Define __vfprintf_internal or __vfwprintf_internal, depending
5062 on COMPILE_WPRINTF.
5063 Temporarily, on entry to this function, update mode_flags
5064 according to the environmental settings corresponding to
5065 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5066 Throughout, check mode_flags instead of __ldbl_is_dbl and
5067 _IO_FLAGS2_FORTIFY on the destination FILE.
5068 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5069 Include vfprintf-internal.c. Don't include wctype.h.
5070 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5071 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5072 and vfprintf.
5073 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5074 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5075 and vfwprintf.
5076 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5077
5078 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5079 and add mode_flags argument; use __vfprintf_internal.
5080 (__vdprintf): New function. Alias vdprintf to this.
5081 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5082 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5083 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5084 (__obstack_printf): Use __obstack_printf_internal.
5085 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5086 public aliases __vsnprintf and vsnprintf.
5087 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5088 called internally.
5089 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5090 public aliases _IO_vsprintf and vsprintf.
5091 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5092 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5093 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5094 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5095 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5096
5097 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5098 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5099 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5100 * stdio-common/printf.c: Use __vfprintf_internal.
5101
5102 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5103 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5104 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5105
5106 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5107 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5108 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5109 __vfwprintf_internal.
5110
5111 * libio/libio.h: Remove libc_hidden_proto and declaration for
5112 _IO_vfprintf.
5113 Remove declaration of _IO_vfwprintf.
5114 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5115 _IO_vsprintf.
5116 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5117 _IO_obstack_printf.
5118 * include/stdio.h: Add prototype for __vasprintf.
5119 (__vsnprintf): Remove declaration, because there are no more
5120 internal calls.
5121 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5122 declaration, because there are no more internal calls.
5123
5124 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5125 __vsnprintf_internal, instead of _IO_vsnprintf.
5126 * argp/argp-help.c (__argp_error, __argp_failure): Use
5127 __vasprintf_internal, instead of _IO_vasprintf.
5128 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5129 redefine, because there are no more internal calls.
5130
d91798b3
ZW
51312018-12-05 Zack Weinberg <zackw@panix.com>
5132 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5133
5134 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5135 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5136 Include libio/strfile.h instead of libioP.h.
5137 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5138 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5139 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5140 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5141 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5142 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5143 necessary. Do not set __no_long_double. Normalize variable names.
5144 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5145 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5146 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5147 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5148 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5149 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5150 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5151 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5152 Do not set __no_long_double. Normalize variable names.
5153
b87eb3f8
ZW
51542018-12-05 Zack Weinberg <zackw@panix.com>
5155 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5156
5157 * stdio-common/isoc99_scanf.c
5158 * stdio-common/isoc99_fscanf.c
5159 * stdio-common/isoc99_sscanf.c
5160 * stdio-common/isoc99_vscanf.c
5161 * stdio-common/isoc99_vfscanf.c
5162 * stdio-common/isoc99_vsscanf.c
5163 * wcsmbs/isoc99_wscanf.c
5164 * wcsmbs/isoc99_fwscanf.c
5165 * wcsmbs/isoc99_swscanf.c
5166 * wcsmbs/isoc99_vwscanf.c
5167 * wcsmbs/isoc99_vfwscanf.c
5168 * wcsmbs/isoc99_vswscanf.c:
5169 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5170 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5171 No need to lock and unlock the FILE passed to that function.
5172
5173 * stdio-common/vfscanf-internal.c
5174 (__vfscanf_internal, __vfwscanf_internal):
5175 Don't look at _IO_FLAGS2_SCANF_STD.
5176 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5177 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5178 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5179
349718d4
ZW
51802018-12-05 Zack Weinberg <zackw@panix.com>
5181 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5182
5183 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5184 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5185 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5186 * libio/strfile.h: Add multiple inclusion guard.
5187 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5188
5189 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5190 consistency with the other version of this file.
5191 (ldbl_compat_symbol): New macro.
5192 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5193 New macro.
5194
5195 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5196 Define __vfscanf_internal or __vfwscanf_internal, depending on
5197 COMPILE_WSCANF; don't define any other public symbols.
5198 Remove errval and code to set errp.
5199 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5200 as the mode_flags argument.
5201 (encode_error, conv_error, input_error): Don't set errval.
5202 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5203 Include vfscanf-internal.c.
5204 * stdio-common/vfscanf.c: New file defining the public entry
5205 point vfscanf, which calls __vfscanf_internal.
5206 * stdio-common/vfwscanf.c: New file defining the public entry
5207 point vfwscanf, which calls __vfwscanf_internal.
5208
5209 * stdio-common/iovfscanf.c: New file.
5210 * stdio-common/iovfwscanf.c: Likewise.
5211
5212 * stdio-common/Makefile (routines): Add vfscanf-internal,
5213 vfwscanf-internal, iovfscanf, iovfwscanf.
5214 * stdio-common/Versions: Mention GLIBC_2.29, so that
5215 it can be used in SHLIB_COMPAT expressions.
5216 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5217 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5218 Call __vfscanf_internal, instead of _IO_vfscanf.
5219 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5220 _IO_vfscanf.
5221 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5222 _IO_vfwscanf.
5223
5224 * libio/iovsscanf.c: Clean up includes, when possible. Use
5225 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5226 __vfscanf_internal or __vfwscanf_internal directly.
5227 * libio/iovswscanf.c: Likewise.
5228 * libio/swscanf.c: Likewise.
5229 * libio/vscanf.c: Likewise.
5230 * libio/vwscanf.c: Likewise.
5231 * libio/wscanf.c: Likewise.
5232 * stdio-common/isoc99_fscanf.c: Likewise.
5233 * stdio-common/isoc99_scanf.c: Likewise.
5234 * stdio-common/isoc99_sscanf.c: Likewise.
5235 * stdio-common/isoc99_vfscanf.c: Likewise.
5236 * stdio-common/isoc99_vscanf.c: Likewise.
5237 * stdio-common/isoc99_vsscanf.c: Likewise.
5238 * stdio-common/scanf.c: Likewise.
5239 * stdio-common/sscanf.c: Likewise.
5240 * wcsmbs/isoc99_fwscanf.c: Likewise.
5241 * wcsmbs/isoc99_swscanf.c: Likewise.
5242 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5243 * wcsmbs/isoc99_vswscanf.c: Likewise.
5244 * wcsmbs/isoc99_vwscanf.c: Likewise.
5245 * wcsmbs/isoc99_wscanf.c: Likewise.
5246
72b8692d
AA
52472018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5248
5249 * include/time.h
5250 (__tz_compute): Replace time_t with __time64_t.
5251 (__tz_convert): Replace time_t* with __time64_t.
5252 (__offtime): Replace time_t* with __time64_t.
5253 * time/gmtime.c
5254 (__gmtime_r): Adjust call to __tz_convert.
5255 (gmtime): Likewise.
5256 * time/localtime.c
5257 (__localtime_r): Likewise.
5258 (localtime): Likewise.
5259 * time/offtime.c: Replace time_t with __time64_t.
5260 * time/tzset.c: Likewise.
5261
bd598da9
JM
52622018-12-04 Joseph Myers <joseph@codesourcery.com>
5263
5264 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5265 dynamic linker unless [$(run-built-tests) = yes].
5266
b2e93de0
DD
52672018-12-03 DJ Delorie <dj@delorie.com>
5268
5269 * support/test-container.c (check_for_unshare_hints): New.
5270 (main): Call it if unshare fails. Add support for "su" scriptlet
5271 command.
5272
477a02f6
JM
52732018-12-03 Joseph Myers <joseph@codesourcery.com>
5274
5275 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5276 'START' to indicate that start text should be output.
5277 (gen_test): Likewise.
5278 (main): Generate 'START' for first symbol or '--' line, or at end
5279 of input if not previously generated.
5280
6af956e5
RÁE
52812018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5282
5283 [BZ #19767]
5284 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5285 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5286 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5287 ALWAYS_USE_VSYSCALL.
5288
f5ec0ea9
AZ
52892018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5290
5291 [BZ #23913]
5292 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5293 new_argv by one.
5294
8cebd4ff
CD
52952018-12-03 Carlos O'Donell <carlos@redhat.com>
5296
5297 [BZ #23923]
5298 * locale/programs/localedef.c: Declare boolean hard_links default true.
5299 (options): Add --no-hard-links option.
5300 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5301 * locale/programs/localedef.h: Declare prototype for hard_links.
5302 * locale/programs/locfile.c (write_locale_data): Don't use hard
5303 links if hard_links is false.
5304
c22e4c2a
L
53052018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5306
5307 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5308 cpu_features_basic.
5309 (__cache_sysconf): Likewise.
5310 (init_cacheinfo): Likewise.
5311 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5312 populate COMMON_CPUID_INDEX_80000007 and
5313 COMMON_CPUID_INDEX_80000008.
5314 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5315 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5316 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5317 (init_cpu_features): Use _Static_assert on
5318 index_arch_Fast_Unaligned_Load.
5319 __get_cpuid_registers and __get_arch_feature. Updated for
5320 cpu_features_basic. Set stepping in cpu_features.
5321 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5322 (FEATURE_INDEX_2): New.
5323 (FEATURE_INDEX_MAX): Changed to enum.
5324 (COMMON_CPUID_INDEX_D_ECX_1): New.
5325 (COMMON_CPUID_INDEX_80000007): Likewise.
5326 (COMMON_CPUID_INDEX_80000008): Likewise.
5327 (cpuid_registers): Likewise.
5328 (cpu_features_basic): Likewise.
5329 (CPU_FEATURE_USABLE): Likewise.
5330 (bit_arch_XXX_Usable): Likewise.
5331 (cpu_features): Use cpuid_registers and cpu_features_basic.
5332 (bit_arch_XXX): Reweritten.
5333 (bit_cpu_XXX): Likewise.
5334 (index_cpu_XXX): Likewise.
5335 (reg_XXX): Likewise.
5336 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5337 <support/check.h>.
5338 (CHECK_CPU_FEATURE): New.
5339 (CHECK_CPU_FEATURE_USABLE): Likewise.
5340 (cpu_kinds): Likewise.
5341 (do_test): Print vendor, family, model and stepping. Check
5342 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5343 (TEST_FUNCTION): Removed.
5344 Include <support/test-driver.c> instead of
5345 "../../test-skeleton.c".
5346 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5347 Check POPCNT instead of POPCOUNT.
5348 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5349
7b36d26b
ST
53502018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5351
5352 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5353 there is no element in `consts'.
5354
02cd5c1a
FW
53552018-12-01 Florian Weimer <fweimer@redhat.com>
5356
5357 * support/support_capture_subprocess.c
5358 (support_capture_subprocess): Check that pipe descriptors have
5359 expected values. Close original pipe descriptors in subprocess.
5360
fc493bc9
ST
53612018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5362
5363 [BZ #23032]
5364 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5365 attr with __pthread_default_barrierattr.
5366 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5367 attr with __pthread_default_condattr.
5368 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5369 attr with __pthread_default_mutexattr.
5370 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5371 attr with __pthread_default_rwlockattr.
5372
6310e6be
KW
53732018-12-01 Kemi Wang <kemi.wang@intel.com>
5374
5375 * manual/tunables.texi (POSIX Thread Tunables): New node.
5376 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5377 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5378 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5379 __pthread_tunables_init.
5380 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5381 (max_adaptive_count): Define.
5382 * nptl/pthread_mutex_conf.c: New file.
5383 * nptl/pthread_mutex_conf.h: New file.
5384 * sysdeps/generic/adaptive_spin_count.h: New file.
5385 * sysdeps/nptl/dl-tunables.list: New file.
5386 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5387 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5388 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5389 Likewise.
5390
8e67b39e
PP
53912018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5392
5393 [BZ #20544]
5394 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5395 * stdlib/on_exit.c (__on_exit): Likewise.
5396 * stdlib/Makefile (tests): Add tst-bz20544.
5397 * stdlib/tst-bz20544.c: New test.
5398
15b8d67e
RÁE
53992018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5400
5401 [BZ #19767]
5402 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5403 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5404 New.
5405
5e63c240
FW
54062018-11-30 Florian Weimer <fweimer@redhat.com>
5407
5408 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5409 Extend error logging.
5410 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5411 symbol.
5412
71058602 54132018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 5414
5fb7fc96
AZ
5415 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5416 __sigismember instead of sigismember.
5417 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5418 cancel_handler): New definitions.
5419 (do_system): Use posix_spawn instead of fork and execl and remove
5420 reentracy code.
5421 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5422 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5423 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5424 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5425 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5426 * sysdeps/unix/sysv/linux/system.c: Likewise.
5427
14d0e87d
AZ
5428 [BZ #22834]
5429 [BZ #17490]
5430 * NEWS: Add new semantic for atfork with popen and system.
5431 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5432 fork and execl.
5433
e5d262ef
TMQMF
54342018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5435
5436 [BZ #23690]
5437 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5438 modification order when accessing reloc_result->addr.
5439 * include/link.h (reloc_result): Add field init.
5440 * nptl/Makefile (tests): Add tst-audit-threads.
5441 (modules-names): Add tst-audit-threads-mod1 and
5442 tst-audit-threads-mod2.
5443 Add rules to build tst-audit-threads.
5444 * nptl/tst-audit-threads-mod1.c: New file.
5445 * nptl/tst-audit-threads-mod2.c: Likewise.
5446 * nptl/tst-audit-threads.c: Likewise.
5447 * nptl/tst-audit-threads.h: Likewise.
5448
7e1d4240
JM
54492018-11-30 Joseph Myers <joseph@codesourcery.com>
5450
5451 * scripts/gen-as-const.py: New file.
5452 * scripts/gen-as-const.awk: Remove.
5453 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5454 gen-as-const.py.
5455 ($(objpfx)test-as-const-%.c): Likewise.
5456
ce7387cc
L
54572018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5458
5459 * elf/dl-exception.c: Include <_itoa.h>.
5460
c6a5bdc1
ST
54612018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5462
5463 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5464 returned by __f_setlk.
5465
a5275ba5
L
54662018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5467 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5468
5469 * elf/Makefile (tests-internal): Add tst-create_format1.
5470 * elf/dl-exception.c (_dl_exception_create_format): Support
5471 %x, %lx and %zx.
5472 * elf/tst-create_format1.c: New file.
5473
3a67e81d
CAC
54742018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5475
5476 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5477 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5478 gnulib.)
5479 * argp/argp-help.c (__argp_failure): Likewise.
5480
4975f0c3
MH
54812018-11-29 Mao Han <han_mao@c-sky.com>
5482
5483 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5484 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5485 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5486 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5487 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5488 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5489 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5490 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5491 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5492 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5493 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5494 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5495 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5496 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5497 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5498 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5499 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5500 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5501 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5502 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5503 (R_CKCORE_TLS_TPOFF32): New defines.
5504
250102c8
FW
55052018-11-29 Florian Weimer <fweimer@redhat.com>
5506
5507 * posix/Makefile (before-compile): Remove testcases.h and
5508 ptestcases.h.
5509 (generated): Add testcases.h and ptestcases.h.
5510 (testcases.h, ptestcases.h): Move to $(objpfx).
5511 (runtests.o): Add dependency on testcases.h.
5512 (runptests.o): Add dependency on ptestcases.h.
5513 * posix/testcases.h, posix/ptestcases.h: Remove files.
5514 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5515 not touch posix/testcases.h and posix/ptestcases.h.
5516
96cd0558
FW
55172018-11-28 Florian Weimer <fweimer@redhat.com>
5518
5519 support: Add signal support to support_capture_subprocess_check.
5520 * support/capture_subprocess.h (support_capture_subprocess_check):
5521 Adjust comment and rename parameter.
5522 * support/support_capture_subprocess_check.c
5523 (print_actual_status): New function.
5524 (support_capture_subprocess_check): Support negative
5525 status_or_signal. Call print_actual_status.
5526 * support/tst-support_capture_subprocess.c (do_test): Call
5527 support_capture_subprocess_check.
5528 * libio/tst-vtables-common.c (termination_status)
5529 (init_termination_status): Remove.
5530 (check_for_termination): Adjust support_capture_subprocess_check
5531 call.
5532 (do_test): Remove call to init_termination_status.
5533
530504e3
JM
55342018-11-28 Joseph Myers <joseph@codesourcery.com>
5535
5536 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5537 source directory instead of a copy.
5538 (CommandList.create_copy_dir): Remove.
5539
9a0b6970
SL
55402018-11-28 Stefan Liebler <stli@linux.ibm.com>
5541
5542 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5543
47d8d9a2
FW
55442018-11-28 Florian Weimer <fweimer@redhat.com>
5545
5546 * support/support.h (support_quote_string): Do not use str
5547 parameter name.
5548
b473b7d8
JM
55492018-11-27 Joseph Myers <joseph@codesourcery.com>
5550
5551 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5552 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5553
c74a91de
FW
55542018-11-27 Florian Weimer <fweimer@redhat.com>
5555
5556 * support/support.h (support_quote_string): Declare.
5557 * support/support_quote_string.c: New file.
5558 * support/tst-support_quote_string.c: Likewise.
5559 * support/Makefile (libsupport-routines): Add
5560 support_quote_string.
5561 (tests): Add tst-support_quote_string.
5562
d527c860
FW
55632018-11-27 Florian Weimer <fweimer@redhat.com>
5564
5565 [BZ #23927]
5566 CVE-2018-19591
5567 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5568 descriptor leak in case of ENODEV error.
5569
979cfed0
RÁE
55702018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5571
5572 [BZ #19767]
5573 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5574 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5575 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5576
ce035c6e
CD
55772018-11-26 Carlos O'Donell <carlos@redhat.com>
5578
5579 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5580 Error for unknown lines.
5581
2bd0bfcc
JM
55822018-11-26 Joseph Myers <joseph@codesourcery.com>
5583
5584 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5585 Touch additional files.
5586
affec03b
FW
55872018-11-26 Florian Weimer <fweimer@redhat.com>
5588
5589 [BZ #23907]
5590 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5591 double-frees.
5592
8ae74ead
RÁE
55932018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5594
5595 [BZ #19767]
5596 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5597 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5598 SHARED. Include sysdep.h.
5599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5600 ALWAYS_USE_VSYSCALL.
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5602 ALWAYS_USE_VSYSCALL.
5603
1e8bdc3a
RÁE
56042018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5605
5606 [BZ #19767]
5607 * nptl/Makefile (tests-static): Add tst-cond11-static.
5608 (tests): Likewise.
5609 * nptl/tst-cond11-static.c: New File.
5610 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5611 tst-affinity-static.
5612 (tests): Likewise.
5613 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5614 instead of SHARED.
5615 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5616 (USE_VSYSCALL): Likewise.
5617 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5618 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5619 instead of SHARED.
5620 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5621 SHARED.
5622 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5623 New.
5624
1283c478
JM
56252018-11-23 Joseph Myers <joseph@codesourcery.com>
5626
5627 [BZ #23915]
5628 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5629 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5630 Undefine.
5631
c089fd80
L
56322018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5633
5634 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5635 (tst-cet-legacy-1a-ARGS): New.
5636 ($(objpfx)tst-cet-legacy-1a): New target.
5637 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5638
cc6c89fa
JM
56392018-11-22 Joseph Myers <joseph@codesourcery.com>
5640
95edd05c
JM
5641 * conform/conformtest.py (CompileSubTest.__init__): Set
5642 self.run_early to False.
5643 (ExecuteSubTest.__init__): Likewise.
5644 (HeaderTests.run): Try running all non-optional, non-XFAILed
5645 compilation tests in a single execution of the compiler.
5646
cc6c89fa
JM
5647 * conform/conformtest.py (CompileSubTest): New class.
5648 (ExecuteSubTest): Likewise.
5649 (ElementTest.run): Rename to gen_subtests. Append tests to
5650 self.subtests instead of running them.
5651 (ConstantTest.run): Likewise.
5652 (SymbolTest.run): Likewise.
5653 (TypeTest.run): Likewise.
5654 (TagTest.run): Likewise.
5655 (FunctionTest.run): Likewise.
5656 (VariableTest.run): Likewise.
5657 (MacroFunctionTest.run): Likewise.
5658 (MacroStrTest.run): Likewise.
5659 (HeaderTests.handle_test_line): Generate subtests for tests.
5660 (HeaderTests.run): Run subtests for tests.
5661
a502c529
SN
56622018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5663
5664 * math/Versions (GLIBC_2.29): Add pow.
5665 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5666 symbol.
5667 * math/w_pow.c: New file.
5668 * sysdeps/i386/fpu/w_pow.c: New file.
5669 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5670 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5671 and add necessary aliases.
5672 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5673 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5674 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5675 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5676 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5677 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5678 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5679 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5680 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5681 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5682 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5683 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5684 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5685 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5686 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5691 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5692 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5693 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5694 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5695 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5696 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5697 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5698 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5699 __pow.
5700 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5701 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5702 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5703
718d6542
SN
57042018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5705
5706 * math/Versions (GLIBC_2.29): Add log2.
5707 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5708 symbol.
5709 * math/w_log2.c: New file.
5710 * sysdeps/i386/fpu/w_log2.c: New file.
5711 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5712 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5713 and add necessary aliases.
5714 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5715 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5716 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5717 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5718 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5719 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5720 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5721 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5722 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5723 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5724 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5725 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5726 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5727 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5728 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5733 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5734 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5735 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5736 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5737 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5738 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5739 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5740
f29b7c49
SN
57412018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5742
5743 * math/Versions (GLIBC_2.29): Add log.
5744 * math/w_log_compat.c (__log_compat): Change to versioned compat
5745 symbol.
5746 * math/w_log.c: New file.
5747 * sysdeps/i386/fpu/w_log.c: New file.
5748 * sysdeps/ia64/fpu/e_log.S: Update.
5749 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5750 and add necessary aliases.
5751 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5752 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5753 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5754 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5755 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5756 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5757 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5758 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5759 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5760 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5761 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5762 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5763 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5764 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5765 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5770 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5771 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5772 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5773 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5774 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5775 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5776 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5777 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5778 __log.
5779 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5780 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5781 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5782 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5783
c20a1056
SN
57842018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5785
5786 * math/Versions (GLIBC_2.29): Add exp and exp2.
5787 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5788 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5789 * math/w_exp_compat.c (__exp_compat): Likewise.
5790 * math/w_exp.c: New file.
5791 * math/w_exp2.c: New file.
5792 * sysdeps/i386/fpu/w_exp.c: New file.
5793 * sysdeps/i386/fpu/w_exp2.c: New file.
5794 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5795 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5796 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5797 and add necessary aliases.
5798 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5799 and add necessary aliases.
5800 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5801 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5802 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5803 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5804 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5805 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5806 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5807 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5808 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5809 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5810 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5811 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5812 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5813 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5814 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5815 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5816 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5821 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5822 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5823 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5824 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5825 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5826 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5827 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5828 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5829 (__ieee754_exp): Rename to __exp.
5830 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5831 (__ieee754_exp): Rename to __exp.
5832 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5833 (__ieee754_exp): Rename to __exp.
5834 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5835 __exp.
5836 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5837
bcdaad21
DD
58382018-11-20 DJ Delorie <dj@redhat.com>
5839
5840 * malloc/malloc.c (tcache_entry): Add key field.
5841 (tcache_put): Set it.
5842 (tcache_get): Likewise.
5843 (_int_free): Check for double free in tcache.
5844 * malloc/tst-tcfree1.c: New.
5845 * malloc/tst-tcfree2.c: New.
5846 * malloc/Makefile: Run the new tests.
5847 * manual/probes.texi: Document memory_tcache_double_free probe.
5848
5849 * dlfcn/dlerror.c (check_free): Prevent double frees.
5850
5770c0ad
WD
58512018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5852
5853 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5854
9a62a939
JM
58552018-11-20 Joseph Myers <joseph@codesourcery.com>
5856
5857 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5858 in tests. Use names for format arguments.
5859 (ConstantTest.run): Likewise.
5860 (SymbolTest.run): Likewise.
5861 (TypeTest.run): Likewise.
5862 (TagTest.run): Likewise.
5863 (FunctionTest.run): Likewise.
5864 (VariableTest.run): Likewise.
5865 (MacroFunctionTest.run): Likewise.
5866 (MacroStrTest.run): Likewise.
5867 (HeaderTests.__init__): Set self.num_tests.
5868 (HeaderTests.handle_test_line): Set test.num. Increment
5869 self.num_tests.
5870
b15b1a95
ST
58712018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5872
5873 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5874 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5875 SEEK_SET.
5876
0c7f97ae
MH
58772018-11-19 Mao Han <han_mao@c-sky.com>
5878
5879 * scripts/config.guess: Update to version 2018-08-29.
5880 * scripts/config.sub: Update to version 2018-08-29.
5881
35e3fbc4
FW
58822018-11-19 Florian Weimer <fweimer@redhat.com>
5883
5884 support: Print timestamps in timeout handler.
5885 * support/support_test_main.c (print_timestamp): New function.
5886 (signal_handler): Use it to print the termination time and the
5887 time of the last write to standard output.
5888
c75772e3
ZW
58892018-11-16 Zack Weinberg <zackw@panix.com>
5890 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5891
5892 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5893 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5894 argument.
5895 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5896 and add flags argument. Check flags instead of __ldbl_is_dbl when
5897 deciding whether to set is_long_double.
5898 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5899 passing zero for flags argument.
5900 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5901
5902 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5903 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5904 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5905 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5906 variable names. Remove libc_hidden_def/libc_hidden_proto from
5907 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5908 longer called from within the library.
5909 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5910 for __nldbl___vstrfmon_l, declare it explicitly.
5911
5912 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5913
346ef23f
ST
59142018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5915
5916 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5917 macros
5918 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5919 F_SETLK64, F_SETLKW64, respectively.
5920 * sysdeps/mach/hurd/f_setlk.c: New file.
5921 * sysdeps/mach/hurd/f_setlk.h: New file.
5922 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5923 f_setlk.
5924 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5925 (__libc_fcntl): Move non-flock operations to...
5926 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5927 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5928
de20b81a
PE
59292018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5930
5d8af156
PE
5931 mktime: DEBUG_MKTIME cleanup
5932 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5933 And it’s no longer needed now that glibc and Gnulib both have
5934 their own testing mechanisms for mktime.
5935 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5936
86aece3b
PE
5937 mktime: fix non-EOVERFLOW errno handling
5938 [BZ#23789]
5939 mktime was not properly reporting failures when the underlying
5940 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5941 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5942 The problem could happen on non-glibc platforms, with Gnulib.
5943 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5944 (tm_diff): ... this simpler function, which does not change errno.
5945 All callers changed to deal with errno themselves.
5946 (ranged_convert, __mktime_internal): Return failure immediately if
5947 the underlying function reports any failure other than EOVERFLOW.
5948 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5949 gap code fails.
5950
f6b3331b
PE
5951 mktime: fix bug with Y2038 DST transition
5952 [BZ#23789]
5953 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5954 mishandle a DST transition that jumps over the Y2038 boundary.
5955 No such DST transitions are known so this is only a theoretical
5956 bug, but we might as well do things right.
5957
efbdddc3
PE
5958 mktime: make more room for overflow
5959 [BZ#23789]
5960 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5961 This is so that we can add tm_diff results to a previous guess,
5962 which will be useful in a later patch.
5963
6c90d759
PE
5964 mktime: simplify offset guess
5965 [BZ#23789]
5966 * time/mktime.c (__mktime_internal): Omit excess precision.
5967
32c12f3f
PE
5968 mktime: new test for mktime failure
5969 [BZ#23789]
5970 Based on a test suggested by Albert Aribaud in:
5971 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5972 * time/Makefile (tests): Add bug-mktime4.
5973 * time/bug-mktime4.c: New file.
5974
de20b81a
PE
5975 mktime: fix EOVERFLOW bug
5976 [BZ#23789]
5977 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5978 Include libc-config.h, not config.h, for __set_errno.
5979 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5980
8c6c3fb0
ST
59812018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5982
5983 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5984 __attribute_copy__ to copy attributes from name. Drop static qualifier
5985 to avoid warnings about leaf attribute not having effect on static
5986 functions.
5987
6923f6db
FW
59882018-11-13 Florian Weimer <fweimer@redhat.com>
5989
5990 * malloc/malloc.c (fastbin_push_entry): New function.
5991 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5992 (REMOVE_FB): Remove macro.
5993 (_int_malloc): Use fastbin_pop_entry and reindent.
5994 (_int_free): Use fastbin_push_entry.
5995 (malloc_consolidate): Use atomic_exchange_acquire.
5996
53f5c659
JM
59972018-11-13 Joseph Myers <joseph@codesourcery.com>
5998
0c096dcf
JM
5999 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6000 alias attribute, not with strong_alias.
6001
9c4b457e
JM
6002 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6003 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6004 with additional parameter thread.
6005 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6006 in terms of __hidden_ver2.
6007 (hidden_tls_def): New macro.
6008 (libc_hidden_tls_def): Likewise.
6009 (rtld_hidden_tls_def): Likewise.
6010 (libm_hidden_tls_def): Likewise.
6011 (libmvec_hidden_tls_def): Likewise.
6012 (libresolv_hidden_tls_def): Likewise.
6013 (librt_hidden_tls_def): Likewise.
6014 (libdl_hidden_tls_def): Likewise.
6015 (libnss_files_hidden_tls_def): Likewise.
6016 (libnsl_hidden_tls_def): Likewise.
6017 (libnss_nisplus_hidden_tls_def): Likewise.
6018 (libutil_hidden_tls_def): Likewise.
6019 (libutil_hidden_tls_def): Likweise.
6020 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6021 libc_hidden_tls_def.
6022 (__sim_disabled_exceptions_thread): Likewise.
6023 (__sim_round_mode_thread): Likewise.
6024
53f5c659
JM
6025 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6026 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6027 copy attributes from name.
6028
092dfde6
JM
60292018-11-12 Joseph Myers <joseph@codesourcery.com>
6030
f578f97b
JM
6031 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6032 Use __attribute_copy__ to copy attributes from name.
6033
9a7c643a
JM
6034 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6035 with __hidden_ver1 call.
6036 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6037 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6038 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6039 (__cosf): Do not declare here.
6040 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6041 (__sincosf): Do not declare here.
6042 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6043 (__sinf): Do not declare here.
6044
092dfde6
JM
6045 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6046 (__BIG_ENDIAN): Likewise.
6047 (__BYTE_ORDER): Likewise.
6048 (strong_alias): Likewise.
6049 (_strong_alias): Likewise.
6050
1ecba1fa
FW
60512018-11-12 Florian Weimer <fweimer@redhat.com>
6052
6053 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6054 function. Move after the definition of in_smallbin_range. Do not
6055 use __builtin_expect for paths that lead to a noreturn function.
6056 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6057 because it is unclear whether this is in fact an unlikely
6058 condition.
6059 (_int_malloc, _int_free): Adjust.
6060 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6061 variables.
6062 * malloc/arena.c (heap_trim): Likewise.
6063
434c34bd
ST
60642018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6065
6066 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6067 it, free it if needed.
6068 (reauthenticate): Test and use ccwdir.
6069 (child_init_port): In non-resetids case, test and use ccwdir.
6070 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
6071 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6072 * hurd/hurd/port.h (_hurd_port_move): New function.
6073 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6074 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
6075 * hurd/Versions (_hurd_port_move): Export function.
6076 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6077 symbol.
58bb655a
ST
6078 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6079 of dtablesize for allocating dtable_cloexec.
434c34bd 6080
1626a1cf
MS
60812018-11-09 Martin Sebor <msebor@redhat.com>
6082
6083 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6084 it's already defined.
6085 (_strong_alias): Use __attribute_copy__.
6086 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6087 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6088 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6089 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6090 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6091 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6092 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6093 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6094 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6095 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6096 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6097 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6098 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6099 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6100 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6101 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6102 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6103 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6104 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6105
968ed530
GG
61062018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6107
6108 * misc/tst-efgcvt.c: Include support/check.h and
6109 support/test-driver.c. Do not include test-skeleton.c.
6110 (error_count): Remove.
6111 (output_error): Replace increments to error_count with calls to
6112 support_record_failure.
6113 (output_r_error): Likewise.
6114 (special): Likewise.
6115 (do_test): Unconditionally return zero.
6116 (TEST_FUNCTION): Remove.
6117
c3ec0972
JM
61182018-11-09 Joseph Myers <joseph@codesourcery.com>
6119
91faaa93
JM
6120 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6121 not $(@D)/scratch.
6122 ($(linknamespace-header-tests)): Likewise.
6123
c3ec0972
JM
6124 * conform/conformtest.py: New file.
6125 * conform/conformtest.pl: Remove.
6126 * conform/GlibcConform.pm: Likewise.
6127 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6128 (KEYWORDS_C99): Likewise.
6129 (KEYWORDS): Likewise.
6130 * conform/Makefile ($(conformtest-header-tests)): Use
6131 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6132 option. Use --header instead of --headers.
6133 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6134 function entries.
6135 * conform/data/spawn.h-data: Likewise.
6136 * conform/data/fcntl.h-data (openat): Add space after function
6137 name.
6138 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6139 (wcscasecmp_l): Likewise.
6140 * conform/data/termios.h-data (c_cc): Add space after element
6141 name.
6142
43257c33
GG
61432018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6144
6145 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6146 instead of manually comparing and reporting mismatching strings.
6147 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6148 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6149
e5de3b5b
JM
61502018-11-08 Joseph Myers <joseph@codesourcery.com>
6151
6152 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6153 __ASSUME_SOCKETCALL.
6154 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6155 (__ASSUME_SOCKETCALL): Remove.
6156 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6157 (__ASSUME_SOCKETCALL): Likewise.
6158 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6159 (__ASSUME_SOCKETCALL): Likewise.
6160 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6161 (__ASSUME_SOCKETCALL): Likewise.
6162 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6163 (__ASSUME_SOCKETCALL): Likewise.
6164 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6165 (__ASSUME_SOCKETCALL): Likewise.
6166 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6167 (__ASSUME_SOCKETCALL): Likewise.
6168
d524fa6c
L
61692018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6170
6171 [BZ #23509]
6172 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6173 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6174 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6175 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6176 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6177 lc_unknown.
6178
ac806026
AH
61792018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6180
6181 [BZ #17630]
6182 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6183
596cc360
JM
61842018-11-07 Joseph Myers <joseph@codesourcery.com>
6185
6186 [BZ #23867]
6187 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6188 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6189 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6190 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6191
00c86a37
AZ
61922018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6193
6194 * support/support_test_compare_string.c
6195 (support_test_compare_string): Fix printf format.
6196
1df872fd
FW
61972018-11-07 Florian Weimer <fweimer@redhat.com>
6198
6199 Implement TEST_COMPARE_STRING.
6200 * support/check.h (TEST_COMPARE_STRING): Define.
6201 (support_test_compare_string): Declare.
6202 * support/Makefile (libsupport-routines): Add
6203 support_test_compare_string.
6204 (tests): Add tst-test_compare_string.
6205 * support/support_test_compare_string.c: New file.
6206 * support/tst-test_compare_string.c: Likewise.
6207
295132ff
AS
62082018-11-07 Andreas Schwab <schwab@suse.de>
6209
6210 [BZ #23864]
6211 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6212 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6213 Undef.
6214
e143ceba
JM
62152018-11-06 Joseph Myers <joseph@codesourcery.com>
6216
6217 [BZ #23862]
6218 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6219 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6220 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6221 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6222 Likewise.
6223
4a938cb2
FW
62242018-11-06 Florian Weimer <fweimer@redhat.com>
6225
6226 [BZ #17405]
6227 * posix/Makefile (routines): Add spawn_faction_addchdir.
6228 (tests): Add tst-spawn-chdir.
6229 * posix/Versions (GLIBC_2.29): Add
6230 posix_spawn_file_actions_addchdir_np.
6231 * posix/spawn_faction_addchdir.c: New file.
6232 * posix/spawn_faction_destroy.c
6233 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6234 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6235 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6236 chdir_action.
6237 * posix/tst-spawn-chdir.c: New file.
6238 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6239 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6240 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6241 posix_spawn_file_actions_addchdir_np.
6242 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6243 Likewise.
6244 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6245 Likewise.
6246 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6247 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6248 Likewise.
6249 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6250 Likewise.
6251 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6252 Likewise.
6253 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6254 Likewise.
6255 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6256 Likewise.
6257 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6258 Likewise.
6259 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6260 (GLIBC_2.29): Likewise.
6261 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6262 (GLIBC_2.29): Likewise.
6263 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6264 (GLIBC_2.29): Likewise.
6265 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6266 (GLIBC_2.29): Likewise.
6267 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6268 Likewise.
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6270 (GLIBC_2.29): Likewise.
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6272 (GLIBC_2.29): Likewise.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6274 (GLIBC_2.29): Likewise.
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6276 (GLIBC_2.29): Likewise.
6277 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6278 Likewise.
6279 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6280 Likewise.
6281 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6282 Likewise.
6283 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6284 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6285 Likewise.
6286 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6287 Likewise.
6288 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6289 Likewise.
6290 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6291 Likewise.
6292
7597b0c7
GG
62932018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6294
6295 * misc/Makefile (tests): Add tst-ldbl-error.
6296 * misc/tst-ldbl-error.c: New file.
6297
9771e6cb
GG
62982018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6299
6300 * misc/Makefile (tests): Add tst-ldbl-warn.
6301 * misc/tst-ldbl-warn.c: New file.
6302
2c03961f
GG
63032018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6304
6305 * argp/Makefile (tests): Add tst-ldbl-argp.
6306 * argp/tst-ldbl-argp.c: New file.
6307
6d6ee046
AS
63082018-11-05 Arjun Shankar <arjun@redhat.com>
6309
6310 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6311 __gconv_path_elem and call __gconv_get_path unconditionally.
6312
bd3b0fba
AS
63132018-11-05 Andreas Schwab <schwab@suse.de>
6314
6315 [BZ #22927]
6316 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6317 creating the first helper thread failed.
6318
2e96e980
ST
63192018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6320
6321 * sysdeps/mach/hurd/msync.c: New file.
6322
6e36266c
FW
63232018-11-02 Florian Weimer <fweimer@redhat.com>
6324
6325 * support/shell-container.c (copy_func): Call
6326 support_copy_file_range instead of copy_file_range to support
6327 cross-device copies.
6328
599f7bee
FW
63292018-11-02 Florian Weimer <fweimer@redhat.com>
6330
6331 * support/test-container.c: Include <libc-pointer-arith.h> for
6332 ALIGN_UP.
6333
ff48ea67
ZL
63342018-11-01 Zong Li <zong@andestech.com>
6335
af1d5782
ZL
6336 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6337 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6338 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6339 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6340
ff48ea67
ZL
6341 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6342 variable to avoid overlap arguments.
6343
daea71c2
JM
63442018-11-01 Joseph Myers <joseph@codesourcery.com>
6345
eac4405a
JM
6346 * posix/bug-regex22.c (main): Use puts with distinct error
6347 messages for unexpected success of re_compile_pattern, not printf
6348 with NULL argument to %s.
6349
6f30e59f
JM
6350 * stdio-common/bug22.c: Include <libc-diag.h>.
6351 (do_test): Disable -Wformat-overflow= warnings around fprintf
6352 calls outputting more than INT_MAX characters.
6353 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6354 around printf call with NULL %s argument.
6355
daea71c2
JM
6356 [BZ #23848]
6357 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6358 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6359 Undefine.
6360 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6361 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6362 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6363 (__ASSUME_SENDTO_SYSCALL): Likewise.
6364 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6365 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6366 [!__arch64__].
6367 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6368 (__ASSUME_CONNECT_SYSCALL): Likewise.
6369 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6370 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6371 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6372 Define.
6373 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6374 Likewise.
6375 [__LINUX_KERNEL_VERSION >= 0x040400]
6376 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6377 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6378 Remove.
6379 (listen): Likewise.
6380 (setsockopt): Likewise.
6381
8e3c00db
FN
63822018-11-01 Fredrik Noring <noring@nocrew.org>
6383
6384 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6385 with the ISA override.
6386
9c3dbdbe
RAE
63872018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6388
6389 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6390 #endif.
6391
e3a88b3e
ST
63922018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6393
a67377e7 6394 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 6395 translate the error message.
a67377e7
ST
6396 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6397 printing trailing whitespaces refused by git.
6398 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6399 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 6400 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 6401
3ca235ed
JM
64022018-10-30 Joseph Myers <joseph@codesourcery.com>
6403
6404 * conform/linknamespace.py: New file.
6405 * conform/linknamespace.pl: Remove file.
6406 * conform/Makefile ($(linknamespace-header-tests)): Use
6407 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6408 option.
6409
60708030
FW
64102018-10-30 Florian Weimer <fweimer@redhat.com>
6411
6412 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6413 memory leaks.
6414
a91e9301
FW
64152018-10-30 Florian Weimer <fweimer@redhat.com>
6416
6417 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6418
07da99aa
FW
64192018-10-30 Florian Weimer <fweimer@redhat.com>
6420
6421 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6422 support_blob_repeat.
6423
f5e7e959
FW
64242018-10-30 Florian Weimer <fweimer@redhat.com>
6425
6426 Avoid spurious test failures in stdlib/test-bz22786.
6427 * support/Makefile (libsupport-routines): Add blob_repeat.
6428 (tests): Add tst-support_blob_repeat.
6429 * support/blob_repeat.h: New file.
6430 * support/blob_repeat.c: Likewise.
6431 * support/tst-support_blob_repeat.c: Likewise.
6432 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6433 support_blob_repeat_allocate.
6434
2dd12baa
AS
64352018-10-30 Andreas Schwab <schwab@suse.de>
6436
6437 [BZ #23125]
6438 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6439 Don't use tail call.
6440 * elf/tst-unwind-main.c: New file.
6441 * elf/Makefile (tests): Add tst-unwind-main.
6442 (CFLAGS-tst-unwind-main.c): Define.
6443
fec8bb7c
SAA
64442018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6445
6446 [BZ #23791]
6447 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6448 n_cs_precedes to 0.
6449 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6450
c6982f7e
JM
64512018-10-29 Joseph Myers <joseph@codesourcery.com>
6452
954cf3c2
JM
6453 * conform/glibcconform.py: Do not import shutil.
6454 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6455 of mkdtemp.
6456
c6982f7e
JM
6457 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6458 critic_missing for versions before 3.4.
6459 * configure: Regenerated.
6460 * manual/install.texi (Tools for Compilation): Document
6461 requirement for Python to build glibc.
6462 * INSTALL: Regenerated.
6463 * Rules [PYTHON]: Make code unconditional.
6464 * benchtests/Makefile [PYTHON]: Likewise.
6465 * conform/Makefile [PYTHON]: Likewise.
6466 * manual/Makefile [PYTHON]: Likewise.
6467 * math/Makefile [PYTHON]: Likewise.
6468
46a7f24c
ST
64692018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6470
6471 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 6472 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 6473 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
6474 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6475 _hurd_intr_rpc_msg_about_to global point to start of controlled
6476 assembly snippet. Make it check canceled flag.
6477 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6478 the _hurd_intr_rpc_msg_about_to point.
6479 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6480 issue, remove cancel flag check.
46a7f24c 6481
e5b8756d
JM
64822018-10-26 Joseph Myers <joseph@codesourcery.com>
6483
6484 * scripts/build-many-glibcs.py: Remove compatibility for missing
6485 os.cpu_count and re.fullmatch.
6486
ba5b14c7
SN
64872018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6488
6489 [BZ #23822]
6490 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6491 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6492 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6493
fe61f17c
JM
64942018-10-25 Joseph Myers <joseph@codesourcery.com>
6495
6496 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6497 macro.
6498
7c5e34d7
FW
64992018-10-25 Florian Weimer <fweimer@redhat.com>
6500
6501 [BZ #23562]
6502 [BZ #23821]
6503 XFAIL siginfo_t si_band conform test on sparc64.
6504 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6505 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6506 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6507 (conformtest-xfail-conds): Add sparc64-linux.
6508 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6509 sparc64.
6510 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6511
5b784e88
JM
65122018-10-25 Joseph Myers <joseph@codesourcery.com>
6513
6514 * elf/elf.h (NT_MIPS_DSP): New macro.
6515 (NT_MIPS_FP_MODE): Likewise.
6516
41432ebe
ZL
65172018-10-25 Zong Li <zong@andestech.com>
6518
6519 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6520 name by adding the file extension (.so).
6521
d026efea
ST
65222018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6523
6524 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6525 (test-xfail-ISO11/threads.h/linknamespace,
6526 test-xfail-ISO11/threads.h/conform): Add.
6527
b71ac2b9
JM
65282018-10-24 Joseph Myers <joseph@codesourcery.com>
6529
6530 * math/gen-libm-test.py: Import os.
6531 (ALL_FLOATS_MANUAL): New constant.
6532 (ALL_FLOATS_SUFFIX): Likewise.
6533 (Ulps.all_functions): New function.
6534 (real_all_ulps): Likewise.
6535 (generate_err_table_sub): Likewise.
6536 (generate_err_table): Likewise.
6537 (main): Handle -s and -m options.
6538 * manual/libm-err-tab.pl: Remove.
6539 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6540 instead of libm-err-tab.pl.
6541 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6542 != no].
6543 * manual/install.texi (Tools for Compilation): Document
6544 requirement for Python to build manual.
6545 * INSTALL: Regenerated.
6546
d51f99ce
AA
65472018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6548
6549 * bits/time64.h: New file.
6550 * include/time.h: Replace internal_time_t with __time64_t.
6551 * posix/bits/types (__time64_t): Add.
6552 * stdlib/Makefile: Add bits/time64.h to includes.
6553 * time/tzfile.c: Replace internal_time_t with __time64_t.
6554
97d91fcc 65552018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
6556
6557 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6558 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6559 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6560 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6561 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6562 prototype.
6563 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6564 * posix/spawn_faction_addclose.c
6565 (__posix_spawn_file_actions_addclose): Add hidden definition.
6566 * posix/spawn_faction_adddup2.c
6567 (__posix_spawn_file_actions_adddup2): Likewise.
6568 * posix/spawn_faction_destroy.c
6569 (__posix_spawn_file_actions_destroy): Likewise.
6570 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6571 Likewise.
6572 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6573 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6574 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6575 Likewise.
6576 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6577 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6578 Likewise.
6579
2954daf0
AS
65802018-10-24 Andreas Schwab <schwab@suse.de>
6581
6582 [BZ #18093]
6583 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6584 format cache.
6585 * elf/cache.c (print_cache): Likewise.
6586
a27a4f47
AA
65872018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6588
6589 * bits/timesize.h: New file.
6590 * stdlib/Makefile (headers): Add bits/timesize.h.
6591 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6592 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6593 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6594 (__SEM_PAD_AFTER_TIME): Likewise.
6595 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6596 (__SHM_PAD_AFTER_TIME): Likewise.
6597 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6598 (__MSQ_PAD_BEFORE_TIME): Likewise.
6599 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6600 (__SEM_PAD_BEFORE_TIME): Likewise.
6601 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6602 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6603 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6604 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6605 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6606 (__MSQ_PAD_BEFORE_TIME): Likewise.
6607 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6608 (__SEM_PAD_BEFORE_TIME): Likewise.
6609 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6610 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6611 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6612 (__MSQ_PAD_BEFORE_TIME): Likewise.
6613 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6614 (__SEM_PAD_BEFORE_TIME): Likewise.
6615 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6616 (__SHM_PAD_BEFORE_TIME): Likewise.
6617 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6618 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6619 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6620
7cc65773
L
66212018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6622
6623 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6624 USE_RDTSCP is defined.
6625 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6626 USE_RDTSCP is defined.
6627
c3d8dc45
AZ
66282018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6629
18ad0de6
AZ
6630 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6631 defined.
6632
c3d8dc45
AZ
6633 [BZ #23709]
6634 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6635 independently of other flags.
6636
f1034472
FW
66372018-10-23 Florian Weimer <fweimer@redhat.com>
6638
6639 * time/tst-mktime2.c (N_STRINGS): Remove.
6640 (set_timezone): New function.
6641 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6642 (mktime_test1): Report localtime failure and check errno value.
6643 Use TEST_COMPARE.
6644 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6645 (do_test): Remove alarm call. Use set_timezone and array_length.
6646
367d7cc2
AS
66472018-10-23 Andreas Schwab <schwab@suse.de>
6648
6649 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6650 (__start_context): Use END instead of PSEUDO_END.
6651
be8ff03f
JM
66522018-10-22 Joseph Myers <joseph@codesourcery.com>
6653
029ad711
JM
6654 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6655 version to 4.19.
6656
8190520f
JM
6657 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6658 version to 4.19.
6659
be8ff03f
JM
6660 [BZ #23793]
6661 * wcsmbs/c32rtomb.c: New file.
6662 * wcsmbs/mbrtoc32.c: Likewise.
6663 * wcsmbs/tst-c32-state.c: Likewise.
6664 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6665 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6666 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6667 (tests): Add tst-c32-state.
6668 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6669 $(gen-locales).
6670
2dd8e58c
L
66712018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6672
6673 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6674 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6675
d0a74159
JM
66762018-10-19 Joseph Myers <joseph@codesourcery.com>
6677
6678 [BZ #23794]
6679 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6680 pair and return 0 in that case, and use saved character to
6681 interpret following character.
6682 * wcsmbs/tst-c16-surrogate.c: New file.
6683 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6684 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6685 Depend on $(gen-locales)
6686
f997b4be
IYM
66872018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6688
6689 [BZ #23562]
6690 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6691 (struct siginfo_t): Use correct type for si_band.
6692
53b2bb87
FW
66932018-10-19 Florian Weimer <fweimer@redhat.com>
6694
6695 [BZ #23689]
6696 * resource/bits/types/struct_rusage.h (struct rusage): Update
6697 comment on struct. Remove extraneous field comment.
6698
0a271c8f
DM
66992018-10-18 David S. Miller <davem@davemloft.net>
6700
94a3a27f
DM
6701 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6702 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6703 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6704 sysdep_routines in subdir elf.
6705 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6706 version for __vdso_clock_gettime.
6707 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6708 Define.
6709 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6710 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6711
0a271c8f
DM
6712 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6713
72771e53
L
67142018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6715
6716 * sysdeps/i386/init-arch.h: Removed.
6717 * sysdeps/i386/i586/init-arch.h: Likewise.
6718 * sysdeps/i386/i686/init-arch.h: Likewise.
6719 * sysdeps/i386/i686/hp-timing.h: Likewise.
6720 * sysdeps/x86_64/hp-timing.h: Likewise.
6721 * sysdeps/i386/isa.h: New file.
6722 * sysdeps/i386/i586/isa.h: Likewise.
6723 * sysdeps/i386/i686/isa.h: Likewise.
6724 * sysdeps/x86_64/isa.h: Likewise.
6725 * sysdeps/x86/hp-timing.h: New file.
6726 * sysdeps/x86/init-arch.h: Include <isa.h>.
6727
c2b7ccad
JM
67282018-10-17 Joseph Myers <joseph@codesourcery.com>
6729
6730 * math/libm-test-pow.inc (pow_test_data): Do not allow
6731 divide-by-zero exception for pow(+/- 0, -Inf).
6732
26756e57
ZW
67332018-10-17 Zack Weinberg <zackw@panix.com>
6734
6735 * manual/job.texi (Job Control is Optional): Remove node, as
6736 job control has not been optional in quite some time.
6737 (Job Control): Mention briefly that systems older than
6738 POSIX.1-2001 might not support job control.
6739 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6740 defined on systems conforming to POSIX.1-2001.
6741
c5288d37
AS
67422018-10-17 Arjun Shankar <arjun@redhat.com>
6743
6744 [BZ #22062]
6745 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6746 indentation.
6747 * (__gconv_read_conf): Mark function static.
6748 * (once): New static variable.
6749 * (__gconv_load_conf): New function.
6750 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6751 * iconv/gconv_db.c (once): Remove static variable.
6752 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6753 __gconv_read_conf.
6754 * (__gconv_find_transform): Likewise.
6755 * iconv/tst-iconv-mt.c: New test.
6756 * iconv/Makefile: Add tst-iconv_mt.
6757
8c8d2a8a
JM
67582018-10-17 Joseph Myers <joseph@codesourcery.com>
6759
6760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
6761 bits/shm-pad.h.
6762 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6763 (shmatt_t): Define as __syscall_ulong_t.
6764 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6765 and [__SHM_PAD_AFTER_TIME].
6766 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6767 Define shm_segsz and associated padding based on
6768 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6769 Use __syscall_ulong_t instead of unsigned long int.
6770 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6771 unsigned long int.
6772 [__USE_MISC] (struct shm_info): Likewise.
6773 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6774 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6775 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6776 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6777 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6778 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6779 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6780 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6781 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6782 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6783 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6784
6785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
6786 bits/shmlba.h.
6787 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6788 (SHMLBA): Remove macro.
6789 (__getpagesize): Remove function declaration.
6790 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6791 <bits/shmlba.h>.
6792 (SHMLBA): Remove macro.
6793 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6794 <bits/shmlba.h>.
6795 (SHMLBA): Remove macro.
6796 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6797 <bits/shmlba.h>.
6798 (SHMLBA): Remove macro.
6799 (__getpagesize): Remove function declaration.
6800 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6801 <bits/shmlba.h>.
6802 (SHMLBA): Remove macro.
6803 (__getshmlba): Remove function declaration.
6804 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6805 (SHMLBA): Remove macro.
6806 (__getpagesize): Remove function declaration.
6807 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6808 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6809 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6810 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6811 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6812 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6813 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6814 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6815 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6816 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6817
403b4feb
SL
68182018-10-17 Stefan Liebler <stli@linux.ibm.com>
6819
6820 [BZ #23275]
6821 * nptl/tst-mutex10.c: New File.
6822 * nptl/Makefile (tests): Add tst-mutex10.
6823 (tst-mutex10-ENV): New variable.
6824 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6825 Ensure that elision path is used if elision is available.
6826 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6827 Likewise.
6828 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6829 Likewise.
6830 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6831 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6832 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6833 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6834 Likewise.
6835 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6836 (__pthread_mutex_cond_lock_adjust): Likewise.
6837 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6838 Likewise.
6839 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6840 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6841 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6842 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6843 Add comments.
6844 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6845 Use atomic_load_relaxed and atomic_store_relaxed.
6846 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6847 Use atomic_store_relaxed.
6848
ce5a7de6
AS
68492018-10-17 Andreas Schwab <schwab@suse.de>
6850
6851 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6852 * crypt/badsalttest.c (TIMEOUT): Likewise.
6853 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6854 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6855 * io/test-lfs.c (TIMEOUT): Likewise.
6856 * libio/tst-atime.c (TIMEOUT): Likewise.
6857 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6858 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6859 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6860 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6861 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6862 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6863 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6864 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6865 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6866 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6867 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6868 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6869 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6870 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6871 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6872 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6873 * nptl/tst-once2.c (TIMEOUT): Likewise.
6874 * nptl/tst-once3.c (TIMEOUT): Likewise.
6875 * nptl/tst-once4.c (TIMEOUT): Likewise.
6876 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6877 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6878 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6879 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6880 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6881 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6882 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6883 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6884 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6885 * posix/tst-chmod.c (TIMEOUT): Likewise.
6886 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6887 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6888 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6889 * posix/tst-regex2.c (TIMEOUT): Likewise.
6890 * posix/tst-waitid.c (TIMEOUT): Likewise.
6891 * rt/tst-aio.c (TIMEOUT): Likewise.
6892 * rt/tst-aio10.c (TIMEOUT): Likewise.
6893 * rt/tst-aio4.c (TIMEOUT): Likewise.
6894 * rt/tst-aio5.c (TIMEOUT): Likewise.
6895 * rt/tst-aio6.c (TIMEOUT): Likewise.
6896 * rt/tst-aio64.c (TIMEOUT): Likewise.
6897 * rt/tst-aio7.c (TIMEOUT): Likewise.
6898 * rt/tst-aio9.c (TIMEOUT): Likewise.
6899 * rt/tst-clock.c (TIMEOUT): Likewise.
6900 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6901 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6902 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6903 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6904 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6905 * rt/tst-timer4.c (TIMEOUT): Likewise.
6906 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6907 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6908 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6909 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6910 * time/tst-ftime.c (TIMEOUT): Likewise.
6911 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6912
75c1aee5
AY
69132018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6914
6915 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6916 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6917 for thunderX2.
6918
bcdb1bfa
JM
69192018-10-15 Joseph Myers <joseph@codesourcery.com>
6920
6921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6922 bits/sem-pad.h.
6923 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6924 instead of <bits/wordsize.h>.
6925 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6926 and [__SEM_PAD_AFTER_TIME].
6927 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6928 __syscall_ulong_t instead of unsigned long int.
6929 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6930 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6931 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6932 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6933 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6934 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6935 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6936 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6937 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6938 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6939 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6940
f4efbdfb
PE
69412018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6942
620a5d4c
PE
6943 regex: simplify by using intprops.h
6944 [BZ#23744]
6945 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6946 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6947 intprops.h defines them.
6948
f4efbdfb
PE
6949 regex: __builtin_expect → __glibc_unlikely
6950 [BZ#23744]
6951 This refactoring was prompted by a problem when the regex code is
6952 used as part of Gnulib and when the builder’s compiler does not grok
6953 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6954 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6955 Although this refactoring does not fix the problem directly,
6956 we might as well have Gawk use the now-preferred glibc style for when
6957 __builtin_expect is unavailable.
6958 * posix/regex_internal.h (BE): Remove.
6959 All uses replaced by __glibc_unlikely or __glibc_likely.
6960
9f9feb6d
JM
69612018-10-11 Joseph Myers <joseph@codesourcery.com>
6962
6963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6964 bits/msq-pad.h.
6965 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6966 instead of <bits/wordsize.h>.
6967 (msgqnum_t): Define as __syscall_ulong_t.
6968 (msglen_t): Likewise.
6969 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6970 and [__MSQ_PAD_AFTER_TIME].
6971 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6972 __syscall_ulong_t instead of unsigned long int.
6973 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6974 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6975 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6976 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6977 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6978 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6979 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6980 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6981 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6982 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6983 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6984
b9c0f6c1
JM
69852018-10-10 Joseph Myers <joseph@codesourcery.com>
6986
2a4b25fa
JM
6987 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6988 (struct shmid_ds): Condition padding after time fields on
6989 [__WORDSIZE == 32].
6990 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6991 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6992 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6993
19e62f26
JM
6994 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6995 (struct semid_ds): Condition padding after time fields on
6996 [__WORDSIZE == 32].
6997 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6998 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6999 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7000 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7001
b9c0f6c1
JM
7002 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7003 (struct msqid_ds): Condition padding after time fields on
7004 [__WORDSIZE == 32].
7005 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7006 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7007 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7008 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7009
97785a61
SN
70102018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7011
7012 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7013
ed643089
SN
70142018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7015
7016 * libio/tst-readline.c (TIMEOUT): Define.
7017
5a580643
PE
70182018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7019
7020 mktime fix for Gnulib + coreutils
7021 [BZ#23745]
7022 This fix affects only Gnulib. Problem discovered when
7023 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7024 * time/mktime.c:
7025 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7026 Do not define since it is not used. Defining an unused static
7027 function prompts a warning from GCC when Coreutils is configured
7028 with --enable-gcc-warnings.
7029
c892ae04
LS
70302018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7031
7032 * benchtests/scripts/compare_bench.py (main): set float type on
7033 threshold argument.
7034
a68ec8ea
RL
70352018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7036
7037 [BZ #23740]
7038 * localedata/locales/kl_GL (mon): Update, the relative case.
7039 (alt_mon): Add, fill with month names in the nominative case.
7040 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7041 (d_fmt): Set to "%b %d %Y".
7042
a1987621
JM
70432018-10-04 Joseph Myers <joseph@codesourcery.com>
7044
47c49251
JM
7045 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7046 <bits/mman-linux.h>.
7047 (PROT_READ): Don't define here.
7048 (PROT_WRITE): Likewise.
7049 (PROT_EXEC): Likewise.
7050 (PROT_NONE): Likewise.
7051 (PROT_GROWSDOWN): Likewise.
7052 (PROT_GROWSUP): Likewise.
7053 (MAP_SHARED): Likewise.
7054 (MAP_PRIVATE): Likewise.
7055 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7056 [__USE_MISC] (MAP_FILE): Likewise.
7057 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7058 [__USE_MISC] (MAP_ANON): Likewise.
7059 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7060 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7061 (MCL_CURRENT): Likewise.
7062 (MCL_FUTURE): Likewise.
7063 (MCL_ONFAULT): Likewise.
7064 [__USE_MISC] (MADV_NORMAL): Likewise.
7065 [__USE_MISC] (MADV_RANDOM): Likewise.
7066 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7067 [__USE_MISC] (MADV_WILLNEED): Likewise.
7068 [__USE_MISC] (MADV_DONTNEED): Likewise.
7069 [__USE_MISC] (MADV_FREE): Likewise.
7070 [__USE_MISC] (MADV_REMOVE): Likewise.
7071 [__USE_MISC] (MADV_DONTFORK): Likewise.
7072 [__USE_MISC] (MADV_DOFORK): Likewise.
7073 [__USE_MISC] (MADV_HWPOISON): Likewise.
7074 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7075 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7076 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7077 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7078 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7079 (__MAP_ANONYMOUS): New macro.
7080 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7081 <bits/mman-linux.h> inclusion.
7082 (MAP_FIXED): Likewise.
7083 (MS_SYNC): Likewise.
7084 (MS_ASYNC): Likewise.
7085 (MS_INVALIDATE): Likewise.
7086 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7087 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7088 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7089 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7090 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7091 [__USE_MISC] (MADV_DODUMP): Likewise.
7092 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7093 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7094
a1987621
JM
7095 [BZ #23735]
7096 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7097 Define.
7098 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7099 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7100 Add test-nldbl-redirect.
7101 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7102 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7103 $(objpfx)libnldbl_nonshared.a.
7104
e7624d70
SL
71052018-10-04 Stefan Liebler <stli@linux.ibm.com>
7106
7107 * support/support.h (support_objdir_elf_ldso): New variable.
7108 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7109 * support/Makefile (CFLAGS-support_paths.c): Add definition
7110 for OBJDIR_ELF_LDSO_PATH.
7111 * support/test-container.c (main): Search for the ld.so
7112 which is also used by the testsuite.
7113
dae3ed95
RL
71142018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7115
7116 [BZ #20209]
7117 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7118 should be "sap" rather than "sab".
7119 (day): Fix spelling of Sunday, should be "sapaat" rather than
7120 "sabaat".
7121
f346b5b3
JM
71222018-10-02 Joseph Myers <joseph@codesourcery.com>
7123
7124 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7125
4a06ceea
MJ
71262018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7127
7128 [BZ #19444]
7129 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7130 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7131 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7132
a06fc4a5
AZ
71332018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7134
7135 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7136
a1ccc065
L
71372018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7138
7139 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7140 Add -mrtm.
7141 (CFLAGS-elision-unlock.c): Likewise.
7142 (CFLAGS-elision-timed.c): Likewise.
7143 (CFLAGS-elision-trylock.c): Likewise.
7144 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7145
0b727ed4
AZ
71462018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7147
7148 [BZ #21037]
7149 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7150 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7151 new fd_to_filename interface.
7152 * libio/freopen64.c (freopen64): Likewise.
7153 * libio/tst-memstream.h: New file.
7154 * libio/tst-memstream4.c: Likewise.
7155 * libio/tst-wmemstream4.c: Likewise.
7156 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7157 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7158 and remove internal dynamic allocation.
7159
d0e91e8c
JM
71602018-10-01 Joseph Myers <joseph@codesourcery.com>
7161
7162 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7163 (MREMAP_MAYMOVE): Do not define here.
7164 [__USE_GNU] (MREMAP_FIXED): Likewise.
7165 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7166 (MREMAP_MAYMOVE): Define here instead.
7167 [__USE_GNU] (MREMAP_FIXED): Likewise.
7168 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7169 (MREMAP_MAYMOVE): Remove.
7170 [__USE_GNU] (MREMAP_FIXED): Likewise.
7171
c52944e8
JM
71722018-09-28 Joseph Myers <joseph@codesourcery.com>
7173
7174 * math/fromfp.h: Do not include <math_private.h>.
7175 * math/s_cacosh_template.c: Likewise.
7176 * math/s_casin_template.c: Likewise.
7177 * math/s_casinh_template.c: Likewise.
7178 * math/s_ccos_template.c: Likewise.
7179 * math/s_cproj_template.c: Likewise.
7180 * math/s_fdim_template.c: Likewise.
7181 * math/s_fmaxmag_template.c: Likewise.
7182 * math/s_fminmag_template.c: Likewise.
7183 * math/s_iseqsig_template.c: Likewise.
7184 * math/s_ldexp_template.c: Likewise.
7185 * math/s_nextdown_template.c: Likewise.
7186 * math/w_log1p_template.c: Likewise.
7187 * math/w_scalbln_template.c: Likewise.
7188 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7189 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7190 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7191 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7192 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7193 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7194 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7195 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7196 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7197 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7198 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7199 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7200 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7201 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7202 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7203 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7204 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7205 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7206 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7207 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7208 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7209 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7210 * sysdeps/ieee754/k_standardf.c: Likewise.
7211 * sysdeps/ieee754/k_standardl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7213 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7214 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7215 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7220 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7221 * sysdeps/ieee754/s_signgam.c: Likewise.
7222 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7223 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7224 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7225 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7226 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7227 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7228 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7229 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7230 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7231 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7232 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7233 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7234 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7235 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7236 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7237 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7238 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7239 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7240 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7241 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7242 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7243 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7244 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7245 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7246 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7247 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7248 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7249 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7250 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7251 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7252 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7253 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7254 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7255 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7256 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7257 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7258 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7259 <math_private.h>.
7260 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7261
7b1f9406
L
72622018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7263
7264 [BZ #23716]
7265 * sysdeps/i386/dl-cet.c: Removed.
7266 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7267 prototype.
7268 (_dl_runtime_profile_shstk): Likewise.
7269 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7270 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7271
7a16bdbb
AZ
72722018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7273
7274 [BZ #23579]
7275 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7276 do_test_with_invalid_iov): New tests.
7277 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7278 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7279 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7280 errno is ENOSYS.
7281 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7282 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7283 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7284
9755bc46
JM
72852018-09-27 Joseph Myers <joseph@codesourcery.com>
7286
81dca813
JM
7287 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7288 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7289 (MATH_REDIRECT_BINARY_ARGS): New macro.
7290 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7291 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7292 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7293 header inclusion.
7294 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7295 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7296 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7297 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7302 Likewise.
7303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7304 Likewise.
7305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7307 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7308 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7310 Likewise.
7311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7312 Likewise.
7313 * sysdeps/generic/math_private_calls.h
7314 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7315 Do not declare and define as an inline function.
7316 * math/divtc3.c (__divtc3): Use copysign functions instead of
7317 __copysign variants.
7318 * math/multc3.c (__multc3): Likewise.
7319 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7320 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7321 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7322 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7323 Likewise.
7324 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7325 (__ieee754_yn): Likewise.
7326 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7327 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7328 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7329 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7330 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7331 (__sin): Likewise.
7332 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7333 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7334 Likewise.
7335 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7336 Likewise.
7337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7338 Likewise.
7339 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7340 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7341 Likewise.
7342 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7343 (__ieee754_ynf): Likewise.
7344 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7345 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7346 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7347 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7348 Likewise.
7349 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7350 (__ieee754_ynl): Likewise.
7351 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7352 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7353 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7354 Likewise.
7355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7356 (__ieee754_ynl): Likewise.
7357 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7360 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7361 Likewise.
7362 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7363 (__ieee754_ynl)
7364 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7365 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7366 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7367 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7368 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7369
9755bc46
JM
7370 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7371 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7372 using MATH_REDIRECT.
7373 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7374 header inclusion.
7375 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7376 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7377 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7378 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7379 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7380 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7386 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7387 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7389 (round): Redirect to __round.
7390 (__roundl): Call round instead of __round.
7391 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7392 Remove macro.
7393 [_ARCH_PWR5X] (__roundf): Likewise.
7394 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7395 functions instead of __round variants.
7396 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7397 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7398 Likewise.
7399 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7400 Likewise.
7401 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7402 Likewise.
7403 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7404 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7405 __lroundl.
7406 (__ieee754_expl): Call roundl instead of __roundl.
7407
f841c97e
AS
74082018-09-27 Andreas Schwab <schwab@suse.de>
7409
7410 [BZ #23717]
7411 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7412 (do_test): Make st1 static.
7413
6ca8284e
AS
74142018-09-26 Andreas Schwab <schwab@suse.de>
7415
7416 [BZ #23707]
7417 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7418 * elf/Makefile (tests): Add tst-unwind-ctor.
7419 (modules-names): Add tst-unwind-ctor-lib.
7420 ($(objpfx)tst-unwind-ctor): Depend on
7421 $(objpfx)tst-unwind-ctor-lib.so.
7422
61d8b5fe
JM
74232018-09-26 Joseph Myers <joseph@codesourcery.com>
7424
7425 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7426 file. Most contents moved from ....
7427 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7428 and include <bits/mman-map-flags-generic.h>.
7429 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7430 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7431 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7432 <bits/mman-map-flags-generic.h>.
7433 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7434 macros defined in <bits/mman-map-flags-generic.h>.
7435 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7436 <bits/mman-map-flags-generic.h>.
7437 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7438 defined in <bits/mman-map-flags-generic.h>.
7439
46341286
AS
74402018-09-26 Andreas Schwab <schwab@suse.de>
7441
7442 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7443 output.
7444
b5c45e83
AZ
74452018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7446 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7447 Fangrui Song <maskray@google.com>
7448
7449 [BZ #20480]
7450 * config.make.in (have-textrel_ifunc): New define.
7451 * configure.ac: Add check if linker supports textrel relocation with
7452 ifunc.
7453 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7454 tst-ifunc-textrel.
7455 (CFLAGS-tst-ifunc-textrel.c): New rule.
7456 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7457 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7458 * elf/tst-ifunc-textrel.c: New file.
7459
8ea4d2b7
JM
74602018-09-25 Joseph Myers <joseph@codesourcery.com>
7461
d62f9ec0
JM
7462 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7463 <bits/procfs-prregset.h>.
7464 (prgregset_t): Define using __prgregset_t.
7465 (prfpregset_t): Define using __prfpregset_t.
7466 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7467 (sysdep_headers): Add bits/procfs-prregset.h.
7468 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7469 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7470 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7471 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7472
d0d8eb43
JM
7473 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7474 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7475 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7476 pr_uid and pr_gid.
7477 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7478 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7479 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7480 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7481 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7482 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7483 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7484 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7485 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7486 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7487 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7488 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7489 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7490 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7491 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7492 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7493 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7494 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7495 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7496 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7497 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7498 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7499 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7500 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7501
8ea4d2b7
JM
7502 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7503 AArch64 version. Include <bits/procfs.h>.
7504 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7505 (sysdep_headers): Add bits/procfs.h.
7506 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7507 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7508 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7509 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7510 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7511 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7512 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7513 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7514 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7515 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7516 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7517 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7518 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7519 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7520 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7521 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7522 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7523
c7027166
AZ
75242018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7525
7526 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7527 Use libsupport.
7528
335a3b0a
AS
75292018-09-25 Arjun Shankar <arjun@redhat.com>
7530
7531 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7532 (__gconv_max_path_elem_len): Likewise.
7533 (__gconv_nmodules): Likewise.
7534 (__gconv_get_path): Likewise.
7535 (path_elem): Move to ...
7536 * iconv/gconv_conf.c: ... here.
7537 (__gconv_get_path): Mark function static.
7538 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7539 * iconv/gconv_open.c: ... here.
7540
462d348c
AS
75412018-09-24 Andreas Schwab <schwab@suse.de>
7542
7543 * scripts/haveversions.awk: New file.
7544 * Makerules ($(common-objpfx)Versions.def)
7545 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7546 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7547 Move rules ...
7548 * Makeconfig ($(common-objpfx)Versions.def)
7549 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7550 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7551 ... here.
7552 ($(common-objpfx)Versions.mk): New rule. Include it.
7553 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7554 Emit error if build-obsolete-nsl = yes.
7555 * manual/install.texi (Configuring and compiling): Describe
7556 --enable-obsolete-nsl as unavaiable after version 2.28.
7557 * INSTALL: Regenerate.
7558
f0458cf4
AZ
75592018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7560
7561 * NEWS: Add note about new TLE support on powerpc64le.
7562 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7563 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7564 __ununsed1.
7565 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7566 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7567 * sysdeps/powerpc/powerpc32/sysdep.h,
7568 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7569 ABORT_TRANSACTION): Remove macros.
7570 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7571 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7572 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7574 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7575 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7576 usage.
7577 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7578
434d45fd
RL
75792018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7580
7581 [BZ #10425]
7582 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7583 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7584 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7585 which is the same as in it_IT.
7586 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7587 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7588
d90c9b1a
JM
75892018-09-20 Joseph Myers <joseph@codesourcery.com>
7590
7abf97be
JM
7591 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7592 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7593 using MATH_REDIRECT.
7594 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7595 header inclusion.
7596 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7598 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7599 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7600 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7606 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7607 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7608 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7609 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7610 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7611 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7612 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7614 (ceil): Redirect to __ceil.
7615 (floor): Redirect to __floor.
7616 (trunc): Redirect to __trunc.
7617 (__truncl): Call trunc instead of __trunc.
7618 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7619 Remove macro.
7620 [_ARCH_PWR5X] (__truncf): Likewise.
7621 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7622 trunc functions instead of __trunc variants.
7623 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7624 Likewise.
7625 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7626 Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7628 Likewise.
7629 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7630 Likewise.
7631
d90c9b1a
JM
7632 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7633 [__i586__ || __pentium__].
7634 [__i486__]: Handle explicitly.
7635 (HAS_CPUID): Define to 1 if above macros are undefined.
7636 (HAS_I586): Likewise.
7637 (HAS_I686): Likewise.
7638
db9a8ad4
FW
76392018-09-20 Florian Weimer <fweimer@redhat.com>
7640
7641 * misc/tst-gethostid.c: New file.
7642 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7643 (tst-gethostid): Link with -ldl.
7644
1214ba06
MY
76452018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7646
7647 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7648 value from gethostbyname_r.
7649
791b350d
CD
76502018-09-19 Carlos O'Donell <carlos@redhat.com>
7651
7652 * stdlib/tst-setcontext9.c (f1): Rename to...
7653 (f1a): ... this.
7654 (f1b): New function implementing lower half of f1 in alternate stack.
7655
8e6fd2bd
PE
76562018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7657
e1080e7e
PE
7658 Fix mktime localtime offset confusion
7659 [BZ #23603]
7660 * include/time.h (__mktime_internal): The localtime offset is now
7661 of type long int instead of time_t. This is the longstanding type
7662 in glibc, and it is more than enough to represent difference
7663 between localtime and gmtime even if it is 32 bits and time_t is
7664 64. Changing it now will let us avoid an unnecessary change when
7665 time_t is widened to 64 bits on 32-bit platforms.
7666 * time/mktime-internal.h (mktime_offset_t): Now long int.
7667
8e6fd2bd
PE
7668 Merge mktime, timegm from upstream Gnulib
7669 [BZ #23603][BZ #16346]
7670 This fixes some obscure problems with integer overflow.
7671 Although it looks scary, it is almost all a byte-for-byte copy
7672 from Gnulib, and the Gnulib code has been tested reasonably well.
7673 * include/intprops.h: New file, copied from Gnulib.
7674 * include/verify.h, time/mktime-internal.h:
7675 New tiny files, simplified from Gnulib.
7676 * time/mktime.c: Copy from Gnulib. This has the following changes:
7677 Do not include config.h if DEBUG_MKTIME is nonzero.
7678 Include stdbool.h, intprops.h, verify.h.
7679 Include string.h only if needed.
7680 Include stdlib.h on MS-Windows.
7681 Include mktime-internal.h.
7682 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7683 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7684 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7685 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7686 simplify later conditionals; default the others to zero. Use
7687 these conditionals to express only the code needed on the current
7688 platform. In uses of these conditionals, explicitly spell out how
7689 _LIBC affects things, so it’s easier to review from a glibc
7690 viewpoint.
7691 (WRAPV): Remove; no longer needed now that we have
7692 systematic overflow checking.
7693 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7694 compartmentalize tzset issues. Move system-dependent tzsettish
7695 code here from mktime.
7696 (verify): Remove; now done by verify.h. All uses changed.
7697 (long_int): Use a more-conservative definition, to avoid
7698 integer overflow.
7699 (SHR): Remove, replacing with ...
7700 (shr): New function, which means we needn’t worry about side
7701 effects in args, and conversion analysis is simpler.
7702 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7703 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7704 (time_t_avg, time_t_add_ok): Remove.
7705 (mktime_min, mktime_max): New constants.
7706 (leapyear, isdst_differ): Use bool for booleans.
7707 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7708 Use long_int, not time_t, for mktime differences.
7709 (long_int_avg): New function, replacing time_t_avg.
7710 INT_ADD_WRAPV replaces time_t_add_ok.
7711 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7712 All uses changed.
7713 (convert_time): New function.
7714 (ranged_convert): Use it.
7715 (__mktime_internal): Last arg now points to mktime_offset_t, not
7716 time_t. All uses changed. This is a no-op on glibc, where
7717 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7718 offset guess. Directly check for integer overflow instead of
7719 using a heuristic that works only 99.9...% of the time.
7720 Access *OFFSET only once, to avoid an unlikely race if the
7721 compiler delays a load and if this cascades into a signed integer
7722 overflow.
7723 (mktime): Move tzsettish code to my_tzset, and move
7724 localtime_offset to within mktime so that it doesn’t
7725 need a separate ifdef.
7726 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7727 instead of localtime.
7728 * time/timegm.c: Copy from Gnulib. This has the following changes:
7729 Include mktime-internal.h.
7730 [!_LIBC]: Include config.h and time.h. Do not include
7731 timegm.h or time_r.h. Make __mktime_internal a macro,
7732 and include mktime-internal.h to get its declaration.
7733 (timegm): Temporary is now mktime_offset_t, not time_t.
7734 This affects only Gnulib.
7735
83a552b0
WD
77362018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7737
7738 [BZ #23637]
7739 * string/test-strstr.c (pr23637): New function.
7740 (test_main): Add tests with longer needles.
7741 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7742 * string/strstr.c (AVAILABLE): Likewise.
7743
d7347278
SN
77442018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7745
7746 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7747
424c4f60
SN
77482018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7749
7750 * NEWS: Mention pow improvements.
7751 * math/Makefile (type-double-routines): Add e_pow_log_data.
7752 * sysdeps/generic/math_private.h (__exp1): Remove.
7753 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7754 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7755 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7756 contraction.
7757 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7758 (exp_inline): Remove.
7759 (__ieee754_exp): Only single double input is handled.
7760 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7761 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7762 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7763 (__pow_log_data): Define.
7764 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7765 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7766 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7767 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7768 contraction.
7769 (CFLAGS-e_pow-fma4.c): Likewise.
7770
e4e4fde5
PE
77712018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7772
dab9c348
PE
7773 Simplify tzfile fstat failure code
7774 [BZ #21716]
7775 * time/tzfile.c (__tzfile_read): Simplify slightly.
7776
e4e4fde5
PE
7777 Fix tzfile low-memory assertion failure
7778 [BZ #21716]
7779 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7780 when registering time zone abbreviations.
7781
50bc59ca
JM
77822018-09-18 Joseph Myers <joseph@codesourcery.com>
7783
d3a43e49
JM
7784 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7785 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7786 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7787 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7788 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7789 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7790 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7791 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7792 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7793
50bc59ca
JM
7794 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7795 __ceil.
7796 (__ceill): Call ceil instead of __ceil.
7797 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7798 __floor.
7799 (__floorl): Call floor instead of __floor.
7800
89983cb3
JM
78012018-09-17 Joseph Myers <joseph@codesourcery.com>
7802
71223ef9
JM
7803 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7804 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7805 using MATH_REDIRECT.
7806 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7807 header inclusion.
7808 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7809 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7810 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7811 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7812 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7813 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7814 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7815 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7820 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7821 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7824 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7825 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7826 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7827 Remove macro.
7828 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7829 functions instead of __ceil variants.
7830 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7831 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7832 Likewise.
7833 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7834 Likewise.
7835 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7836 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7837 Likewise.
7838 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7839 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7840
89983cb3
JM
7841 [BZ #21286]
7842 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7843 constant.
7844 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7845 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7846 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7847 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7848 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7849 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7850 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7851 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7852 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7853 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7854 (ILL_BADIADDR): Remove constant.
7855 (TRAP_BRANCH): Likewise.
7856 (TRAP_HWBKPT): Likewise.
7857
e44acb20
JM
78582018-09-14 Joseph Myers <joseph@codesourcery.com>
7859
3f7f1d18
JM
7860 [BZ #23656]
7861 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7862 Remove [_MIPS_SIM = _ABIN32] conditional case.
7863 (struct elf_prpsinfo): Likewise.
7864
d59f3e5e
JM
7865 [BZ #23649]
7866 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7867 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7868 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7869 Likewise.
7870 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7871 elf_prpsinfo): Likewise.
7872 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7873 elf_prpsinfo): Likewise.
7874 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7875 Likewise.
7876
f29b6f17
JM
7877 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7878 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7879 using MATH_REDIRECT.
7880 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7881 header inclusion.
7882 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7883 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7884 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7885 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7886 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7887 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7888 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7889 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7892 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7893 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7894 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7895 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7896 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7897 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7898 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7899 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7900 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7903 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7904 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7905 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7906 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7907 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7908 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7909 __rint variants.
7910 * math/e_scalbf.c (invalid_fn): Likewise.
7911 * math/e_scalbl.c (invalid_fn): Likewise.
7912 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7913 Likewise.
7914 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7915 Likewise.
7916 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7917 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7918 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7919 Likewise.
7920 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7921 Likewise.
7922 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7923 Likewise.
7924 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7925 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7926
e44acb20
JM
7927 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7928 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7929 New macro.
7930 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7931 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7932 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7933 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7934 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7935 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7936 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7937 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7938 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7939 && !NO_MATH_REDIRECT] (floor): Likewise.
7940 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7941 header inclusion.
7942 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7943 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7944 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7945 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7946 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7947 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7948 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7949 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7954 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7955 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7958 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7959 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7960 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7961 Remove macro.
7962 [_ARCH_PWR5X] (__floorf): Likewise.
7963 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7964 inline function.
7965 [__SSE4_1__] (__floorf): Likewise.
7966 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7967 instead of __floor variants.
7968 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7969 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7970 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7971 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7972 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7973 * math/w_tgamma_compat.c (__tgamma): Likewise.
7974 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7975 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7976 * math/w_tgammal_compat.c (__tgammal): Likewise.
7977 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7978 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7979 Likewise.
7980 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7981 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7982 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7984 Likewise.
7985 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7986 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7987 Likewise.
7988 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7989 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7990 Likewise.
7991 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7992 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7993 Likewise.
7994 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7995 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7996 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7997 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7998 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7999 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8000
221e4bab
JM
80012018-09-12 Joseph Myers <joseph@codesourcery.com>
8002
8003 * elf/Makefile (modules-names-tests): New variable.
8004
3e08ff54
SN
80052018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8006
8007 * NEWS: Mention log2 improvements.
8008 * math/Makefile (type-double-routines): Add e_log2_data.
8009 * sysdeps/i386/fpu/e_log2_data.c: New file.
8010 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8011 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8012 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8013 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8014 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8015 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8016
f41b0a43
SN
80172018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8018
8019 * NEWS: Mention log improvement.
8020 * math/Makefile (type-double-routines): Add e_log_data.
8021 * sysdeps/i386/fpu/e_log_data.c: New file.
8022 * sysdeps/ia64/fpu/e_log_data.c: New file.
8023 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8024 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8025 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8026 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8027 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8028 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8029
5a274db4
L
80302018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8031 Xuepeng Guo <xuepeng.guo@intel.com>
8032
8033 [BZ #23606]
8034 * sysdeps/i386/start.S: Include <sysdep.h>
8035 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8036 enabled. Add cfi_undefined (eip).
8037
b1176270
JM
80382018-09-11 Joseph Myers <joseph@codesourcery.com>
8039
4e7fbdd7
JM
8040 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8041 (MOVQ): Likewise.
8042 (EXTRACT_WORDS64): Likewise.
8043 (INSERT_WORDS64): Likewise.
8044 (GET_FLOAT_WORD): Likewise.
8045 (SET_FLOAT_WORD): Likewise.
8046
b1176270
JM
8047 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8048 argument.
8049 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8050 build, but not for second build if --full-gcc. Use
8051 --enable-languages=all for second build if --full-gcc.
8052 (get_parser): Add --full-gcc option.
8053 (main): Update call to Context.
8054
527f355e
RL
80552018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8056
8057 [BZ #10797]
8058 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8059 Single Quotation Mark).
8060 (thousands_sep): Likewise.
8061 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8062 * localedata/locales/it_IT (thousands_sep): Use ".".
8063 (grouping): Use "3;3".
8064
7244f13d
JM
80652018-09-10 Joseph Myers <joseph@codesourcery.com>
8066
8067 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8068 x86_64 and i686 configs using --enable-obsolete-rpc
8069 --enable-obsolete-nsl.
8070
38245425
SL
80712018-09-06 Stefan Liebler <stli@linux.ibm.com>
8072
8073 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8074
28669f86
SL
80752018-09-06 Stefan Liebler <stli@linux.ibm.com>
8076
8077 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8078 Increment size of new_argv by one.
8079
a33650d1
RL
80802018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8081
8082 [BZ #17426]
8083 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8084 * localedata/locales/ar_IN (d_fmt): Likewise.
8085 * localedata/locales/bhb_IN (d_fmt): Likewise.
8086 * localedata/locales/bho_IN (d_fmt): Likewise.
8087 * localedata/locales/bn_BD (d_fmt): Likewise.
8088 * localedata/locales/bn_IN (d_fmt): Likewise.
8089 * localedata/locales/doi_IN (d_fmt): Likewise.
8090 * localedata/locales/gu_IN (d_fmt): Likewise.
8091 * localedata/locales/hi_IN (d_fmt): Likewise.
8092 * localedata/locales/hne_IN (d_fmt): Likewise.
8093 * localedata/locales/kn_IN (d_fmt): Likewise.
8094 * localedata/locales/mag_IN (d_fmt): Likewise.
8095 * localedata/locales/mai_IN (d_fmt): Likewise.
8096 * localedata/locales/mjw_IN (d_fmt): Likewise.
8097 * localedata/locales/ml_IN (d_fmt): Likewise.
8098 * localedata/locales/mni_IN (d_fmt): Likewise.
8099 * localedata/locales/mr_IN (d_fmt): Likewise.
8100 * localedata/locales/pa_IN (d_fmt): Likewise.
8101 * localedata/locales/raj_IN (d_fmt): Likewise.
8102 * localedata/locales/sat_IN (d_fmt): Likewise.
8103 * localedata/locales/sd_IN (d_fmt): Likewise.
8104 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8105 * localedata/locales/ta_IN (d_fmt): Likewise.
8106 * localedata/locales/ta_LK (d_fmt): Likewise.
8107 * localedata/locales/tcy_IN (d_fmt): Likewise.
8108 * localedata/locales/ur_IN (d_fmt): Likewise.
8109
8110 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8111 * localedata/locales/ks_IN (d_fmt): Likewise.
8112 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8113
8114 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8115 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8116 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8117 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8118
d114e6a7
SN
81192018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8120
8121 * NEWS: Mention exp and exp2 improvements.
8122 * math/Makefile (libm-support): Remove t_exp.
8123 (type-double-routines): Add math_err and e_exp_data.
8124 * sysdeps/aarch64/libm-test-ulps: Update.
8125 * sysdeps/arm/libm-test-ulps: Update.
8126 * sysdeps/i386/fpu/e_exp_data.c: New file.
8127 * sysdeps/i386/fpu/math_err.c: New file.
8128 * sysdeps/i386/fpu/t_exp.c: Remove.
8129 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8130 * sysdeps/ia64/fpu/math_err.c: New file.
8131 * sysdeps/ia64/fpu/t_exp.c: Remove.
8132 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8133 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8134 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8136 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8137 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8138 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8139 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8140 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8141 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8142 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8143 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8144 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8145 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8148
b9d8c474
JM
81492018-09-05 Joseph Myers <joseph@codesourcery.com>
8150
b7cdc2ae
JM
8151 * sysdeps/alpha/fpu/math_private.h: Remove.
8152
b9d8c474
JM
8153 * sysdeps/generic/math_private.h
8154 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8155 Move this inline function ....
8156 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8157 * include/math.h [!_ISOMAC]: To here....
8158
418d99e6
JM
81592018-09-04 Joseph Myers <joseph@codesourcery.com>
8160
8161 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8162 code ....
8163 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8164 * include/fenv.h [!_ISOMAC]: ... to here.
8165 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8166 (feraiseexcept): Likewise.
8167 * math/fromfp.h: Do not include <fenv_private.h>.
8168 * math/s_cexp_template.c: Likewise.
8169 * math/s_csin_template.c: Likewise.
8170 * math/s_csinh_template.c: Likewise.
8171 * math/s_ctan_template.c: Likewise.
8172 * math/s_ctanh_template.c: Likewise.
8173 * math/s_iseqsig_template.c: Likewise.
8174 * math/w_acos_compat.c: Likewise.
8175 * math/w_acosf_compat.c: Likewise.
8176 * math/w_acosl_compat.c: Likewise.
8177 * math/w_asin_compat.c: Likewise.
8178 * math/w_asinf_compat.c: Likewise.
8179 * math/w_asinl_compat.c: Likewise.
8180 * math/w_j0_compat.c: Likewise.
8181 * math/w_j0f_compat.c: Likewise.
8182 * math/w_j0l_compat.c: Likewise.
8183 * math/w_j1_compat.c: Likewise.
8184 * math/w_j1f_compat.c: Likewise.
8185 * math/w_j1l_compat.c: Likewise.
8186 * math/w_jn_compat.c: Likewise.
8187 * math/w_jnf_compat.c: Likewise.
8188 * math/w_log10_compat.c: Likewise.
8189 * math/w_log10f_compat.c: Likewise.
8190 * math/w_log10l_compat.c: Likewise.
8191 * math/w_log2_compat.c: Likewise.
8192 * math/w_log2f_compat.c: Likewise.
8193 * math/w_log2l_compat.c: Likewise.
8194 * math/w_log_compat.c: Likewise.
8195 * math/w_logf_compat.c: Likewise.
8196 * math/w_logl_compat.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8199 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8201 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8202 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8203 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8204 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8205 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8206 * sysdeps/ieee754/k_standardl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8216 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8217 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8218 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8219 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8220 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8221 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8222 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8223 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8224 * math/w_ilogb_template.c: Include <fenv.h> instead of
8225 <fenv_private.h>.
8226 * math/w_llogb_template.c: Likewise.
8227 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8228 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8229
70e2ba33
JM
82302018-09-03 Joseph Myers <joseph@codesourcery.com>
8231
8232 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8233 * math/fromfp.h: Include <fenv_private.h>.
8234 * math/math-narrow.h: Likewise.
8235 * math/s_cexp_template.c: Likewise.
8236 * math/s_csin_template.c: Likewise.
8237 * math/s_csinh_template.c: Likewise.
8238 * math/s_ctan_template.c: Likewise.
8239 * math/s_ctanh_template.c: Likewise.
8240 * math/s_iseqsig_template.c: Likewise.
8241 * math/w_acos_compat.c: Likewise.
8242 * math/w_acosf_compat.c: Likewise.
8243 * math/w_acosl_compat.c: Likewise.
8244 * math/w_asin_compat.c: Likewise.
8245 * math/w_asinf_compat.c: Likewise.
8246 * math/w_asinl_compat.c: Likewise.
8247 * math/w_ilogb_template.c: Likewise.
8248 * math/w_j0_compat.c: Likewise.
8249 * math/w_j0f_compat.c: Likewise.
8250 * math/w_j0l_compat.c: Likewise.
8251 * math/w_j1_compat.c: Likewise.
8252 * math/w_j1f_compat.c: Likewise.
8253 * math/w_j1l_compat.c: Likewise.
8254 * math/w_jn_compat.c: Likewise.
8255 * math/w_jnf_compat.c: Likewise.
8256 * math/w_llogb_template.c: Likewise.
8257 * math/w_log10_compat.c: Likewise.
8258 * math/w_log10f_compat.c: Likewise.
8259 * math/w_log10l_compat.c: Likewise.
8260 * math/w_log2_compat.c: Likewise.
8261 * math/w_log2f_compat.c: Likewise.
8262 * math/w_log2l_compat.c: Likewise.
8263 * math/w_log_compat.c: Likewise.
8264 * math/w_logf_compat.c: Likewise.
8265 * math/w_logl_compat.c: Likewise.
8266 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8267 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8268 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8269 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8294 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8295 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8296 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8297 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8298 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8299 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8300 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8301 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8302 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8303 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8304 * sysdeps/ieee754/k_standardl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8306 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8308 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8324 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8330 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8331 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8335 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8336 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8341 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8342 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8343 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8344 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8345 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8346 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8347 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8348 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8349 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8350 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8351 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8352 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8353 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8354 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8355 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8356 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8357 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8358 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8359 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8360 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8361 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8362 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8363 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8364 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8365 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8366 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8367 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8368 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8369 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8370 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8371 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8372 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8373 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8374 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8375 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8376
a6e8926f
PP
83772018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8378
8379 [BZ #20271]
8380 * include/stdio.h (__libc_fatal): Mention newline in comment.
8381 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8382 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8383 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8384 * nss/nsswitch.c (__nss_next2): Likewise.
8385 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8386 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8387 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8388 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8389 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8390 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8391 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8392 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8393 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8394 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8395 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8396 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8397 (__netlink_assert_response): Likewise.
8398
2bbd06bc
JM
83992018-08-31 Joseph Myers <joseph@codesourcery.com>
8400
8401 * conform/glibcconform.py: New file.
8402 * conform/list-header-symbols.py: Likewise.
8403 * conform/list-header-symbols.pl: Remove.
8404 * conform/Makefile (tests-special): Only add linknamespace tests
8405 if [PYTHON].
8406 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8407
81b9d87b
L
84082018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8409
8410 [BZ #23597]
8411 * support/Makefile (libsupport-routines): Add
8412 support_copy_file_range and xcopy_file_range.
8413 * support/support.h: Include <sys/types.h>.
8414 (support_copy_file_range): New prototype.
8415 * support/support_copy_file_range.c: New file. Copied and
8416 modified from io/copy_file_range-compat.c.
8417 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8418 instead of copy_file_range.
8419 * support/xcopy_file_range.c: New file.
8420 * support/xunistd.h (xcopy_file_range): New prototype.
8421
d330f31a
CD
84222018-08-30 Carlos O'Donell <carlos@redhat.com>
8423
8424 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8425 xpthread_create and xpthread_join.
8426
2bda273a
FW
84272018-08-30 Florian Weimer <fweimer@redhat.com>
8428
8429 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8430
3bad2358
SL
84312018-08-30 Stefan Liebler <stli@linux.ibm.com>
8432
8433 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8434 if malloc fails.
8435
09c12efc
JM
84362018-08-29 Joseph Myers <joseph@codesourcery.com>
8437
8438 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8439 and minus_oflow as non-finite.
8440
ff6b2450
JM
84412018-08-28 Joseph Myers <joseph@codesourcery.com>
8442
8443 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8444 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8445 moved to fenv_private.h except for ...
8446 (TOINT_INTRINSICS): Kept in math_private.h.
8447 (roundtoint): Likewise.
8448 (converttoint): Likewise.
8449 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8450 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8451 * sysdeps/arm/math_private.h: Remove.
8452 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8453 ....
8454 * sysdeps/generic/math_private.h: ... this file. Include
8455 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8456 Include <fenv_private.h>. Remove functions and macros moved to
8457 fenv_private.h.
8458 * sysdeps/i386/fpu/math_private.h: Remove.
8459 * sysdeps/mips/math_private.h: Move to ....
8460 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8461 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8462 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8463 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8464 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8465 * sysdeps/powerpc/fpu/math_private.h: Do not include
8466 <fenv_private.h>.
8467 * sysdeps/riscv/rvf/math_private.h: Move to ....
8468 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8469 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8470 <fenv_private.h>.
8471 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8472 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8473 * sysdeps/sparc/fpu/math_private.h: Remove.
8474 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8475 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8476 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8477 <fenv_private.h>.
8478 * sysdeps/x86_64/fpu/math_private.h: Do not include
8479 <sysdeps/i386/fpu/fenv_private.h>.
8480
761404b7
FW
84812018-08-28 Florian Weimer <fweimer@redhat.com>
8482
8483 [BZ #23578]
8484 * posix/tst-regcomp-truncated.c: New file.
8485 * posix/Makefile (tests): Add it.
8486 (tst-regcomp-truncated.out): Depend on generated locales.
8487
d6c44c3d
FW
84882018-08-28 Florian Weimer <fweimer@redhat.com>
8489
8490 * support/test-container.c (main): Treat unshare failure with
8491 EPERM as an unsupported test.
8492
745664bd
FW
84932018-08-28 Florian Weimer <fweimer@redhat.com>
8494
8495 [BZ #23520]
8496 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8497 * nscd/netgroupcache.c
8498 (addgetnetgrentX): Add tofreep parameter. Do not free
8499 heap-allocated buffer.
8500 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8501 (addgetnetgrentX_ignore): New function.
8502 (addgetnetgrent): Call it.
8503 (readdgetnetgrent): Likewise.
8504
c8dd67e7
RS
85052018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8506
8507 * string/memmem.c: Use memcmp for first match.
8508
5abedf97
RL
85092018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8510
8511 [BZ #17426]
8512 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8513
86de0499
DD
85142018-08-27 DJ Delorie <dj@redhat.com>
8515
8516 * support/Makefile (others): Don't list programs explicitly as a
8517 dependency of "others".
8518
c3ab2110
JM
85192018-08-27 Joseph Myers <joseph@codesourcery.com>
8520
8521 * sysdeps/generic/math-tests-trap-force.h: New file.
8522 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8523 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8524 * sysdeps/powerpc/math-tests.h: Remove file.
8525 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8526
99ea93ca
MK
85272018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8528 Torvald Riegel <triegel@redhat.com>
8529
8530 [BZ #23538]
8531 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8532 Update r to include the set wake-request flag if waiters are
8533 remaining after spinning.
8534
4061791f
JM
85352018-08-27 Joseph Myers <joseph@codesourcery.com>
8536
8537 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8538
bc680b33
PE
85392018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8540
761404b7 8541 [BZ #23578]
bc680b33
PE
8542 regex: fix uninitialized memory access
8543 I introduced this bug into gnulib in commit
8544 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8545 eventually it was merged into glibc. The bug was found by
8546 project-repo <bugs@feusi.co> and reported here:
8547 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8548 Diagnosis and draft fix reported by Assaf Gordon here:
8549 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8550 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8551 * posix/regex_internal.c (build_wcs_upper_buffer):
8552 Fix bug when mbrtowc returns 0.
8553
02458a52
CD
85542018-08-24 Carlos O'Donell <carlos@redhat.com>
8555
8556 * po/be.po: Update translation.
8557
acc2842a
DD
85582018-08-24 DJ Delorie <dj@delorie.com>
8559
8560 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8561 $(libunwind).
8562
6c3a8a9d
PP
85632018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8564
8565 [BZ #23400]
8566 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8567 create temporary files in source tree.
8568
895ef79e
JM
85692018-08-24 Joseph Myers <joseph@codesourcery.com>
8570
8571 * sysdeps/generic/math-tests-trap.h: New file.
8572 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8573 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8574 * sysdeps/aarch64/math-tests.h: Remove file.
8575 * sysdeps/arm/math-tests.h: Likewise.
8576 * sysdeps/riscv/math-tests.h: Likewise.
8577 * sysdeps/aarch64/math-tests-trap.h: New file.
8578 * sysdeps/arm/math-tests-trap.h: Likewise.
8579 * sysdeps/riscv/math-tests-trap.h: Likewise.
8580
ca3aac57
WD
85812018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8582
8583 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8584 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8585 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8586 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8587 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8588 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8592 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8593 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8594 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8595 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8596 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8597 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8598 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8599 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8600 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8601
60bcac09
JM
86022018-08-23 Joseph Myers <joseph@codesourcery.com>
8603
8604 * sysdeps/generic/math-tests-exceptions.h: New file.
8605 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8606 (EXCEPTION_TESTS_float): Do not define here.
8607 (EXCEPTION_TESTS_double): Likewise.
8608 (EXCEPTION_TESTS_long_double): Likewise.
8609 (EXCEPTION_TESTS_float128): Likewise.
8610 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8611 Likewise.
8612 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8613 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8614 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8615 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8616 * sysdeps/mips/math-tests.h: Likewise.
8617 * sysdeps/nios2/math-tests.h: Likewise.
8618 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8619 (EXCEPTION_TESTS_float): Do not define here.
8620 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8621 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8622 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8623
3bded567
WD
86242018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8625
8626 * NEWS: Move optimized sinf entry to 2.29.
8627
900fb446
WD
86282018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8629
8630 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8631
561b0bec
DD
86322018-08-22 DJ Delorie <dj@redhat.com>
8633
8634 * Makefile (testroot.pristine): New rules to initialize the
8635 test-in-container "testroot".
8636 * Makerules (all-testsuite): Add tests-container.
8637 * Rules (tests-expected): Add tests-container.
8638 (binaries-all-tests): Likewise.
8639 (tests-container): New, run these tests in the testroot container.
8640 * support/Makefile (others): Add *-container, support_paths.c,
8641 xmkdirp, and links-dso-program.
8642 * support/links-dso-program-c.c: New.
8643 * support/links-dso-program.cc: New.
8644 * support/test-container.c: New.
8645 * support/shell-container.c: New.
8646 * support/echo-container.c: New.
8647 * support/true-container.c: New.
8648 * support/xmkdirp.c: New.
8649 * support/xsymlink.c: New.
8650 * support/support_paths.c: New.
8651 * support/support.h: Add support paths prototypes.
8652 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8653
8654 * nss/tst-nss-test3.c: Convert to test-in-container.
8655 * nss/tst-nss-test3.root/: New.
8656
b35d3509
PE
86572018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8658
8659 regex: port Gnulib code to z/OS POSIX environment
8660 Problem reported by Arnold Robbins in:
8661 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8662 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8663 Undef.
8664
16a25138
JM
86652018-08-22 Joseph Myers <joseph@codesourcery.com>
8666
debc4c98
JM
8667 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8668 (ROUNDING_TESTS_double): Remove.
8669 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8670 (ROUNDING_TESTS_double): Remove.
8671 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8672 (ROUNDING_TESTS_double): Remove.
8673 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8674 (ROUNDING_TESTS_float): Remove.
8675 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8676 (ROUNDING_TESTS_float): Remove.
8677 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8678 (ROUNDING_TESTS_float): Remove.
8679 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8680 !TEST_MATHVEC here.
8681 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8682 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8683
16a25138
JM
8684 * sysdeps/generic/math-tests-rounding.h: New file.
8685 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8686 (ROUNDING_TESTS_float): Do not define here.
8687 (ROUNDING_TESTS_double): Likewise.
8688 (ROUNDING_TESTS_long_double): Likewise.
8689 (ROUNDING_TESTS_float128): Likewise.
8690 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8691 (ROUNDING_TESTS_double): Undefine before defining.
8692 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8693 (ROUNDING_TESTS_double): Undefine before defining.
8694 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8695 (ROUNDING_TESTS_double): Undefine before defining.
8696 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8697 (ROUNDING_TESTS_float): Undefine before defining.
8698 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8699 (ROUNDING_TESTS_float): Undefine before defining.
8700 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8701 (ROUNDING_TESTS_float): Undefine before defining.
8702 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8703 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8704 not define here.
8705 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8706 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8707 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8708 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8709 (ROUNDING_TESTS_float): Do not define here.
8710 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8711 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8712 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8713 (ROUNDING_TESTS_float): Likewise.
8714 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8715 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8716 * sysdeps/mips/math-tests.h [__mips_soft_float]
8717 (ROUNDING_TESTS_float): Likewise.
8718 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8719 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8720 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8721 (ROUNDING_TESTS_double): Likewise.
8722 (ROUNDING_TESTS_long_double): Likewise.
8723
38b0593e
TK
87242018-08-21 Tobias Klauser <tklauser@distanz.ch>
8725
8726 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8727 (PF_XDP): New macro.
8728 (AF_XDP): New macro.
8729 (SOL_XDP): New macro.
8730
5cd7dbde
JM
87312018-08-21 Joseph Myers <joseph@codesourcery.com>
8732
8733 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8734 (TCP_INQ): Likewise.
8735 (TCP_CM_INQ): Likewise.
8736 (TCP_REPAIR_ON): Likewise.
8737 (TCP_REPAIR_OFF): Likewise.
8738 (TCP_REPAIR_OFF_NO_WP): Likewise.
8739 (struct tcp_zerocopy_receive): New type.
8740
aa42b3db
FW
87412018-08-21 Florian Weimer <fweimer@redhat.com>
8742
8743 * support/support.h (support_descriptor_supports_holes): Declare.
8744 * support/Makefile (libsupport-routines): Add
8745 support_descriptor_supports_holes.
8746 * support/support_descriptor_supports_holes.c: New file.
8747 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8748 and stop testing if holes are not supported.
8749 * io/test-lfs.c (do_prepare): Likewise.
8750 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8751 Likewise.
8752 * timezone/tst-tzset.c (create_tz_file): Likewise.
8753 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8754 variable.
8755 (do_prepare): Set it.
8756 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8757
c7627f41
FW
87582018-08-21 Florian Weimer <fweimer@redhat.com>
8759
8760 [BZ #17248]
8761 * Makeconfig (+cflags): Do not sort (and deduplicate).
8762
ef939d92
FW
87632018-08-21 Florian Weimer <fweimer@redhat.com>
8764
8765 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8766 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8767
88ffb39d
FW
87682018-08-20 Florian Weimer <fweimer@redhat.com>
8769
8770 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8771 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8772
17419540
JM
87732018-08-20 Joseph Myers <joseph@codesourcery.com>
8774
e6edd40d
JM
8775 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8776 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8777 and ssi_arch members.
8778
17419540
JM
8779 * elf/elf.c (NT_VMCOREDD): New macro.
8780 (AT_MINSIGSTKSZ): Likewise.
8781
fa78896b
RS
87822018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8783
8784 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8785 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8786 s_cosf-ppc64 and s_cosf-power8.
8787 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8788 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8789 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8790 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8797 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8798 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8799
86a6c75a
FW
88002018-08-17 Florian Weimer <fweimer@redhat.com>
8801
8802 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8803
35cfefd9
FW
88042018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8805
8806 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8807
6413fcde
FW
88082018-08-16 Florian Weimer <fweimer@redhat.com>
8809
8810 * configure.ac: Add --with-nonshared-cflags option.
8811 * config.make.in (extra-nonshared-cflags): Set variable.
8812 * Makeconfig (CFLAGS-.oS): Use it.
8813 * manual/install.texi (Configuring and compiling): Document
8814 --with-nonshared-cflags.
8815 * configure: Regenerate.
8816 * INSTALL: Likewise.
8817
93a2584c
FW
88182018-08-16 Florian Weimer <fweimer@redhat.com>
8819
8820 * Makeconfig (ASFLAGS): Always append required assembler flags.
8821
f6f275d2 88222018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
8823
8824 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8825 (malloc_consolidate): Likewise.
8826
30a17d8c
PC
88272018-08-16 Pochang Chen <johnchen902@gmail.com>
8828
8829 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8830
953a5a4a
SP
88312018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8832
34f86d61
SP
8833 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8834 every strlen call.
8835
953a5a4a
SP
8836 * benchtests/bench-strlen.c: Print performance numbers in json.
8837
7793ad7a
RS
88382018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8839
8840 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8841 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8842 only for little endian.
8843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8844 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8845 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8846 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8847 Add check for little endian.
8848 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8849 (__strcmp_power9): Add check for little endian.
8850 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8851 Add check for little endian.
8852 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8853 (__strncmp_power9): Add check for little endian.
8854 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8855 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8856 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8857 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8858 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8859
436e4d5b
SP
88602018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8861
8862 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8863 [!STRLEN](STRLEN): Set to __strlen.
8864 * sysdeps/aarch64/multiarch/strlen.c: New file.
8865 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8866 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8867 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8868 (__libc_ifunc_impl_list): Add strlen.
8869 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8870 strlen_generic and strlen_asimd.
8871
126c4e3f
WD
88722018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8873
8874 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8875 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8876 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8877
49acec17
WD
88782018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8879
8880 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8881
fdb16de3
FW
88822018-08-14 Florian Weimer <fweimer@redhat.com>
8883
8884 [BZ #23519]
8885 * include/stdio.h (__vfxprintf): Declare.
8886 * stdio-common/fxprintf.c (__vfxprintf): New function.
8887 (__fxprintf): Call it.
8888 * misc/err.c (convert_and_print): Remove function.
8889 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8890 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8891 * misc/Makefile (tests): Add tst-warn-wide.
8892 * misc/tst-warn-wide.c: New file.
8893
599cf397
WD
88942018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8895 Szabolcs Nagy <szabolcs.nagy@arm.com>
8896
8897 * NEWS: Mention sinf, cosf, sincosf.
8898 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8899 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8900 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8901 constants rather than including generic sincosf.h.
8902 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8903 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8904 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8905 (reduced_cos): Remove.
8906 (sinf_poly): New function.
8907 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8908
e95c6f61
FW
89092018-08-14 Florian Weimer <fweimer@redhat.com>
8910
8911 [BZ #23521]
8912 [BZ #23522]
8913 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8914 processing, bail out if no room, and close the stream before
8915 returning ERANGE.
8916 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8917 (tst-nss-files-alias-leak): Link with libdl.
8918 (tst-nss-files-alias-leak.out): Depend on nss_files.
8919
8920 * nss/tst-nss-files-alias-leak.c: New file.
8921
2d7acfac
FW
89222018-08-14 Florian Weimer <fweimer@redhat.com>
8923
8924 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8925 server_user, stat_user.
8926
f3cd0904
JM
89272018-08-13 Joseph Myers <joseph@codesourcery.com>
8928
17b26500
JM
8929 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8930 version to 4.18.
8931 (io_pgetevents): New syscall.
8932 (rseq): Likewise.
8933
3c1622eb
JM
8934 * manual/install.texi (Configuring and compiling): Do not list
8935 tools used for testing pretty printers here.
8936 (Tools for Compilation): List Python, PExpect and GDB here.
8937 Update descriptions of uses of Perl and Python.
8938 * INSTALL: Regenerate.
8939
f3cd0904
JM
8940 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8941 version to 4.18.
8942
b7b52b9d
FW
89432018-08-13 Florian Weimer <fweimer@redhat.com>
8944
8945 * misc/error.c (error): Add missing va_end call.
8946 (error_at_line): Likewise.
8947
01780188
FW
89482018-08-13 Florian Weimer <fweimer@redhat.com>
8949
8950 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8951
44727aec
SP
89522018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8953
8cac1f26
SP
8954 * benchtests/scripts/benchout.schema.json (properties): Add
8955 new properties.
8956
44727aec
SP
8957 * benchtests/bench-skeleton.c (main): Add duration and
8958 iterations attributes.
8959
c77bf91b
PE
89602018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8961
8962 regex: Gnulib unibyte RRI uses bytes not chars
8963 Adjust the non-glibc code to agree with what Gawk needs for
8964 rational range interpretation (RRI) for regular expression ranges.
8965 In unibyte locales, Gawk wants ranges to use the underlying byte
8966 rather than the character code point. This change does not affect
8967 glibc proper.
8968 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8969 In unibyte locales, use the byte value rather than
8970 running it through btowc.
8971
2ce7ba7d
JM
89722018-08-10 Joseph Myers <joseph@codesourcery.com>
8973
8974 * sysdeps/generic/math-tests-snan.h: New file.
8975 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8976 (SNAN_TESTS_float): Do not define here.
8977 (SNAN_TESTS_double): Likewise.
8978 (SNAN_TESTS_long_double): Likewise.
8979 (SNAN_TESTS_float128): Likewise.
8980 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8981 * sysdeps/i386/fpu/math-tests.h: Remove file.
8982 * sysdeps/ia64/math-tests-snan.h: New file.
8983 * sysdeps/ia64/math-tests.h: Remove file.
8984 * sysdeps/x86/math-tests.h: Likewise.
8985 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8986
ea5c662c
WD
89872018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8988 Szabolcs Nagy <szabolcs.nagy@arm.com>
8989
8990 * math/Makefile: Add s_sincosf_data.c.
8991 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8992 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8993 (sincosf_poly): Likewise.
8994 (reduce_small): Likewise.
8995 (reduce_large): Likewise.
8996 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8997 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8998 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8999 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9000
43cfdf8f
SN
90012018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9002 Szabolcs Nagy <szabolcs.nagy@arm.com>
9003
9004 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9005 (converttoint): Use lround.
9006 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9007 document the semantics when TOINT_INTRINSICS is set.
9008 (converttoint): Likewise.
9009 (TOINT_RINT): Remove.
9010 (TOINT_SHIFT): Remove.
9011 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9012 path.
9013
69065288
FW
90142018-08-10 Florian Weimer <fweimer@redhat.com>
9015
9016 [BZ #23497]
9017 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9018 function.
9019 (__old_getdents64): Use getdents64. Convert entries without
9020 moving them.
9021 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9022 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9023 tst-readdir64-compat.
9024
8f135efc
IL
90252018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9026
9027 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9028 Fix unwind.
9029
71c01af5
IL
90302018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9031
9032 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9033 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9034 code to s390x-mcount.h and #include it.
9035 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9036 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9037 (__fentry__): Add.
9038
8d997d22
IL
90392018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9040
9041 * stdlib/Versions: Remove __fentry__.
9042 * sysdeps/i386/Versions: Add __fentry__.
9043 * sysdeps/x86_64/Versions: Add __fentry__.
9044
69e2444a
IL
90452018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9046
9047 * sysdeps/s390/Makefile: Register the new tests.
9048 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9049 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9050 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9051 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9052 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9053 * sysdeps/s390/tst-dl-runtime.c: New file.
9054
bde6320f
IL
90552018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9056
9057 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9058 Do not clobber R0.
9059
5755f5e4
IL
90602018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9061
9062 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9063 Do not clobber R0.
9064
c8ad8522
IL
90652018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9066
9067 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9068 Do not clobber R0.
9069
b215eee1
IL
90702018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9071
9072 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9073 Do not clobber R0.
9074
329c6fec
IL
90752018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9076
9077 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9078 Use symbolic offsets for stack variables.
9079
0fb7afa2
IL
90802018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9081
9082 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9083 Use symbolic offsets for stack variables.
9084
6954059a
IL
90852018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9086
9087 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9088 Use symbolic offsets for stack variables.
9089
c7099673
IL
90902018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9091
9092 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9093 Use symbolic offsets for stack variables.
9094
2813e41e
JM
90952018-08-09 Joseph Myers <joseph@codesourcery.com>
9096
9097 * math/gen-libm-test.py: New file.
9098 * math/gen-libm-test.pl: Remove.
9099 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9100 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9101 gen-libm-test.pl.
9102 ($(libm-test-c-noauto-obj)): Likewise.
9103 ($(libm-test-c-auto-obj)): Likewise.
9104 ($(libm-test-c-narrow-obj)): Likewise.
9105 (regen-ulps): Likewise.
9106 * math/README.libm-test: Update references to gen-libm-test.pl.
9107 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9108 referencing gen-libm-test.pl.
9109 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9110 * math/libm-test-support.c: Likewise.
9111 * math/libm-test-support.h: Likewise.
9112 * sysdeps/generic/libm-test-ulps: Likewise.
9113
be64b194
SP
91142018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9115
9116 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9117 Fix value.
9118
140137fb
JM
91192018-08-08 Joseph Myers <joseph@codesourcery.com>
9120
9121 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9122 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9123
b5403eca
ST
91242018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9125
9126 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9127 symbols.
8ac0f9e6
ST
9128 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9129 __pthread_setspecific): Add hidden proto.
9130 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9131 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 9132
014efdd7
SP
91332018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9134
9135 * benchtests/bench-string.h (buf1_size, buf2_size): New
9136 variables.
9137 (init_sizes): New function.
9138 (test_init): Use it.
9139 (alloc_buf, exit_error): New functions.
9140 (alloc_bufs): Use ALLOC_BUF.
9141 (realloc_bufs): Remove.
9142 * benchtests/bench-memcmp.c (do_test): Adjust.
9143 * benchtests/bench-memset-large.c (do_test): Likewise.
9144 * benchtests/bench-memset-walk.c (do_test): Likewise.
9145 * benchtests/bench-memset.c (do_test): Likewise.
9146 * benchtests/bench-strncmp.c (do_test): Likewise.
9147
92a4cba7
AS
91482018-08-06 Andreas Schwab <schwab@suse.de>
9149
9150 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9151 of CONST_THREAD_AREA.
9152
fb4c32ae
L
91532018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9154
9155 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9156 (STATE_SAVE_MASK): Likewise.
9157 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9158 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9159 (STATE_SAVE_MASK): Likewise.
9160 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9161 instead of <cpu-features.h>.
9162
bf418187
DD
91632018-08-03 DJ Delorie <dj@redhat.com>
9164
9165 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 9166 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 9167
bb17621a
DD
9168 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9169
ea705eb5
JM
91702018-08-03 Joseph Myers <joseph@codesourcery.com>
9171
9172 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9173 after TEST_* calls.
9174 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9175 * math/libm-test-logb.inc (logb_test_data): Likewise.
9176
284f42bc
WD
91772018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9178
9179 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9180 * string/strstr.c (AVAILABLE): Likewise.
9181
430388d5
L
91822018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9183
9184 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9185 <init-arch.h>.
9186 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9187 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9188 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9189
c5760aa9
CD
91902018-08-03 Carlos O'Donell <carlos@redhat.com>
9191
9192 * po/be.po: Update translation.
9193
6b535b84
CD
9194 * po/be.po: Update translation.
9195
ae67f2e5
L
91962018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9197
9198 * sysdeps/x86/cpu-features-offsets.sym
9199 (rtld_global_ro_offsetof): Removed.
9200 (CPU_FEATURES_SIZE): Likewise.
9201 (CPUID_OFFSET): Likewise.
9202 (CPUID_SIZE): Likewise.
9203 (CPUID_EAX_OFFSET): Likewise.
9204 (CPUID_EBX_OFFSET): Likewise.
9205 (CPUID_ECX_OFFSET): Likewise.
9206 (CPUID_EDX_OFFSET): Likewise.
9207 (FAMILY_OFFSET): Likewise.
9208 (MODEL_OFFSET): Likewise.
9209 (FEATURE_OFFSET): Likewise.
9210 (FEATURE_SIZ): Likewise.
9211 (COMMON_CPUID_INDEX_1): Likewise.
9212 (COMMON_CPUID_INDEX_7): Likewise.
9213 (FEATURE_INDEX_1): Likewise.
9214 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9215
cfb0ff93 92162018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
9217
9218 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9219 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9220 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9221 (install-locales): Depend on install-locale-archive.
9222 (install-locale-archive): Define.
7b7adbd8 9223 (install-locale-files): Define.
08a5ee14
CD
9224 (build-one-locale): Define macro.
9225 * manual/install.texi (Running make install): Document.
9226 * manual/INSTALL: Regenerate.
9227
525691bd
SP
92282018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9229
d67d634b
SP
9230 * benchtests/scripts/compare_strings.py: Import traceback.
9231 (parse_file): Pretty-print error.
9232
525691bd
SP
9233 * NEWS: Mention the change.
9234 * elf/dl-tunables.list: Rename tune namespace to cpu.
9235 * sysdeps/powerpc/dl-tunables.list: Likewise.
9236 * sysdeps/x86/dl-tunables.list: Likewise.
9237 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9238 cpu.name.
9239 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9240 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9241 * manual/README.tunables: Likewise.
9242 * manual/tunables.texi: Likewise.
9243 * sysdeps/powerpc/cpu-features.c: Likewise.
9244 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9245 (init_cpu_features): Likewise.
9246 * sysdeps/x86/cpu-features.c: Likewise.
9247 * sysdeps/x86/cpu-features.h: Likewise.
9248 * sysdeps/x86/cpu-tunables.c: Likewise.
9249 * sysdeps/x86_64/Makefile: Likewise.
9250 * sysdeps/x86/dl-cet.c: Likewise.
9251
506d7fb1
JM
92522018-08-02 Joseph Myers <joseph@codesourcery.com>
9253
9254 [BZ #23479]
9255 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9256 [__mips_hard_float].
9257 (FE_UNDERFLOW): Likewise.
9258 (FE_OVERFLOW): Likewise.
9259 (FE_DIVBYZERO): Likewise.
9260 (FE_INVALID): Likewise.
9261 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9262 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9263 (FE_UPWARD): Likewise.
9264 (FE_DOWNWARD): Likewise.
9265 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9266 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9267 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9268 [__mips_hard_float].
9269 (FP_ROUNDMODE): Likewise.
9270 (FP_RND_NEAREST): Likewise.
9271 (FP_RND_ZERO): Likewise.
9272 (FP_RND_PINF): Likewise.
9273 (FP_RND_MINF): Likewise.
9274 (FP_EX_INVALID): Likewise.
9275 (FP_EX_OVERFLOW): Likewise.
9276 (FP_EX_UNDERFLOW): Likewise.
9277 (FP_EX_DIVZERO): Likewise.
9278 (FP_EX_INEXACT): Likewise.
9279 (FP_INIT_ROUNDMODE): Likewise.
9280 * sysdeps/mips/nofpu/fesetenv.c: New file.
9281 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9282
f6dcefbe
JM
92832018-08-01 Joseph Myers <joseph@codesourcery.com>
9284
9285 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9286 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9287 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9288 conditional on [FE_UPWARD].
9289
fa67ba06
PE
92902018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9291
9292 regex: fix memory leak in Gnulib
9293 Problem and fix reported by Assaf Gordon in:
9294 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9295 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9296 range_ends members too, as they are defined in 'struct
9297 re_charset_t' even if not _LIBC. This affects only Gnulib.
9298
82c80ac2
L
92992018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9300
9301 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9302 ...
9303 (get_common_indices): This.
9304 (init_cpu_features): Updated.
9305
c0e7e2c1
JM
93062018-08-01 Joseph Myers <joseph@codesourcery.com>
9307
46f8cf57
JM
9308 * sysdeps/generic/math-tests-snan-payload.h: New file.
9309 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9310 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9311 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9312 * sysdeps/generic/math-tests.h: Include
9313 <math-tests-snan-payload.h>.
9314 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9315 * sysdeps/hppa/math-tests.h: Remove file.
9316 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9317 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9318 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9319 Likewise.
9320
c0e7e2c1
JM
9321 * sysdeps/generic/math-tests-snan-cast.h: New file.
9322 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9323 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9324 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9325 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9326
74939c83
CD
93272018-08-01 Carlos O'Donel <carlos@redhat.com>
9328
b029723b
CD
9329 * version.h (RELEASE): Set to "development".
9330 (VERSION): Set to "2.28.9000".
9331 * NEWS (2.29): New section.
9332
3c03baca
CD
9333 * version.h (RELEASE): Set to "stable".
9334 (VERSION): Set to "2.28".
9335 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9336 * NEWS: Add the list of bugs fixed in 2.28.
9337
74939c83
CD
9338 * po/ca.po: Update to latest version.
9339 * po/cs.po: Likewise
9340 * po/da.po: Likewise
9341 * po/el.po: Likewise
9342 * po/eo.po: Likewise
9343 * po/es.po: Likewise
9344 * po/fi.po: Likewise
9345 * po/fr.po: Likewise
9346 * po/gl.po: Likewise
9347 * po/hu.po: Likewise
9348 * po/ia.po: Likewise
9349 * po/id.po: Likewise
9350 * po/it.po: Likewise
9351 * po/ja.po: Likewise
9352 * po/ko.po: Likewise
9353 * po/lt.po: Likewise
9354 * po/nb.po: Likewise
9355 * po/nl.po: Likewise
9356 * po/pt_BR.po: Likewise
9357 * po/ru.po: Likewise
9358 * po/rw.po: Likewise
9359 * po/sk.po: Likewise
9360 * po/sl.po: Likewise
9361 * po/tr.po: Likewise
9362 * po/zh_CN.po: Likewise
9363 * po/zh_TW.po: Likewise
9364
d4b54bdf
ST
93652018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9366
9367 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9368 initialization...
9369 (init): ... before initializing libpthread.
9370
42fc12ef
ST
9371 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9372 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9373 (__mach_setup_tls): ... new function.
9374 (mach_setup_tls): New alias.
9375 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9376 __mach_setup_thread.
9377 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9378 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9379 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9380 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9381
6cca855e
CD
93822018-07-31 Carlos O'Donell <carlos@redhat.com>
9383
f650932b
CD
9384 * manual/install.texi: Update versions.
9385 * INSTALL: Regenerate.
9386
6cca855e
CD
9387 * manual/contrib.texi (Contributors): Update contributions.
9388
07fdea47
CD
93892018-07-31 Carlos O'Donell <carlos@redhat.com>
9390
9391 * po/be.po: Update translations.
9392
63d5fad4
AZ
93932018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9394
9395 * sysdeps/sh/libm-test-ulps: Update.
9396
1ff712a6
CD
93972018-07-30 Carlos O'Donell <carlos@redhat.com>
9398
9399 * po/bg.po: Update translations.
9400 * po/de.po: Likewise.
9401 * po/hr.po: Likewise.
9402 * po/pt_BR.po: Likewise.
9403 * po/sv.po: Likewise.
9404 * po/vi.po: Likewise.
9405
98864ed0
L
94062018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9407
9408 [BZ #23467]
9409 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9410 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9411 (CFLAGS-tst-cet-property-1.o): New.
9412 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9413 ($(objpfx)tst-cet-property-2): Likewise.
9414 ($(objpfx)tst-cet-property-2.out): Likewise.
9415 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9416 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9417 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9418 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9419 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9420
c92a00d8
L
94212018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9422
9423 [BZ #23458]
9424 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9425
99bc6241
ST
94262018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9427
9428 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9429 __sbrk): Do not set attribute_hidden.
af86087f 9430 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
9431 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9432 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9433
bcb1c4af
CD
94342018-07-27 Carlos O'Donell <carlos@redhat.com>
9435
9436 * po/uk.po: Update translations.
9437 * po/cs.po: Likewise.
9438 * po/pl.po: Likewise.
9439
4591b7db
L
94402018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9441
9442 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9443 parse beyond the note end.
9444
2c6da2f4
AZ
94452018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9446
9447 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9448 kernel does not support OFD locks.
9449 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9450
20365a31
ST
94512018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9452
9453 * sysdeps/mach/hurd/Versions (libc): Make __access and
9454 __access_noerrno external so they can override the ld symbols.
9455 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9456 __writev, __open64, __access_noerrno extern so they can be overrided.
9457 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9458 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9459
cb1a43db
CD
94602018-07-26 Carlos O'Donell <carlos@redhat.com>
9461
9462 * po/libc.pot: Regenerate.
9463
74759ae5
JM
94642018-07-26 Joseph Myers <joseph@codesourcery.com>
9465
9466 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9467
da80612d
L
94682018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9469
9470 [BZ #23459]
9471 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9472 function.
9473 (init_cpu_features): Call get_extended_indices for both Intel
9474 and AMD CPUs.
9475 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9476 Remove "for AMD" comment.
9477
65d87ade
L
94782018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9479
9480 [BZ # 23456]
9481 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9482 COMMON_CPUID_INDEX_80000001.
9483
c9dc4d51
SL
94842018-07-26 Stefan Liebler <stli@linux.ibm.com>
9485
9486 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9487 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9488
cfba5dbb
FW
94892018-07-26 Florian Weimer <fweimer@redhat.com>
9490
9491 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9492 aliases for symbols not in the implementation namespace.
9493
7cd7d36f
CD
94942018-07-25 Carlos O'Donell <carlos@redhat.com>
9495
9496 [BZ #23393]
9497 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9498 lowercase in LATIN script.
9499 * localedata/Makefile (test-input): Add en_US.UTF-8.
9500 * localedata/en_US.UTF-8.in: New file.
9501 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9502 and restore old tests.
9503 * posix/tst-regexloc.c (do_test): Add back range expression test.
9504
3fb455b3
L
95052018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9506
9507 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9508
d6499b70
AZ
95092018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9510
9511 * nptl/threads.h: Move to ...
9512 * sysdeps/nptl/threads.h: ... here.
9513 * sysdeps/hurd/stdc-predef.h: New file.
9514
08ac6bed
L
95152018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9516
9517 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9518 tst-cet-setcontext-1 if CET is enabled.
9519 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9520 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9521
9faaf938
AZ
95222018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9523
9524 * include/threads.h: Move to ...
9525 * sysdeps/nptl/threads.h: ... here.
9526 * sysdeps/htl/threads.h: New file.
9527 * conform/Makefile (linknamespace-libs-ISO11): Use
9528 static-thread-library instead of linking libpthread.
9529 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9530
d6b8f847
FW
95312018-07-25 Florian Weimer <fweimer@redhat.com>
9532
9533 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9534 nanoseconds into seconds.
9535 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9536 (do_test): Likewise.
9537 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9538 (do_test): Likewise. Avoid nanosecond overflow and spurious
9539 timeouts due to system load.
9540 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9541 (child_wait): Increment it.
9542 (do_test): Wait as long as necessary until all expected threads
9543 have arrived.
9544
25123a1c
L
95452018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9546 H.J. Lu <hongjiu.lu@intel.com>
9547
9548 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9549 __ssp.
9550 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9551 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9552 (__push___start_context): New.
9553 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9554 <asm/prctl.h>.
9555 (__getcontext): Record the current shadow stack base. Save the
9556 caller's shadow stack pointer and base.
9557 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9558 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9559 (__push___start_context): New prototype.
9560 (__makecontext): Call __push___start_context to allocate a new
9561 shadow stack, push __start_context onto the new stack as well
9562 as the new shadow stack.
9563 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9564 <asm/prctl.h>.
9565 (__setcontext): Restore the target shadow stack.
9566 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9567 <asm/prctl.h>.
9568 (__swapcontext): Record the current shadow stack base. Save
9569 the caller's shadow stack pointer and base. Restore the target
9570 shadow stack.
9571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9572 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9573 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9574
375a4844
L
95752018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9576
9577 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9578 tst-setcontext8 and tst-setcontext9.
9579 * stdlib/tst-setcontext6.c: New file.
9580 * stdlib/tst-setcontext7.c: Likewise.
9581 * stdlib/tst-setcontext8.c: Likewise.
9582 * stdlib/tst-setcontext9.c: Likewise.
9583
bd4f7903
L
95842018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9585
9586 * stdlib/Makefile ((tests): Add tst-setcontext5.
9587 * stdlib/tst-setcontext5.c: New file.
9588
7e28f203
L
95892018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9590
9591 * stdlib/Makefile (tests): Add tst-setcontext4.
9592 * stdlib/tst-setcontext4.c: New file.
9593
8516ad2d
L
95942018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9595
9596 * stdlib/Makefile (tests): Add tst-swapcontext1.
9597 * stdlib/tst-swapcontext1.c: New test.
9598
fddcd003
L
95992018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9600
9601 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9602 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9603 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9604 and tst-cet-legacy-4c.
9605 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9606 and tst-cet-legacy-mod-4.
9607 (CFLAGS-tst-cet-legacy-2.c): New.
9608 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9609 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9610 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9611 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9612 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9613 ($(objpfx)tst-cet-legacy-1): Likewise.
9614 ($(objpfx)tst-cet-legacy-2): Likewise.
9615 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9616 ($(objpfx)tst-cet-legacy-2a): Likewise.
9617 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9618 ($(objpfx)tst-cet-legacy-4): Likewise.
9619 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9620 ($(objpfx)tst-cet-legacy-4a): Likewise.
9621 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9622 (tst-cet-legacy-4a-ENV): Likewise.
9623 ($(objpfx)tst-cet-legacy-4b): Likewise.
9624 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9625 (tst-cet-legacy-4b-ENV): Likewise.
9626 ($(objpfx)tst-cet-legacy-4c): Likewise.
9627 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9628 (tst-cet-legacy-4c-ENV): Likewise.
9629 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9630 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9631 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9632 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9633 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9634 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9635 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9636 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9637 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9638 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9639 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9640
9aa3113a
L
96412018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9642
9643 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9644 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9645 with ssp_base.
9646 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9647 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9648 with ssp_base.
9649
9c79cec8
AS
96502018-07-25 Andreas Schwab <schwab@suse.de>
9651
9652 [BZ #23442]
9653 * locale/weightwc.h (findidx): Handle the case where usrc is a
9654 prefix of cp but one character too short.
9655
969c3355
AZ
96562018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9657
9658 * NEWS: Add ISO C threads addition.
9659
e0f9c462
FW
96602018-07-24 Florian Weimer <fweimer@redhat.com>
9661
9662 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9663 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9664 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9665 4.13.
9666
394df381
L
96672018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9668
9669 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9670 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9671 <sys/prctl.h> and <asm/prctl.h>.
9672 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9673 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9674 and <asm/prctl.h>.
9675 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9676 ARCH_CET_LEGACY_BITMAP.
9677 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9678 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9679 * sysdeps/x86/libc-start.c: Include <startup.h>.
9680
46545530
FW
96812018-07-24 Florian Weimer <fweimer@redhat.com>
9682
9683 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9684 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9685
9d0a979e
RJ
96862018-07-24 Rical Jasan <rj@2c3t.io>
9687 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
9688 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9689
9690 [BZ #14092]
9d0a979e
RJ
9691 * manual/debug.texi: Update adjacent chapter name.
9692 * manual/probes.texi: Likewise.
9693 * manual/threads.texi (ISO C Threads): New section.
9694 (POSIX Threads): Convert to a section.
9695
96962018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9697 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9698
9699 [BZ# 14092]
0a07288b
AZ
9700 * nptl/Makefile (tests): Add new test files.
9701 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9702 * nptl/tst-cnd-basic.c: Likewise.
9703 * nptl/tst-cnd-broadcast.c: Likewise.
9704 * nptl/tst-cnd-timedwait.c: Likewise.
9705 * nptl/tst-mtx-basic.c: Likewise.
9706 * nptl/tst-mtx-recursive.c: Likewise.
9707 * nptl/tst-mtx-timedlock.c: Likewise.
9708 * nptl/tst-mtx-trylock.c: Likewise.
9709 * nptl/tst-thrd-basic.c: Likewise.
9710 * nptl/tst-thrd-detach.c: Likewise.
9711 * nptl/tst-thrd-sleep.c: Likewise.
9712 * nptl/tst-tss-basic.c: Likewise.
9713
ce7528f6
AZ
97142018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9715
c6dd669b
AZ
9716 [BZ #14092]
9717 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9718 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9719 symbols.
9720 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9721 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9722 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9723 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9724 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9725 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9726 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9727 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9728 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9729 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9730 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9731 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9733 Likewise.
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9735 Likewise.
9736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9737 Likewise.
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9739 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9740 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9741 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9742 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9743 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9744 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9745 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9746 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9747 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9748 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9749 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9750 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9751 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9752 Likewise.
9753 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9754 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9755 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9756 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9757 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9758 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9759 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9760 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9761 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9762 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9763 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9764 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9765 ikewise.
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9768 Likewise.
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9770 Likewise.
9771 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9772 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9773 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9774 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9775 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9776 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9777 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9778 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9779
78d40132
AZ
9780 [BZ #14092]
9781 * conform/data/threads.h-data (thread_local): New macro.
9782 (TSS_DTOR_ITERATIONS): Likewise.
9783 (tss_t): New type.
9784 (tss_dtor_t): Likewise.
9785 (tss_create): New function.
9786 (tss_get): Likewise.
9787 (tss_set): Likewise.
9788 (tss_delete): Likewise.
9789 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9790 tss_get, and tss_set objects.
9791 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9792 * nptl/tss_create.c: New file.
9793 * nptl/tss_delete.c: Likewise.
9794 * nptl/tss_get.c: Likewise.
9795 * nptl/tss_set.c: Likewise.
9796 * sysdeps/nptl/threads.h (thread_local): New define.
9797 (TSS_DTOR_ITERATIONS): Likewise.
9798 (tss_t): New typedef.
9799 (tss_dtor_t): Likewise.
9800 (tss_create): New prototype.
9801 (tss_get): Likewise.
9802 (tss_set): Likewise.
9803 (tss_delete): Likewise.
9804
918311a3
AZ
9805 [BZ #14092]
9806 * conform/data/threads.h-data (cnd_t): New type.
9807 (cnd_init): New function.
9808 (cnd_signal): Likewise.
9809 (cnd_broadcast): Likewise.
9810 (cnd_wait): Likewise.
9811 (cnd_timedwait): Likewise.
9812 (cnd_destroy): Likewise.
9813 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9814 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9815 object.
9816 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9817 * nptl/cnd_broadcast.c: New file.
9818 * nptl/cnd_destroy.c: Likewise.
9819 * nptl/cnd_init.c: Likewise.
9820 * nptl/cnd_signal.c: Likewise.
9821 * nptl/cnd_timedwait.c: Likewise.
9822 * nptl/cnd_wait.c: Likewise.
9823 * sysdeps/nptl/threads.h (cnd_t): New type.
9824 (cnd_init): New prototype.
9825 (cnd_signa): Likewise.
9826 (cnd_broadcast): Likewise.
9827 (cnd_wait): Likewise.
9828 (cnd_timedwait): Likewise.
9829 (cnd_destroy): Likewise.
9830
3c20a679
AZ
9831 [BZ #14092]
9832 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9833 (once_flag): New type.
9834 (call_once): New function.
9835 * nptl/Makefile (libpthread-routines): Add call_once object.
9836 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9837 * nptl/call_once.c: New file.
9838 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9839 (once_flag): New type.
9840 (call_once): New prototype.
9841
18d59c1b
AZ
9842 [BZ #14092]
9843 * conform/data/threads.h-data (mtx_plain): New constant.
9844 (mtx_recursive): Likewise.
9845 (mtx_timed): Likewise.
9846 (mtx_t): New type.
9847 (mtx_init): New function.
9848 (mtx_lock): Likewise.
9849 (mtx_timedlock): Likewise.
9850 (mtx_trylock): Likewise.
9851 (mtx_unlock): Likewise.
9852 (mtx_destroy): Likewise.
9853 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9854 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9855 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9856 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9857 * nptl/mtx_destroy.c: New file.
9858 * nptl/mtx_init.c: Likewise.
9859 * nptl/mtx_lock.c: Likewise.
9860 * nptl/mtx_timedlock.c: Likewise.
9861 * nptl/mtx_trylock.c: Likewise.
9862 * nptl/mtx_unlock.c: Likewise.
9863 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9864 (mtx_recursive): Likewise.
9865 (mtx_timed): Likewise.
9866 (mtx_t): New type.
9867 (mtx_init): New prototype.
9868 (mtx_lock): Likewise.
9869 (mtx_timedlock): Likewise.
9870 (mtx_trylock): Likewise.
9871 (mtx_unlock): Likewise.
9872 (mtx_destroy): Likewise.
9873
ce7528f6
AZ
9874 [BZ #14092]
9875 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9876 (linknamespace-libs-ISO11): Add libpthread.a.
9877 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9878 functions.
9879 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9880 * nptl/Makefile (headers): Add threads.h.
9881 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9882 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9883 thrd_yield.
9884 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9885 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9886 thrd_join, thrd_sleep, and thrd_yield symbols.
9887 * nptl/descr.h (struct pthread): Add c11 field.
9888 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9889 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9890 routine with expected function prototype.
9891 (__pthread_create_2_1): Add C11 threads check based on attribute
9892 value.
9893 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9894 * nptl/thrd_create.c: New file.
9895 * nptl/thrd_current.c: Likewise.
9896 * nptl/thrd_detach.c: Likewise.
9897 * nptl/thrd_equal.c: Likewise.
9898 * nptl/thrd_exit.c: Likewise.
9899 * nptl/thrd_join.c: Likewise.
9900 * nptl/thrd_priv.h: Likewise.
9901 * nptl/thrd_sleep.c: Likewise.
9902 * nptl/thrd_yield.c: Likewise.
9903 * include/threads.h: Likewise.
9904
e27f41ba
L
99052018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9906
9907 * bits/indirect-return.h: New file.
9908 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9909 * sysdeps/x86/bits/indirect-return.h: Likewise.
9910 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9911 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9912 (swapcontext): Add __INDIRECT_RETURN.
9913 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9914 (prepare_test_buffer): Use it.
9915
21526a50
AS
99162018-07-24 Andreas Schwab <schwab@suse.de>
9917
9918 [BZ #23448]
9919 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9920 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9921
3650e1d9
L
99222018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9923
9924 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9925 Redefine if shadow stack is enabled.
9926 (SYSCALL_ERROR_LABEL): Likewise.
9927 (__vfork): Pop shadow stack and jump back to to caller directly
9928 when shadow stack is in use.
9929 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9930 Redefine if shadow stack is enabled.
9931 (SYSCALL_ERROR_LABEL): Likewise.
9932 (__vfork): Pop shadow stack and jump back to to caller directly
9933 when shadow stack is in use.
9934
ca027e0f
L
99352018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9936
9937 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9938 enabled.
9939 (foo): Likewise.
9940 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9941 (foo): Likewise.
9942
b99f1c95
JM
99432018-07-20 Joseph Myers <joseph@codesourcery.com>
9944
9945 * scripts/build-many-glibcs.py (Context.checkout): Default
9946 binutils version to 2.31 branch.
9947
c8fabb84
ZL
99482018-07-20 Zong Li <zong@andestech.com>
9949
9950 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9951 URL of gcc's tarball.
9952
786658a0
FW
99532018-07-20 Florian Weimer <fweimer@redhat.com>
9954
9955 [BZ #23396]
9956 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9957 not compare an extra byte after the end of the weights.
9958
46f2474e
ST
99592018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9960
9961 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9962 to 1.
8ba1520e
ST
9963 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9964 hidden prototypes.
9965 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9966 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
9967 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9968 list of libraries whose stack executability is expected.
9969 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9970 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9971 variable.
9972 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9973 libc.so libpthread.so.
46f2474e 9974
60088242
TS
99752018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9976
9977 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9978 SOCK_NONBLOCK.
75d5e4a0
TS
9979 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9980 and SOCK_NONBLOCK.
de195be0
TS
9981 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9982 implement __pipe2.
9983 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 9984
1cf4ae7f
LS
99852018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9986
9987 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9988 library to improve command line parsing.
9989 (__main__): make schema file as optional parameter (--schema),
9990 defaulting to benchtests/scripts/benchout.schema.json.
9991 (main): move out of the parsing stuff to __main_  and leave it
9992 only as caller of main comparison functions.
9993
e84bd851
L
99942018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9995
9996 * NEWS: Add a note for Intel CET status.
9997 * manual/install.texi: Likewise.
9998 * INSTALL: Regenerated.
9999
df467d22
QP
100002018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10001
10002 [BZ #23140]
10003 * localedata/locales/oc_FR (mon): Rename to...
10004 (alt_mon): This, then update October (typo fix).
10005 (mon): New content (genitive case, month names preceded by
10006 "de" or "d’").
10007
10008 [BZ #23422]
10009 * localedata/locales/oc_FR (abday): Update all items.
10010 (day): Update Wednesday and Saturday (typo fixes).
10011 (abmon): Update all items, except May.
10012 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10013 (LC_IDENTIFICATION): Bump the revision number and date.
10014 Keep the "category" entries in alphabetic order.
10015 (LC_ADDRESS): Remove no longer needed comment.
10016 (LC_COLLATE): Use “copy "ca_ES"”.
10017 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10018 "name_mrs".
10019
5c112f1b
JM
100202018-07-18 Joseph Myers <joseph@codesourcery.com>
10021
10022 * grp/tst_fgetgrent.c: Include <unistd.h>.
10023 (main): Use mkstemp instead of tmpnam.
10024 * io/test-utime.c (main): Likewise.
10025 * posix/annexc.c (macrofile): Change to modifiable array.
10026 (main): Remove macrofile here.
10027 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10028 macrofile here.
10029 (check_header): Do not remove macrofile here.
10030 * posix/bug-getopt1.c: Include <stdlib.h>.
10031 (do_test): Use mkstemp instead of tmpnam.
10032 * posix/bug-getopt2.c: Include <stdlib.h>.
10033 (do_test): Use mkstemp instead of tmpnam.
10034 * posix/bug-getopt3.c: Include <stdlib.h>.
10035 (do_test): Use mkstemp instead of tmpnam.
10036 * posix/bug-getopt4.c: Include <stdlib.h>.
10037 (do_test): Use mkstemp instead of tmpnam.
10038 * posix/bug-getopt5.c: Include <stdlib.h>.
10039 (do_test): Use mkstemp instead of tmpnam.
10040 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10041 (main): Use mkstemp instead of tmpnam.
10042 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10043 (main): Use mkstemp instead of tmpnam.
10044 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10045 (main): use mkstemp instead of tmpnam.
10046 * stdlib/isomac.c (macrofile): Change to modifiable array.
10047 (main): Remove macrofile here.
10048 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10049 macrofile here.
10050 (check_header): Do not remove macrofile here.
10051
6d90776d
L
100522018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10053
10054 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10055 glibc.tune.x86_shstk.
10056
e6c69509
L
100572018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10058
10059 * NEWS: Mention --enable-cet.
10060 * manual/install.texi: Document --enable-cet.
10061 * INSTALL: Regenerated.
10062
e2d40a88
L
100632018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10064
10065 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10066 Add _CET_NOTRACK before indirect jump to jump table.
10067
77a8ae09
L
100682018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10069
10070 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10071 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10072 to jump table.
10073
90d15dc5
L
100742018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10075
10076 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10077 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10078 to jump table.
10079
f1574581
L
100802018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10081
10082 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10083 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10084 to jump table.
10085
7fb61336
L
100862018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10087
10088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10089 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10090 to jump table.
10091
0a899af0
L
100922018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10093
10094 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10095 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10096 to jump table.
10097 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10098
177824e2
L
100992018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10100
10101 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10102 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10103 to jump table.
10104
00e7b76a
L
101052018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10106
10107 * sysdeps/i386/i686/multiarch/memset-sse2.S
10108 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10109 to jump table.
10110
7e119cd5
L
101112018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10112
10113 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10114 indirect jump to jump table.
10115
03aaf49b
L
101162018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10117
10118 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10119 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10120 to jump table.
10121 (MEMCPY): Likewise.
10122
811e9e52
L
101232018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10124
10125 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10126 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10127 to jump table.
10128 (MEMCPY): Likewise.
10129
8817df42
L
101302018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10131
10132 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10133 _CET_NOTRACK before indirect jump to jump table.
10134
921595d1
L
101352018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10136
10137 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10138 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10139 to jump table.
10140
4ef60d95
L
101412018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10142
10143 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10144 indirect jump to jump table.
10145
61c4aad7
VT
101462018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10147
10148 [BZ #22241]
10149 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10150 (LOCALES): Likewise.
10151 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10152 * localedata/locales/sah_RU: New file.
10153 * localedata/sah_RU.UTF-8.in: New file.
10154
be9ccd27
L
101552018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10156
10157 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10158 "sysdep.h".
10159 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10160 _CET_ENDBR to indirect jump targets and adjust jump destination
10161 for _CET_ENDBR.
10162 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10163 "sysdep.h".
10164 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10165 _CET_ENDBR to indirect jump targets and adjust jump destination
10166 for _CET_ENDBR.
10167 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10168 "sysdep.h".
10169 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10170 _CET_ENDBR to indirect jump targets and adjust jump destination
10171 for _CET_ENDBR.
10172
5efc6777
L
101732018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10174
10175 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10176 _CET_ENDBR.
10177
562837c0
L
101782018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10179
10180 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10181 _CET_ENDBR.
10182 (_dl_tlsdesc_undefweak): Likewise.
10183 (_dl_tlsdesc_dynamic): Likewise.
10184 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10185 (_dl_tlsdesc_resolve_rel): Likewise.
10186 (_dl_tlsdesc_resolve_rela): Likewise.
10187 (_dl_tlsdesc_resolve_hold): Likewise.
10188 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10189 (_dl_tlsdesc_undefweak): Likewise.
10190 (_dl_tlsdesc_dynamic): Likewise.
10191 (_dl_tlsdesc_resolve_rela): Likewise.
10192 (_dl_tlsdesc_resolve_hold): Likewise.
10193
124bcde6
L
101942018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10195
10196 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10197 (_fini): Likewise.
10198 * sysdeps/x86_64/crti.S (_init): Likewise.
10199 (_fini): Likewise.
10200
9145f033
RL
102012018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10202
10203 [BZ #23140]
10204 * localedata/locales/os_RU (mon): Rename to...
10205 (alt_mon): This.
10206 (mon): Import from CLDR (genitive case).
10207
ba2ea23d
L
102082018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10209
10210 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10211 cet-tunables.h> when CET is enabled.
10212
f753fa7d
L
102132018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10214
10215 [BZ #21598]
10216 * configure.ac: Add --enable-cet.
10217 * configure: Regenerated.
10218 * elf/Makefille (all-built-dso): Add a comment.
10219 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10220 Include <dl-prop.h>.
10221 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10222 segment.
10223 * elf/dl-open.c: Include <dl-prop.h>.
10224 (dl_open_worker): Call _dl_open_check.
10225 * elf/rtld.c: Include <dl-prop.h>.
10226 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10227 _rtld_main_check.
10228 * sysdeps/generic/dl-prop.h: New file.
10229 * sysdeps/i386/dl-cet.c: Likewise.
10230 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10231 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10232 * sysdeps/x86/cet-tunables.h: Likewise.
10233 * sysdeps/x86/check-cet.awk: Likewise.
10234 * sysdeps/x86/configure: Likewise.
10235 * sysdeps/x86/configure.ac: Likewise.
10236 * sysdeps/x86/dl-cet.c: Likewise.
10237 * sysdeps/x86/dl-procruntime.c: Likewise.
10238 * sysdeps/x86/dl-prop.h: Likewise.
10239 * sysdeps/x86/libc-start.h: Likewise.
10240 * sysdeps/x86/link_map.h: Likewise.
10241 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10242 _CET_ENDBR.
10243 (_dl_runtime_profile): Likewise.
10244 (_dl_runtime_resolve_shstk): New.
10245 (_dl_runtime_profile_shstk): Likewise.
10246 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10247 if CET is enabled.
10248 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10249 (CFLAGS-.os): Likewise.
10250 (CFLAGS-.op): Likewise.
10251 (CFLAGS-.oS): Likewise.
10252 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10253 is enabled.
10254 (tests-special): Add $(objpfx)check-cet.out.
10255 (cet-built-dso): New.
10256 (+$(cet-built-dso:=.note)): Likewise.
10257 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10258 ($(objpfx)check-cet.out): New.
10259 (generated): Add check-cet.out.
10260 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10261 <cet-tunables.h>.
10262 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10263 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10264 (init_cpu_features): Call get_cet_status to check CET status
10265 and update dl_x86_feature_1 with CET status. Call
10266 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10267 (set_x86_shstk). Disable and lock CET in libc.a.
10268 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10269 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10270 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10271 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10272 (_CET_ENDBR): Define if not defined.
10273 (ENTRY): Add _CET_ENDBR.
10274 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10275 x86_shstk.
10276 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10277 _CET_ENDBR.
10278 (_dl_runtime_profile): Likewise.
10279
52b2a80f
RA
102802018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10281
10282 [BZ #21895]
10283 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10284 restore r2 on longjmp.
10285 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10286 test list.
10287 Added rules to build test tst-setjmp-bug21895-static.
10288 Added module setjmp-bug21895 and rules to build a shared object from it.
10289 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10290 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10291
3ae725df
WD
102922018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10293
10294 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10295 * benchtests/bench-strstr.c: Likewise.
10296 * string/memmem.c (FASTSEARCH): Define.
10297 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10298 Add support for FASTSEARCH.
10299 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10300 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10301 (FASTSEARCH): Define.
10302 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10303 * string/test-strstr.c: Likewise.
10304
31e422ca
L
103052018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10306
10307 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10308 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10309
faaee1f0
L
103102018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10311 H.J. Lu <hongjiu.lu@intel.com>
10312
10313 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10314 (__longjmp): Restore shadow stack pointer if shadow stack is
10315 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10316 isn't defined for __longjmp_cancel.
10317 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10318 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10319 and SHADOW_STACK_POINTER_OFFSET is defined.
10320 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10321 (setjmp): Save shadow stack pointer if shadow stack is enabled
10322 and SHADOW_STACK_POINTER_OFFSET is defined.
10323 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10324 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10325 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10326 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10327 <jmp_buf-ssp.h>.
10328 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10329 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10330 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10331 Remove jmp_buf-ssp.sym.
10332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10333 <jmp_buf-ssp.h>.
10334 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10335 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10336 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10337 jmp_buf-ssp.sym.
10338 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10339 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10340 (__longjmp): Restore shadow stack pointer if shadow stack is
10341 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10342 isn't defined for __longjmp_cancel.
10343 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10344 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10345 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10346
ebff9c5c
L
103472018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10348
10349 [BZ #22563]
10350 * nptl/pthread_create.c: Include <tls-setup.h>.
10351 (__pthread_create_2_1): Call tls_setup_tcbhead.
10352 * sysdeps/generic/tls-setup.h: New file.
10353 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10354 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10355 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10356 Likewise.
10357 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10358 to feature_1.
10359 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10360 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10361 (X86_FEATURE_1_SHSTK): Likewise.
10362 (CET_ENABLED): Likewise.
10363 (IBT_ENABLED): Likewise.
10364 (SHSTK_ENABLED): Likewise.
10365
0a83bad2
RL
103662018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10367
10368 [BZ #23208]
10369 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10370 (LOCALES): Likewise.
10371 * localedata/dsb_DE.UTF-8.in: New file.
10372 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10373
046bfed9
FW
103742018-07-12 Florian Weimer <fweimer@redhat.com>
10375
10376 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10377 __mprotect, not mprotect.
10378
93304f5f
FW
103792018-07-11 Florian Weimer <fweimer@redhat.com>
10380
10381 * io/Makefile (headers): Add bits/statx.h.
10382
4beefeeb
MF
103832018-07-10 Mike FABIAN <mfabian@redhat.com>
10384
10385 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10386 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10387 and headers.
10388 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10389 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10390 for utf8_gen.py
10391
fd70af45
FW
103922018-07-10 Florian Weimer <fweimer@redhat.com>
10393
10394 * io/Makefile (routines): Add statx.
10395 (tests-internal): Add tst-statx.
10396 * io/Versions (GLIBC_2.28): Export statx.
10397 * io/bits/statx.h: New file.
10398 * io/sys/stat.h [__USE_GNU]: Include it.
10399 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10400 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10401 Define.
10402 * io/statx.c: New file.
10403 * io/statx_generic.: Likewise.
10404 * io/tst-statx.: Likewise.
10405 * include/bits/statx.h: Likewise.
10406 * sysdeps/unix/sysv/linux/kernel-features.h
10407 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10408 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10409 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10410 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10411 Undefine.
10412 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10413 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10414 * sysdeps/unix/sysv/linux/statx.c: New file.
10415 * manual/filesys.texi: Note that statx is undocumented.
10416 * sysdeps/**/libc*.abilist: Update.
10417
b444e8f7
AZ
104182018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10419
10420 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10421 a kernel issue which lead to test failure in some cases.
10422
7b2f4ced
FW
104232018-07-10 Florian Weimer <fweimer@redhat.com>
10424
10425 [BZ #23036]
10426 * posix/regexec.c (check_node_accept_bytes): When comparing
10427 weights, do not compare an extra byte after the end of the
10428 weights.
10429
4fa34da6
FW
104302018-07-10 Florian Weimer <fweimer@redhat.com>
10431
10432 * libio/readline.c: Fix copyright year.
10433 * libio/tst-readline.c Likewise.
10434 * nss/tst-nss-files-hosts-getent.c: Likewise.
10435
916124ed
FW
104362018-07-06 Florian Weimer <fweimer@redhat.com>
10437
10438 [BZ #18991]
10439 * nss/nss_files/files-XXX.c (internal_getent): Use
10440 __libc_readline_unlocked. Seek back to the start of the line if
10441 parsing failes with ERANGE.
10442 (get_contents_ret, get_contents): Remove.
10443 * nss/tst-nss-files-hosts-getent.c: New file.
10444 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10445 (tst-nss-files-hosts-getent): Link with -ldl.
10446
3f5e3f5d
FW
104472018-07-06 Florian Weimer <fweimer@redhat.com>
10448
10449 * include/stdio.h (__libc_readline_unlocked): Declare.
10450 (__ftello64, __fseeko64): Declare aliases.
10451 * libio/readline.c: New file.
10452 * libio/tst-readline.c: Likewise.
10453 (routines): Add readline.
10454 (tests-internal): Add tst-readlime.
10455 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10456 __libc_readline_unlocked.
10457 * libio/fseeko.c (__fseeko): Rename from fseeko.
10458 (fseeko): Add alias.
10459 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10460 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10461 (fseeko64): Add alias.
10462 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10463 * libio/ftello64.c (__ftello64): Rename from ftello64.
10464 (ftello64): Add alias.
10465
397c54c1
SN
104662018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10467
10468 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10469 HWCAP_ATOMICS.
10470
d0cd7980
SN
104712018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10472
10473 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10474 Use dl_hwcap without masking.
10475 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10476 Remove HWCAP_CPUID.
10477
ddb3c626
FW
104782018-07-06 Florian Weimer <fweimer@redhat.com>
10479
10480 * conform/conformtest.pl (checknamespace): Escape literal braces
10481 in regular expressions.
10482
bce5911b
AP
104832018-07-06 Amit Pawar <amit.pawar@amd.com>
10484
10485 * sysdeps/x86/cpu-features.c (get_common_indeces):
10486 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10487 * sysdeps/x86/cpu-features.c (init_cpu_features):
10488 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10489
3a885c1f
FW
104902018-07-05 Florian Weimer <fweimer@redhat.com>
10491
10492 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10493 protector.
10494 (CFLAGS-elf-init.oS): Likewise.
10495
38cade0c
FW
104962018-07-05 Florian Weimer <fweimer@redhat.com>
10497 Carlos O'Donell <carlos@redhat.com>
10498
10499 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10500 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10501 with stack protector enabled because there is no risk of infinite
10502 recursion.
10503
9449a295
MR
105042018-07-05 Maciej W. Rozycki <macro@mips.com>
10505
10506 [BZ #19818]
10507 [BZ #23307]
10508 * libc-abis (ABSOLUTE): New ABI.
10509 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10510 * NEWS: Mention the new ABI.
10511
d6da5cb6
FW
105122018-07-05 Florian Weimer <fweimer@redhat.com>
10513
10514 [BZ # 17662]
10515 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10516 (RENAME_WHITEOUT): Define.
10517 [__USE_GNU] (renameat2): Declare.
10518 * stdio-common/Makefile (routines): Add renameat2.
10519 (tests): Add tst-renameat2.
10520 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10521 * stdio-common/renameat2.c: New file.
10522 * stdio-common/tst-renameat2.c: Likewise.
10523 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10524 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10525 undocumented.
10526 * sysdeps/unix/sysv/linux/kernel-features.h
10527 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10528 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10529 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10530 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10531 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10532 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10533 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10534 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10535 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10536 * include/stdio.h (__renameat): Add alias for renameat.
10537 * stdio-common/renameat.c (__renameat): Rename from renameat.
10538 Add hidden definition and alias.
10539 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10540 * sysdeps/mach/hurd/renameat.c: Likewise.
10541 * sysdeps/**/libc*.abilist: Add renameat2.
10542
1002d708
AZ
105432018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10544
10545 * posix/bug-regex33.c: Fix build after regex sync.
10546
34fdb893
CD
105472018-07-04 Carlos O'Donell <carlos@redhat.com>
10548
10549 [BZ #23164]
10550 * localedata/tst-langinfo-setlocale.c: New file.
10551 * localedata/tst-langinfo-setlocale-static.c: New file.
10552 * localedata/tst-langinfo-newlocale.c: New file.
10553 * localedata/tst-langinfo-newlocale-static.c: New file.
10554 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10555 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10556 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10557 (tests-static): Remove tst-langinfo-static. Add
10558 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10559 (tests-special): Remove $(objpfx)tst-langinfo.out,
10560 $(objpfx)tst-langinfo-static.out. Add
10561 $(objpfx)tst-langinfo-setlocale.out,
10562 $(objpfx)tst-langinfo-newlocale.out,
10563 $(objpfx)tst-langinfo-setlocale-static.out,
10564 $(objpfx)tst-langinfo-newlocale-static.out.
10565 ($(objpfx)tst-langinfo.out): Remove.
10566 ($(objpfx)tst-langinfo-static.out): Remove.
10567 ($(objpfx)tst-langinfo-newlocale.out): New target.
10568 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10569 (test-xfail-tst-langinfo-newlocale-static): Add.
10570 ($(objpfx)tst-langinfo-setlocale.out): New target.
10571 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10572 * localedata/tst-langinfo.c: Call test_locale.
10573 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10574 data.
10575
f2873d2d
FW
105762018-07-04 Florian Weimer <fweimer@redhat.com>
10577
10578 testrun.sh: Implement --tool=strace, --tool=valgrind
10579 * Makefile (testrun-script): Define variable.
10580 (testrun.sh): Use variable.
10581 * manual/install.texi (Tools for Compilation): make 4.0 or later
10582 is required.
10583 * configure.ac: Check for make 4.0 or later.
10584 * INSTALL: Regenerate.
10585 * configure: Likewise.
10586
eb04c213
AZ
105872018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10588
10589 [BZ #23233]
10590 [BZ #21163]
10591 [BZ #18986]
10592 [BZ #13762]
10593 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10594 * posix/PCRE.tests: Remove invalid test.
10595 * posix/bug-regex28.c: Fix expected values for used syntax.
10596 * posix/bug-regex37.c: New file.
10597 * posix/bug-regex38.c: Likewise.
10598 * posix/regcomp.c: Sync with gnulib.
10599 * posix/regex.c: Likewise.
10600 * posix/regex.h: Likewise.
10601 * posix/regex_internal.c: Likewise.
10602 * posix/regex_internal.h: Likewise.
10603 * posix/regexec.c: Likewise.
10604
b11643c2
MF
106052018-06-26 Mike FABIAN <mfabian@redhat.com>
10606
10607 [BZ #23308]
10608 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10609 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10610 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10611 * localedata/unicode-gen/PropList.txt: likewise.
10612 * localedata/unicode-gen/UnicodeData.txt: likewise.
10613 * localedata/charmaps/UTF-8: Regenerate.
10614 * localedata/locales/i18n_ctype: likewise.
10615 * localedata/locales/tr_TR: likewise.
10616 * localedata/locales/translit_circle: likewise.
10617 * localedata/locales/translit_cjk_compat: likewise.
10618 * localedata/locales/translit_combining: likewise.
10619 * localedata/locales/translit_compat: likewise.
10620 * localedata/locales/translit_font: likewise.
10621 * localedata/locales/translit_fraction: likewise.
10622
5a357506
FW
106232018-07-03 Florian Weimer <fweimer@redhat.com>
10624
10625 [BZ #23363]
10626 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10627 * stdio-common/tst-printf.sh: Adjust expected output.
10628 * LICENSES: Update.
10629
7279af00
AZ
106302018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10631
10632 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10633 symbol.
10634
b7b88cea
GG
106352018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10636
10637 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10638 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10639 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10640 * stdio-common/tst-printfsz-islongdouble.c: New file.
10641 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10642 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10643 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10644 [subdir == stdio-common] (tests-internal): Add
10645 test-printf-size-ieee128, and test-printf-size-ibm128.
10646 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10647 (CFLAGS-test-printf-size-ibm128.c): New variables.
10648 [subdir == stdio-common] (tests-special): Add
10649 $(objpfx)test-printf-size-ieee128.out and
10650 $(objpfx)test-printf-size-ibm128.out.
10651 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10652 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10653 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10654 __printf_sizeieee128.
10655 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10656 New file.
10657 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10658 Likewise.
10659 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10660 Likewise.
10661
2b445206
SN
106622018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10663
10664 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10665 (exp2f_inline): Likewise.
10666 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10667 (__math_uflowf): Likewise.
10668 (__math_may_uflowf): Likewise.
10669 (__math_divzerof): Likewise.
10670 (__math_invalidf): Likewise.
10671 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10672 (__math_oflowf): Likewise.
10673 (__math_uflowf): Likewise.
10674 (__math_may_uflowf): Likewise.
10675 (__math_divzerof): Likewise.
10676 (__math_invalidf): Likewise.
10677
2827ab99
CD
106782018-06-29 DJ Delorie <dj@redhat.com>
10679 Carlos O'Donell <carlos@redhat.com>
10680
10681 [BZ #23329]
10682 * include/libc-symbols.h: Comment the freeres framework.
10683 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10684 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10685 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10686 * dlfcn/dlerror.c: Include libc-symbols.h
10687 (__dlerror_main_freeres): New function.
10688 * dlfcn/dlfreeres.c: New file.
10689 * dlfcn/sdlfreeres.c: New file.
10690 * include/dlfcn.h: Declare __dlerror_main_freeres.
10691 * malloc/set-freeres.c: Declare __libdl_freeres, and
10692 __libpthread_freeres.
10693 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10694 the releavant libraries are loaded.
10695 * malloc/thread-freeres.c: Add comments.
10696 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10697 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10698 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10699 (__free_stacks): Rename to...
10700 (free_stacks): ...this. Mark static.
10701 (queue_stack): Call free_stacks.
10702 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10703 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10704 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10705 ptr_freeres element from struct.
10706 (pthread_functions): Remove .ptr_freeres from struct initializer.
10707 [SHARED] (nptl_freeres): Remove.
10708 * nptl/nptlfreeres.c: New file.
10709 * nptl/pthreadP.h
10710 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10711 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10712 attribute_hidden.
10713 (__free_stacks): Rename to...
10714 (__nptl_stacks_freeres): ...this.
10715 (__shm_directory_freeres): Declare.
10716 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10717 (__nptl_unwind_freeres): ...this.
10718 * resolv/res-close.c: Add comment.
10719 * resolv/resolv_conf.c: Include libc-symbols.h.
10720 * string/strerror_l.c: Include libc-symbols.h.
10721 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10722 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10723 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10724 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10725
37d3d244
RS
107262018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10727
10728 * stdlib/tst-strfmon_l.c: Add tests for long double.
10729
a1e0c5fa
MW
107302018-06-29 Michael Wolf <milupo@sorbzilla.de>
10731
10732 [BZ #23208]
10733 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10734 * localedata/locales/dsb_DE: New file.
10735
2e0c5de6
RL
107362018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10737
10738 [BZ #23140]
10739 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10740 genitive case).
10741 (alt_mon): New entry, import from CLDR (nominative case).
10742
cdb52c71
SL
107432018-06-29 Sylvain Lesage <severo@rednegra.net>
10744
10745 [BZ #22996]
10746 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10747
ce76a5cb
SP
107482018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10749
0aec4c1d
SP
10750 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10751 Use vector registers.
10752
ce76a5cb
SP
10753 * sysdeps/aarch64/multiarch/memmove_falkor.S
10754 (__memcpy_falkor): Use vector registers.
10755
7e8989d0
MS
107562018-06-29 Martin Sebor <msebor@redhat.com>
10757
10758 * manual/stdio.texi (Customizing Printf): Mention interaction
10759 with GCC built-ins.
10760
bac15a72
MR
107612018-06-29 Maciej W. Rozycki <macro@mips.com>
10762
10763 [BZ #23307]
10764 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10765 `st_value' is 0 if `st_shndx' is SHN_ABS.
10766 * elf/tst-absolute-zero.c: New file.
10767 * elf/tst-absolute-zero-lib.c: New file.
10768 * elf/tst-absolute-zero-lib.lds: New file.
10769 * elf/Makefile (tests): Add `tst-absolute-zero'.
10770 (modules-names): Add `tst-absolute-zero-lib'.
10771 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10772 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10773 ($(objpfx)tst-absolute-zero: New dependency.
10774
e69d994a
ZW
107752018-06-29 Zack Weinberg <zackw@panix.com>
10776
10777 * configure.ac: New command-line option --disable-crypt.
10778 Force --disable-nss-crypt when --disable-crypt is given, with a
10779 warning if it was explicitly enabled.
10780 * configure: Regenerate.
10781 * config.make.in: New boolean substitution variable $(build-crypt).
10782 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10783 when $(build-crypt).
10784 * manual/install.texi: Document --disable-crypt.
10785 * INSTALL: Regenerate.
10786
10787 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10788 which is never set.
10789 * conform/Makefile: Only include libcrypt.a in
10790 linknamespace-libs-xsi and linknamespace-libs-XPG4
10791 when $(build-crypt).
10792 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10793 USE_CRYPT to 1 when $(build-crypt).
10794 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10795 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10796 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10797
841785ba
ZW
107982018-06-29 Zack Weinberg <zackw@panix.com>
10799
10800 * crypt/crypt.h, posix/unistd.h: Update comments and
10801 prototypes for crypt and crypt_r.
10802
10803 * manual/crypt.texi (Cryptographic Functions): New initial
10804 exposition.
10805 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10806 (Unpredictable Bytes): Improve initial exposition. Clarify error
10807 behavior of getentropy and getrandom.
10808 * manual/examples/genpass.c: Generate a salt using getentropy
10809 instead of the current time. Use hash $5$ (SHA-2-256).
10810 * manual/examples/testpass.c: Demonstrate validation against
10811 hashes generated with three different one-way functions.
10812
10813 * manual/intro.texi: crypt.texi does not need an overview
10814 anymore.
10815
10816 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10817 * manual/terminal.texi: Consistently refer to "passphrases"
10818 * instead of "passwords", and to the "user database" instead
10819 * of the "password database".
10820 * manual/users.texi: Similarly. Add notes about how actual
10821 passphrase hashes are now stored in the shadow database.
10822 Remove 20-year-old junk todo note.
10823
6ab902e4
ZW
108242018-06-29 Zack Weinberg <zackw@panix.com>
10825
10826 * manual/crypt.texi: Use a normal top-level @node declaration.
10827 Move most of the introductory text to the 'crypt' section.
10828 Move the example programs below the @deftypefun for 'crypt_r'.
10829 Move the 'getpass' section...
10830 * manual/terminal.texi: ...here.
10831
b10a0acc
ZW
108322018-06-29 Zack Weinberg <zackw@panix.com>
10833 Florian Weimer <fweimer@redhat.com>
10834
10835 * posix/unistd.h: Do not declare encrypt.
10836 (_XOPEN_CRYPT): Remove macro definition.
10837 (crypt): Declare only for _USE_MISC.
10838 * stdlib/stdlib.h: Do not declare setkey.
10839 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10840 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10841
10842 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10843 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10844 into compat symbols. Don't define initial_perm if it's not
10845 going to be used.
10846 * crypt/cert.c: Link explicitly with the expected versions for
10847 setkey and encrypt. If they are not available at all, mark
10848 the test as unsupported.
10849
10850 * sunrpc/des_crypt.c: Unconditionally block linkage with
10851 cbc_crypt and ecb_crypt for new binaries.
10852 * sunrpc/des_soft.c: Unconditionally block linkage with
10853 des_setparity for new binaries.
10854
10855 * manual/crypt.texi: Remove the entire "DES Encryption"
10856 section. Also remove the paragraph talking about FIPS 140-2
10857 from the introduction.
10858 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10859 of libgcrypt for "real" encryption, not DES.
10860 * manual/conf.texi (Constants for Sysconf): Mention that
10861 _XOPEN_CRYPT is no longer impelemented.
10862
10863 * conform/data/unistd.h-data: Remove crypt function declaration.
10864
524d796d
FW
108652018-06-29 Florian Weimer <fweimer@redhat.com>
10866
10867 [BZ #23351]
10868 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10869 (disallow_malloc_check): Remove variable.
10870 (__malloc_check_init): Adjust.
10871 (malloc_set_state): Update comment.
10872 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10873 declarations.
10874
339124ab
RL
108752018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10876
10877 [BZ #23140]
10878 * localedata/locales/ast_ES (mon): Rename to...
10879 (alt_mon): This.
10880 (mon): Import from CLDR (genitive case).
10881
c1f86a33
DA
108822018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10883 Jakub Sitnicki <jkbs@redhat.com>
10884
10885 [BZ #21812]
10886 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10887 on NLM_F_DUMP_INTR.
10888
0b11b649
SN
108892018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10890
10891 * manual/llio.texi: Remove spurious space.
10892
c1c2848b
FW
108932018-06-28 Florian Weimer <fweimer@redhat.com>
10894
10895 [BZ #23349]
10896 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10897 _STRUCT_TIMESPEC.
10898
86a0f561
RS
108992018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10900
10901 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10902 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10903 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10904 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10905 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10906 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10907 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10908
780684eb
MR
109092018-06-27 Maciej W. Rozycki <macro@mips.com>
10910
10911 [BZ #23266]
10912 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10913 Copy and null-terminate entries that are not terminated, in
10914 addition to empty ones.
10915
c49e1822
FW
109162018-06-27 Florian Weimer <fweimer@redhat.com>
10917
10918 [BZ #18023]
10919 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10920 (extend_alloca_account): Remove.
10921 * manual/stdio.texi (Variable Arguments Output): Update comment.
10922
a833e627
JM
109232018-06-27 Joseph Myers <joseph@codesourcery.com>
10924
10925 * nptl/sockperf.c: Remove file.
10926
92d6aa85
FW
109272018-06-27 Florian Weimer <fweimer@redhat.com>
10928
10929 [BZ #18023]
10930 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10931 scratch_buffer instead of extend_alloca.
10932
890c2ced
FW
109332018-06-27 Florian Weimer <fweimer@redhat.com>
10934
10935 [BZ #18023]
10936 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10937 scratch_buffer instead of extend_alloca. Update comments.
10938
4272059d
FW
109392018-06-27 Florian Weimer <fweimer@redhat.com>
10940
10941 [BZ #18023]
10942 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10943 instead of extend_alloca.
10944
27f10a09
JM
109452018-06-26 Joseph Myers <joseph@codesourcery.com>
10946
10947 [BZ #13888]
10948 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10949 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10950 /tmp.
10951 * scripts/test-installation.pl: Put temporary files in build
10952 directory, not /tmp.
10953 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10954 (CFLAGS-bug4.c): Likewise.
10955 (CFLAGS-bug5.c): Likewise.
10956 (CFLAGS-test-fseek.c): Likewise.
10957 (CFLAGS-test-popen.c): Likewise.
10958 (CFLAGS-test_rdwr.c): Likewise.
10959 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10960 /tmp.
10961 * stdio-common/bug4.c (main): Likewise.
10962 * stdio-common/bug5.c (main): Likewise.
10963 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10964 * stdio-common/test-popen.c (do_test): Likewise.
10965 * stdio-common/test_rdwr.c (main): Likewise.
10966
05598a09
PF
109672018-06-26 Patsy Franklin <pfrankli@redhat.com>
10968
10969 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10970 (sem_open): Set sem.newsem.pad to zero for valgrind.
10971
06ab719d
AZ
109722018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10973
10974 [BZ #20251]
10975 * NEWS: Mention fcntl64 addition.
10976 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10977 * login/utmp_file.c: Likewise.
10978 * sysdeps/posix/fdopendir.c: Likewise.
10979 * sysdeps/posix/opendir.c: Likewise.
10980 * sysdeps/unix/pt-fcntl.c: Likewise.
10981 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10982 __fcntl64_nocancel_adjusted): New prototype.
10983 (__fcntl_nocancel_adjusted): Remove prototype.
10984 * io/Makefile (routines): Add fcntl64.
10985 (CFLAGS-fcntl64.c): New rule.
10986 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10987 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10988 * io/fcntl.h (fcntl64): Add prototype and redirect if
10989 __USE_FILE_OFFSET64 is defined.
10990 * io/fcntl64.c: New file.
10991 * manual/llio.text: Add a note for which commands fcntl acts a
10992 cancellation point.
10993 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10994 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10995 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10996 New symbols.
10997 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10998 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10999 non-LFS case.
11000 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11001 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11002 to __fcntl64_nocancel.
11003 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11004 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11005 to __fcntl64_nocancel.
11006 * sysdeps/generic/not-cancel.h: Likewise.
11007 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11008 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11009 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11010 (fcntl64): New symbol.
11011 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11012 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11013 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11016 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11017 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11018 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11019 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11020 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11021 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11022 fcntl64): Likewise.
11023 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11024 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11025 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11026 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11027 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11028 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11029 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11030 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11031 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11033 Likewise.
11034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11035 Likewise.
11036 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11037 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11038 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11039
124e0258
FW
110402018-06-26 Florian Weimer <fweimer@redhat.com>
11041
11042 Run thread shutdown functions in an explicit order.
11043 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11044 definition.
11045 (__libc_thread_freeres): Call thread shutdown functions
11046 explicitly.
11047 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11048 * include/string.h (__strerror_thread_freeres): Declare.
11049 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11050 arena_thread_freeres. No longer static. Remove thread shutdown
11051 hook registration.
11052 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11053 Declare.
11054 * resolv/res-close.c (__res_thread_freeres): Renamed from
11055 res_thread_freeres. No longer static. Remove thread shutdown
11056 hook registration.
11057 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11058 * resolv/resolv_conf.c (freeres): Remove incorrect section
11059 attribute and use libc_freeres_fn.
11060 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11061 strerror_thread_freeres. No longer static. Remove thread
11062 shutdown hook registration.
11063 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11064 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11065 shutdown hook registration.
11066 * Makerules (shlib.lds): Do not provide section boundary symbols
11067 for __libc_thread_subfreeres.
11068 * manual/memory.texi (Basic Allocation): Update comment.
11069
935d920e
FW
110702018-06-26 Florian Weimer <fweimer@redhat.com>
11071
11072 Remove always-defined _RPC_THREAD_SAFE_ macro.
11073 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11074 Do not define _RPC_THREAD_SAFE_.
11075 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11076 conditional.
11077 * sunrpc/clnt_perr.c: Likewise.
11078 * sunrpc/clnt_raw.c: Likewise.
11079 * sunrpc/clnt_simp.c: Likewise.
11080 * sunrpc/key_call.c: Likewise.
11081 * sunrpc/rpc_common.c: Likewise.
11082 * sunrpc/rpc_main.c: Likewise.
11083 * sunrpc/rpc_thread.c: Likewise.
11084 * sunrpc/svc.c: Likewise.
11085 * sunrpc/svc_raw.c: Likewise.
11086 * sunrpc/svc_simple.c: Likewise.
11087 * sumrpc/svcauth_des.c: Likewise.
11088
29055464
FW
110892018-06-26 Florian Weimer <fweimer@redhat.com>
11090
11091 * libio/Makefile (tests-internal): Add tst-vtables,
11092 tst-vtables-interposed.
11093 * libio/tst-vtables.c: New file.
11094 * libio/tst-vtables-common.c: Likewise.
11095 * libio/tst-vtables-interposed.c: Likewise.
11096
5c0202af
FW
110972018-06-26 Florian Weimer <fweimer@redhat.com>
11098
11099 * support/support_test_main.c (support_test_main): Only call
11100 setvbuf if not disables.
11101 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11102 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11103
c402355d
FW
111042018-06-26 Florian Weimer <fweimer@redhat.com>
11105
11106 [BZ #23313]
11107 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11108
43b1048a
FW
111092018-06-25 Florian Weimer <fweimer@redhat.com>
11110
11111 [BZ #18023]
11112 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11113 Use struct scratch_buffer instead of extend_alloca.
11114
1599ed4e
FW
111152018-06-25 Florian Weimer <fweimer@redhat.com>
11116
11117 [BZ #18023]
11118 * nss/getent.c (initgroups_keys): Use dynarray instead of
11119 extend_alloca.
11120
a26fe163
FW
111212018-06-25 Florian Weimer <fweimer@redhat.com>
11122
11123 [BZ #18023]
11124 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11125 Use struct scratch_buffer instead of extend_alloca.
11126
90d9d9ce
FW
111272018-06-25 Florian Weimer <fweimer@redhat.com>
11128
11129 [BZ #18023]
11130 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11131 back to malloc directly, without stack allocations.
11132
6b7b2aba
FW
111332018-06-25 Florian Weimer <fweimer@redhat.com>
11134
11135 [BZ #18023]
11136 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11137 of extend_alloca.
11138
2f9f0d18
FW
111392018-06-25 Florian Weimer <fweimer@redhat.com>
11140
11141 [BZ #18023]
11142 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11143 of extend_alloca.
11144 * nscd/hstcache.c (addhstbyX): Likewise.
11145 * nscd/pwdcache.c (addpwbyX): Likewise.
11146 * nscd/servicescache.c (addservbyX): Likewise.
11147
318bad78
FW
111482018-06-25 Florian Weimer <fweimer@redhat.com>
11149
11150 [BZ #18023]
11151 * nscd/connections.c (read_cmdline): New function.
11152 (restart): Use it. Update comment.
11153
189699ab
RL
111542018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11155
11156 [BZ #23140]
11157 * localedata/locales/csb_PL (mon): Rename to...
11158 (alt_mon): This.
11159 (abmon): Rename to...
11160 (ab_alt_mon): This.
11161 (mon): Add with proper genitive forms, copy from Wikipedia.
11162 (abmon): Likewise.
11163
0ea3f13c
RL
111642018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11165
11166 [BZ #19485]
11167 * localedata/locales/csb_PL (mon): Fix typos:
11168 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11169 (yesstr): Add, value is "jo".
11170 (nostr): Add, value is "nié".
11171
d93f4ff1
TMQMF
111722018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11173
11174 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11175 all log1p and significand functions on m680x0.
11176 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11177 of s_significand.c..
11178 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11179 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11180 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11181 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11182 s_log1p.c and include it..
11183
f6299d2a
VC
111842018-06-21 Vincent Chen <vincentc@andestech.com>
11185
11186 * elf/elf.h (R_NDS32_NONE): New define.
11187 (R_NDS32_32_RELA): Likewise.
11188 (R_NDS32_COPY): Likewise.
11189 (R_NDS32_GLOB_DAT): Likewise.
11190 (R_NDS32_JUMP_SLOT): Likewise.
11191 (R_NDS32_RELATIVE): Likewise.
11192 (R_NDS32_TLS_TPOFF): Likewise.
11193 (R_NDS32_TLS_DESC): Likewise.
11194
61ab61c2
MW
111952018-06-21 Mark Wielaard <mark@klomp.org>
11196
11197 * elf/elf.h (R_BPF_MAP_FD): Removed.
11198 (R_BPF_64_64, R_BPF_64_32): New.
11199
f496b28e
FW
112002018-06-21 Florian Weimer <fweimer@redhat.com>
11201
11202 [BZ #23253]
11203 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11204 Renamed from libc_feholdsetround_ctx.
11205 (default_libc_feresetround_ctx): Renamed from
11206 libc_feresetround_ctx.
11207 (default_libc_feholdsetround_noex_ctx): Renamed from
11208 libc_feholdsetround_noex_ctx.
11209 (default_libc_feresetround_noex_ctx): Renamed from
11210 libc_feresetround_noex_ctx.
11211 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11212 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11213 forwardning to the old implementations under the new names.
11214 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11215 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11216 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11217 (libc_feresetround_ctx): Forward to default implements for i386
11218 and MATH_SET_BOTH_ROUNDING_MODES.
11219 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11220 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11221
1760daad
JM
112222018-06-20 Joseph Myers <joseph@codesourcery.com>
11223
99c7adf9
JM
11224 * string/tst-cmp.c: Include <libc-diag.h>.
11225 (strncmp_max): Disable -Wstringop-overflow= around call to
11226 strncmp.
11227 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11228 strncasecmp.
11229
1760daad
JM
11230 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11231 (main): Disable -Wunused-value around call to strpbrk.
11232 * string/bug-strspn1.c: Include <libc-diag.h>.
11233 (main): Disable -Wunused-value around call to strspn.
11234
209ae17c
TMQMF
112352018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11236 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11237
11238 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11239 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11240
badba23c
TMQMF
112412018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11242
5e79e029
TMQMF
11243 * math/Makefile (libm-calls): Move s_significandF to...
11244 (gen-libm-calls): ... here.
11245 * math/s_significand_template.c: New file.
11246 * math/s_significand.c: Removed.
11247 * math/s_significandf.c: Removed.
11248 * math/s_significandl.c: Removed.
11249 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11250 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11251
badba23c
TMQMF
11252 * math/e_exp2_template.c (declare_mgen_finite_alias,
11253 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11254 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11255 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11256
2d1c89a5
FW
112572018-06-20 Florian Weimer <fweimer@redhat.com>
11258
11259 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11260
646c2833
JM
112612018-06-19 Joseph Myers <joseph@codesourcery.com>
11262
11263 [BZ #23280]
11264 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11265 floating-point number to strtod functions rather than possibly
11266 negating result of those functions.
11267 * stdio-common/tst-scanf-round.c: New file.
11268 * stdio-common/Makefile (tests): Add tst-scanf-round.
11269 ($(objpfx)tst-scanf-round): Depend on $(libm).
11270
c77e4dc0
ST
112712018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11272
11273 * sysdeps/mach/hurd/localplt.data: Move to...
11274 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11275 R_386_GLOB_DAT like on Linux i386.
11276
91b2f3e5
JM
112772018-06-18 Joseph Myers <joseph@codesourcery.com>
11278
f2857da7
JM
11279 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11280 (SHM_STAT_ANY): New macro.
11281 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11282 (SHM_STAT_ANY): Likewise.
11283 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11284 (SHM_STAT_ANY): Likewise.
11285 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11286 (SHM_STAT_ANY): Likewise.
11287 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11288 (SHM_STAT_ANY): Likewise.
11289 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11290 (SHM_STAT_ANY): Likewise.
11291 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11292 (SHM_STAT_ANY): Likewise.
11293 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11294 (SHM_STAT_ANY): Likewise.
11295 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11296 (SHM_STAT_ANY): Likewise.
11297 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11298 (SHM_STAT_ANY): Likewise.
11299 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11300 (SHM_STAT_ANY): Likewise.
11301 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11302 (SHM_STAT_ANY): Likewise.
11303
176c7fee
JM
11304 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11305 (SEM_STAT_ANY): New macro.
11306 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11307 (SEM_STAT_ANY): Likewise.
11308 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11309 (SEM_STAT_ANY): Likewise.
11310 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11311 (SEM_STAT_ANY): Likewise.
11312 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11313 (SEM_STAT_ANY): Likewise.
11314 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11315 (SEM_STAT_ANY): Likewise.
11316 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11317 (SEM_STAT_ANY): Likewise.
11318 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11319 (SEM_STAT_ANY): Likewise.
11320 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11321 (SEM_STAT_ANY): Likewise.
11322 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11323 (SEM_STAT_ANY): Likewise.
11324
86bf0019
JM
11325 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11326 (MSG_STAT_ANY): New macro.
11327 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11328 (MSG_STAT_ANY): Likewise.
11329 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11330 (MSG_STAT_ANY): Likewise.
11331 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11332 (MSG_STAT_ANY): Likewise.
11333 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11334 (MSG_STAT_ANY): Likewise.
11335 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11336 (MSG_STAT_ANY): Likewise.
11337 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11338 (MSG_STAT_ANY): Likewise.
11339 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11340 (MSG_STAT_ANY): Likewise.
11341 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11342 (MSG_STAT_ANY): Likewise.
11343 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11344 (MSG_STAT_ANY): Likewise.
11345
91b2f3e5
JM
11346 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11347 (MAP_TYPE): Change value to 0x2b.
11348
3fe8fc79
FW
113492018-06-18 Florian Weimer <fweimer@redhat.com>
11350
11351 [BZ #15722]
11352 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11353 socket with SOCK_CLOEXEC.
11354
809dc95d
JM
113552018-06-18 Joseph Myers <joseph@codesourcery.com>
11356
11357 [BZ #23303]
11358 * sysdeps/powerpc/powerpc64/le/Makefile
11359 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11360 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11361 (gnulib-tests): Also add $(f128-loader-link) for
11362 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11363
298a8b59
ST
113642018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11365
11366 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11367 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11368 of sendfile.
11369 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11370 (sendfile64): New strong alias.
faf7bbc2
ST
11371 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11372 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11373 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
11374 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11375 attribute.
11376 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11377 ___pthread_get_cleanup_stack.
932d05f0 11378 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
11379 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11380 * mach/shortcut.awk: Make syscall stubs include
11381 <mach-shortcuts-hidden.h> and add hidden definition.
11382 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
11383 (__mach_msg): Add hidden prototype.
11384 * mach/msg.c: Include <mach.h>.
11385 (__mach_msg): Add hidden definition.
b0344cf5
ST
11386 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11387 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11388 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11389 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
11390 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11391 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
11392 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11393 prototype and definition.
11394 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11395 hidden target for _hurd_self_sigstate.
298a8b59 11396
b12c1e79
JM
113972018-06-15 Joseph Myers <joseph@codesourcery.com>
11398
11399 [BZ #23007]
11400 * stdlib/tst-strtod-nan-sign-main.c: New file.
11401 * stdlib/tst-strtod-nan-sign.c: Likewise.
11402 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11403 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11404 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11405 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11406 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11407
b0debe14
HB
114082018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11409
11410 [BZ #23007]
11411 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11412 appropriate sign.
11413
14beef75
FW
114142018-06-14 Florian Weimer <fweimer@redhat.com>
11415
11416 [BZ #23290]
11417 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11418 that the result stays within the ISO-8859-1 range.
11419 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11420 characters are defined in IBM273.
11421
c596630b
ST
114222018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11423
11424 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11425 __mach_task_self): Remove attribute_hidden.
11426
35ebb6b0
JM
114272018-06-14 Joseph Myers <joseph@codesourcery.com>
11428
11429 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11430 ignore -Wrestrict for one test.
11431
3c7b9f1f
SE
114322018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11433 Szabolcs Nagy <szabolcs.nagy@arm.com>
11434
11435 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11436
c59ee916
FW
114372018-06-14 Florian Weimer <fweimer@redhat.com>
11438
11439 * scripts/update-abilist.sh: Accept empty list of files to patch.
11440
43b5ff50
ST
114412018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11442
11443 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11444 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
11445 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11446 __libc_read and __libc_write to __read and __write.
c8c6e6d6 11447 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
11448 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11449 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11450 __thread_switch, __evc_wait): Move declarations to...
11451 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11452 attribute_hidden.
06d1a826
ST
11453 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11454 use PLT to call _hurd_self_sigstate.
43b5ff50 11455
fcd6b5ac
JM
114562018-06-13 Joseph Myers <joseph@codesourcery.com>
11457
11458 [BZ #23279]
11459 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11460 MAX_EXP as overflowing.
11461 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11462 overflow flag.
11463 (round_str): Output also whether result overflows in each rounding
11464 mode.
11465 * stdlib/tst-strtod-round-data: Add more tests.
11466 * stdlib/tst-strtod-round-data.h: Regenerated.
11467 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11468 (TEST): Handle extra arguments for overflow flags.
11469 (struct test_overflow): New type.
11470 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11471 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11472 (test_in_one_mode): Take argument with overflow information.
11473 (do_test): Update calls to test_in_one_mode.
11474
35df5a77
CD
114752018-06-12 Carlos O'Donell <carlos@redhat.com>
11476
a745c837
CD
11477 * elf/dl-load (_dl_dst_substitute): Correct comment.
11478 (_dl_dst_count): Likewise.
11479
35df5a77
CD
11480 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11481 lll_futex_timed_wait.
11482
48b12ed5
JM
114832018-06-12 Joseph Myers <joseph@codesourcery.com>
11484
11485 [BZ #23277]
11486 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11487 attribute.
11488 * math/test-nan-const.c: New file.
11489 * math/Makefile (tests): Add test-nan-const.
11490 (CFLAGS-test-nan-const.c): New variable.
11491
cb8f6aff
L
114922018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11493
11494 * benchtests/scripts/compare_strings.py (process_results): Add
11495 funcs argument. Compare only functions which are selected.
11496 (main): Check if base function is among selected functions.
11497 Pass selected functions to process_results.
11498 (__main__): Add -f/--functions argument.
11499
fc2ba803
HZ
115002018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11501 Hongbo Zhang <hongbo.zhang@linaro.org>
11502
11503 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11504 __memcpy_falkor for phecda core.
11505 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11506 __memmove_falkor for phecda core.
11507 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11508 __memset_falkor for phecda core.
11509 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11510 for phecda core.
11511 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11512 macro to identify phecda core.
11513
5aad5f61
CD
115142018-06-12 Carlos O'Donell <carlos@redhat.com>
11515 Andreas Schwab <schwab@suse.de>
11516 Dmitry V. Levin <ldv@altlinux.org>
11517 Florian Weimer <fweimer@redhat.com>
11518
11519 [BZ #23102]
11520 [BZ #21942]
11521 [BZ #18018]
11522 [BZ #23259]
11523 CVE-2011-0536
11524 * elf/dl-dst.h: Remove DL_DST_COUNT.
11525 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11526 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11527 (is_dst): Comment. Support ELF gABI.
11528 (_dl_dst_count): Comment. Simplify and count DSTs.
11529 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11530 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11531 locals.
11532
329ea513
ZW
115332018-06-12 Zack Weinberg <zackw@panix.com>
11534
11535 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11536 * sysdeps/unix/sysv/linux/dl-sysdep.c
11537 Include not-cancel.h. Use __close_nocancel instead of __close,
11538 __open64_nocancel instead of __open, __read_nocancel instead of
11539 __libc_read, and __write_nocancel instead of __libc_write.
11540
11541 * csu/check_fds.c (check_one_fd)
11542 * sysdeps/posix/fdopendir.c (__fdopendir)
11543 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11544 instead of __fcntl and/or __libc_fcntl.
11545
11546 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11547 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11548 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11549 Use __open64_nocancel instead of __open_nocancel.
11550
11551 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11552 hidden_proto declarations to the end and issue them if either
11553 IS_IN(libc) or IS_IN(rtld).
11554 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11555 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11556 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11557 read_nocancel, waitpid_nocancel, write_nocancel.
11558
11559 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11560 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11561 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11562
11563 * nptl/pt-fcntl.c: New file.
11564 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11565 (libpthread-routines): Add pt-fcntl.
11566 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11567 (__libc_fcntl): Remove attribute_hidden.
11568 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11569 __fcntl_nocancel_adjusted, not fcntl_common.
11570 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11571 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11572 to fcntl_nocancel.c.
11573 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11576 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11577
11578 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11579 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11580 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11581 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11582 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11583 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11584 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11585 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11586 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11587 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11588 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11589 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11590 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11591 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11592 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11593 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11594 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11595 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11596 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11597 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11598
11599 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11600 libpthread-routines.
11601 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11602 defines nothing.
11603
11604 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11605 __libc_read, and __write instead of __libc_write. Define
11606 __open64 in addition to __open.
11607
0221ce2a
L
116082018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11609
11610 [BZ #23250]
11611 [BZ #10686]
11612 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11613 to _private_tm[3] and add __glibc_reserved2.
11614 Add _Static_assert of offset of __private_ss == 0x30.
11615 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11616 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11617
e826574c
FW
116182018-06-12 Florian Weimer <fweimer@redhat.com>
11619
11620 x86: Make strncmp usable from rtld.
11621 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11622 __strncmp_ia32 if in libc (and not in rtld).
11623 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11624 strncmp if not in libc (and not to __strncmp_sse2).
11625
c4ad5782
RL
116262018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11627
11628 [BZ #23140]
11629 * localedata/locales/gd_GB (mon): Rename to...
11630 (alt_mon): This.
11631 (mon): Import from CLDR (genitive case).
11632 * localedata/locales/hsb_DE (mon): Rename to...
11633 (alt_mon): This.
11634 (mon): Import from CLDR (genitive case).
11635 * localedata/locales/wa_BE (mon): Rename to...
11636 (alt_mon): This.
11637 (mon): Add, fill with the proper genitive forms, but CLDR data
11638 is incomplete; completed according to the comments in this file.
11639 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11640
11641 * localedata/locales/wa_BE (country_name): Reword
11642 "Beljike" -> "Beldjike".
11643
ca121b11
JM
116442018-06-11 Joseph Myers <joseph@codesourcery.com>
11645
11646 [BZ #23272]
11647 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11648 cases of non-finite arguments.
11649 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11650
2b69fecb
JDA
116512018-06-10 John David Anglin <danglin@gcc.gnu.org>
11652
11653 [BZ #23174]
11654 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11655
283d9851
AZ
116562018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11657
11658 [BZ #23264]
11659 * include/unistd.h (__execvpex): New prototype.
11660 * posix/Makefile (tests): Add tst-spawn4.
11661 (tests-internal): Add tst-spawn4-compat.
11662 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11663 * posix/tst-spawn4-compat.c: New file.
11664 * posix/tst-spawn4.c: Likewise.
11665 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11666 binaries as shell scripts.
11667 * sysdeps/posix/spawni.c (__spawni): Likewise.
11668
67c05796
L
116692018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11670
11671 [BZ #23145]
11672 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11673 ($(all-built-dso:=.dynsym): New target.
11674 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11675 ($(objpfx)check-initfini.out): New target.
11676 (generated): Add check-initfini.out.
11677 * scripts/check-initfini.awk: New file.
11678 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11679 (_fini): Likewise.
11680 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11681 (_fini): Likewise.
11682 * sysdeps/arm/crti.S (_init): Mark as hidden.
11683 (_fini): Likewise.
11684 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11685 (_fini): Likewise.
11686 * sysdeps/i386/crti.S (_init): Mark as hidden.
11687 (_fini): Likewise.
11688 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11689 (_fini): Likewise.
11690 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11691 (_fini): Likewise.
11692 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11693 (_fini): Likewise.
11694 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11695 (_fini): Likewise.
11696 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11697 (_fini): Likewise.
11698 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11699 (_fini): Likewise.
11700 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11701 (_fini): Likewise.
11702 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11703 (_fini): Likewise.
11704 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11705 (_fini): Likewise.
11706 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11707 (_fini): Likewise.
11708 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11709 (_fini): Likewise.
11710 * sysdeps/sh/crti.S (_init): Mark as hidden.
11711 (_fini): Likewise.
11712 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11713 (_fini): Likewise.
11714 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11715 (_fini): Likewise.
11716
1c09524e
TMQMF
117172018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11718
11719 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11720 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11721 and TF redirection to KFtype and KF only when the default
11722 long double type is not the IEEE 128-bit floating point type.
11723
0e0577c9
JM
117242018-06-05 Joseph Myers <joseph@codesourcery.com>
11725
0c1c33b2
JM
11726 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11727 macro.
11728 (HWCAP_USCAT): Likewise.
11729 (HWCAP_ILRCPC): Likewise.
11730 (HWCAP_FLAGM): Likewise.
11731 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11732 Increase to 28.
11733 (_dl_aarch64_cap_flags): Add new flag names.
11734
bef1cbf4
JM
11735 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11736 (MAP_FIXED_NOREPLACE): New macro.
11737 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11738 (MAP_FIXED_NOREPLACE): Likewise.
11739 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11740 (MAP_FIXED_NOREPLACE): Likewise.
11741 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11742 (MAP_FIXED_NOREPLACE): Likewise.
11743 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11744 (MAP_FIXED_NOREPLACE): Likewise.
11745 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11746 (MAP_FIXED_NOREPLACE): Likewise.
11747 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11748 (MAP_FIXED_NOREPLACE): Likewise.
11749 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11750 (MAP_FIXED_NOREPLACE): Likewise.
11751 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11752 (MAP_FIXED_NOREPLACE): Likewise.
11753 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11754 (MAP_FIXED_NOREPLACE): Likewise.
11755 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11756 (MAP_FIXED_NOREPLACE): Likewise.
11757 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11758 (MAP_FIXED_NOREPLACE): Likewise.
11759 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11760 (MAP_FIXED_NOREPLACE): Likewise.
11761 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11762 (MAP_FIXED_NOREPLACE): Likewise.
11763 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11764 (MAP_FIXED_NOREPLACE): Likewise.
11765
0e0577c9
JM
11766 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11767 version to 4.17.
11768
ab3a0da0
JM
117692018-06-04 Joseph Myers <joseph@codesourcery.com>
11770
11771 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11772 version to 4.17
11773
d2d9dfb6
ST
117742018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11775
11776 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11777 int.
11778 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11779
a650b05e
LS
117802018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11781
11782 * benchtests/scripts/compare_string.py: (process_results) Catch
11783 exception in non-existent base_func and catch exception in
11784 non-existent attribute.
11785 (parse_file) Catch exception if input file does not exist.
11786
195abbf4
LS
117872018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11788
11789 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11790 options to avoid diff calculation and omit header, respectively.
11791 (main): process --no-diff and --no-header
11792
14570163
LS
117932018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11794 H.J. Lu <hongjiu.lu@intel.com>
11795
11796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11797 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11798 wcsncmp-sse2.
11799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11800 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11801 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11802 and __wcsncmp_sse2.
11803 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11804 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11805 AVX unaligned load is fast and vzeroupper is preferred.
11806 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11807 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11808 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11809 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11810 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11811 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11812 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11813 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11814 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11815 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11816 is undefined.
11817
e02c026f
FW
118182018-06-01 Florian Weimer <fweimer@redhat.com>
11819
11820 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11821 configuring with --disable-multi-arch, building with
11822 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11823 Haswell-era CPU.
11824
d8c19275
FW
118252018-06-01 Florian Weimer <fweimer@redhat.com>
11826
11827 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11828 results from building with “-march=x86-64 -mtune=generic
11829 -mfpmath=sse” and running on a Haswell-era CPU.
11830
0d2163eb
JM
118312018-06-01 Joseph Myers <joseph@codesourcery.com>
11832
11833 [BZ #18473]
11834 * soft-fp/sqrttf2.c: Remove file.
11835 * soft-fp/sqrtdf2.c: Move to ....
11836 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11837 <shlib-compat.h>.
11838 (__sqrtdf2): Make conditional on
11839 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11840 symbol.
11841 * soft-fp/sqrtsf2.c: Move to ....
11842 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11843 <shlib-compat.h>.
11844 (__sqrtsf2): Make conditional on
11845 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11846 symbol.
11847 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11848 (gcc-double-routines): Remove sqrtdf2.
11849 (gcc-quad-routines): Remove sqrttf2.
11850 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11851 Do not filter out sqrtsf2 and sqrtdf2.
11852 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11853 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11854
10450210
FW
118552018-06-01 Florian Weimer <fweimer@redhat.com>
11856
11857 * sysdeps/generic/libcidn.abilist: Remove file.
11858
4e8a6346
FW
118592018-06-01 Florian Weimer <fweimer@redhat.com>
11860
11861 [BZ #23236]
11862 * libio/strfile.h (struct _IO_str_fields): Rename members to
11863 discourage their use and add comment.
11864 (_IO_STR_DYNAMIC): Remove unused macro.
11865 * libio/strops.c (_IO_str_init_static_internal): Do not use
11866 callback pointers. Call malloc and free.
11867 (_IO_str_overflow): Do not use callback pointers. Call malloc
11868 and free.
11869 (enlarge_userbuf): Likewise.
11870 (_IO_str_finish): Call free.
11871 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11872 _allocate_buffer_unused.
11873 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11874 and free.
11875 (enlarge_userbuf): Likewise.
11876 (_IO_wstr_finish): Call free.
11877 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11878 _allocate_buffer_unused, _free_buffer_unused.
11879 * libio/memstream.c (__open_memstream): Likewise.
11880 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11881 * libio/wmemstream.c (open_wmemstream): Likewise.
11882
50d004c9
PP
118832018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11884
11885 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11886 AMD Ryzen 7 1800X.
11887
2c93fce7
RS
118882018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11889
11890 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11891 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11892 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11893 New file.
11894 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11895 Likewise.
11896 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11897
0ce2fa69
FW
118982018-05-29 Florian Weimer <fweimer@redhat.com>
11899
11900 * support/Makefile (libsupport-routines): Add
11901 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11902 xpthread_barrierattr_setpshared.
11903 * support/xpthread_barrierattr_destroy.c: New file.
11904 * support/xpthread_barrierattr_init.c: Likewise.
11905 * support/xpthread_barrierattr_setpshared.c: Likewise.
11906
7f7b5d8d
L
119072018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11908
11909 [BZ #23206]
11910 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11911 _r_debug and update DT_DEBUG for debugger.
11912
e4890300
FW
119132018-05-29 Florian Weimer <fweimer@redhat.com>
11914
11915 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11916 (tst-strtod5i.out): Likewise.
11917
2c753f3e
JM
119182018-05-25 Joseph Myers <joseph@codesourcery.com>
11919
b5453d9f
JM
11920 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11921 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11922 (sparc64-quad-routines): New variable. Moved from ....
11923 [$(subdir) = soft-fp] (sysdep_routines): Add
11924 $(sparc64-quad-routines). Moved from ....
11925 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11926 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11927 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11928 moved from ....
11929 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11930 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11931 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11932 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11933 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11934 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11935 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11936 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11937 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11938 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11939 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11940 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11941 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11942 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11943 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11944 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11945 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11946 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11947 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11948 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11949 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11950 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11951 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11952 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11953 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11954 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11955 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11956 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11957 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11958 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11959 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11960 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11961 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11962 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11963 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11964 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11965 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11966 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11967 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11968 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11969 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11970 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11971 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11972 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11973 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11974 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11975 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11976 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11977 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11978 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11979 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11980 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11981 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11982 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11983 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11984 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11985 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11986 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11987
2c753f3e
JM
11988 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11989 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11990 (sparc32-quad-routines): New variable. Moved from ....
11991 [$(subdir) = soft-fp] (sysdep_routines): Add
11992 $(sparc32-quad-routines). Moved from ....
11993 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11994 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11995 moved from ....
11996 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11997 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11998 * sysdeps/sparc/sparc32/q_add.c: ... here.
11999 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12000 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12001 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12002 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12003 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12004 * sysdeps/sparc/sparc32/q_div.c: ... here.
12005 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12006 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12007 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12008 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12009 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12010 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12011 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12012 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12013 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12014 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12015 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12016 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12017 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12018 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12019 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12020 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12021 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12022 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12023 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12024 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12025 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12026 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12027 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12028 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12029 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12030 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12031 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12032 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12033 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12034 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12035 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12036 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12037 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12038 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12039 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12040 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12041 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12042 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12043 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12044 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12045 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12046 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12047 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12048 * sysdeps/sparc/sparc32/q_util.c: ... here.
12049 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12050 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12051 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12052 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12053
c1dc1e1b
TMQMF
120542018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12055 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12056
12057 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12058 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12059 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12060 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12061
14186e8d
JM
120622018-05-24 Joseph Myers <joseph@codesourcery.com>
12063
12064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12065 powerpc/soft-fp.
12066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12067 Likewise.
12068 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12069 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12070
fb0e10b8
GG
120712018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12072
12073 [BZ #23171]
12074 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12075 double version.
12076
1dfeb17e
JM
120772018-05-23 Joseph Myers <joseph@codesourcery.com>
12078
12079 * sysdeps/sh/Implies: Remove sh/soft-fp.
12080 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12081 * sysdeps/sh/sfp-machine.h: ... here.
12082
727b38df
L
120832018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12084
12085 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12086 (__mempcpy_erms): Skip zero length.
12087 (__memmove_erms): Likewise.
12088 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12089 (__memset_erms): Likewise.
12090
2834fb46
JM
120912018-05-23 Joseph Myers <joseph@codesourcery.com>
12092
12093 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12094 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12095 Add functions moved from ....
12096 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12097 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12098 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12099 from ....
12100 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12101 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12102 * sysdeps/alpha/e_sqrtl.c: ... here.
12103 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12104 * sysdeps/alpha/local-soft-fp.h: ... here.
12105 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12106 * sysdeps/alpha/ots_add.c: ... here.
12107 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12108 * sysdeps/alpha/ots_cmp.c: ... here.
12109 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12110 * sysdeps/alpha/ots_cmpe.c: ... here.
12111 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12112 * sysdeps/alpha/ots_cvtqux.c: ... here.
12113 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12114 * sysdeps/alpha/ots_cvtqx.c: ... here.
12115 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12116 * sysdeps/alpha/ots_cvttx.c: ... here.
12117 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12118 * sysdeps/alpha/ots_cvtxq.c: ... here.
12119 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12120 * sysdeps/alpha/ots_cvtxt.c: ... here.
12121 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12122 * sysdeps/alpha/ots_div.c: ... here.
12123 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12124 * sysdeps/alpha/ots_mul.c: ... here.
12125 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12126 * sysdeps/alpha/ots_nintxq.c: ... here.
12127 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12128 * sysdeps/alpha/ots_sub.c: ... here.
12129 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12130 * sysdeps/alpha/sfp-machine.h: ... here.
12131
7f9f1ecb
FW
121322018-05-23 Florian Weimer <fweimer@redhat.com>
12133
12134 [BZ #19728]
12135 [BZ #19729]
12136 [BZ #22247]
12137 CVE-2016-6261
12138 CVE-2016-6263
12139 CVE-2017-14062
12140 Switch to extern IDNA implementation (libidn2).
12141 * libidn: Remove subdirectory.
12142 * LICENSES: Do not mention licensing conditions for the removed
12143 libidn code.
12144 * config.h.in (HAVE_LIBIDN): Remove.
12145 * include/dlfcn.h (__libc_dlopen): Update comment.
12146 * include/idna.h: Remove file.
12147 * inet/Makefile (routines): Add idna.
12148 (tests-static, tests-internal): Add tst-idna_name_classify.
12149 (LOCALES): Generate locales for tests.
12150 (tst-idna_name_classify.out): Depend on generated locales.
12151 * inet/idna_name_classify.c: New file.
12152 * inet/tst-idna_name_classify.c: Likewise.
12153 * inet/net-internal.h (__idna_to_dns_encoding)
12154 (__idna_from_dns_encoding): Declare.
12155 * inet/net-internal.h (enum idna_name_classification): Define.
12156 (__idna_name_classify): Declare.
12157 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12158 __idna_from_dns_encoding.
12159 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12160 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12161 name as a fallback in case of encoding errors.
12162 (getnameinfo): Use DEPRECATED_NI_IDN.
12163 * inet/idna.c: New file.
12164 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12165 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12166 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12167 (modules-names): Add tst-no-libidn2.
12168 (extra-test-objs): Add tst-no-libidn2.os.
12169 (LDFLAGS-tst-no-libidn2.so): Set soname.
12170 (LOCALES): Set, and generate locales.
12171 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12172 (tst-resolv-ai_idn-latin1): Likewise.
12173 (tst-resolv-ai_idn-nolibidn2): Likewise.
12174 (tst-resolv-ai_idn.out): Depend on locales.
12175 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12176 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12177 tst-no-libidn2.so.
12178 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12179 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12180 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12181 * resolv/tst-resolv-ai_idn.c: New file.
12182 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12183 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12184 * resolv/tst-no-libidn2.c: Likewise.
12185 * support/support_format_addrinfo.c (format_ai_flags): Do not
12186 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12187 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12188 (gaih_inet): Call __idna_to_dns_encoding and
12189 __idna_from_dns_encoding, and use the original (punycode) name if
12190 __idna_from_dns_encoding fails due to an encoding error.
12191 (getaddrinfo): Use DEPRECATED_AI_IDN.
12192 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12193 * sysdeps/unix/inet/configure: Remove file.
12194 * sysdeps/unix/inet/configure.ac: Likewise.
12195
5f7b841d
FW
121962018-05-23 Florian Weimer <fweimer@redhat.com>
12197
12198 Implement allocate_once.
12199 * include/allocate_once.h: New file.
12200 * misc/allocate_once.c: Likewise.
12201 * misc/tst-allocate_once.c: Likewise.
12202 * misc/Makefile (routines): Add allocate_once.
12203 (tests-internal): Add tst-allocate_once.
12204 (generated): Add tst-allocate_once.mtrace,
12205 tst-allocate_once-mem.out.
12206 (tests-special): Add tst-allocate_once-mem.out.
12207 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12208 (tst-allocate_once-mem.out): Call mtrace.
12209 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12210
ed983107
L
122112018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12212
12213 [BZ #23196]
12214 * string/test-memcpy.c (do_test1): New function.
12215 (test_main): Call it.
12216
9aaaab7c
AS
122172018-05-23 Andreas Schwab <schwab@suse.de>
12218
12219 [BZ #23196]
12220 CVE-2018-11237
12221 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12222 (L(preloop_large)): Save initial destination pointer in %r11 and
12223 use it instead of %rax after the loop.
12224 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12225
5c5c0dd7
JM
122262018-05-22 Joseph Myers <joseph@codesourcery.com>
12227
8f145c77
JM
12228 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12229 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12230 -I../soft-fp. Moved from ....
12231 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12232 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12233 * sysdeps/aarch64/e_sqrtl.c: ... here.
12234 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12235 * sysdeps/aarch64/sfp-machine.h: ... here.
12236
3d6302a5
JM
12237 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12238 -Wmaybe-uninitialized around access to fq[0].
12239 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12240 Likewise.
12241
5c5c0dd7
JM
12242 [BZ #18471]
12243 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12244 aliases for non-libc case of versioned symbols.
12245 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12246 (llseek): Define as compat symbol if
12247 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12248 with link warning.
12249 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12250 Make into a compat symbol, disabled for minimum symbol version
12251 GLIBC_2.28 and later.
12252 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12253
ed0d6988
FW
122542018-05-22 Florian Weimer <fweimer@redhat.com>
12255
12256 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12257 not add -mpreferred-stack-boundary=4.
12258 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12259 (stack-align-test-flags): Likewise.
12260 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12261 Likewise.
12262 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12263 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12264 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12265 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12266 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12267 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12268 (CFLAGS-tst-align2.c): Likewise.
12269
e28e9b1e
L
122702018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12271
12272 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12273 (index_arch_Prefer_FSRM): Likewise.
12274 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12275 Also check Prefer_FSRM.
12276 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12277 Also return OPTIMIZE (erms) for Prefer_FSRM.
12278
1af30adc
L
122792018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12280
12281 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12282 (index_cpu_FSRM): Likewise.
12283 (reg_FSRM): Likewise.
12284
78274dc8
JM
122852018-05-18 Joseph Myers <joseph@codesourcery.com>
12286
7c67e6e8
JM
12287 * math/gen-tgmath-tests.py: Import sys.
12288 (Tests.__init__): Initialize macros_seen.
12289 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12290 if requested to do so for this macro.
12291 (Tests.add_all_tests): Take argument for macro for which to
12292 generate tests.
12293 (Tests.check_macro_list): New function.
12294 (main): Handle check-list argument and argument specifying macro
12295 for which to generate tests.
12296 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12297 [PYTHON] (tgmath3-macro-tests): Likewise.
12298 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12299 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12300 not test-tgmath3.c.
12301 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12302 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12303 to CFLAGS.
12304 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12305 [PYTHON] ($(foreach
12306 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12307 rule.
12308 [PYTHON] (tests-special): Add
12309 $(objpfx)test-tgmath3-macro-list.out.
12310 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12311
ebc129fd
JM
12312 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12313 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12314 later.
12315
78274dc8
JM
12316 [BZ #22639]
12317 * time/tzset.c (SECSPERDAY): Cast to time_t.
12318 * time/tst-y2039.c: New file.
12319 * time/Makefile (tests): Add tst-y2039.
12320
6f7fdeeb
LS
123212018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12322
12323 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12324 (PREFETCH_ONE_SET): Remove duplicate line.
12325
e363a91c
FW
123262018-05-17 Florian Weimer <fweimer@redhat.com>
12327
12328 * sysdeps/generic/math-type-macros-double.h: Include
12329 <math-nan-payload-double.h> after <libm-alias-double.h>.
12330 * sysdeps/generic/math-type-macros-float.h: Include
12331 <math-nan-payload-float.h> after <libm-alias-float.h>.
12332 * sysdeps/generic/math-type-macros-float128.h: Include
12333 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12334 * sysdeps/generic/math-type-macros-ldouble.h: Include
12335 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12336
dae6c43c
AS
123372018-05-17 Andreas Schwab <schwab@suse.de>
12338
12339 * resolv/res_send.c (__res_context_send): Don't set errno when
12340 returing error after malloc failure.
12341
0068c085
L
123422018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12343
12344 * nptl/allocatestack.c (allocate_stack): Remove the
12345 !__ASSUME_PRIVATE_FUTEX paths.
12346 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12347 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12348 Likewise.
12349 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12350 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12351 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12352 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12353 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12354 !__ASSUME_PRIVATE_FUTEX path.
12355 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12356 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12357 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12358 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12359 !__ASSUME_PRIVATE_FUTEX macros.
12360 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12361 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12362 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12363 * sysdeps/unix/sysv/linux/kernel-features.h
12364 (__ASSUME_PRIVATE_FUTEX): Removed.
12365
632a6cbe
JM
123662018-05-17 Joseph Myers <joseph@codesourcery.com>
12367
12368 * math/Makefile (libm-narrow-fns): Add div.
12369 (libm-test-funcs-narrow): Likewise.
12370 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12371 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12372 * math/gen-auto-libm-tests.c (test_functions): Add div.
12373 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12374 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12375 (NARROW_DIV_TRIVIAL): Likewise.
12376 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12377 macro.
12378 (__ddivl): Likewise.
12379 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12380 ddiv.
12381 (CFLAGS-nldbl-ddiv.c): New variable.
12382 (CFLAGS-nldbl-fdiv.c): Likewise.
12383 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12384 __nldbl_ddivl.
12385 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12386 prototype.
12387 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12388 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12389 * math/auto-libm-test-in: Add tests of div.
12390 * math/auto-libm-test-out-narrow-div: New generated file.
12391 * math/libm-test-narrow-div.inc: New file.
12392 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12394 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12395 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12396 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12397 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12398 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12399 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12400 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12401 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12402 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12403 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12404 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12405 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12406 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12407 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12408 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12409 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12411 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12412 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12413 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12417 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12418 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12422 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12430 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12433 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12434 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12435 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12436
8c78faa9
AZ
124372018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12438
12439 [BZ #23178]
12440 * nscd/nscd-client.h (sendfileall): Remove prototype.
12441 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12442 (handle_request): Use writeall instead of sendfileall.
12443 * nscd/aicache.c (addhstaiX): Likewise.
12444 * nscd/grpcache.c (cache_addgr): Likewise.
12445 * nscd/hstcache.c (cache_addhst): Likewise.
12446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12447 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12448 * nscd/pwdcache.c (cache_addpw): Likewise.
12449 * nscd/servicescache.c (cache_addserv): Likewise.
12450 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12451 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12452 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12453 Remove define.
12454
04958880
L
124552018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12456
12457 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12458 Include <string/strncat.c>.
12459 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12460 alias.
12461 (__GI___strncat): New hidden alias.
12462
c9992d13
JM
124632018-05-16 Joseph Myers <joseph@codesourcery.com>
12464
12465 * sysdeps/mips/mips32/libm-test-ulps: Update.
12466 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12467
2afece36
FW
124682018-05-16 Florian Weimer <fweimer@redhat.com>
12469
12470 * support/Makefile (libsupport-routines): Add support_quote_blob,
12471 support_test_compare_blob.
12472 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12473 * support/check.h (TEST_COMPARE_BLOB): Define.
12474 (support_test_compare_blob): Declare.
12475 * support/support.h (support_quote_blob): Declare.
12476 * support/support_quote_blob.c: New file.
12477 * support/support_test_compare_blob.c: Likewise.
12478 * support/tst-support_quote_blob.c: Likewise.
12479 * support/tst-test_compare_blob.c: Likewise.
12480
9761bf4d
FW
124812018-05-16 Florian Weimer <fweimer@redhat.com>
12482
12483 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12484 of <strtod_nan_double.h>.
12485 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12486 instead of SET_MANTISSA.
12487 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12488 of include <strtod_nan_float.h>.
12489 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12490 instead of <strtod_nan_ldouble.h>.
12491 * stdlib/strtod_nan_double.h: Move to ...
12492 * sysdeps/generic/math-nan-payload-double.h: ... here.
12493 (FLOAT): Remove definition.
12494 (SET_MANTISSA): Rename to ...
12495 (SET_NAN_PAYLOAD): ... this.
12496 * stdlib/strtod_nan_float.h: Move to ...
12497 * sysdeps/generic/math-nan-payload-float.h: ... here.
12498 (FLOAT): Remove definition.
12499 (SET_MANTISSA): Rename to ...
12500 (SET_NAN_PAYLOAD): ... this.
12501 * sysdeps/generic/math-type-macros-double.h: Include
12502 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12503 instead of <math-svid-compat.h>.
12504 * sysdeps/generic/math-type-macros-float.h: Include
12505 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12506 instead of <math-svid-compat.h>.
12507 * sysdeps/generic/math-type-macros-float128.h: Include
12508 <math-nan-payload-float128.h>.
12509 * sysdeps/generic/math-type-macros-ldouble.h: Include
12510 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12511 instead of <math-svid-compat.h>.
12512 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12513 check for definition.
12514 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12515 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12516 Include <ieee754_float128.h>.
12517 (FLOAT): Remove definition.
12518 (SET_MANTISSA): Rename to ...
12519 (SET_NAN_PAYLOAD): ... this.
12520 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12521 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12522 Do not include <float128_private.h>.
12523 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12524 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12525 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12526 (FLOAT): Remove definition.
12527 (SET_MANTISSA): Rename to ...
12528 (SET_NAN_PAYLOAD): ... this.
12529 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12530 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12531 (FLOAT): Remove definition.
12532 (SET_MANTISSA): Rename to ...
12533 (SET_NAN_PAYLOAD): ... this.
12534 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12535 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12536 (FLOAT): Remove definition.
12537 (SET_MANTISSA): Rename to ...
12538 (SET_NAN_PAYLOAD): ... this.
12539 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12540 of "../stdlib/strtod_nan_double.h".
12541 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12542 of "../stdlib/strtod_nan_float.h".
12543 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12544 instead of "../stdlib/strtod_nan_ldouble.h".
12545 * manual/arith.texi (Parsing of Floats): Adjust comment.
12546
69a01461
JM
125472018-05-16 Joseph Myers <joseph@codesourcery.com>
12548
12549 * math/Makefile (libm-narrow-fns): Add mul.
12550 (libm-test-funcs-narrow): Likewise.
12551 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12552 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12553 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12554 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12555 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12556 (NARROW_MUL_TRIVIAL): Likewise.
12557 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12558 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12559 macro.
12560 (__dmull): Likewise.
12561 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12562 dmul.
12563 (CFLAGS-nldbl-dmul.c): New variable.
12564 (CFLAGS-nldbl-fmul.c): Likewise.
12565 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12566 __nldbl_dmull.
12567 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12568 prototype.
12569 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12570 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12571 * math/auto-libm-test-in: Add tests of mul.
12572 * math/auto-libm-test-out-narrow-mul: New generated file.
12573 * math/libm-test-narrow-mul.inc: New file.
12574 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12575 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12576 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12577 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12578 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12579 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12585 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12586 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12587 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12588 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12589 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12590 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12591 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12593 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12618
a15529fd
L
126192018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12620
12621 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12622 with *%eax in call.
12623
98ee36c7
L
126242018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12625
12626 * sysdeps/i386/ldsodefs.h: Removed.
12627 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12628 * sysdeps/x86/ldsodefs.h: This.
12629 (La_i86_regs): New.
12630 (La_i86_retval): Likewise.
12631 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12632 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12633
e322ec32
L
126342018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12635
12636 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12637 unnecessary testl.
12638
0937e209
AM
126392018-05-13 Alan Modra <amodra@gmail.com>
12640
12641 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12642 R_PARISC_TLS_DTPOFF32 reloc addend.
12643
5db7d705
TMQMF
126442018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12645
12646 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12647 * math/math.h: Restrict the prototype definition for the functions
12648 issignaling(_Float128) and iszero(_Float128); and template
12649 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12650 __HAVE_FLOAT128_UNLIKE_LDBL.
12651 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12652 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12653 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12654 __f128() constants; define the type _Float128 as long double;
12655 and reuse long double in __CFLOAT128.
12656
b4d5b8b0
JM
126572018-05-11 Joseph Myers <joseph@codesourcery.com>
12658
12659 * sysdeps/generic/math_private.h: Do not include
12660 <math-barriers.h>.
12661 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12662 <math_private.h>.
12663 * math/fromfp.h: Include <math-barriers.h>.
12664 * math/math-narrow.h: Likewise.
12665 * math/s_nextafter.c: Likewise.
12666 * math/s_nexttowardf.c: Likewise.
12667 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12668 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12669 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12670 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12671 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12672 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12673 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12682 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12686 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12687 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12688 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12689 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12690 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12691 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12692 * sysdeps/ieee754/k_standardl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12705 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12706 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12707 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12708 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12709 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12710 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12711 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12712 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12713 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12714 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12715
fc79706a
FW
127162018-05-11 Florian Weimer <fweimer@redhat.com>
12717
12718 Use 64-bit epoch values in the time zone file parser.
12719 * include/time.h (internal_time_t): Define.
12720 (__tzfile_compute): Use it.
12721 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12722 member.
12723 (transitions): Switch to internal_time_t.
12724 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12725 types.
12726 (__tzfile_compute): Use internal_time_t for timer argument. Check
12727 for truncation before calling __offtime.
12728
89aacb51
FW
127292018-05-11 Florian Weimer <fweimer@redhat.com>
12730
12731 [BZ #23166]
12732 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12733 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12734 Likewise.
12735 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12736 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12737 export without --enable-obsolete-rpc.
12738 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12739 symbol. This should not have been exported, ever.
12740
bb066cb8
RL
127412018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12742
12743 [BZ #23152]
12744 * localedata/locales/gd_GB (abmon): Fix typo in May:
12745 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12746
70c97f84
SP
127472018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12748
db725a45
SP
12749 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12750 Use multiple registers to copy data in loop tail.
12751
70c97f84
SP
12752 * sysdeps/aarch64/multiarch/memmove_falkor.S
12753 (__memmove_falkor): Use multiple registers to move data in
12754 loop tail.
12755
8f5b00d3
JM
127562018-05-10 Joseph Myers <joseph@codesourcery.com>
12757
12758 * math/math-underflow.h: New file.
12759 * sysdeps/generic/math_private.h: Do not include <float.h>.
12760 (fabs_tg): Remove macro. Moved to math-underflow.h.
12761 (min_of_type_f): Likewise.
12762 (min_of_type_): Likewise.
12763 (min_of_type_l): Likewise.
12764 (min_of_type_f128): Likewise.
12765 (min_of_type): Likewise.
12766 (math_check_force_underflow): Likewise.
12767 (math_check_force_underflow_nonneg): Likewise.
12768 (math_check_force_underflow_complex): Likewise.
12769 * math/e_exp2_template.c: Include <math-underflow.h>.
12770 * math/k_casinh_template.c: Likewise.
12771 * math/s_catan_template.c: Likewise.
12772 * math/s_catanh_template.c: Likewise.
12773 * math/s_ccosh_template.c: Likewise.
12774 * math/s_cexp_template.c: Likewise.
12775 * math/s_clog10_template.c: Likewise.
12776 * math/s_clog_template.c: Likewise.
12777 * math/s_csin_template.c: Likewise.
12778 * math/s_csinh_template.c: Likewise.
12779 * math/s_csqrt_template.c: Likewise.
12780 * math/s_ctan_template.c: Likewise.
12781 * math/s_ctanh_template.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12790 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12800 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12801 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12802 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12803 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12804 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12805 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12806 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12807 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12808 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12809 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12810 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12811 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12812 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12813 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12850 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12852 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12859 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12860 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12862 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12863 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12864 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12865 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12866
9ed2e15f
JM
128672018-05-09 Joseph Myers <joseph@codesourcery.com>
12868
12869 * sysdeps/generic/math-barriers.h: New file.
12870 * sysdeps/generic/math_private.h [!math_opt_barrier]
12871 (math_opt_barrier): Move to math-barriers.h.
12872 [!math_opt_barrier] (math_force_eval): Likewise.
12873 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12874 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12875 math-barriers.h.
12876 (math_force_eval): Likewise.
12877 * sysdeps/alpha/fpu/math-barriers.h: New file.
12878 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12879 math-barriers.h.
12880 (math_force_eval): Likewise.
12881 * sysdeps/x86/fpu/math-barriers.h: New file.
12882 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12883 math-barriers.h.
12884 (math_force_eval): Likewise.
12885 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12886 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12887 multiple-include guard for rename.
12888 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12889 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12890 math-barriers.h.
12891 (math_force_eval): Likewise.
12892
5460617d
PP
128932018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12894
12895 [BZ #22786]
43d4f3d5 12896 CVE-2018-11236
5460617d
PP
12897 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12898 computation.
12899 * stdlib/Makefile (test-bz22786): New test.
12900 * stdlib/test-bz22786.c: New test.
12901
aaee3cd8
JM
129022018-05-09 Joseph Myers <joseph@codesourcery.com>
12903
12904 * include/math-narrow-eval.h: New file. Contents moved from ....
12905 * sysdeps/generic/math_private.h: ... here.
12906 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12907 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12908 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12909 * stdlib/strtod_l.c: Likewise.
12910 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12911 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12912 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12913 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12914 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12915 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12916 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12917 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12918 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12919 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12920 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12921 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12922 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12923 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12925 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12926 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12927 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12928 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12929 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12930 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12931 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12932 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12933 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12934 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12935 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12936 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12937 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12938 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12939
0555c477
AS
129402018-05-08 Andreas Schwab <schwab@suse.de>
12941
12942 * sysdeps/nptl/internaltypes.h: Fix comment.
12943
50d7d351
L
129442018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12945
12946 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12947 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12948 hidden.
12949
543477f7
SP
129502018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12951
12952 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12953 of I into loop header.
12954 * benchtests/bench-memmove-walk.c
12955 (test_main): Likewise.
12956
129572018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
12958
12959 Revert:
12960 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12961 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12962
0065aaaa
PP
129632018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12964
12965 [BZ #20419]
12966 * elf/dl-load.c (open_verify): Fix stack overflow.
12967 * elf/Makefile (tst-big-note): New test.
12968 * elf/tst-big-note-lib.S: New.
12969 * elf/tst-big-note.c: New.
12970
b289cd9d
JM
129712018-05-04 Joseph Myers <joseph@codesourcery.com>
12972
12973 * scripts/abilist.awk: Ignore absolute symbols.
12974 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12975 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12976 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12977 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12978 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12979 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12980 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12981 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12982 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12983 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12984 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12985 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12986 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12987 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12988 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12989 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12991 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12992 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12993 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12994 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12995 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12996 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13009 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13010 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13011 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13014 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13015 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13017 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13018 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13024 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13025 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13028 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13029 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13030 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13031 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13032 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13033 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13034 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13035 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13036 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13037 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13038 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13039 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13040 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13041 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13042 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13043 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13044 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13045 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13046 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13047 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13048 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13049 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13050 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13051 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13052 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13053 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13054 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13055 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13056 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13057 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13058 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13059 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13060 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13061 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13062 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13063 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13064 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13065 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13066 Likewise.
13067 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13068 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13069 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13070 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13071 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13072 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13073 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13074 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13077 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13078 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13079 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13080 Likewise.
13081 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13082 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13083 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13084 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13085 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13086 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13087 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13088 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13089 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13090 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13091 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13092 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13093 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13094 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13095 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13096 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13097 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13098 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13099 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13100 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13101 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13102 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13103 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13104 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13106 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13108 Likewise.
13109 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13110 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13111 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13112 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13113 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13114 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13115 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13116 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13117 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13118 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13119 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13120 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13121 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13122 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13123 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13124 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13125 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13126 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13127 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13128 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13129 Likewise.
13130 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13131 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13132 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13133 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13134 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13135 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13136 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13137 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13138 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13139 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13140 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13141 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13142 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13143 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13144 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13145 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13146 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13147 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13148 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13149 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13150 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13151 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13152 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13153 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13154 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13155 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13156 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13157 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13162 Likewise.
13163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13168 Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13170 Likewise.
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13173 Likewise.
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13176 Likewise.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13178 Likewise.
13179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13182 Likewise.
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13184 Likewise.
13185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13186 Likewise.
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13191 Likewise.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13198 Likewise.
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13201 Likewise.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13203 Likewise.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13205 Likewise.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13207 Likewise.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13211 Likewise.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13213 Likewise.
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13215 Likewise.
13216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13217 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13218 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13219 Likewise.
13220 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13221 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13222 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13223 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13224 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13225 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13226 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13227 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13229 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13230 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13231 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13232 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13233 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13234 Likewise.
13235 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13236 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13237 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13238 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13239 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13240 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13241 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13242 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13243 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13244 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13245 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13246 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13247 Likewise.
13248 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13249 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13250 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13251 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13252 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13253 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13254 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13255 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13256 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13257 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13258 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13259 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13260 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13261 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13262 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13267 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13268 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13273 Likewise.
13274 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13275 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13276 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13278 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13279 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13280 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13282 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13283 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13284 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13285 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13286 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13287 Likewise.
13288 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13292 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13297 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13298 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13299 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13318 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13320 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13326
16609018
SL
133272018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13328
13329 [BZ #23137]
13330 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13331 Use atomic_load_acquire to load __tid.
13332
556f5c46
L
133332018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13334
13335 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13336 Restore the pointer into %rdx, after syscall and use %rdx,
13337 instead of %rsi, to restore context.
13338
8b8f32b2
L
133392018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13340
13341 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13342 Pop the pointer into %rdx after syscall and use %rdx, instead
13343 of %rsi, to restore context.
13344
d6cc1829
L
133452018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13346
13347 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13348 handlers after setjmp.
13349 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13350 defined.
13351 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13352 <libc-pointer-arith.h>.
13353 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13354 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13355 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13356 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13357 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13358 * sysdeps/x86/__longjmp_cancel.S: New file.
13359 * sysdeps/x86/longjmp.c: Likewise.
13360 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13361
cf2478d5
AZ
133622018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13363
13364 * NEWS: Add ustat.h deprecation entry.
13365 * bits/ustat.h: Remove file.
13366 * misc/sys/ustat.h: Likewise.
13367 * misc/ustat.h: Likewise.
13368 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13369 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13370 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13371 compatibility mode.
13372 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13373 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13374 generic Linux implementation.
13375
dc115e1c
TMQMF
133762018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13377
13378 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13379 * math/w_expl_compat.c: Likewise.
13380 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13381
340d9652
RN
133822018-04-30 Raymond Nicholson <rain1@airmail.cc>
13383
13384 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13385
c57bf7c1
AZ
133862018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13387
13388 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13389 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13390 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13391 Remove.
13392 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13395 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13396 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13397 and SYSCALL_LL64.
13398
06135c33
TMQMF
133992018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13400
33927914
TMQMF
13401 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13402
06135c33
TMQMF
13403 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13404 * math/w_asin_template.c: Likewise.
13405 * math/w_atanh_template.c: Likewise.
13406
3a33b069
GG
134072018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13408
13409 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13410 to powerpc/powerpc64/be for big-endian.
13411 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13412 little-endian.
13413
13414 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13415 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13416 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13417 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13418 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13419 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13420 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13421 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13422 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13423 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13424 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13425 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13426 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13427 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13428 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13429 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13430 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13431 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13432 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13433 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13434 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13435 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13436 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13437 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13438 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13439 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13440 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13441 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13442 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13443 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13444 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13445 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13446
13447 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13448 adjusted to imply powerpc64 and older processors on powerpc64/be.
13449 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13450 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13451 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13452 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13453 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13454 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13455 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13456 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13457 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13458 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13459 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13460 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13461 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13462 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13463 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13464 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13465 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13466 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13467 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13468 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13469 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13470 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13471 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13472 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13473 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13474 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13475 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13476 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13477 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13478 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13479 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13480
13481 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13482 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13483 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13484 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13485
13486 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13487 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13488 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13489 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13490
13491 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13492 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13493 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13494 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13495 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13496 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13497 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13498 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13499 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13500 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13501 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13502
13503 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13504 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13505 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13506 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13507 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13508 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13509 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13510 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13511 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13512 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13513 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13514
13515 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13516 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13517 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13518 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13519 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13520 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13521 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13522 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13523 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13524 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13525 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13526 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13527
13528 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13529 and adjusted to imply olders processors.
13530 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13531 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13532 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13533 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13534 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13535 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13536 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13537 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13538 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13539 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13540 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13541
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13543 powerpc64/le.
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13546
13547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13548 powerpc64le.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13551
13552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13553 powerpc64/be.
13554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13557
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13559 powerpc64 and adjusted.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13563 Likewise.
13564
a3fb6b6b
JM
135652018-04-27 Joseph Myers <joseph@codesourcery.com>
13566
13567 * sysdeps/tile: Remove.
13568 * sysdeps/unix/sysv/linux/tile: Likewise.
13569 * README (tilegx-*-linux-gnu): Remove from list of supported
13570 configurations.
13571 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13572 contribution of support for generic Linux kernel syscall
13573 interface.
13574 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13575 tilegx configurations.
13576 (Config.install_linux_headers): Do not handle tile.
13577 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13578 in comment.
13579 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13580 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13581 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13582 conditional undefine and redefine.
13583 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13584 in comment.
13585 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13586 conditional undefine and redefine.
13587
7a6f7478
AJ
135882018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13589
13590 * signal/tst-sigaction.c: New file to test BZ #23069.
13591 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13592
81b49e96
TMQMF
135932018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13594
13595 [BZ #22766]
13596 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13597 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13598 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13599 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13600
7d80f48e
AZ
136012018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13602
13603 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13604 _DIRENT_MATCHES_DIRENT64 is not defined.
13605 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13606 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13607 is defined.
13608 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13609 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13610
42a2bf58
JM
136112018-04-25 Joseph Myers <joseph@codesourcery.com>
13612
13613 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13614 version to GCC 8 branch.
13615
9320ca88
JM
136162018-04-24 Joseph Myers <joseph@codesourcery.com>
13617
5e14bb97
JM
13618 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13619 (check_no_hidden): Use type of original function when declaring
13620 alias.
13621
9320ca88
JM
13622 * sysdeps/unix/sysv/linux/sys/ptrace.h
13623 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13624 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13625 (struct __ptrace_seccomp_metadata): New type.
13626 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13627 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13628 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13629 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13630 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13631 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13632 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13633 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13635 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13637 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13638 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13639 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13640 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13641 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13642
af7e376b
AZ
136432018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13644
13645 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13646 defined.
13647 * dirent/versionsort.c (versionsort): Likewise.
13648 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13649 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13650 * dirent/versionsort64.c (versionsort64): Likewise.
13651 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13652 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13653 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13654 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13655 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13656 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13657 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13658 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13659 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13660 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13663 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13664 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13665
da5e0361
JM
136662018-04-23 Joseph Myers <joseph@codesourcery.com>
13667
13668 * elf/elf.h (NT_PPC_PKEY): New macro.
13669
ea76691a
DSN
136702018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13671
13672 [BZ #23094]
13673 * localedata/locales/hr_HR: fix thousands_sep and
13674 mon_thousands_sep
13675
573963e3
JM
136762018-04-20 Joseph Myers <joseph@codesourcery.com>
13677
13678 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13679 (XTABS): Define to TAB3.
13680
c0123b3b
AZ
136812018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13682
0900a849
AZ
13683 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13684
c0123b3b
AZ
13685 * dirent/scandir-tail-common.c: New file.
13686 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13687 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13688 * dirent/scandir.c: Use scandir-tail-common.c.
13689 * dirent/scandirat.c: Likewise.
13690 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13691 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13692 if _DIRENT_MATCHES_DIRENT64 is defined.
13693 * dirent/scandirat64.c (scandirat64): Likewise.
13694 * include/dirent.h (__scandir_tail): Only define iff
13695 _DIRENT_MATCHES_DIRENT64 is not defined.
13696 (__scandir64_tail): Define regardless.
13697 (__scandirat, scandirat64): Remove libc_hidden_proto.
13698 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13699 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13701 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13702 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13703 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13704 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13705
458b94f6
JM
137062018-04-20 Joseph Myers <joseph@codesourcery.com>
13707
13708 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13709 New macro.
13710 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13711 Increase to 24.
13712 (_dl_aarch64_cap_flags): Add asimdfhm.
13713
9f0437e8
CLT
137142018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13715
13716 * sysdeps/nios2/libm-test-ulps: Update.
13717
298d0e31
AZ
137182018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13719
50511ca4
AZ
13720 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13721 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13722
298d0e31
AZ
13723 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13724 requirements.
13725 (_DIRENT_MATCHES_DIRENT64): Undef
13726 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13727 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13728 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13729 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13730 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13731 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13732 use getdents64 syscalls as base.
13733 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13734 symbol if required.
13735 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13736 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13737 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13738 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13739 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13740 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13741 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13742 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13744 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13745 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13746
0085be14
SL
137472018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13748
13749 * scripts/test_printers_common.py (init_test): Disable lock elision.
13750
da796524
SL
137512018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13752
13753 * math/test-tgmath.c (count_double, count_float,
13754 count_ldouble, count_cdouble, count_cfloat,
13755 count_cldouble): Use volatile int.
13756
0dd25301
ST
137572018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13758
13759 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13760 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 13761 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
13762 i386-gnu.
13763 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13764 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13765 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13766 msqid_ds.msg_lrpid): Likewise.
13767 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13768 Likewise.
13769 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13770 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
13771 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13772 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13773 unsigned int.
13774 (struct statvfs64): Likewise.
f55a4fde
ST
13775 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13776 Likewise.
77b93390
ST
13777 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13778 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13779 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13780 instead of wait_queue.
13781 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13782 instead of vm_area_struct.
5cd2931a
ST
13783 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13784 struct sched_param definition to it.
e60c3f2b
ST
13785 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13786 * bits/types/struct_sched_param.h: New file.
13787 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13788 <bits/types/struct_sched_param.h> instead of <sched.h>.
13789 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
13790 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13791 generic version but include <bits/pthreadtypes.h> to make struct
13792 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
13793 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13794 non-compliant.
a564872d
ST
13795 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13796 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13797 [__USE_XOPEN] (OFDEL): New macro.
13798 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 13799 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
13800 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13801 prototypes.
13802 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13803 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
13804 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13805 non-compliant.
13806 * sysdeps/i386/sys/ucontext.h: Likewise.
13807 * sysdeps/m68k/sys/ucontext.h: Likewise.
13808 * sysdeps/mips/sys/ucontext.h: Likewise.
13809 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
13810 * sysdeps/mach/hurd/i386/Makefile
13811 (test-xfail-POSIX/fcntl.h/conform): Add.
13812 (test-xfail-POSIX/signal.h/conform): Add.
13813 (test-xfail-POSIX/semaphore.h/conform): Add.
13814 (test-xfail-POSIX/regex.h/conform): Add.
13815 (test-xfail-POSIX/aio.h/conform): Add.
13816 (test-xfail-POSIX/mqueue.h/conform): Add.
13817 (test-xfail-POSIX/sys/types.h/conform): Add.
13818 (test-xfail-UNIX98/fcntl.h/conform): Add.
13819 (test-xfail-UNIX98/netdb.h/conform): Add.
13820 (test-xfail-UNIX98/signal.h/conform): Add.
13821 (test-xfail-UNIX98/semaphore.h/conform): Add.
13822 (test-xfail-UNIX98/regex.h/conform): Add.
13823 (test-xfail-UNIX98/aio.h/conform): Add.
13824 (test-xfail-UNIX98/ftw.h/conform): Add.
13825 (test-xfail-UNIX98/mqueue.h/conform): Add.
13826 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13827 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13828 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13829 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13830 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13831 (test-xfail-UNIX98/sys/types.h/conform): Add.
13832 (test-xfail-UNIX98/stdlib.h/conform): Add.
13833 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13834 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13835 (test-xfail-POSIX2008/netdb.h/conform): Add.
13836 (test-xfail-POSIX2008/signal.h/conform): Add.
13837 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13838 (test-xfail-POSIX2008/regex.h/conform): Add.
13839 (test-xfail-POSIX2008/aio.h/conform): Add.
13840 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13841 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13842 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13843 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13844 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13845 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13846 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13847 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13848 (test-xfail-XOPEN2K/signal.h/conform): Add.
13849 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13850 (test-xfail-XOPEN2K/regex.h/conform): Add.
13851 (test-xfail-XOPEN2K/aio.h/conform): Add.
13852 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13853 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13854 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13855 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13856 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13857 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13858 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13859 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13860 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13861 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13862 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13863 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13864 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13865 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13866 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13867 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13868 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13869 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13870 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13871 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13872 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13873 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13874 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13875 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13876 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13877 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
13878 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13879 i386-gnu.
13880 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13881 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 13882
d6397de3
JM
138832018-04-18 Joseph Myers <joseph@codesourcery.com>
13884
13885 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13886 --enable-obsolete for powerpc-linux-gnuspe.
13887
8323a902
ST
138882018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13889
3dc0814c 13890 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 13891 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 13892 prototypes.
c5896a45
ST
13893 * sysdeps/mach/include/mach.h: Likewise.
13894 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13895 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 13896
743b9c2a
AZ
138972018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13898
13899 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13900 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13901 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13902 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13903
326e74e7
AS
139042018-04-16 Andreas Schwab <schwab@suse.de>
13905
13906 [BZ #19527]
13907 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13908
a14d8acd
PM
139092018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13910
13911 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13912 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13913
a700e7cb
DD
139142018-04-12 DJ Delorie <dj@redhat.com>
13915
13916 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13917 version to 4.16.
13918
d8abfab7
SL
139192018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13920
13921 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13922 (struct kernel_sigaction): Use the same definition on 31bit as is used
13923 on 64bit.
13924
583a27d5
FW
139252018-04-09 Florian Weimer <fweimer@redhat.com>
13926
13927 [BZ #23037]
13928 * resolv/res_send.c (send_dg): Use designated initializers instead
13929 of assignment to zero-initialize other fields of struct mmsghdr.
13930
243f59e5
AZ
139312018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13932
942de61a
AZ
13933 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13934 __READDIR_ALIAS): Undefine after usage.
13935 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13936 __READDIR_R_ALIAS): Likewise.
13937 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13938 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13939 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13940 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13941 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13942 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13943 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13944 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13945 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13946 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13947 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13948 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13949 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13950 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13951 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13952 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13953 * sysdeps/unix/sysv/linux/readdir.c: New file.
13954 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13955 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13956 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13957
243f59e5
AZ
13958 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13959
690c3475
AS
139602018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13961
13962 * manual/charset.texi (Converting a Character): Fix typo.
13963
b4a5d26d
AZ
139642018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13965
bbc2062a
AZ
13966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13967
fa7c6199
AZ
13968 * sysdeps/arm/libm-test-ulps: Update.
13969
b4a5d26d
AZ
13970 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13971 as base implementation.
13972 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13973 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13974 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13975 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13976 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13977 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13978 remove unrequired definitions and update comments.
13979 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13980 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13981 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13982 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13983 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13984 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13985 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13986 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13987 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13988 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13989 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13990 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13991 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13992 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13993 and RESET_SA_RESTORER hooks.
13994
db9e55ff
SL
139952018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13996
13997 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13998
cf138b0c
FW
139992018-04-05 Florian Weimer <fweimer@redhat.com>
14000
14001 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14002 integer overflow, memory leak on error, and indeterminate errno
14003 value. Add a null wide character to terminate the result string.
14004 * manual/charset.texi (Converting a Character): Mention embedded
14005 null bytes in the mbrtowc input string. Explain what happens in
14006 the -2 result case. Do not claim that mbrtowc is simple or
14007 obvious to use. Adjust the description of the code example. Use
14008 @code, not @var, for concrete variables.
14009
0f339252
FW
140102018-04-05 Florian Weimer <fweimer@redhat.com>
14011
14012 * manual/examples/mbstouwcs.c: New file.
14013 * manual/charset.texi (Converting a Character): Include it.
14014
e5f9508a
ST
140152018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14016
c120981d
ST
14017 * include/dirent.h (dirfd): Add hidden proto.
14018 * dirent/dirfd.c (dirfd): Add hidden def.
14019 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14020 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 14021
b2fd61ca
TMQMF
140222018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14023
14024 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14025 sin, cos and sincos to 1 ULP.
14026
10a446dd
MR
140272018-04-04 Maciej W. Rozycki <macro@mips.com>
14028
e7feec37
MR
14029 [BZ #19818]
14030 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14031 symbols.
14032 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14033 * elf/tst-absolute-sym.c: New file.
14034 * elf/tst-absolute-sym-lib.c: New file.
14035 * elf/tst-absolute-sym-lib.lds: New file.
14036 * elf/Makefile (tests): Add `tst-absolute-sym'.
14037 (modules-names): Add `tst-absolute-sym-lib'.
14038 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14039 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14040 ($(objpfx)tst-absolute-sym): New dependency.
14041
10a446dd
MR
14042 [BZ #19818]
14043 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14044 parameter.
14045 (SYMBOL_ADDRESS): New macro.
14046 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14047 SYMBOL_ADDRESS for symbol address calculation.
14048 * elf/dl-runtime.c (_dl_fixup): Likewise.
14049 (_dl_profile_fixup): Likewise.
14050 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14051 * elf/rtld.c (dl_main): Likewise.
14052 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14053 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14054 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14055 (elf_machine_rela): Likewise.
14056 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14057 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14058 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14059 (elf_machine_rela): Likewise.
14060 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14061 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14062 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14063 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14064 Likewise.
14065 (elf_machine_reloc): Likewise.
14066 (elf_machine_got_rel): Likewise.
14067 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14068 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14069 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14070 Likewise.
14071 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14072 Likewise.
14073 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14074 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14075 Likewise.
14076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14077 Likewise.
14078 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14079 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14080 Likewise.
14081 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14082 Likewise.
14083 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14084 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14085
9185f86d
ZW
140862018-04-04 Zack Weinberg <zackw@panix.com>
14087
14088 * sysdeps/generic/internal-signals.h: Include signal.h,
14089 sigsetops.h, and stdbool.h.
14090 (__libc_signal_block_all): Actually block all signals.
14091 (__libc_signal_block_app): Likewise.
14092 (__libc_signal_restore_set): Actually restore the signal mask.
14093
b07367bc
FW
140942018-04-04 Florian Weimer <fweimer@redhat.com>
14095
14096 inet: Actually build and run tst-deadline.
14097 * inet/Makefile (tests-internal): Add tst-deadline and do not
14098 overwrite the variable.
14099 (tests-static-internal): Remove variable.
14100
f2652643
L
141012018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14102
14103 [BZ #22947]
14104 * bits/uio-ext.h (RWF_APPEND): New.
14105 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14106 * manual/llio.texi: Document RWF_APPEND.
14107 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14108 (RWF_SUPPORTED): Add RWF_APPEND.
14109
d2dc5467
AZ
141102018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14111
14112 [BZ #22391]
14113 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14114 check for internal nptl signals.
14115 * nptl/sigaction.c (__sigaction): Likewise.
14116 * signal/sigaddset.c (sigaddset): Likewise.
14117 * signal/sigdelset.c (sigdelset): Likewise.
14118 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14119 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14120 value.
14121 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14122 to filter out internal nptl signals.
14123 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14124 also check realtime signals using standard macros.
14125 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14126 __is_internal_signal, __libc_signal_block_all,
14127 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14128 * sysdeps/nptl/sigfillset.c: Remove file.
14129 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14130 Change return to bool.
14131 (__clear_internal_signals): Remove SIGTIMER clean since it is
14132 equal to SIGCANEL on Linux.
14133 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14134 signal set was constructed using standard functions.
14135
511ed56f
ST
141362018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14137
92846492
ST
14138 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14139 ifname is too long.
e8ef51b1
ST
14140 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14141 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
14142 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14143 hidden def.
14144 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
14145 * signal/sigaddset.c: Include <sigsetopts.h>.
14146 * signal/sigdelset.c: Likewise.
511ed56f 14147
e88ecbbf
WD
141482018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14149
14150 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14151 (__cos): Likewise.
14152 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14153 logic as sin and cos.
14154
aef3e255
WD
141552018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14156
14157 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14158 inputs. Return correct sign.
14159 (do_sincos): Remove small input check before do_sin, let do_sin set
14160 the sign.
14161 (__sin): Likewise.
14162 (__cos): Likewise.
14163
72f6e9a3
WD
141642018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14165
14166 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14167 (do_cos_slow): Likewise.
14168 (do_sin_slow): Likewise.
14169 (reduce_and_compute): Likewise.
14170 (slow): Likewise.
14171 (slow1): Likewise.
14172 (slow2): Likewise.
14173 (sloww): Likewise.
14174 (sloww1): Likewise.
14175 (sloww2): Likewise.
14176 (bslow): Likewise.
14177 (bslow1): Likewise.
14178 (bslow2): Likewise.
14179 (cslow2): Likewise.
14180
64909583
WD
141812018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14182
14183 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14184 (do_cos): Remove corp parameter and calculations.
14185 (do_sin): Likewise.
14186 (do_sincos): Remove cor variable.
14187 (__sin): Use do_sincos for huge inputs.
14188 (__cos): Likewise.
14189 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14190 (reduce_and_compute_sincos): Remove unused function.
14191
d9469deb
WD
141922018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14193
14194 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14195 reduce_sincos, improve accuracy to 136 bits.
14196 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14197 (__sin): Use improved reduction and simplified do_sincos calculation.
14198 (__cos): Likewise.
14199 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14200
7a5640f2
WD
142012018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14202
14203 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14204 (do_sincos_2): Likewise.
14205 (__sin): Remove middle range reduction case.
14206 (__cos): Likewise.
14207 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14208 reduction case.
14209
19a8b9a3
WD
142102018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14211
14212 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14213 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14214 inputs.
14215 (__cos): Likewise.
14216 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14217
f72aa11d
JM
142182018-04-03 Joseph Myers <joseph@codesourcery.com>
14219
14220 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 14221 version to 4.16
f72aa11d 14222
8e4754ed
AZ
142232018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14224
14225 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14226 Remove definitions.
14227 (opendir_oflags): Use O_DIRECTORY regardless.
14228 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14229 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14230
8e2666ea
ST
142312018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14232
14233 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14234 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14235 macros.
14236 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14237 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14238 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14239 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
14240 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14241 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 14242
ad2b41bf
ST
14243 * htl/Makefile: Bump licence to LGPL 2.1+.
14244 * htl/alloca_cutoff.c: Likewise.
14245 * htl/cthreads-compat.c: Likewise.
14246 * htl/lockfile.c: Likewise.
14247 * htl/pt-alloc.c: Likewise.
14248 * htl/pt-cancel.c: Likewise.
14249 * htl/pt-cleanup.c: Likewise.
14250 * htl/pt-create.c: Likewise.
14251 * htl/pt-dealloc.c: Likewise.
14252 * htl/pt-detach.c: Likewise.
14253 * htl/pt-exit.c: Likewise.
14254 * htl/pt-getattr.c: Likewise.
14255 * htl/pt-initialize.c: Likewise.
14256 * htl/pt-internal.h: Likewise.
14257 * htl/pt-join.c: Likewise.
14258 * htl/pt-self.c: Likewise.
14259 * htl/pt-setcancelstate.c: Likewise.
14260 * htl/pt-setcanceltype.c: Likewise.
14261 * htl/pt-sigmask.c: Likewise.
14262 * htl/pt-spin-inlines.c: Likewise.
14263 * htl/pt-testcancel.c: Likewise.
14264 * htl/pt-yield.c: Likewise.
14265 * htl/tests/test-1.c: Likewise.
14266 * htl/tests/test-10.c: Likewise.
14267 * htl/tests/test-11.c: Likewise.
14268 * htl/tests/test-12.c: Likewise.
14269 * htl/tests/test-13.c: Likewise.
14270 * htl/tests/test-14.c: Likewise.
14271 * htl/tests/test-15.c: Likewise.
14272 * htl/tests/test-16.c: Likewise.
14273 * htl/tests/test-17.c: Likewise.
14274 * htl/tests/test-2.c: Likewise.
14275 * htl/tests/test-3.c: Likewise.
14276 * htl/tests/test-4.c: Likewise.
14277 * htl/tests/test-5.c: Likewise.
14278 * htl/tests/test-6.c: Likewise.
14279 * htl/tests/test-7.c: Likewise.
14280 * htl/tests/test-8.c: Likewise.
14281 * htl/tests/test-9.c: Likewise.
14282 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14283 * sysdeps/htl/bits/cancelation.h: Likewise.
14284 * sysdeps/htl/bits/pthread-np.h: Likewise.
14285 * sysdeps/htl/bits/pthread.h: Likewise.
14286 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14287 * sysdeps/htl/bits/semaphore.h: Likewise.
14288 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14289 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14290 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14291 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14292 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14293 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14294 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14295 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14296 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14297 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14298 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14299 * sysdeps/htl/old_pt-atfork.c: Likewise.
14300 * sysdeps/htl/pt-atfork.c: Likewise.
14301 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14302 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14303 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14304 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14305 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14306 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14307 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14308 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14309 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14310 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14311 * sysdeps/htl/pt-attr-init.c: Likewise.
14312 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14313 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14314 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14315 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14316 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14317 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14318 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14319 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14320 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14321 * sysdeps/htl/pt-attr.c: Likewise.
14322 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14323 * sysdeps/htl/pt-barrier-init.c: Likewise.
14324 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14325 * sysdeps/htl/pt-barrier.c: Likewise.
14326 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14327 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14328 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14329 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14330 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14331 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14332 * sysdeps/htl/pt-cond-init.c: Likewise.
14333 * sysdeps/htl/pt-cond-signal.c: Likewise.
14334 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14335 * sysdeps/htl/pt-cond-wait.c: Likewise.
14336 * sysdeps/htl/pt-cond.c: Likewise.
14337 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14338 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14339 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14340 * sysdeps/htl/pt-condattr-init.c: Likewise.
14341 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14342 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14343 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14344 * sysdeps/htl/pt-equal.c: Likewise.
14345 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14346 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14347 * sysdeps/htl/pt-getschedparam.c: Likewise.
14348 * sysdeps/htl/pt-getspecific.c: Likewise.
14349 * sysdeps/htl/pt-init-specific.c: Likewise.
14350 * sysdeps/htl/pt-key-create.c: Likewise.
14351 * sysdeps/htl/pt-key-delete.c: Likewise.
14352 * sysdeps/htl/pt-key.h: Likewise.
14353 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14354 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14355 * sysdeps/htl/pt-mutex-init.c: Likewise.
14356 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14357 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14358 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14359 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14360 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14361 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14362 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14363 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14364 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14365 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14366 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14367 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14368 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14369 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14370 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14371 * sysdeps/htl/pt-mutexattr.c: Likewise.
14372 * sysdeps/htl/pt-once.c: Likewise.
14373 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14374 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14375 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14376 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14377 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14378 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14379 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14380 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14381 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14382 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14383 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14384 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14385 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14386 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14387 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14388 * sysdeps/htl/pt-setschedparam.c: Likewise.
14389 * sysdeps/htl/pt-setschedprio.c: Likewise.
14390 * sysdeps/htl/pt-setspecific.c: Likewise.
14391 * sysdeps/htl/pt-spin.c: Likewise.
14392 * sysdeps/htl/pt-startup.c: Likewise.
14393 * sysdeps/htl/pthread.h: Likewise.
14394 * sysdeps/htl/sem-close.c: Likewise.
14395 * sysdeps/htl/sem-destroy.c: Likewise.
14396 * sysdeps/htl/sem-getvalue.c: Likewise.
14397 * sysdeps/htl/sem-init.c: Likewise.
14398 * sysdeps/htl/sem-open.c: Likewise.
14399 * sysdeps/htl/sem-post.c: Likewise.
14400 * sysdeps/htl/sem-timedwait.c: Likewise.
14401 * sysdeps/htl/sem-trywait.c: Likewise.
14402 * sysdeps/htl/sem-unlink.c: Likewise.
14403 * sysdeps/htl/sem-wait.c: Likewise.
14404 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14405 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14406 * sysdeps/mach/htl/pt-block.c: Likewise.
14407 * sysdeps/mach/htl/pt-spin.c: Likewise.
14408 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14409 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14410 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14411 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14412 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14413 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14414 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14415 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14416 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14417 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14418 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14419 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14420 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14421 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14422 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14423 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14424 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14425 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14426 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14427 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14428 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14429 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14430 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14431 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14432 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14433 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14434 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14435 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14436 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14437 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14438 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14439 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14440 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14441 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14442 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14443 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14444 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14445 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14446 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14447 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14448 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14449 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14450 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14451
fb03b04b
ST
14452 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14453 * README: Remove the mention of out-of-tree patches needed for
14454 GNU/Hurd.
14455
fa9e1555
ST
14456 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14457 (UTIME_NOW, UTIME_OMIT): Define macros.
14458
f6fb29d2
ST
14459 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14460 instead of pthread_detach.
14461 (__cthread_fork): Call __pthread_create instead of pthread_create.
14462 (__cthread_keycreate): Call __pthread_key_create instead of
14463 pthread_key_create.
14464 (__cthread_getspecific): Call __pthread_getspecific instead of
14465 pthread_getspecific.
14466 (__cthread_setspecific): Call __pthread_setspecific instead of
14467 pthread_setspecific.
14468 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14469 __pthread_mutex_unlock instead of pthread_mutex_lock and
14470 pthread_mutex_unlock.
14471 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14472 ___pthread_get_cleanup_stack.
14473 (__pthread_get_cleanup_stack): New strong alias.
14474 * htl/pt-create.c: Include <pthreadP.h>.
14475 (entry_point): Call __pthread_exit instead of pthread_exit.
14476 (pthread_create): Rename to __pthread_create.
14477 (pthread_create): New strong alias.
14478 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14479 (pthread_detach): New strong alias.
14480 (__pthread_detach): Call __pthread_cond_broadcast instead of
14481 pthread_cond_broadcast.
fe9748cc
ST
14482 * htl/pt-exit.c: Include <pthreadP.h>.
14483 (__pthread_exit): Call __pthread_setcancelstate and
14484 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14485 __pthread_get_cleanup_stack.
f6fb29d2
ST
14486 * htl/pt-testcancel.c: Include <pthreadP.h>.
14487 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14488 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14489 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14490 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14491 pthread_attr_getstacksize.
14492 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14493 Rename to __pthread_attr_getstackaddr.
14494 (pthread_attr_getstackaddr): New strong alias.
14495 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14496 Rename to __pthread_attr_getstacksize.
14497 (pthread_attr_getstacksize): New strong alias.
14498 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14499 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14500 (pthread_attr_setstack): New strong alias.
14501 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14502 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14503 pthread_attr_getstacksize, pthread_attr_setstacksize and
14504 pthread_attr_setstackaddr.
14505 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14506 Rename to __pthread_attr_setstackaddr.
14507 (pthread_attr_setstackaddr): New strong alias.
14508 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14509 Rename to __pthread_attr_setstacksize.
14510 (pthread_attr_setstacksize): New strong alias.
14511 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14512 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14513 pthread_exit.
14514 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14515 (__pthread_key_create): New hidden def.
14516 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14517 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14518 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14519 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14520 __pthread_setspecific, __pthread_setcancelstate,
14521 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14522 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14523 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14524 declarations.
14525 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14526 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14527 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14528 (pthread_attr_setstackaddr): New strong alias.
14529 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14530 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14531 (pthread_attr_setstacksize): New strong alias.
14532 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14533 (call_exit): Call __pthread_exit instead of pthread_exit.
14534 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14535 (_pthread_mutex_init): New hidden definition.
14536 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14537 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14538 instead of pthread_attr_init and pthread_attr_setstack.
14539
dba2bdbe
ST
14540 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14541 __vm_deallocate instead of vm_allocate and vm_deallocate.
14542 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14543 setenv.
14544 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14545 of geteuid.
14546 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14547 strdup.
14548 * hurd/siginfo.c: Include <libioP.h>.
14549 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14550 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14551 munmap.
dba2bdbe
ST
14552 * mach/devstream.c: Include <libioP.h>.
14553 (dealloc_ref): Call __mach_port_deallocate instead of
14554 mach_port_deallocate.
14555 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14556 Call __mach_port_deallocate instead of mach_port_deallocate.
14557 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14558 pathconf.
14559 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14560 munmap.
14561 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14562 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14563 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14564 of munmap.
14565 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14566 of close.
14567 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14568 instead of sysconf.
14569 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14570 __clock_gettime instead of clock_gettime.
14571 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14572 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14573 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14574 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14575 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14576 tcgetattr.
14577 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14578 __clock_gettime and __nanosleep instead of clock_gettime and
14579 nanosleep.
7a8f45e3
ST
14580 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14581 __hurd_catch_signal.
14582 (hurd_catch_signal): New strong alias.
14583 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14584 __hurd_catch_signal instead of hurd_catch_signal.
14585 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14586 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14587 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14588 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14589 (_hurd_thread_sigstate): Add hidden def.
14590 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14591 mutex_unlock.
14592 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14593 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14594 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14595 __hurd_file_name_path_lookup.
14596 (hurd_file_name_path_lookup): New strong alias.
14597 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14598 hurd_file_name_path_lookup.
14599 * mach/errstring.c (mach_error_type): Add hidden def.
14600 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14601 * mach/mutex-init.c (__mutex_init): Add hidden def.
14602 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14603 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14604 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14605 * sysdeps/mach/hurd/getcwd.c
14606 (_hurd_canonicalize_directory_name_internal): Rename to
14607 __hurd_canonicalize_directory_name_internal.
14608 (_hurd_canonicalize_directory_name_internal): New strong alias.
14609 (__canonicalize_directory_name_internal, __getcwd): Call
14610 __hurd_canonicalize_directory_name_internal instead of
14611 _hurd_canonicalize_directory_name_internal.
14612 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14613 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14614 hidden defs.
14615 * sysdeps/hurd/include/hurd.h: New file.
14616 * sysdeps/hurd/include/hurd/fd.h: New file.
14617 * sysdeps/hurd/include/hurd/signal.h: New file.
14618 * sysdeps/mach/include/lock-intern.h: New file.
14619 * sysdeps/mach/include/mach.h: New file.
14620 * sysdeps/mach/include/mach/mig_support.h: New file.
14621 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
14622 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14623 prototype.
14624 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14625 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14626 _HEADER_H_HIDDEN_DEF macro.
14627 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14628 _hurd_fd_error_signal): Add hidden prototype.
14629 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14630 hidden def.
82dbf555
ST
14631 * libio/iolibio.h (_IO_puts): New hidden prototype.
14632 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
14633 * sysdeps/mach/hurd/localplt.data: New file.
14634
33574c17
ST
146352018-04-02 Agustina Arzille <avarzille@riseup.net>
14636 Amos Jeffries <squid3@treenet.co.nz>
14637 David Michael <fedora.dm0@gmail.com>
14638 Marco Gerards <marco@gnu.org>
14639 Marcus Brinkmann <marcus@gnu.org>
14640 Neal H. Walfield <neal@gnu.org>
14641 Pino Toscano <toscano.pino@tiscali.it>
14642 Richard Braun <rbraun@sceen.net>
14643 Roland McGrath <roland@gnu.org>
14644 Samuel Thibault <samuel.thibault@ens-lyon.org>
14645 Thomas DiModica <ricinwich@yahoo.com>
14646 Thomas Schwinge <tschwinge@gnu.org>
14647
14648 * htl: New directory.
14649 * sysdeps/htl: New directory.
14650 * sysdeps/hurd/htl: New directory.
14651 * sysdeps/i386/htl: New directory.
14652 * sysdeps/mach/htl: New directory.
14653 * sysdeps/mach/hurd/htl: New directory.
14654 * sysdeps/mach/hurd/i386/htl: New directory.
14655 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14656 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14657 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14658
03e2aa50
ST
146592018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14660
14661 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14662 signals in thread created for runing timers.
14663
1aa52ced
FW
146642018-04-01 Florian Weimer <fweimer@redhat.com>
14665
14666 * support/support_format_addrinfo.c (support_format_addrinfo):
14667 Include unknown error number in formatted result.
14668
4d76d3e5
FW
146692018-03-29 Florian Weimer <fweimer@redhat.com>
14670
14671 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14672 capture SIGBUS.
14673
d39c0a45
AZ
146742018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14675
14676 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14677 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14678 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14679 (__ASSUME_CLONE_BACKWARDS): Define.
14680
cc8a1620
JH
146812018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14682
57408435 14683 [BZ #23024]
cc8a1620
JH
14684 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14685 early when linux sentinel value is set.
14686
8bfd94d0
ST
146872018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14688
14689 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14690
f178e59f
AS
146912018-03-27 Andreas Schwab <schwab@suse.de>
14692
14693 [BZ #23005]
14694 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14695 allocation of private copy of nsaddr_list fails.
14696
5f45f96a
JM
146972018-03-26 Joseph Myers <joseph@codesourcery.com>
14698
14699 [BZ #16552]
14700 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14701 * sysdeps/unix/sysv/linux/umount.c: ... here.
14702 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14703 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14704 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14705 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14707 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14708 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14709
3dfd23eb
AS
147102018-03-26 Andreas Schwab <schwab@suse.de>
14711
14712 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14713 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14714 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14715 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14716 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14717 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14718 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14719 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14720 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14721 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14722 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14723 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14724 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14725 (R_RISCV_NUM): Define.
14726
fa97d2ab
ST
147272018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14728
14729 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14730 TLS declaration of errno.
37be82a0
ST
14731 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14732 __libc_setup_tls.
14733 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14734 (ARCH_SETUP_TLS): Likewise.
14735 * sysdeps/mach/hurd/libc-start.h: New file copied from
14736 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
14737 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14738 instead of __libc_setup_tls.
37be82a0 14739 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
14740 __libc_setup_tls before initializing libpthread and running _hurd_init
14741 which starts the signal thread.
14742 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14743 Declare function.
2d813d7b 14744 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 14745
b8114edd
L
147462018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14747
14748 [BZ #22998]
14749 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14750 after it is defined.
14751
cd66c0e5
AS
147522018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14753 Max Horn <max@quendi.de>
14754
14755 [BZ #22644]
43d4f3d5 14756 CVE-2017-18269
cd66c0e5
AS
14757 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14758 branch conditions.
14759 * string/test-memmove.c (do_test2): New testcase.
14760
a4406139
JM
147612018-03-22 Joseph Myers <joseph@codesourcery.com>
14762
14763 * sysdeps/generic/frame.h: Remove file.
14764 * sysdeps/arm/frame.h: Likewise.
14765 * sysdeps/hppa/frame.h: Likewise.
14766 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14767 macro.
14768 (GET_FRAME): Likewise.
14769 (GET_STACK): Likewise.
14770 (CALL_SIGHANDLER): Likewise.
14771 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14772 Likewise.
14773 (GET_FRAME): Likewise.
14774 (GET_STACK): Likewise.
14775 (CALL_SIGHANDLER): Likewise.
14776 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14777 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14778 (GET_FRAME): Likewise.
14779 (GET_STACK): Likewise.
14780 (CALL_SIGHANDLER): Likewise.
14781 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14782 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14783 (GET_FRAME): Likewise.
14784 (GET_STACK): Likewise.
14785 (ADVANCE_STACK_FRAME): Likewise.
14786 (CALL_SIGHANDLER): Likewise.
14787 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14788 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14789 (GET_FRAME): Likewise.
14790 (GET_STACK): Likewise.
14791 (CALL_SIGHANDLER): Likewise.
14792 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14793 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14794 (GET_FRAME): Likewise.
14795 (GET_STACK): Likewise.
14796 (CALL_SIGHANDLER): Likewise.
14797 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14798 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14799 (GET_FRAME): Likewise.
14800 (GET_STACK): Likewise.
14801 (CALL_SIGHANDLER): Likewise.
14802 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14803 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14804 (GET_FRAME): Likewise.
14805 (GET_STACK): Likewise.
14806 (CALL_SIGHANDLER): Likewise.
14807 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14808 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14809 (GET_FRAME): Likewise.
14810 (GET_STACK): Likewise.
14811 (CALL_SIGHANDLER): Likewise.
14812 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14813 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14814 (GET_FRAME): Likewise.
14815 (GET_STACK): Likewise.
14816 (CALL_SIGHANDLER): Likewise.
14817 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14818 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14819 (GET_FRAME): Likewise.
14820 (GET_STACK): Likewise.
14821 (CALL_SIGHANDLER): Likewise.
14822 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14823 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14824 (GET_FRAME): Likewise.
14825 (GET_STACK): Likewise.
14826 (CALL_SIGHANDLER): Likewise.
14827 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14828 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14829 (GET_FRAME): Likewise.
14830 (GET_STACK): Likewise.
14831 (CALL_SIGHANDLER): Likewise.
14832 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14833 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14834 (FIRST_FRAME_POINTER): Likewise.
14835 (ADVANCE_STACK_FRAME): Likewise.
14836 (GET_STACK): Likewise.
14837 (GET_FRAME): Likewise.
14838 (CALL_SIGHANDLER): Likewise.
14839 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14840 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14841 (ADVANCE_STACK_FRAME): Likewise.
14842 (GET_STACK): Likewise.
14843 (GET_FRAME): Likewise.
14844 (CALL_SIGHANDLER): Likewise.
14845 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14846 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14847 (GET_FRAME): Likewise.
14848 (GET_STACK): Likewise.
14849 (CALL_SIGHANDLER): Likewise.
14850 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14851 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14852 (GET_FRAME): Likewise.
14853 (GET_STACK): Likewise.
14854 (CALL_SIGHANDLER): Likewise.
14855
ffec7b27
JM
148562018-03-21 Joseph Myers <joseph@codesourcery.com>
14857
14858 * sysdeps/x86_64/backtrace.c: Move to ....
14859 * debug/backtrace.c: ... here.
14860 * sysdeps/aarch64/backtrace.c: Remove file.
14861 * sysdeps/alpha/backtrace.c: Likewise.
14862 * sysdeps/hppa/backtrace.c: Likewise.
14863 * sysdeps/ia64/backtrace.c: Likewise.
14864 * sysdeps/mips/backtrace.c: Likewise.
14865 * sysdeps/nios2/backtrace.c: Likewise.
14866 * sysdeps/riscv/backtrace.c: Likewise.
14867 * sysdeps/sh/backtrace.c: Likewise.
14868 * sysdeps/tile/backtrace.c: Likewise.
14869
8a07b0c4
JM
148702018-03-20 Joseph Myers <joseph@codesourcery.com>
14871
d0c5d731
JM
14872 [BZ #22987]
14873 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14874 function.
14875 (fdimf): Likewise.
14876 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14877
8a07b0c4
JM
14878 [BZ #17343]
14879 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14880 possibly overflowing computations.
14881
ceb54b9b
ST
148822018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14883
14884 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14885 values from Linux-specific section now that it is in the GNU section.
14886 * sysdeps/gnu/errlist.c: Regenerate.
14887
8d3f9e85
JM
148882018-03-20 Joseph Myers <joseph@codesourcery.com>
14889
14890 * math/Makefile (libm-narrow-fns): Add sub.
14891 (libm-test-funcs-narrow): Likewise.
14892 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14893 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14894 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14895 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14896 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14897 (NARROW_SUB_TRIVIAL): Likewise.
14898 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14899 macro.
14900 (__dsubl): Likewise.
14901 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14902 dsub.
14903 (CFLAGS-nldbl-dsub.c): New variable.
14904 (CFLAGS-nldbl-fsub.c): Likewise.
14905 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14906 __nldbl_dsubl.
14907 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14908 prototype.
14909 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14910 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14911 * math/auto-libm-test-in: Add tests of sub.
14912 * math/auto-libm-test-out-narrow-sub: New generated file.
14913 * math/libm-test-narrow-sub.inc: New file.
14914 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14916 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14917 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14918 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14919 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14920 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14922 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14924 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14928 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14929 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14930 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14931 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14933 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14934 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14937 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14938 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14939 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14940 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14941 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14942 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14943 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14944 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14945 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14950 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14951 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14952 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14953 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14954 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14956 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14957 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14958 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14959 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14960
d473f015
JM
149612018-03-19 Joseph Myers <joseph@codesourcery.com>
14962
14963 [BZ #20079]
14964 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14965
fbce6f72
WD
149662018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14967
14968 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14969
72e7ffc3
RB
149702018-03-18 Richard Braun <rbraun@sceen.net>
14971
14972 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14973 thread reference.
14974
542c20a1
AA
149752018-03-18 Agustina Arzille <avarzille@riseup.net>
14976
14977 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14978 (__libc_cleanup_fct): Define function.
14979 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14980 __libc_cleanup_end): Rewrite implementation using
14981 __attribute__ ((__cleanup__)).
14982 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
14983 * hurd/Makefile (routines): Add hurdlock.
14984 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14985 interface.
14986 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14987 * hurd/hurdpid.c: Include <lowlevellock.h>
14988 (_S_msg_proc_newids): Use lll_wait to synchronize.
14989 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14990 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14991 * mach/Makefile (lock-headers): Remove machine-lock.h.
14992 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14993 <machine-lock.h>.
14994 (__spin_lock_t): New type.
14995 (__SPIN_LOCK_INITIALIZER): New macro.
14996 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14997 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14998 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14999 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15000 (__mutex_init): Initialize with lll.
15001 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15002 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15003 needing lll.
15004 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15005 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15006 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15007 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15008 (__setpgid): Use lll for synchronization.
15009 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15010 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15011 instead of <cthreads.h>.
15012 (_IO_lock_inexpensive): New macro
15013 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15014 (__libc_lock_self0): New declaration.
15015 (__libc_lock_owner_self): New macro.
15016 (__libc_key_t): Remove type.
15017 (_LIBC_LOCK_INITIALIZER): New macro.
15018 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15019 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15020 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15021 __libc_lock_define_initialized_recursive,
15022 __rtld_lock_define_initialized_recursive,
15023 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15024 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15025 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15026 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15027 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15028 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15029 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15030 New macros.
15031 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15032 * hurd/hurdlock.c: New file.
15033 * hurd/hurdlock.h: New file.
15034 * mach/lowlevellock.h: New file
542c20a1 15035
9a37922e
ST
150362018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15037
15038 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
15039 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15040 when opening a symlink with O_NOFOLLOW.
72103e73
ST
15041 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15042 path when flags contains O_NOFOLLOW.
15043 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15044 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
15045 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15046 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
15047 * sysdeps/mach/hurd/mlockall.c: New file.
15048 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 15049
34e6a869
ST
150502018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15051
15052 * hurd/hurdsig.c: Include <pthread.h>.
15053 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15054 get the signal thread stack layout.
dc33bef3
ST
15055 * hurd/Makefile (headers): Remove threadvar.h.
15056 (inline-headers): Remove threadvar.h.
15057 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15058 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15059 __hurd_threadvar_max, __hurd_errno_location.
15060 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15061 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15062 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15063 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15064 unless TLS is not initialized yet, in which case we do not need a
15065 critical section yet anyway.
15066 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15067 <machine-sp.h>.
15068 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15069 declarations.
15070 (__hurd_threadvar_index): Remove enum.
15071 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15072 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15073 inlines.
15074 (__hurd_reply_port0): New variable declaration.
15075 (__hurd_local_reply_port): New macro.
15076 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15077 (interrupted_reply_port_location): Add thread_t parameter. Use it
15078 with THREAD_TCB to access thread-local variables.
15079 (_hurdsig_abort_rpcs): Pass ss->thread to
15080 interrupted_reply_port_location.
15081 (_hurd_internal_post_signal): Likewise.
15082 (_hurdsig_init): Use presence of cthread_fork instead of
15083 __hurd_threadvar_stack_mask to start signal thread by hand.
15084 Remove signal thread threadvar initialization.
15085 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15086 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15087 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15088 of threadvar.
15089 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15090 __libc_lock_self0.
15091 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15092 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15093 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15094 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15095 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15096 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15097 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15098 define variables.
15099 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15100 <hurd/threadvar.h>.
15101 [IS_IN(rtld)] (rtld_errno): New variable.
15102 [IS_IN(rtld)] (__errno_location): New weak function.
15103 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15104 * sysdeps/mach/hurd/errno.c: Remove file.
15105 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15106 (__fork): Remove THREADVAR_SPACE macro and its use.
15107 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15108 variable.
15109 (init): Do not initialize threadvar.
15110 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15111 symbol.
15112 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15113 __hurd_local_reply_port instead of threadvar.
15114 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15115 _hurd_sigstate fields.
15116 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15117 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15118 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15119 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15120 instead of threadvar.
15121 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15122 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15123 (use_threadvar, global_reply_port): Remove variables.
15124 (__hurd_reply_port0): New variable.
15125 (__mig_get_reply_port): Use __hurd_local_reply_port and
15126 __hurd_reply_port0 instead of threadvar.
15127 (__mig_dealloc_reply_port): Likewise.
15128 (__mig_init): Do not initialize threadvar.
15129 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
15130 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15131 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15132 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15133 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15134 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15135 __cthread_setspecific.
15136 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15137 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15138 __cthread_t instead of cthread_fork, cthread_detach,
15139 pthread_getattr_np, pthread_attr_getstack.
15140 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15141 __cthread_keycreate.
15142 (cthread_getspecific): Rename to __cthread_getspecific.
15143 (cthread_setspecific): Rename to __cthread_setspecific.
15144 (__libc_getspecific): Use __cthread_getspecific instead of
15145 cthread_getspecific.
15146 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15147 __cthread_keycreate instead of cthread_keycreate.
15148 (__libc_setspecific): Use __cthread_setspecific instead of
15149 cthread_setspecific.
15150 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15151 Likewise.
dd28d4ba
ST
15152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15153 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15154 testing whether it is defined.
34e6a869 15155
f8baf2a2
ST
151562018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15157
15158 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15159 Define macro.
15160 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15161 * sysdeps/mach/i386/thread_state.h
15162 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15163 i386_THREAD_STATE.
15164 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15165 i386_THREAD_STATE.
15166 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15167
15168 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15169 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15170
15171 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15172 macros.
15173 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15174 descriptor instead of creating a new one.
15175 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15176
15177 * mach/setup-thread.c: Include <ldsodefs.h>.
15178 (__mach_setup_thread): Call _dl_allocate_tls, pass
15179 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15180 MACHINE_THREAD_STATE_FLAVOR, before getting
15181 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15182 MACHINE_THREAD_STATE_FLAVOR with the result.
15183 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15184 MACHINE_THREAD_STATE_FIX_NEW.
15185 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15186 too. Add original thread parameter.
15187
34ba96b8
JM
151882018-03-16 Joseph Myers <joseph@codesourcery.com>
15189
5d75b75f
JM
15190 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15191 Remove inline function.
15192
34ba96b8
JM
15193 * sysdeps/i386/fpu/libm-test-ulps: Update.
15194 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15195
22679b2c
WD
151962018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15197
15198 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15199 commit.
15200
c429a8d8
JM
152012018-03-15 Joseph Myers <joseph@codesourcery.com>
15202
15203 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15204 (__sincos_code): Remove define and undefine.
15205 [__FAST_MATH__] (__sincos): Remove inline function.
15206 [__FAST_MATH__] (__sincosf): Remove inline function.
15207 [__FAST_MATH__] (__sincosl): Remove inline function.
15208 (__atan2l): Remove inline functions.
15209 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15210 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15211 function.
15212 (floor): Remove inline function.
15213 (ceil): Likewise.
15214 [__FAST_MATH__] (__ldexp_code): Remove macro.
15215 [__FAST_MATH__] (ldexp): Remove inline function.
15216 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15217 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15218 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15219 [__USE_ISOC99] (__lrint_code): Remove macro.
15220 [__USE_ISOC99] (__llrint_code): Likewise.
15221 [__USE_ISOC99] (lrintf): Remove inline function.
15222 [__USE_ISOC99] (lrint): Likewise.
15223 [__USE_ISOC99] (lrintl): Likewise.
15224 [__USE_ISOC99] (llrint): Likewise.
15225 [__USE_ISOC99] (llrintf): Likewise.
15226 [__USE_ISOC99] (llrintl): Likewise.
15227
700593fd
WD
152282018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15229
15230 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15231 (__ieee754_sqrtf): Remove.
15232 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15233 (__ieee754_sqrtf): Remove.
15234 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15235 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15236 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15237 (__ieee754_sqrtf): Remove.
15238 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15239 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15240 (sqrtf): Remove.
15241 (sqrtl): Remove.
15242 (__ieee754_sqrt): Remove.
15243 (__ieee754_sqrtf): Remove.
15244 (__ieee754_sqrtl): Remove.
15245 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15246 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15247 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15248 (__ieee754_sqrtf): Remove.
15249 (__ieee754_sqrtl): Remove.
15250
f67a8147
WD
152512018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15252
15253 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15254 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15255 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15256 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15257 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15258 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15259 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15260 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15261 Likewise.
15262 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15263 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15264 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15265 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15266 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15267 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15268 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15269 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15270 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15271 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15272 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15273 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15274 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15275 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15276 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15277 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15278 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15279 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15280 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15281 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15282 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15283 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15284 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15285 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15286 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15287 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15289 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15290 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15291 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15292 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15293 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15294 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15295 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15296 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15297 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15298 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15299 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15300 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15301 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15302
1294b189
WD
153032018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15304
15305 * include/math.h (sqrt): Declare with asm redirect.
15306 (sqrtf): Likewise.
15307 (sqrtl): Likewise.
15308 (sqrtf128): Likewise.
15309 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15310 nonlib and libnldbl with -fmath-errno.
15311 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15312 * math/w_sqrt_template.c: Likewise.
15313 * math/w_sqrtf_compat.c: Likewise.
15314 * math/w_sqrtl_compat.c: Likewise.
15315 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15316 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15317 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15318 complex.h.
15319
f1c8185d
WD
153202018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15321
15322 * benchtests/Makefile: Define _ISOMAC.
15323 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15324 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15325 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15326 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15327 * benchtests/bench-timing.h: Define attribute_hidden.
15328
b47c3e76
SP
153292018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15330
15331 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15332 mov + lsr.
15333
807fee29
RL
153342018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15335
15336 [BZ #22963]
15337 * localedata/locales/cs_CZ (mon): Rename to...
15338 (alt_mon): This.
15339 (mon): Import from CLDR (genitive case).
15340
e7155a28
RL
153412018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15342
15343 [BZ #22937]
15344 * localedata/locales/el_CY (abmon): Rename to...
15345 (ab_alt_mon): This.
15346 (abmon): Import from CLDR (abbreviated genitive case).
15347 * localedata/locales/el_GR (abmon): Rename to...
15348 (ab_alt_mon): This.
15349 (abmon): Import from CLDR (abbreviated genitive case).
15350
71d7b121
RL
153512018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15352
15353 [BZ #22932]
15354 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15355
a00bffe8
RB
153562018-03-15 Robert Buj <robert.buj@gmail.com>
15357
15358 [BZ #22848]
15359 * localedata/locales/ca_ES (abmon): Rename to...
15360 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15361 (mon): Rename to...
15362 (alt_mon): This.
15363 (abmon): Import from CLDR (genitive case, month names preceded by
15364 "de" or "d’").
15365 (mon): Likewise.
15366 (abday): Synchronize with CLDR.
15367 (d_t_fmt): Likewise.
15368 (d_fmt): Likewise.
15369 (am_pm): Likewise.
15370
15371 (LC_TIME): Improve indentation.
15372 (LC_TELEPHONE): Likewise.
15373 (LC_NAME): Likewise.
15374 (LC_ADDRESS): Likewise.
15375
f9555d73
JM
153762018-03-14 Joseph Myers <joseph@codesourcery.com>
15377
15378 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15379 (lrintf): Remove definitions used only with old GCC.
15380 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15381 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15382 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15383 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15384 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15385 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15386 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15387 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15388 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15389 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15390 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15391 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15392 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15393 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15394 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15395 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15396 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15397 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15398 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15399 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15400 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15401 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15402 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15403 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15404 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15405 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15406 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15407 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15408
d46f84de
SP
154092018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15410
15411 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15412 instruction to unbreak builds with binutils 2.26 and older.
15413
7108f1f9
SP
154142018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15415
15416 * sysdeps/aarch64/strncmp.S (count): New macro.
15417 (strncmp): Store misaligned length in SRC1 in COUNT.
15418 (mutual_align): Adjust.
15419 (misaligned8): Load dword at a time when it is safe.
15420
2cc7bad0
ZW
154212018-03-12 Zack Weinberg <zackw@panix.com>
15422
15423 [BZ #1190]
15424 [BZ #19476]
15425 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15426 if the _IO_EOF_SEEN bit is already set; update commentary.
15427 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15428 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15429
15430 * support/support_openpty.c, support/tty.h: New files.
15431 * support/Makefile (libsupport-routines): Add support_openpty.
15432
15433 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15434 New test cases.
15435 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15436 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15437
778f1974
DL
154382018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15439
15440 * po/pt_BR.po: Update translations.
15441
da6d4404
DM
154422018-03-12 David Michael <fedora.dm0@gmail.com>
15443
15444 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15445 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15446 get a port to the startup server.
15447
d3da750d
ZW
154482018-03-11 Zack Weinberg <zackw@panix.com>
15449
15450 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15451 before nldbl-compat.h.
15452
054b72cc
ZW
154532018-03-10 Zack Weinberg <zackw@panix.com>
15454
0d13dfa1
ZW
15455 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15456 math.h or math_private.h.
15457
15458 * sysdeps/alpha/fpu/s_isnan.c
15459 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15460 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15461 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15462 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15463 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15464 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15465 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15466 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15467 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15470 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15471 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15472 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15473 Include math_private.h.
15474
15475 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15476 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15477 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15478 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15479 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15480 * sysdeps/powerpc/power7/fpu/s_logb.c:
15481 Include math.h and math_private.h.
15482
054b72cc
ZW
15483 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15484 uses of $at in .set noat / .set at.
15485
6253bacd
L
154862018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15487
15488 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15489 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15490 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15491 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15492 Likewise.
15493
229855e5
FW
154942018-03-09 Florian Weimer <fweimer@redhat.com>
15495
15496 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15497 in comment.
15498
9aa5c222
AJ
154992018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15500
15501 [BZ #22919]
15502 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15503 Add nop before __startcontext, add explaining comments.
15504
3dc21497
AZ
155052018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15506
e921c89e
AZ
15507 [BZ #22926]
15508 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15509 empty for __SPE__.
15510 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15511 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15512 Do not build hardware transactional code for __SPE__.
15513 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15514 (__lll_trylock_elision): Likewise.
15515 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15516 (__lll_unlock_elision): Likewise.
15517
d9f26dab 15518 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
15519 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15520 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15521 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15522 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15523 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15524 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15525 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15526 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15527 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15528 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15529 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15530 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15531 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15532 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15533 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15534 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15535 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15536 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15537 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15538 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15539 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15540 (__ASSUME_CLONE_BACKWARDS): Define.
15541 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15542 __clone2 if __NR_clone2 is defined.
15543 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15544 (__ASSUME_CLONE_BACKWARDS): Likewise.
15545 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15546 (__ASSUME_CLONE_BACKWARDS): Likewise.
15547 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15548 (__ASSUME_CLONE2): Likewise.
15549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15550 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15551 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15552 variants and the define architecture can use.
15553 (__ASSUME_CLONE_DEFAULT): Define as default.
15554 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15555 (__ASSUME_CLONE_BACKWARDS): Likewise.
15556 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15557 (__ASSUME_CLONE_BACKWARDS): Likewise.
15558 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15559 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15560
adc95fb0
SP
155612018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15562
4e54d918
SP
15563 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15564
30a81dae
SP
15565 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15566 time.
15567
adc95fb0
SP
15568 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15569 (do_test_limit): Likewise.
15570
15571 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15572 for every implementation.
15573 (do_test): Likewise.
15574
15575 * benchtests/bench-strncmp.c: Convert output to json.
15576
4e9066bc
ST
155772018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15578
15579 * io/futimens.c: Add missing start-of-file descriptive comment.
15580 * io/utime.c: Likewise.
15581 * misc/futimesat.c: Likewise.
15582 * misc/utimes.c: Likewise.
15583 * sysdeps/mach/hurd/futimesat.c: Likewise.
15584 * sysdeps/mach/hurd/utimes.c: Likewise.
15585 * sysdeps/posix/utime.c: Likewise.
15586 * sysdeps/posix/utimes.c: Likewise.
15587 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15588 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15589 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15590 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15591
ec1300cf
ST
155922018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15593
15594 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15595 hurd_futimes.
15596 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15597 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15598 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15599 (__futimens): Move implementation to...
15600 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15601 utime_tvalue_from_tspec): ... new helper functions.
15602 (hurd_futimens): New function.
15603 * sysdeps/mach/hurd/futimesat.c: New file.
15604 * sysdeps/mach/hurd/utimensat.c: New file.
15605
bbe762d1
FC
156062018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15607
15608 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15609 UTIME_OMIT): New macros.
15610 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15611 before reverting to converting time spec to time value and calling
15612 __file_utimes.
15613 * sysdeps/mach/hurd/utime-helper.c: New file.
15614 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15615 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15616 reverting to utime_tvalue_from_tval and __file_utimes.
15617 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15618 (__lutimes): Just call hurd_futimens after lookup.
15619 * sysdeps/mach/hurd/utimes.c: Likewise.
15620
a1ede3a4
ST
156212018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15622
15623 * bits/sigaction.h: Add include guard.
15624 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15625 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15626 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15627 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15628 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15629 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15630 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15631 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15632 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15633
6900d2ca
JM
156342018-03-05 Joseph Myers <joseph@codesourcery.com>
15635
15636 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15637 -Wmaybe-uninitialized for -Os.
15638 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15639 this disabling.
15640
68448be2
AZ
156412018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15642
5226a81f
AZ
15643 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15644 __INO_T_MATCHES_INO64_T is defined.
15645 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15646 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15647 of definition.
15648 * dirent/alphasort64.c: Likewise.
15649 * dirent/scandir.c: Likewise.
15650 * dirent/scandir64-tail.c: Likewise.
15651 * dirent/scandir64.c: Likewise.
15652 * dirent/scandirat.c: Likewise.
15653 * dirent/scandirat64.c: Likewise.
15654 * dirent/versionsort.c: Likewise.
15655 * dirent/versionsort64.c: Likewise.
15656 * include/dirent.h: Likewise.
15657
fbd01e6c
AZ
15658 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15659 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15660 for socketpair endpoint.
15661 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15662 WRITE_BUFFER_SIZE as buffer size for sending socket.
15663 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15664 issue on system where send is implemented with sendto syscall.
15665 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15666 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15667 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15668 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15669
68448be2
AZ
15670 [BZ #21269]
15671 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15672 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15673 sa_restorer for vDSO case.
15674 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15675
eb1ca47e
ST
156762018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15677
15678 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
15679 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15680 * hurd/hurd/ioctl.h: Include <mach/port.h>
15681 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
15682 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15683 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
15684 (headers): Move mach/param.h to bits/mach/param.h.
15685 * sysdeps/mach/i386/mach/param.h: Move file to ...
15686 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15687 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15688 of <mach/param.h>.
3403cb7d
ST
15689 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15690 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15691 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
15692 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15693 trivial, for C++ conformity.
44c6376c 15694 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
15695 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15696 Process mig output through $(migheadersed).
15697 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
15698 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15699 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15700 headers.
ba89615d
ST
15701 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15702 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15703 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15704 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15705 <bits/types/sigset_t.h>.
15706 [!defined __USE_GNU]: Do not #error out.
15707 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15708 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15709 Include <stddef.h> and <bits/types/sigset_t.h>
15710 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15711 instead of sighandler_t.
974393ea
ST
15712 * stdlib/errno.h (error_t): Move definition to...
15713 * bits/types/error_t.h: ... new header.
15714 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15715 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15716 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15717 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15718 * hurd/hurd.h: Include <bits/types/error_t.h>
15719 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15720 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15721 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15722 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15723 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15724 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 15725 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 15726
eaf6753f
AS
157272018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15728
15729 [BZ #22918]
15730 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15731 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15732 * nscd/gai.c (__nss_hosts_database): Readd definition.
15733 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15734 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15735 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15736
4dc23804
JM
157372018-03-02 Joseph Myers <joseph@codesourcery.com>
15738
15739 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15740 (ifunc_one): Likewise.
15741
1c81d55f
DD
157422018-03-01 DJ Delorie <dj@delorie.com>
15743
15744 [BZ #22342]
15745 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15746 key value.
15747
b717c14f
MR
157482018-03-01 Maciej W. Rozycki <macro@mips.com>
15749
15750 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15751 `match_pid' parameter.
15752 (td_ta_thr_iter): Update accordingly.
15753
1efe1358
FW
157542018-03-01 Florian Weimer <fweimer@redhat.com>
15755
15756 * nptl/Makefile (install-lib-ldscripts): Remove.
15757 (install): Remove rule.
15758 ($(inst_libdir)/libpthread.so): Likewise.
15759
a527f09c
MF
157602018-03-01 Mike FABIAN <mfabian@redhat.com>
15761
15762 [BZ #22896]
15763 * localedata/locales/an_ES: update month and day names,
15764 improve d_fmt, improve postal_fmt, add country_post,
15765 add country_isbn
15766
35d660b0
MF
157672018-03-01 Mike FABIAN <mfabian@redhat.com>
15768
15769 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15770 Ukrainian instead of Bulgarian.
15771
1a2f44a8
FW
157722018-03-01 Florian Weimer <fweimer@redhat.com>
15773
15774 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15775 reference.
15776
bd60ce86
FW
157772018-03-01 Florian Weimer <fweimer@redhat.com>
15778
15779 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15780 * nptl/Makefile (routines): Add pthread_atfork.
15781 (static-only-routines): Set to pthread_atfork.
15782 (libpthread-routines): Remove pthread_atfork.
15783 (libpthread-static-only-routines): Remove.
15784 (install): Update comment.
15785 (libpthread.so): Do not install libpthread_nonshared.a.
15786 (tests): Do not link with libpthread_nonshared.a.
15787 (generated): Remove libpthread_nonshared.a.
15788 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15789 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15790 with libpthread_nonshared.a.
15791
000f290f
JM
157922018-02-28 Joseph Myers <joseph@codesourcery.com>
15793
e2bcf6a8
JM
15794 [BZ #22902]
15795 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15796 (libc_feholdexcept_setroundf128): New macro.
15797 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15798
000f290f
JM
15799 [BZ #15105]
15800 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15801 libc_hidden_def.
15802 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15803 * include/inttypes.h: New file.
15804
02f2fead
JM
158052018-02-27 Joseph Myers <joseph@codesourcery.com>
15806
15807 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15808 -Os in two more places.
15809
874c56d7
MF
158102018-02-27 Mike FABIAN <mfabian@redhat.com>
15811
15812 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15813 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15814 be sorted correctly at the moment because of a bug.
15815
15973854
MF
158162018-02-27 Mike FABIAN <mfabian@redhat.com>
15817
15818 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15819 treat ñ as a primary different character, sync the collation
15820 for Spanish with CLDR.
15821 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15822 * localedata/Makefile: Add new test files.
15823 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15824 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15825 collation order.
15826 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15827 * localedata/am_ET.UTF-8.in: New test file.
15828 * localedata/az_AZ.UTF-8.in: Likewise.
15829 * localedata/be_BY.UTF-8.in: Likewise.
15830 * localedata/ber_DZ.UTF-8.in: Likewise.
15831 * localedata/ber_MA.UTF-8.in: Likewise.
15832 * localedata/bg_BG.UTF-8.in: Likewise.
15833 * localedata/br_FR.UTF-8.in: Likewise.
15834 * localedata/cmn_TW.UTF-8.in: Likewise.
15835 * localedata/crh_UA.UTF-8.in: Likewise.
15836 * localedata/csb_PL.UTF-8.in: Likewise.
15837 * localedata/cv_RU.UTF-8.in: Likewise.
15838 * localedata/cy_GB.UTF-8.in: Likewise.
15839 * localedata/dz_BT.UTF-8.in: Likewise.
15840 * localedata/eo.UTF-8.in: Likewise.
15841 * localedata/es_ES.UTF-8.in: Likewise.
15842 * localedata/fa_IR.UTF-8.in: Likewise.
15843 * localedata/fi_FI.UTF-8.in: Likewise.
15844 * localedata/fil_PH.UTF-8.in: Likewise.
15845 * localedata/fur_IT.UTF-8.in: Likewise.
15846 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15847 * localedata/ha_NG.UTF-8.in: Likewise.
15848 * localedata/ig_NG.UTF-8.in: Likewise.
15849 * localedata/ik_CA.UTF-8.in: Likewise.
15850 * localedata/kk_KZ.UTF-8.in: Likewise.
15851 * localedata/ku_TR.UTF-8.in: Likewise.
15852 * localedata/ky_KG.UTF-8.in: Likewise.
15853 * localedata/ln_CD.UTF-8.in: Likewise.
15854 * localedata/mi_NZ.UTF-8.in: Likewise.
15855 * localedata/ml_IN.UTF-8.in: Likewise.
15856 * localedata/mn_MN.UTF-8.in: Likewise.
15857 * localedata/mr_IN.UTF-8.in: Likewise.
15858 * localedata/mt_MT.UTF-8.in: Likewise.
15859 * localedata/nb_NO.UTF-8.in: Likewise.
15860 * localedata/om_KE.UTF-8.in: Likewise.
15861 * localedata/os_RU.UTF-8.in: Likewise.
15862 * localedata/ps_AF.UTF-8.in: Likewise.
15863 * localedata/ro_RO.UTF-8.in: Likewise.
15864 * localedata/ru_RU.UTF-8.in: Likewise.
15865 * localedata/sc_IT.UTF-8.in: Likewise.
15866 * localedata/se_NO.UTF-8.in: Likewise.
15867 * localedata/sq_AL.UTF-8.in: Likewise.
15868 * localedata/sv_SE.UTF-8.in: Likewise.
15869 * localedata/szl_PL.UTF-8.in: Likewise.
15870 * localedata/tg_TJ.UTF-8.in: Likewise.
15871 * localedata/tk_TM.UTF-8.in: Likewise.
15872 * localedata/tt_RU.UTF-8.in: Likewise.
15873 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15874 * localedata/ug_CN.UTF-8.in: Likewise.
15875 * localedata/uz_UZ.UTF-8.in: Likewise.
15876 * localedata/vi_VN.UTF-8.in: Likewise.
15877 * localedata/yi_US.UTF-8.in: Likewise.
15878 * localedata/yo_NG.UTF-8.in: Likewise.
15879 * localedata/zh_CN.UTF-8.in: Likewise.
15880 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15881 file and fix bugs in the collation.
15882 * localedata/locales/az_AZ: Likewise.
15883 * localedata/locales/be_BY: Likewise.
15884 * localedata/locales/ber_DZ: Likewise.
15885 * localedata/locales/ber_MA: Likewise.
15886 * localedata/locales/bg_BG: Likewise.
15887 * localedata/locales/br_FR: Likewise.
15888 * localedata/locales/br_FR@euro: Likewise.
15889 * localedata/locales/ca_ES: Likewise.
15890 * localedata/locales/cns11643_stroke: Likewise.
15891 * localedata/locales/crh_UA: Likewise.
15892 * localedata/locales/cs_CZ: Likewise.
15893 * localedata/locales/csb_PL: Likewise.
15894 * localedata/locales/cv_RU: Likewise.
15895 * localedata/locales/cy_GB: Likewise.
15896 * localedata/locales/da_DK: Likewise.
15897 * localedata/locales/dz_BT: Likewise.
15898 * localedata/locales/en_CA: Likewise.
15899 * localedata/locales/eo: Likewise.
15900 * localedata/locales/es_CU: Likewise.
15901 * localedata/locales/es_EC: Likewise.
15902 * localedata/locales/es_ES: Likewise.
15903 * localedata/locales/es_US: Likewise.
15904 * localedata/locales/et_EE: Likewise.
15905 * localedata/locales/fa_IR: Likewise.
15906 * localedata/locales/fi_FI: Likewise.
15907 * localedata/locales/fil_PH: Likewise.
15908 * localedata/locales/fur_IT: Likewise.
15909 * localedata/locales/gez_ER@abegede: Likewise.
15910 * localedata/locales/ha_NG: Likewise.
15911 * localedata/locales/hr_HR: Likewise.
15912 * localedata/locales/hsb_DE: Likewise.
15913 * localedata/locales/hu_HU: Likewise.
15914 * localedata/locales/ig_NG: Likewise.
15915 * localedata/locales/ik_CA: Likewise.
15916 * localedata/locales/is_IS: Likewise.
15917 * localedata/locales/iso14651_t1_pinyin: Likewise.
15918 * localedata/locales/kk_KZ: Likewise.
15919 * localedata/locales/ku_TR: Likewise.
15920 * localedata/locales/ky_KG: Likewise.
15921 * localedata/locales/ln_CD: Likewise.
15922 * localedata/locales/lt_LT: Likewise.
15923 * localedata/locales/lv_LV: Likewise.
15924 * localedata/locales/mi_NZ: Likewise.
15925 * localedata/locales/ml_IN: Likewise.
15926 * localedata/locales/mn_MN: Likewise.
15927 * localedata/locales/mr_IN: Likewise.
15928 * localedata/locales/mt_MT: Likewise.
15929 * localedata/locales/nb_NO: Likewise.
15930 * localedata/locales/om_KE: Likewise.
15931 * localedata/locales/os_RU: Likewise.
15932 * localedata/locales/pl_PL: Likewise.
15933 * localedata/locales/ps_AF: Likewise.
15934 * localedata/locales/ro_RO: Likewise.
15935 * localedata/locales/ru_RU: Likewise.
15936 * localedata/locales/ru_UA: Likewise.
15937 * localedata/locales/sc_IT: Likewise.
15938 * localedata/locales/se_NO: Likewise.
15939 * localedata/locales/si_LK: Likewise.
15940 * localedata/locales/sq_AL: Likewise.
15941 * localedata/locales/sv_FI: Likewise.
15942 * localedata/locales/sv_FI@euro: Likewise.
15943 * localedata/locales/sv_SE: Likewise.
15944 * localedata/locales/szl_PL: Likewise.
15945 * localedata/locales/tg_TJ: Likewise.
15946 * localedata/locales/ti_ER: Likewise.
15947 * localedata/locales/tk_TM: Likewise.
15948 * localedata/locales/tl_PH: Likewise.
15949 * localedata/locales/tr_TR: Likewise.
15950 * localedata/locales/tt_RU: Likewise.
15951 * localedata/locales/tt_RU@iqtelif: Likewise.
15952 * localedata/locales/ug_CN: Likewise.
15953 * localedata/locales/uk_UA: Likewise.
15954 * localedata/locales/uz_UZ: Likewise.
15955 * localedata/locales/uz_UZ@cyrillic: Likewise.
15956 * localedata/locales/vi_VN: Likewise.
15957 * localedata/locales/yi_US: Likewise.
15958 * localedata/locales/yo_NG: Likewise.
15959
ce6636b0
MF
159602018-02-27 Mike FABIAN <mfabian@redhat.com>
15961
15962 * gen-locales.mk: Make test files which contain @ modifiers in their
15963 name work.
15964 * localedata/gen-locale.sh: Likewise.
15965
ac3a3b4b
MF
159662018-02-27 Mike FABIAN <mfabian@redhat.com>
15967
15968 * posix/tst-fnmatch.input: Fix results for range expressions
15969 for non C locales.
15970 * posix/tst-regexloc.c: Do not use a range expression for
15971 de_DE.ISO-8859-1 locale.
15972
770cbe14
MF
159732018-02-27 Mike FABIAN <mfabian@redhat.com>
15974
15975 * posix/bug-regex5.c: Fix test case because with the new
15976 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15977 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15978 file.
15979
0fc355d9
MF
159802018-02-27 Mike FABIAN <mfabian@redhat.com>
15981
15982 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15983 downloaded from ISO, the collation order of @-. and space has changed.
15984 Therefore, this test file needed to be adapted.
15985 * localedata/fr_CA.UTF-8.in: Likewise.
15986 * localedata/fr_FR.UTF-8.in: Likewise.
15987 * localedata/uk_UA.UTF-8.in: Likewise.
15988
43f3893f
MF
159892018-02-27 Mike FABIAN <mfabian@redhat.com>
15990
15991 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15992 order of ȥ in the new iso14651_t1_common file.
15993 * localedata/pl_PL.UTF-8.in: Likewise.
15994
df74ef78
MF
159952018-02-27 Mike FABIAN <mfabian@redhat.com>
15996
15997 * localedata/locales/iso14651_t1_common: Add sections for various
15998 scripts to the iso14651_t1_common file.
15999
d5adfbad
MF
160002018-02-27 Mike FABIAN <mfabian@redhat.com>
16001
16002 * localedata/locales/iso14651_t1_common: Use the code point of a
16003 character in the fourth collation level instead of IGNORE for all
16004 entries which have IGNORE on all 4 levels.
16005
5f5a9610
MF
160062018-02-27 Mike FABIAN <mfabian@redhat.com>
16007
16008 * localedata/locales/iso14651_t1_common: Add some convenient collation
16009 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16010 rules similar to those in CLDR.
16011
8a97e900
MF
160122018-02-27 Mike FABIAN <mfabian@redhat.com>
16013
16014 * localedata/locales/iso14651_t1_common: The new version of this
16015 file downloaded from ISO contained several syntax errors which
16016 are fixed by this patch.
16017
bbdd2fba
MF
160182018-02-27 Mike FABIAN <mfabian@redhat.com>
16019
16020 * localedata/locales/iso14651_t1_common: replace all <U.....>
16021 with <U000.....> because glibc understands only 4 digit or 8 digit
16022
1569e551
MF
160232018-02-27 Mike FABIAN <mfabian@redhat.com>
16024
16025 * localedata/locales/iso14651_t1_common: Necessary changes
16026 to make the file downloaded from ISO usable by glibc.
16027
9479b6d5
MF
160282018-02-27 Mike FABIAN <mfabian@redhat.com>
16029
16030 [BZ #14095]
16031 * localedata/locales/iso14651_t1_common: Update file to
16032 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16033
03b540b3
ST
160342018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16035
16036 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16037 of <nptl/pthreadP.h>
16038 (thread_attr_compare): Move function to...
eb937a52 16039 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 16040 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 16041 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 16042
20602c72
JM
160432018-02-26 Joseph Myers <joseph@codesourcery.com>
16044
f54d8f73
JM
16045 * string/strcoll_l.c: Include <libc-diag.h>.
16046 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16047 declarations of seq1 and seq2.
16048
20602c72
JM
16049 [BZ #15105]
16050 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16051 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16052
f5f473a9
DL
160532018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16054
16055 [BZ #22433]
16056 [BZ #22807]
16057 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16058 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16059 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16060 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16061 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16062 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16063
398c6fdd
TMQMF
160642018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16065
16066 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16067 macros used in __ptrace_request.
16068
f5d1f629
L
160692018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16070
16071 [BZ #22792]
16072 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16073 to $(CC).
16074 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16075 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16076 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16077 <tcb-offsets.h>.
16078
54412d20
JM
160792018-02-23 Joseph Myers <joseph@codesourcery.com>
16080
16081 [BZ #15105]
16082 * ctype/ctype.c (tolower): Use libc_hidden_def.
16083 (toupper): Likewise.
16084 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16085 [!_ISOMAC] (toupper): Likewise.
16086
81be4b5e
MF
160872018-02-23 Mike FABIAN <mfabian@redhat.com>
16088
16089 * localedata/Makefile: Remove --quiet argument when
16090 installing locales
16091
9d5cfd8e
MF
160922018-02-23 Mike FABIAN <mfabian@redhat.com>
16093
16094 [BZ #17438]
16095 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16096 in d_fmt.
16097 * localedata/locales/pt_PT (LC_TIME): likewise
16098
6c7269f3
MF
160992018-02-23 Mike FABIAN <mfabian@redhat.com>
16100
16101 [BZ #22646]
16102 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16103 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16104 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16105
92aabad9
AZ
161062018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16107
4cdc25a4
AZ
16108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16109
27761a10
AZ
16110 * nptl/Makefile (routines): Remove unregister-atfork.
16111 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16112 (fork_handler_alloc): Remove function.
16113 (fork_handlers, fork_handler_init): New variables.
16114 (__fork_lock): Rename to atfork_lock.
16115 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16116 to use a dynamic array to add/remove atfork handlers.
16117 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16118 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16119 Remove declaration.
16120 (fork_handler): Remove next, refcntr, and need_signal member.
16121 (__run_fork_handler_type): New enum.
16122 (__run_fork_handlers): New prototype.
16123 * nptl/register-atfork.c: Remove file.
16124 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16125
92aabad9
AZ
16126 * sysdeps/nptl/nptl-signals.h: Move to ...
16127 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16128 comments.
16129 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16130 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16131 unnecessary check for SIGTIMER.
16132 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16133 remove unnecessary removal of SIGTIMER.
16134 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16135 include-signals.h rename.
16136 * nptl/pthreadP.h: Likewise.
16137 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16138 __is_internal_signal instead of __nptl_is_internal_signal.
16139
fdcc6253
AW
161402018-02-22 Andrew Waterman <andrew@sifive.com>
16141
7e04eb29 16142 [BZ # 22884]
fdcc6253
AW
16143 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16144 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16145 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16146 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16147
8090720a
DD
161482018-02-22 DJ Delorie <dj@delorie.com>
16149
16150 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16151
6ca24c43
SP
161522018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16153
16154 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16155 do_misaligned, not misaligned8.
16156
e9537ddd
SE
161572018-02-22 Steve Ellcey <sellcey@cavium.com>
16158
16159 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16160 Add memcpy_thunderx2.
16161 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16162 Increment to 4.
16163 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16164 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16165 and IS_THUNDERX2PA checks.
16166 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16167 Use macro to set name appropriately.
16168 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16169 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16170 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16171 New macro.
16172 (IS_THUNDERX2): New macro.
16173
6e336476
SL
161742018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16175
16176 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16177
34957904
ZW
161782018-02-21 Zack Weinberg <zackw@panix.com>
16179
30bfee26
ZW
16180 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16181 Define here, unconditionally.
16182 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16183 * libio/libioP.h: Remove #if 0 blocks.
16184 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16185 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16186 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16187
16188 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16189 Assume weak_alias is always defined.
16190
16191 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16192 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16193 Remove #if 0 and #ifdef TODO blocks.
16194 Assume text_set_element is always defined.
16195
16196 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16197 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16198 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16199
df6c012b
ZW
16200 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16201 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16202 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16203 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16204 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16205 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16206 Reformat bit flags for _flags field to make occupancy clearer.
16207 Update commentary.
16208 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16209 Keep definitions consistent with those in libio/libio.h.
16210
16211 * libio/libio.h (_IO_file_flags): Remove macro.
16212 All uses changed to _flags.
16213
177aad3f
ZW
16214 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16215 (__HAVE_COLUMN, _IO_BE): Don't define.
16216 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16217 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16218 * libio/libioP.h (EOF): Don't define.
16219 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16220 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16221 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16222 testing _IO_UNIFIED_JUMPTABLES.
16223
9964a145
ZW
16224 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16225 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16226 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16227 (_IO_size_t): Delete; all uses changed to size_t.
16228 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16229 (_IO_off_t): Delete; all uses changed to off_t.
16230 (_IO_off64_t): Delete; all uses changed to off64_t.
16231 (_IO_pid_t): Delete; all uses changed to pid_t.
16232 (_IO_uid_t): Delete; all uses changed to uid_t.
16233 (_IO_wint_t): Delete; all uses changed to wint_t.
16234 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16235 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16236 (_IO_cookie_io_functions_t): Delete; all uses changed to
16237 cookie_io_functions_t.
16238 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16239 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16240 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16241 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16242
16243 * libio/iofopncook.c: Remove unnecessary forward declarations.
16244 * libio/iolibio.h: Correct outdated commentary.
16245 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16246 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16247 Remove unnecessary casts.
16248 * stdio-common/getline.c: Use _IO_getdelim directly.
16249 Don't redefine ssize_t.
16250 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16251 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16252 Remove outdated comments.
16253 * stdio-common/vfscanf.c: Don't redefine va_list.
16254
34957904
ZW
16255 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16256 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16257 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16258 which are always true, and __cplusplus, which is always false.
16259
30ac923d
JM
162602018-02-21 Joseph Myers <joseph@codesourcery.com>
16261
039c721a
JM
16262 [BZ #15105]
16263 [BZ #19463]
16264 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16265 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16266 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16267 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16268 libc_hidden_proto.
16269 [!_ISOMAC] (putc_unlocked): Likewise.
16270 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16271 define inline if [__USE_EXTERN_INLINES].
16272 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16273 putc_unlocked.
16274
30ac923d
JM
16275 [BZ #15105]
16276 [BZ #19463]
16277 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16278 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16279 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16280 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16281 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16282 getc_unlocked.
16283 * time/tzfile.c (__tzfile_read): Likewise.
16284
7ec5f946
MF
162852018-02-21 Mike FABIAN <mfabian@redhat.com>
16286
16287 [BZ #22517]
16288 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16289
0d217f40
RJ
162902018-02-21 Rical Jasan <ricaljasan@pacific.net>
16291
16292 * io/fcntl.h: Fix a typo in a comment.
16293
862b4502
RJ
162942018-02-21 Rical Jasan <ricaljasan@pacific.net>
16295
16296 [BZ #22862]
16297 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16298 define _DEFAULT_SOURCE.
16299 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16300
999a6dab
FW
163012018-02-21 Florian Weimer <fweimer@redhat.com>
16302
16303 [BZ #20890]
16304 * elf/cache.c (save_cache): Call fsync on temporary file before
16305 renaming it.
16306 (save_aux_cache): Call fdatasync on temporary file before renaming
16307 it.
16308
52a01100
FW
163092018-02-21 Florian Weimer <fweimer@redhat.com>
16310
16311 [BZ #22787]
16312 * include/caller.h: Remove file.
16313 * elf/dl-caller.c: Likewise.
16314 * elf/Makefile (dl-routines): Remove dl-caller.
16315 (shared-only-routines): Do not add dl-caller.
16316 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16317 __check_caller.
16318 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16319 member.
16320 (dl_open_worker): Do not call __check_caller.
16321 (_dl_open): Do not set caller_dl_open member.
16322 * elf/rtld.c (_rtld_global_ro): Do not initialize
16323 _dl_check_caller member.
16324 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16325 _dl_check_caller member.
16326 (_dl_check_caller): Remove declaration.
16327 * sysdeps/unix/sysv/linux/dl-execstack.c
16328 (_dl_make_stack_executable): Do not call __check_caller.
16329
b5bf62e4
ST
163302018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16331
16332 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 16333 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 16334
e8d190b9
RJ
163352018-02-20 Rical Jasan <ricaljasan@pacific.net>
16336
16337 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16338 description.
16339
6a3962c4
RJ
163402018-02-20 Rical Jasan <ricaljasan@pacific.net>
16341
da81ae64 16342 [BZ #16335]
6a3962c4
RJ
16343 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16344 of 199606L, 200112L, and 200809L.
16345 (_XOPEN_SOURCE): Document special values of 600 and 700.
16346 (_ISOC11_SOURCE): Document macro.
16347 (_ATFILE_SOURCE): Likewise.
16348 (_FORTIFY_SOURCE): Likewise.
16349
ec481ad8
JM
163502018-02-19 Joseph Myers <joseph@codesourcery.com>
16351
16352 [BZ #15105]
16353 [BZ #19463]
16354 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16355 and define as weak alias of __ferror_unlocked. Use
16356 libc_hidden_weak.
16357 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16358 libc_hidden_proto.
16359 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16360 function if [__USE_EXTERN_INLINES].
16361 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16362 ferror_unlocked.
16363
7d15ef84
RJ
163642018-02-19 Rical Jasan <ricaljasan@pacific.net>
16365
16366 [BZ #6889]
16367 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16368
f8d79582
AJ
163692018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16370
16371 [BZ #22818]
16372 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16373 the GLIBC_2.1 version.
16374
56456a2a
AJ
163752018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16376
16377 [BZ #21508]
16378 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16379 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16380 intl/tst-gettext-de.po from po/de.po by removing the
16381 POT-Creation-Date line.
16382 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16383 ../po/de.po.
16384 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16385 ../po/de.po.
16386
13768813
ST
163872018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16388
16389 * mach/Makefile (headers): Add mach/param.h.
16390 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16391 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
16392 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16393 (__ptsname_r): Move implementation to...
16394 (__ptsname_internal): ... new function. Add filling the STP
16395 structure.
13768813 16396
6aca1b61
JDA
163972018-02-17 John David Anglin <danglin@gcc.gnu.org>
16398
16399 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16400 idouble to 1 ULP.
16401
16efad51
RJ
164022018-02-16 Rical Jasan <ricaljasan@pacific.net>
16403
16404 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16405 syntax.
16406
87245073
SL
164072018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16408
16409 * nptl/Makefile (tst-mutex8-ENV): Delete.
16410 * nptl/tst-mutex8.c (check_type):
16411 Add runtime check if mutex will be elided.
16412
7fc03cf3
JM
164132018-02-15 Joseph Myers <joseph@codesourcery.com>
16414
db9881ec
JM
16415 [BZ #20980]
16416 [BZ #21234]
16417 * manual/install.texi (Configuring and compiling): Describe
16418 passing CC and CFLAGS on configure command line, not as
16419 environment variables. Use @code markup on those variables.
16420 Specify what options go in CC and what go in CFLAGS. Note the
16421 requirement to compile with optimization.
16422 * INSTALL: Regenerated.
16423
3785b31c
JM
16424 [BZ #18124]
16425 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16426 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16427 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16428 __sigprocmask instead of sigprocmask.
16429 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16430 Likewise.
16431 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16432 __sigsetjmp and sigprocmask.
16433
055ac2a7
JM
16434 [BZ #15105]
16435 * include/argz.h (argz_next): Use libc_hidden_proto.
16436 (__argz_next): Likewise.
16437 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16438 (argz_next): Use libc_hidden_weak.
16439
e4452a2d
JM
16440 [BZ #15105]
16441 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16442 libc_hidden_proto.
16443 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16444 libc_hidden_def.
16445
499b3153
JM
16446 [BZ #15105]
16447 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16448 libc_hidden_proto.
16449 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16450
7fc03cf3
JM
16451 [BZ #15105]
16452 [BZ #19463]
16453 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16454 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16455 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16456 (__feof_unlocked): New declaration, and inline function if
16457 [__USE_EXTERN_INLINES].
16458 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16459 instead of feof_unlocked.
16460 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16461 * nss/nsswitch.c (nss_parse_file): Likewise.
16462 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16463 Likewise.
16464 * time/getdate.c (__getdate_r): Likewise.
16465 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16466 Define as macro to call __feof_unlocked.
16467
0c8a67a5
WD
164682018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16469
16470 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16471
610ee1fc
WD
164722018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16473
16474 * math/Makefile: Remove mpexp.c and mplog.c
16475 * sysdeps/i386/fpu/mpexp.c: Delete file.
16476 * sysdeps/i386/fpu/mplog.c: Likewise.
16477 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16478 * sysdeps/ia64/fpu/mplog.c: Likewise.
16479 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16480 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16481 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16482 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16483 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16484 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16485 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16486 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16487 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16488 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16489 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16490 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16491 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16492 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16493 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16494 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16495
8e7196c8
SL
164962018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16497
16498 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16499
4f55ad0b
AZ
165002018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16501
16502 * sysdeps/sh/libm-test-ulps: Update.
16503
261a851c
TMQMF
165042018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16505
16506 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16507 idouble to 1 ULP.
16508
e16deca6
ZW
165092018-02-12 Zack Weinberg <zackw@panix.com>
16510
16511 [BZ #19239]
16512 * posix/sys/types.h: Don't include sys/sysmacros.h.
16513 * misc/sys/sysmacros.h: Remove the conditional deprecation
16514 warnings for the macros defined by this header.
16515
de800d83
SN
165162018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16517
16518 * manual/probes.texi: Remove slowexp probes.
16519 * math/Makefile: Remove slowexp.
16520 * sysdeps/generic/math_private.h (__slowexp): Remove.
16521 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16522 document error bounds.
16523 * sysdeps/i386/fpu/slowexp.c: Remove.
16524 * sysdeps/ia64/fpu/slowexp.c: Remove.
16525 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16526 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16527 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16528 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16529 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16530 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16531 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16532 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16533 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16534 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16535 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16536
c3d466cb
WD
165372018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16538
16539 [BZ #13932]
16540 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16541 * benchtests/pow-inputs: Update comment for slow path cases.
16542 * manual/probes.texi (slowpow_p10): Delete removed probe.
16543 (slowpow_p10): Likewise.
16544 * math/Makefile: Remove halfulp.c and slowpow.c.
16545 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16546 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16547 (__halfulp): Remove.
16548 (__slowpow): Remove.
16549 * sysdeps/i386/fpu/halfulp.c: Delete file.
16550 * sysdeps/i386/fpu/slowpow.c: Likewise.
16551 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16552 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16554 improve comments and add error analysis.
16555 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16556 (power1): Remove function:
16557 (log1): Remove error argument, add error analysis.
16558 (my_log2): Remove function.
16559 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16560 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16561 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16562 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16563 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16564 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16565 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16566 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16567 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16568 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16569 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16570 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16571 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16572 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16573
7bb087bd
ST
165742018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16575
16576 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16577 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16578
2fd4bbaa
DL
165792018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16580
16581 [BZ #22433]
16582 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16583 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16584 and PTRACE_SETHBPREGS.
16585
402ecba4
ZW
165862018-02-10 Zack Weinberg <zackw@panix.com>
16587
16588 [BZ #22830]
16589 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16590 correctly.
16591 * malloc/tst-malloc-stats-cancellation.c: New test case.
16592 * malloc/Makefile: Add new test case.
16593
4f5b921e
WD
165942018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16595
16596 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16597
a85b70db
JM
165982018-02-10 Joseph Myers <joseph@codesourcery.com>
16599
d8742dd8
JM
16600 * math/Makefile (libm-narrow-fns): Add add.
16601 (libm-test-funcs-narrow): Likewise.
16602 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16603 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16604 * math/gen-auto-libm-tests.c (test_functions): Add add.
16605 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16606 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16607 (NARROW_ADD_TRIVIAL): Likewise.
16608 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16609 macro.
16610 (__daddl): Likewise.
16611 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16612 dadd.
16613 (CFLAGS-nldbl-dadd.c): New variable.
16614 (CFLAGS-nldbl-fadd.c): Likewise.
16615 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16616 __nldbl_daddl.
16617 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16618 prototype.
16619 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16620 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16621 * math/auto-libm-test-in: Add tests of add.
16622 * math/auto-libm-test-out-narrow-add: New generated file.
16623 * math/libm-test-narrow-add.inc: New file.
16624 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16627 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16628 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16629 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16630 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16631 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16632 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16633 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16634 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16635 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16636 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16637 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16638 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16639 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16640 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16641 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16643 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16644 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16645 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16646 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16647 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16648 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16649 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16650 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16651 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16652 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16653 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16654 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16655 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16660 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16661 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16662 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16663 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16664 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16665 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16666 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16667 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16668 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16669 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16670
a85b70db
JM
16671 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16672 (f128-pairs): New variable.
16673 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16674 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16675 to CFLAGS.
16676 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16677 Also make tests add $(f128-loader-link) to gnulib-tests.
16678
6a1ff640
DD
166792018-02-09 DJ Delorie <dj@redhat.com>
16680
16681 [BZ #22827]
16682 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16683 64-bit ELF type for 64-bit ELF objects.
16684
bfd47587
JM
166852018-02-09 Joseph Myers <joseph@codesourcery.com>
16686
31958338
JM
16687 * math/libm-test-driver.c (snan_tests_arg): New variable.
16688 * math/libm-test-support.h (snan_tests_arg): New declaration.
16689 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16690
8e554659
JM
16691 * math/Makefile (test-type-pairs): New variable.
16692 (test-type-pairs-f64xf128-yes): Likewise.
16693 (tests): Add test-narrow-macros.
16694 (libm-test-funcs-narrow): New variable.
16695 (libm-test-c-narrow): Likewise.
16696 (generated): Add $(libm-test-c-narrow).
16697 (libm-tests-base-narrow): New variable.
16698 (libm-tests-narrow): Likewise.
16699 (libm-tests): Add $(libm-tests-narrow).
16700 (libm-tests-for-type): Handle $(libm-tests-narrow).
16701 (libm-test-c-narrow-obj): New variable.
16702 ($(libm-test-c-narrow-obj)): New rule.
16703 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16704 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16705 $(o-iterator) to set dependencies and CFLAGS.
16706 * math/gen-auto-libm-tests.c: Document use for narrowing
16707 functions.
16708 (output_for_one_input_case): Take argument NARROW.
16709 (generate_output): Likewise. Update call to
16710 output_for_one_input_case.
16711 (main): Take --narrow option. Update call to generate_output.
16712 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16713 (apply_lit): Update call to _apply_lit.
16714 (apply_arglit): New function.
16715 (parse_args): Handle "a" arguments.
16716 (parse_auto_input): Handle format names using ":".
16717 * math/README.libm-test: Document "a" parameter type.
16718 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16719 (ARG_TYPE_TRUE_MIN): Likewise.
16720 (ARG_TYPE_MAX): Likwise.
16721 (ARG_MIN_EXP): Likewise.
16722 (ARG_MAX_EXP): Likewise.
16723 (ARG_MANT_DIG): Likewise.
16724 (TEST_COND_arg_ibm128): Likewise.
16725 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16726 (TEST_COND_arg_fmt): New macro.
16727 (init_max_error): Update prototype.
16728 * math/libm-test-support.c (test_ibm128): New variable.
16729 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16730 instead of using [TEST_COND_ibm128] conditional.
16731 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16732 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16733 [TEST_NARROW] (TEST_MSG): New definition.
16734 (arg_plus_zero): New macro.
16735 (arg_minus_zero): Likewise.
16736 (arg_plus_infty): Likewise.
16737 (arg_minus_infty): Likewise.
16738 (arg_qnan_value_pl): Likewise.
16739 (arg_qnan_value): Likewise.
16740 (arg_snan_value_pl): Likewise.
16741 (arg_snan_value): Likewise.
16742 (arg_max_value): Likewise.
16743 (arg_min_value): Likewise.
16744 (arg_min_subnorm_value): Likewise.
16745 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16746 (RUN_TEST_LOOP_aa_f): New macro.
16747 (TEST_SUFF): New macro.
16748 (TEST_SUFF_STR): Likewise.
16749 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16750 (TEST_COND_any_ibm128): New macro.
16751 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16752 this_func. Update call to init_max_error.
16753 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16754 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16755 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16756 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16757 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16758 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16759 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16760 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16761 * math/test-math-vector.h (TEST_NARROW): Likewise.
16762 * math/test-arg-double.h: New file.
16763 * math/test-arg-float128.h: Likewise.
16764 * math/test-arg-float32x.h: Likewise.
16765 * math/test-arg-float64.h: Likewise.
16766 * math/test-arg-float64x.h: Likewise.
16767 * math/test-arg-ldouble.h: Likewise.
16768 * math/test-math-narrow.h: Likewise.
16769 * math/test-narrow-macros.c: Likewise.
16770 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16771 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16772 test-narrow-macros-ldbl-64.
16773 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16774
63716ab2
JM
16775 * math/bits/mathcalls-narrow.h: New file.
16776 * include/bits/mathcalls-narrow.h: Likewise.
16777 * math/math-narrow.h: Likewise.
16778 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16779 (__MATHCALL_NARROW_ARGS_2): Likewise.
16780 (__MATHCALL_NARROW_ARGS_3): Likewise.
16781 (__MATHCALL_NARROW_NORMAL): Likewise.
16782 (__MATHCALL_NARROW_REDIR): Likewise.
16783 (__MATHCALL_NARROW): Likewise.
16784 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16785 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16786 defined.
16787 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16788 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16789 (libm-narrow-fns): New variable.
16790 (libm-narrow-types-basic): Likewise.
16791 (libm-narrow-types-ldouble-yes): Likewise.
16792 (libm-narrow-types-float128-yes): Likewise.
16793 (libm-narrow-types-float128-alias-yes): Likewise.
16794 (libm-narrow-types): Likewise.
16795 (libm-routines): Add narrowing functions.
16796 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16797 (libc_feholdexcept_setroundf128): New macro.
16798 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16799 * sysdeps/ieee754/float128/float128_private.h: Include
16800 <math/math-narrow.h>.
16801 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16802 Undefine and redefine.
16803 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16804 (libm_alias_float_ldouble): Undefine and redefine.
16805 (libm_alias_double_ldouble): Likewise.
16806
bfd47587
JM
16807 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16808
3f8d9d58
WD
168092018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16810
16811 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16812 FPCR/FPSR.
16813
1f6676d7
RJ
168142018-02-09 Rical Jasan <ricaljasan@pacific.net>
16815
16816 * manual/creature.texi: Convert references to gcc.info to gcc.
16817 * manual/stdio.texi: Likewise.
16818 * manual/string.texi: Likewise.
16819
d80441dd
JM
168202018-02-07 Joseph Myers <joseph@codesourcery.com>
16821
15081be9
JM
16822 [BZ #17979]
16823 * posix/bits/types.h (__int_least8_t): New typedef.
16824 (__uint_least8_t): Likewise.
16825 (__int_least16_t): Likewise.
16826 (__uint_least16_t): Likewise.
16827 (__int_least32_t): Likewise.
16828 (__uint_least32_t): Likewise.
16829 (__int_least64_t): Likewise.
16830 (__uint_least64_t): Likewise.
16831 * sysdeps/generic/stdint.h (int_least8_t): Define using
16832 __int_least8_t.
16833 (int_least16_t): Define using __int_least16_t.
16834 (int_least32_t): Define using __int_least32_t.
16835 (int_least64_t): Define using __int_least64_t.
16836 (uint_least8_t): Define using __uint_least8_t.
16837 (uint_least16_t): Define using __uint_least16_t.
16838 (uint_least32_t): Define using __uint_least32_t.
16839 (uint_least64_t): Define using __uint_least64_t.
16840 * wcsmbs/uchar.h: Include <bits/types.h>.
16841 (char16_t): Define using __uint_least16_t conditional only on
16842 [!__USE_ISOCXX11].
16843 (char32_t): Define using __uint_least32_t conditional only on
16844 [!__USE_ISOCXX11].
16845 * wcsmbs/test-char-types.c: New file.
16846 * wcsmbs/Makefile (tests): Add test-char-types.
16847
d80441dd
JM
16848 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16849 version to 4.0.1.
16850
6c6c962a
ZW
168512018-02-07 Zack Weinberg <zackw@panix.com>
16852
63fb8f9a
ZW
16853 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16854 Delete all contents except for definitions of _G_HAVE_MMAP and
16855 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16856 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16857 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16858 change as above.
16859
16860 * libio/libio.h: Don't include bits/_G_config.h here.
16861 Include stddef.h with __need_wchar_t defined. Include
16862 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16863 Define _IO_iconv_t here, directly.
16864 Don't define _IO_HAVE_ST_BLKSIZE.
16865 * libio/libioP.h: Include _G_config.h here. Move include of
16866 shlib-compat.h up with rest of includes. Simplify conditionals
16867 controlling definition of _IO_JUMPS_OFFSET.
16868
16869 * csu/init.c: Remove always-true #if around entire file.
16870 Don't include stdio.h. Set _IO_stdin_used to hardwired
16871 constant 0x20001, and update commentary.
16872 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16873 Replace all uses of _G_va_list with __gnuc_va_list.
16874 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16875 instead of #if _IO_HAVE_ST_BLKSIZE.
16876 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16877 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16878 not #ifdef.
16879
6c6c962a
ZW
16880 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16881 multiple-include guard to match.
16882 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16883 into this file.
16884 Remove preprocessor conditionals that are always true and/or
16885 redundant to other preprocessor conditionals in the same nest.
16886 Include shlib-compat.h unconditionally.
16887 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16888 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16889 defined after including stdio.h.
16890 Use __BEGIN_DECLS/__END_DECLS.
16891
16892 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16893 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16894 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16895
a4fea3f2
ZW
168962018-02-07 Zack Weinberg <zackw@panix.com>
16897
16898 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16899 New single-type headers split from _G_config.h.
16900 * libio/bits/types/cookie_io_functions_t.h
16901 * libio/bits/types/struct_FILE.h
16902 New single-type headers split from libio.h.
16903
16904 * libio/Makefile: Install the above new headers. Don't install
16905 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16906 bits/libio-ldbl.h.
16907 * libio/_G_config.h, libio/libio.h: Delete file.
16908
16909 * libio/bits/libio.h: Remove improper-inclusion guard.
16910 Include stdio.h and don't repeat anything that it does.
16911 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16912 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16913 __io_read_fn as cookie_read_function_t,
16914 __io_write_fn as cookie_write_function_t,
16915 __io_seek_fn as cookie_seek_function_t,
16916 __io_close_fn as cookie_close_function_t,
16917 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16918 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16919 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 16920 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
16921 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16922 and _IO_ferror_unlocked.
16923 Move prototypes of __uflow and __overflow...
16924
16925 * libio/stdio.h: ...here. Don't include bits/libio.h.
16926 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 16927 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
16928 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16929 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16930 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16931 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16932 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16933 __ssize_t, not _IO_ssize_t. Unconditionally define
16934 BUFSIZ as 8192 and EOF as (-1).
16935
16936 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16937 macros from bits/types/struct_FILE.h instead of _IO_* macros
16938 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16939 instead of _IO_ssize_t.
16940 * libio/bits/stdio2.h: Similarly.
16941
16942 * libio/iolibio.h: Add multiple-include guard.
16943 Include bits/libio.h after stdio.h.
16944 * libio/libioP.h: Add multiple-include guard.
16945 Include stdio.h and bits/libio.h before iolibio.h.
16946
6c6c962a 16947 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
16948 * include/bits/types/cookie_io_functions_t.h
16949 * include/bits/types/struct_FILE.h: New wrappers.
16950
16951 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
16952 Get definitions of _G_fpos_t and _G_fpos64_t from
16953 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16954 respectively. Remove improper-inclusion guards.
a4fea3f2 16955
6c6c962a 16956 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 16957 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 16958 libio.h and _G_config.h.
a4fea3f2 16959
ce999220
JM
169602018-02-07 Joseph Myers <joseph@codesourcery.com>
16961
8b4a1182
JM
16962 [BZ #15105]
16963 [BZ #19463]
16964 * include/sys/sysmacros.h [!_ISOMAC]
16965 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16966 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16967 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16968 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16969 libc_hidden_proto.
16970 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16971 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16972 Likewise.
16973 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16974 Undefine and redefine to add use __gnu_dev_ prefix.
16975 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16976 Likewise.
16977 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16978 and define as hidden inline function.
16979 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16980 Likewise.
16981 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16982 Likewise.
16983 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16984 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16985 (gnu_dev_minor): Likewise.
16986 (gnu_dev_makedev): Likewise.
16987 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16988 makedev.
16989 * posix/wordexp.c (exec_comm_child): Likewise.
16990 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16991 instead of minor and __gnu_dev_major instead of major.
16992 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16993 __gnu_dev_major instead of major.
16994 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16995 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16996 instead of gnu_dev_minor.
16997 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16998 (SLAVE_P): Likewise.
16999 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17000 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17001 instead of major.
17002
ce999220
JM
17003 [BZ #21313]
17004 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17005 in another place.
17006 * locale/weightwc.h (findidx): Likewise.
17007
b7c83ca3
WD
170082018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17009
17010 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17011 (slowlog_inexact): Likewise
17012 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17013 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17014
388ff7bd
IG
170152018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17016
17017 [BZ #22797]
17018 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17019 missing second underscore to parameter name.
17020
663e7d78
JM
170212018-02-06 Joseph Myers <joseph@codesourcery.com>
17022
0d40d0ec
JM
17023 [BZ #14508]
17024 [BZ #15512]
17025 [BZ #17082]
17026 [BZ #20530]
17027 * bits/byteswap.h: Update file comment. Do not include
17028 <bits/byteswap-16.h>.
17029 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17030 constant.
17031 (__bswap_16): Define as inline function.
17032 (__bswap_constant_32): Reformat definition.
17033 (__bswap_32): Always define as inline function, not macro, using
17034 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17035 otherwise __bswap_constant_32.
17036 (__bswap_constant_64): Reformat definition. Do not use
17037 __extension__ here.
17038 (__bswap_64): Always define as inline function, not macro. Use
17039 __extension__ on function definition. Use __builtin_bswap64 if
17040 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17041 * string/test-endian-file-scope.c: New file.
17042 * string/test-endian-sign-conversion.c: Likewise.
17043 * string/Makefile (headers): Remove bits/byteswap-16.h.
17044 (tests): Add test-endian-file-scope and
17045 test-endian-sign-conversion.
17046 (CFLAGS-test-endian-sign-conversion.c): New variable.
17047 * bits/byteswap-16.h: Remove file.
17048 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17049 * sysdeps/ia64/bits/byteswap.h: Likewise.
17050 * sysdeps/m68k/bits/byteswap.h: Likewise.
17051 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17052 * sysdeps/s390/bits/byteswap.h: Likewise.
17053 * sysdeps/tile/bits/byteswap.h: Likewise.
17054 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17055 * sysdeps/x86/bits/byteswap.h: Likewise.
17056
383e87c9
JM
17057 [BZ #17721]
17058 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17059 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17060 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17061 199901L] (__restrict): Define to restrict.
17062
d92c2759
JM
17063 [BZ #19667]
17064 * string/testcopy.c: Include <support/support.h>. Do not include
17065 <malloc.h>. Use <support/test-driver.c>.
17066 (main): Rename to do_test. Make static. Use xmalloc instead of
17067 malloc.
17068
625fb764
JM
17069 [BZ #13575]
17070 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17071 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17072 (SSIZE_MAX): Define to INT_MAX.
17073 * posix/test-ssize-max.c: New file.
17074 * posix/Makefile (tests): Add test-ssize-max.
17075
02325d6c
JM
17076 [BZ #19668]
17077 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17078 <support/support.h>. Do not include <malloc.h>.
17079 (query_auxv): Use xmalloc instead of malloc.
17080
663e7d78
JM
17081 [BZ #14553]
17082 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17083 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17084 instead of loff_t.
17085
6d7aa2b5
FW
170862018-02-06 Florian Weimer <fweimer@redhat.com>
17087
17088 [BZ #18023]
17089 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17090 Use scratch_buffer instead of extend_alloca.
17091
de6da571
ZW
170922018-02-06 Zack Weinberg <zackw@panix.com>
17093
26c07172
ZW
17094 * libio/stdio.h: Don't define getc or putc as macros.
17095 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17096 not _IO_getc and _IO_putc.
17097
de6da571
ZW
17098 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17099 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17100
92669d6e
JM
171012018-02-06 Joseph Myers <joseph@codesourcery.com>
17102
c2b84df9
JM
17103 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17104 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17105
41376f8c
JM
17106 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17107
d28bf648
JM
17108 [BZ #14890]
17109 * elf/elf.h (NT_PRFPREG): New macro.
17110 (NT_S390_VXRS_LOW): Likewise.
17111 (NT_S390_VXRS_HIGH): Likewise.
17112 (NT_S390_GS_CB): Likewise.
17113 (NT_S390_GS_BC): Likewise.
17114 (NT_S390_RI_CB): Likewise.
17115
e76def72
JM
17116 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17117 (MAP_SYNC): New macro.
17118 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17119 Likewise.
17120 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17121 (MAP_SYNC): Likewise.
17122 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17123 (MAP_SYNC): Likewise.
17124 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17125 (MAP_SYNC): Likewise.
17126 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17127 (MAP_SYNC): Likewise.
17128 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17129 (MAP_SYNC): Likewise.
17130 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17131 (MAP_SYNC): Likewise.
17132 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17133 Likewise.
17134 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17135 Likewise.
17136
92669d6e
JM
17137 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17138 (MAP_SHARED_VALIDATE): New macro.
17139 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17140 (MAP_SHARED_VALIDATE): Likewise.
17141
6a5cac49
L
171422018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17143
17144 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17145 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17146 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17147
b44e0dfb
L
171482018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17149
17150 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17151 (DT_NUM): Updated to 35.
17152
f886c16c
L
171532018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17154
17155 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17156 __builtin_expect with __glibc_likely and __glibc_unlikely.
17157 (elf_machine_rela): Likewise.
17158 (elf_machine_lazy_rel): Likewise.
17159
06fbebff
L
171602018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17161
17162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 17163 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
17164 (elf_machine_lazy_rel): Likewise.
17165
371b220f
L
171662018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17167
17168 [BZ #22638]
17169 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17170 SHARED.
65805016 17171 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 17172
f649a1b8
AS
171732018-02-05 Andreas Schwab <schwab@suse.de>
17174
17175 [BZ #22761]
17176 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17177 string.
17178
9fdb340e
ST
171792018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17180
17181 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17182 not check against PTHREAD_STACK_MIN.
17183
09e56b9e
SM
171842018-02-02 Sean McKean <smckean83@gmail.com>
17185
17186 [BZ #22735]
17187 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17188
d4b4a00a
FW
171892018-02-02 Florian Weimer <fweimer@redhat.com>
17190
17191 [BZ #22753]
17192 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17193 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17194 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17195 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17196 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17197 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17198 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17199 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17200 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17201 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17202 * misc/tst-preadvwritev2.c (do_test): Call it.
17203 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17204
3dfcbfa1
SP
172052018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17206
84c94d2f
SP
17207 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17208
96e6a716
SP
17209 * benchtests/bench-memcmp.c: Print json instead of plain text.
17210
3dfcbfa1
SP
17211 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17212 every test run.
17213
049375e2
JM
172142018-02-01 Joseph Myers <joseph@codesourcery.com>
17215
39f898c6
JM
17216 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17217 version to 4.15.
17218 (s390_sthyi): New syscall.
17219
6f9a3dd8
JM
17220 * sysdeps/generic/ldbl-classify-compat.h: New file.
17221 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17222 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17223 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17224 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17225 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17226 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17227 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17228 <ldbl-classify-compat.h>.
17229 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17230 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17231 <ldbl-classify-compat.h>.
17232 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17233 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17234 <ldbl-classify-compat.h>.
17235 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17236 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17237 <ldbl-classify-compat.h>.
17238 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17239 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17240 <ldbl-classify-compat.h>.
17241 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17242 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17243 <ldbl-classify-compat.h>.
17244 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17245 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17246 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17247 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17248 * sysdeps/microblaze/math_private.h: Likewise.
17249 * sysdeps/nios2/math_private.h: Likewise.
17250 * sysdeps/sh/math_private.h: Likewise.
17251
eb65a3d5
JM
17252 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17253 * sysdeps/m68k/coldfire/math_private.h: ... here.
17254 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17255 * sysdeps/tile/math_private.h: Likewise.
17256 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17257 Remove macro.
17258 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17259 Likewise.
17260
8a6bb1d0
JM
17261 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17262 Remove macro.
17263 (libc_fetestexcept): Likewise.
17264 (libc_feupdateenv_test): Likewise.
17265 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17266 (libc_fetestexcept): Likewise.
17267 (libc_feupdateenv_test): Likewise.
17268 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17269 (libc_fetestexcept): Likewise.
17270 (libc_feupdateenv_test): Likewise.
17271 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17272 (libc_fetestexcept): Likewise.
17273 (libc_feupdateenv_test): Likewise.
17274
ae1fcb7b
JM
17275 * sysdeps/generic/math_private.h
17276 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17277 New inline function.
17278 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17279 Likewise.
17280
b1c347e2
JM
17281 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17282 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17283 * sysdeps/generic/math_private.h
17284 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17285 inline function.
17286 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17287 Likewise.
17288 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17289 Likewise.
17290 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17291 Likewise.
17292 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17293 Likewise.
17294 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17295 Likewise.
17296 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17297 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17298 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17299 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17300 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17301 (__fegetenv): Likewise.
17302 (fesetenv): Likewise.
17303 (__fesetenv): Likewise.
17304 (feupdateenv): Likewise.
17305 (__feupdateenv): Likewise.
17306 (fegetround): Likewise.
17307 (__fegetround): Likewise.
17308 (fesetround): Likewise.
17309 (__fesetround): Likewise.
17310
d23a4962
JM
17311 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17312 (feraiseexcept): New macro.
17313 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17314 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17315 Remove macro.
17316 (__feraiseexcept): Likewise.
17317 (feclearexcept): Likewise.
17318 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17319 (__feraiseexcept): Likewise.
17320 (feclearexcept): Likewise.
17321 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17322 (__feraiseexcept): Likewise.
17323 (feclearexcept): Likewise.
17324 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17325 (__feraiseexcept): Likewise.
17326 (feclearexcept): Likewise.
17327 (fetestexcept): Likewise.
17328
5f167950
JM
17329 * sysdeps/m68k/coldfire/math-tests.h: New file.
17330
ccc9035a
JM
17331 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17332 * sysdeps/m68k/bits/fenv.h: ... here.
17333 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17334 not define.
17335 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17336 Likewise.
17337 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17338 Likewise.
17339 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17340 Likewise.
17341 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17342 Likewise.
17343 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17344 Define to 0.
17345 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17346 (__FE_UNDEFINED): New enum constant.
17347 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17348 Do not define.
17349 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17350 Likewise.
17351 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17352 Likewise.
17353 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17354 to match generic bits/fenv.h.
17355 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17356 Do not define.
17357
049375e2
JM
17358 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17359 packed on bits.
17360 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17361 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17362 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17363 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17364
f1d73681
CD
173652018-02-01 Carlos O'Donell <carlos@redhat.com>
17366 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17367 Joseph Myers <joseph@codesourcery.com>
17368
17369 [BZ #21314]
17370 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17371 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17372 computation using c.
17373 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17374 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17375 computation using c.
17376
242cbc90
DL
173772018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17378
086ee48e
DL
17379 * version.h (RELEASE): Set to "development".
17380 (VERSION): Set to "2.27.9000".
17381 * NEWS (2.28): New section.
17382
23158b08
DL
17383 * version.h (RELEASE): Set to "stable".
17384 (VERSION): Set to "2.27".
17385 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17386
242cbc90
DL
17387 * NEWS: Add the list of bugs fixed in 2.27.
17388
673e2305
AZ
173892018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17390
17391 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17392 against PTHREAD_STACK_MIN.
17393
ced64e01
DL
173942018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17395
17396 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17397 New entries.
17398 (Rafal Luzynski, Andreas Schwab): Update.
17399
c10c9a5e
RL
174002018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17401
17402 [BZ #10871]
17403 * NEWS: List the languages which actually use the alternative
17404 months feature in this release. Also explain that "alt_mon" and
17405 "ab_alt_mon" are optional.
17406
650ba77a
IM
174072018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17408
17409 [BZ #22765]
17410 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17411
93493119
DL
174122018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17413
17414 * manual/install.texi (Tools for Compilation): Update the newest
17415 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17416 * INSTALL: Regenerated.
17417
363e4519 174182018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
17419
17420 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17421 instead of __builtin_expect.
17422
d7536874
FW
174232018-01-30 Florian Weimer <fweimer@redhat.com>
17424
17425 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17426 data.
17427 * nss/tst-nss-getpwent.c (do_test): Likewise.
17428
9a1b267d
RL
174292018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17430
17431 [BZ #10871]
17432 * localedata/locales/hr_HR (mon): Rename to...
17433 (alt_mon): This.
17434 (mon): Import from CLDR (genitive case).
17435 (d_t_fmt): Update the comment.
17436
9a179328
AS
174372018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17438
17439 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17440 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17441 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17442
e01e0ddc
ST
174432018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17444
17445 * mach/Versions: Fix version when __mach_host_self_ was added.
17446 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17447 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17448 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17449 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17450 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17451 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17452 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17453 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17454 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17455 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17456 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17457 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
17458 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17459 || to respect codestyle.
2aadb705
ST
17460 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17461 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
17462 * malloc/malloc.c: Include <assert.h>.
17463 (assert): Do not define.
17464 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
17465 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17466 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 17467 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 17468 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 17469
521877e1
PD
174702018-01-29 Darius Rad <darius@bluespec.com>
17471
17472 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17473
532cf290
PD
174742018-01-29 Palmer Dabbelt <palmer@sifive.com>
17475
17476 * sysdeps/init_array/crti.S (.section .init_array): Add
17477 PREINIT_FUNCTION when defined.
40ca951b 17478 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 17479 * config.h.in: Regenerate.
ba9e25a6
PD
17480 * manual/platform.texi: Add RISC-V documenation for
17481 __riscv_flush_icache.
c776fa11
PD
17482 * sysdeps/riscv/__longjmp.S: New file.
17483 * sysdeps/riscv/backtrace.c: Likewise.
17484 * sysdeps/riscv/bits/endian.h: Likewise.
17485 * sysdeps/riscv/bits/setjmp.h: Likewise.
17486 * sysdeps/riscv/bits/wordsize.h: Likewise.
17487 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17488 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17489 * sysdeps/riscv/dl-trampoline.S: Likewise.
17490 * sysdeps/riscv/gccframe.h: Likewise.
17491 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17492 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17493 * sysdeps/riscv/machine-gmon.h: Likewise.
17494 * sysdeps/riscv/memusage.h: Likewise.
17495 * sysdeps/riscv/setjmp.S: Likewise.
17496 * sysdeps/riscv/sys/asm.h: Likewise.
17497 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
17498 * sysdeps/riscv/dl-tls.h: New file.
17499 * sysdeps/riscv/libc-tls.c: Likewise.
17500 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17501 * sysdeps/riscv/nptl/tls.h: Likewise.
17502 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
17503 * sysdeps/riscv/bits/fenv.h: New file.
17504 * sysdeps/riscv/e_sqrtl.c: Likewise.
17505 * sysdeps/riscv/fpu_control.h: Likewise.
17506 * sysdeps/riscv/math-tests.h: Likewise.
17507 * sysdeps/riscv/nofpu/Implies: Likewise.
17508 * sysdeps/riscv/sfp-machine.h: Likewise.
17509 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
17510 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17511 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17512 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17513 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17514 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17515 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17516 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17517 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17518 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17519 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17520 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17521 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17522 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17523 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17524 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17525 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17526 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17527 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17528 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17529 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17530 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17531 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17532 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17533 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17534 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17535 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17536 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17537 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17538 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17539 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17540 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17541 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17542 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17543 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17544 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17545 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17546 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17547 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17548 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17549 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17550 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17551 * sysdeps/riscv/rvf/math_private.h: Likewise.
17552 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17553 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17554 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17555 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17556 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17557 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17558 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17559 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17560 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17561 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17562 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17563 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17564 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17565 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17566 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17567 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
17568 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17569 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17570 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17571 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
17572 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17573 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17574 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17575 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17576 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17577 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17578 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17579 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17580 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
17581 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17582 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17583 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17584 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17585 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17586 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17587 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17588 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17589 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17590 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17591 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17592 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17593 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17594 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17595 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17596 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17597 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17598 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17599 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17600 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17601 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17602 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
17603 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17604 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17605 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
17606 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17607 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17608 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17609 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17610 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17611 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17612 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17613 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17614 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17615 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17616 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17617 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17618 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17619 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
17620 * sysdeps/riscv/Implies: New file.
17621 * sysdeps/riscv/Makefile: Likewise.
17622 * sysdeps/riscv/configure: Likewise.
17623 * sysdeps/riscv/configure.ac: Likewise.
17624 * sysdeps/riscv/nptl/Makefile: Likewise.
17625 * sysdeps/riscv/preconfigure: Likewise.
17626 * sysdeps/riscv/rv64/Implies-after: Likewise.
17627 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17628 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17629 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17630 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17631 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17632 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17633 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17634 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17635 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17636 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17637 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
17638 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17639 (Config): Likewise.
532cf290 17640
cdd14619
FW
176412018-01-29 Florian Weimer <fweimer@redhat.com>
17642
17643 [BZ #22701]
17644 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17645 libnsl_hidden_proto.
17646 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17647 libnsl_hidden_proto.
17648 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17649 * nis/Makefile (libnsl-routines): Add nss-default only for
17650 build-obsolete-nsl.
17651 * nis/nis_defaults.c (__nis_default_ttl): Add
17652 libnsl_hidden_nolink_def.
17653 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17654 declaration.
17655 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17656 * nis/ypclnt.c (yp_maplist): Likewise.
17657
b7ccb5de
RN
176582018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17659
17660 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17661 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17662
522623e4
JM
176632018-01-29 Joseph Myers <joseph@codesourcery.com>
17664
e3aa6999
JM
17665 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17666 clean -dxfq for git updates when replacing sources.
17667
088de7d0
JM
17668 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17669 --disable-libcilkrts unconditionally, not just for the final GCC
17670 build for Hurd.
17671
522623e4
JM
17672 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17673 version to 4.15.
17674
8b406f87
RL
176752018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17676
17677 [BZ #10871]
17678 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17679 case).
17680
105e90bd
RL
176812018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17682
17683 [BZ #10871]
17684 * localedata/locales/be_BY (mon): Rename to...
17685 (alt_mon): This, then synchronize with CLDR (nominative case).
17686 (abmon): Rename to...
17687 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17688 (mon): Import from CLDR (genitive case).
17689 (abmon): Likewise.
17690 * localedata/locales/be_BY@latin (mon): Rename to...
17691 (alt_mon): This.
17692 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17693
17694 * localedata/locales/be_BY@latin (lang_name): Reworded to
17695 "biełaruskaja mova".
17696
561cb414
RL
176972018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17698
17699 [BZ #10871]
17700 * localedata/locales/el_CY (mon): Renamed to...
17701 (alt_mon): This.
17702 (mon): Import from CLDR (genitive case).
17703 * localedata/locales/el_GR: Likewise.
17704
f7bdf30d
RL
177052018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17706
17707 [BZ #10871]
17708 * localedata/locales/ru_RU (mon): Rename to...
17709 (alt_mon): This.
17710 (abmon): Rename to...
17711 (ab_alt_mon): This.
17712 (mon): Import from CLDR (genitive case).
17713 (abmon): Copy from the old content except the 5th month which is
17714 now in the genitive case, even when abbreviated.
17715 * localedata/locales/ru_UA: Likewise.
17716 * time/tst-strptime.c (day_tests): Add an actual example of
17717 a difference between %b and %Ob in Russian.
17718
85285a0c
ST
177192018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17720
17721 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
17722 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17723 a `c' variable.
3538a4b6 17724 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
17725 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17726 <sys/wait.h>, <time.h>, <sys/uio.h>.
17727 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 17728 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
17729 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17730 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17731 return 0.
05ebfe87
ST
17732 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17733 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
17734 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17735 instead of void *.
17736 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17737 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
17738 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17739 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
17740 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17741 and make them the default for now.
903d3633
ST
17742 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17743 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
17744 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17745 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17746 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17747 MACH_IPC_COMPAT.
06fac9f5
ST
17748 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17749 __task_terminate would ever return successfully.
f8177753
ST
17750 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17751 to global scope.
41cdb1eb
ST
17752 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17753 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
17754 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17755 critical section to make code simpler and avoid warning.
17756 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17757 critical section to make code simpler and avoid warning.
844bf921
ST
17758 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17759 const char * instead of char *.
f8bee46c
ST
17760 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17761 __hurd_file_name_split, hurd_file_name_split,
17762 __hurd_directory_name_split, hurd_directory_name_split,
17763 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17764 hurd_file_name_path_lookup): Make lookup function parameter take a
17765 const char *name instead of char *name.
17766 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17767 __hurd_directory_name_split): Likewise.
17768 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17769 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
17770 * sysdeps/mach/hurd/check_native.c: New file.
17771 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
17772 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17773 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
17774 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17775 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
17776 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17777 (do_test_bz20181): Rename accordingly.
17778 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
17779 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17780 <sys/mount.h>.
28f6186f
ST
17781 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17782 version only if __USE_EXTERN_INLINES is defined.
17783 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17784 __hurd_sockfail): Likewise.
17785 (_hurd_fd_get): Always declare functions, and provide inline versions
17786 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17787 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17788 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17789 _hurd_port_set): Always declare functions, and provide inline versions
17790 only if __USE_EXTERN_INLINES and _LIBC are defined and
17791 IS_IN(libc).
17792 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17793 _hurd_critical_section_unlock): Likewise.
17794 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17795 * __hurd_threadvar_location): Likewise.
17796 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17797 _hurd_userlink_clear): Likewise.
17798 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17799 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17800 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17801 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17802 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17803 __spin_lock_locked): Likewise.
17804 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17805 __spin_lock_locked): Likewise.
17806 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17807 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17808 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17809 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17810 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
17811 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17812 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
17813 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17814 check size against PTHREAD_STACK_MIN.
625ba81e
ST
17815 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17816 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
17817 * mach/Makefile (user-interfaces): Add mach/gnumach.
17818 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17819 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
17820 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17821 instead of invalid -1.
1f89ac71
ST
17822 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17823 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17824 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17825 <net/ppp_defs.h>.
85285a0c 17826
1fd1e27c 178272018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
17828
17829 * hurd/fcntl-internal.h: New file.
17830
3854c5a8
JC
178312018-01-27 James Clarke <jrtc27@jrtc27.com>
17832
7e23a7dd
JC
17833 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17834
3854c5a8
JC
17835 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17836
5503f413
AS
178372018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17838
17839 [BZ #22701]
17840 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17841 Build only shared objects.
17842
caaf7804
CD
178432018-01-26 Carlos O'Donell <carlos@redhat.com>
17844
17845 * README: Update for hppa.
17846
1cbf818d
PM
178472018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17848
caaf7804
CD
17849 * sysdeps/sparc/fpu/libm-test-ulps: Update
17850 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 17851
caaf7804 178522018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
17853
17854 Revert:
17855
17856 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17857
17858 [BZ #22563]
17859 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17860 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17861 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17862 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17863 to feature_1.
17864
17865 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17866
17867 [BZ #22563]
17868 * bits/types/__cancel_jmp_buf_tag.h: New file.
17869 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17870 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17871 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17872 * nptl/Makefile (headers): Add
17873 bits/types/__cancel_jmp_buf_tag.h.
17874 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17875 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17876 * sysdeps/nptl/pthread.h: Include
17877 <bits/types/__cancel_jmp_buf_tag.h>.
17878 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17879 __cancel_jmp_buf.
17880 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17881
65f6c94e
RL
178822018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17883
17884 [BZ #10871]
17885 * localedata/locales/uk_UA (mon): Renamed to...
17886 (alt_mon): This.
17887 (alt_digits): "0" removed and then renamed to...
17888 (mon): This.
17889 (date_fmt): Definition changed not to use the alternative
17890 digits hack.
17891
fb58aac5
PD
178922018-01-25 Palmer Dabbelt <palmer@sifive.com>
17893
17894 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17895 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17896 * elf/elf.h (EF_RISCV_RVC): New define.
17897 (EF_RISCV_FLOAT_ABI): Likewise.
17898 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17899 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17900 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17901 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17902 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17903 define.
17904 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17905
128c43a2
AS
179062018-01-25 Andreas Schwab <schwab@suse.de>
17907
17908 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17909 single quotes.
17910 * sysdeps/gnu/configure: Regenerate.
17911 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17912 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17914 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17915 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17916 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17917 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17918 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17919
f9015003
ST
179202018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17921
48130690 17922 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 17923 URL, and run autoconf, make it the default for now.
f9015003 17924
91b2cffa
JM
179252018-01-24 Joseph Myers <joseph@codesourcery.com>
17926
3005b705
JM
17927 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17928 soft-float ColdFire configuration.
17929
69231fab
JM
17930 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17931 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17932 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17933
d4c7e1d0
JM
17934 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17935 MicroBlaze file.
17936
0cfe5be5
JM
17937 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17938 ....
17939 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17940 ... here.
17941 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17942 New file.
17943
91b2cffa
JM
17944 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17945 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17946 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17947 file.
17948
c739e191
SN
179492018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17950
17951 [BZ #22742]
17952 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17953 Rename to __reserved and add comment.
17954 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17955 Rename to __reserved.
17956
394b5bac
JM
179572018-01-24 Joseph Myers <joseph@codesourcery.com>
17958
17959 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17960 i686-gnu configurations.
17961 (Context.run_builds): Include mig, gnumach and hurd in components
17962 considered.
17963 (Context.checkout): Add mig, gnumach and hurd to components.
17964 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17965 hurd.
17966 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17967 (Config.build): Install gnumach headers, build mig and install
17968 hurd headers for 'gnu' OS.
17969 (Config.install_gnumach_headers): New function.
17970 (Config.install_hurd_headers): Likewise.
17971 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17972 when building for 'gnu' OS.
17973
28c3f14f
TK
179742018-01-23 Tobias Klauser <tklauser@distanz.ch>
17975
17976 * manual/tunables.texi (Hardware Capability Tunables): Fix
17977 spelling.
17978
0f5e2da1
RJ
179792018-01-22 Rical Jasan <ricaljasan@pacific.net>
17980
17981 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17982 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17983 (ALTMON_11, ALTMON_12): Improve documentation.
17984 * manual/time.texi (strftime): Likewise.
17985
7817b14a
RL
179862018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17987
17988 [BZ #10871]
17989 * localedata/locales/pl_PL: Alternative month names added,
17990 primary month names are genitive now.
17991 * time/tst-strptime.c (day_tests): Actually use a genitive case
17992 of a month name in Polish language.
17993
22390764
RL
179942018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17995
17996 [BZ #10871]
17997 * manual/locale.texi: Document ALTMON_1..12 constants for
17998 nl_langinfo. Specify when to use ALTMON instead of MON.
17999 * manual/time.texi (strftime, strptime): Document GNU extension
18000 permitting O modifier with %B and %b. Specify when to use
18001 %OB instead of %B.
18002
761a585c
RL
180032018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18004
18005 [BZ #10871]
18006 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18007 names, define them as the same as abbreviated month names explicitly.
18008 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18009 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18010 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18011 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18012 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18013 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18014 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18015 _NL_WABALTMON_12): New enum constants.
18016 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18017 wab_alt_mon, and ab_alt_mon_defined members.
18018 (time_output): Output ab_alt_mon and wab_alt_mon members.
18019 (time_read): Read them, initialize them as copies of abmon and wabmon
18020 respectively if they are missing, initialize ab_alt_mon_defined.
18021 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18022 * locale/programs/locfile-kw.h: Regenerate.
18023 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18024 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18025 and ru_RU.UTF-8.
18026 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18027 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18028 (__strftime_internal): Handle %Ob and %Oh formats.
18029 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18030 (__strptime_internal): Handle %Ob and %Oh formats.
18031 * time/tst-strptime.c (day_tests): Add more tests to parse different
18032 forms of month names including the new %Ob format specifier.
18033
95cb863a
RL
180342018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18035
18036 [BZ #10871]
18037 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18038 define them as the same as primary full month names explicitly.
18039 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18040 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18041 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18042 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18043 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18044 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18045 _NL_WALTMON_12): New enum constants.
18046 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18047 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18048 macros.
18049 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18050 walt_mon, and alt_mon_defined members.
18051 (time_output): Output alt_mon and walt_mon members.
18052 (time_read): Read them, initialize them as copies of mon and wmon
18053 respectively if they are missing, initialize alt_mon_defined.
18054 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18055 * locale/programs/locfile-kw.h: Regenerate.
18056 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18057 * localedata/tst-langinfo.c (map): Add tests for the new constants
18058 ALTMON_1 .. ALTMON_12.
18059 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18060 and pl_PL.UTF-8.
18061 * time/strftime_l.c (f_altmonth): New macro.
18062 (__strftime_internal): Handle %OB format.
18063 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18064 (__strptime_internal): Handle %OB format.
18065 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18066 of month names including the new %OB format specifier.
18067
4612268a
TMQMF
180682018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18069
18070 [BZ #22685]
18071 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18072 from ABORT_TRANSACTION.
18073 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18074 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18075 ABORT_TRANSACTION_IMPL): Likewise.
18076 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18077 Linux code, but remove the code that aborts transactions.
18078
64f63cb4
ST
180792018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18080
18081 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18082
32ac6e92
RL
180832018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18084
18085 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18086 in date: "2004-14-09" should be "2004-09-14".
18087 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18088 "2003-15-09" should be "2003-09-15".
18089
8e448310
AS
180902018-01-18 Arjun Shankar <arjun@redhat.com>
18091
18092 [BZ #22343]
71aa429b 18093 [BZ #22774]
4590634f 18094 CVE-2018-6485
71aa429b 18095 CVE-2018-6551
8e448310
AS
18096 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18097 after padding.
18098 (_int_memalign): check for integer overflow before calling
18099 _int_malloc.
18100 * malloc/tst-malloc-too-large.c: New test.
18101 * malloc/Makefile: Add tst-malloc-too-large.
18102
e234d7cb
RL
181032018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18104
18105 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18106 in date: "2017-24-07" should be "2017-07-24".
18107 * localedata/locales/mai_IN: Likewise.
18108 * localedata/locales/mai_NP: Likewise.
18109
48b66019
DL
181102018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18111
18112 * po/ru.po: Update translations.
18113
1eeddc58
JM
181142018-01-17 Joseph Myers <joseph@codesourcery.com>
18115
18116 [BZ #22719]
18117 * sysdeps/hppa/backtrace.c: New file.
18118
207a72e2
L
181192018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18120
18121 [BZ #22715]
18122 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18123 align La_x86_64_retval to VEC_SIZE.
18124
4942c4ea
JM
181252018-01-16 Joseph Myers <joseph@codesourcery.com>
18126
18127 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18128 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18129
10d200db
FW
181302018-01-16 Florian Weimer <fweimer@redhat.com>
18131
18132 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18133 Move tst-thread-exit-clobber ...
18134 [$(CXX)] (tests-unsupported): ... to here.
18135
953c49cc
SN
181362018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18137
18138 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18139 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18140 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18141 (_dl_aarch64_cap_flags): Update.
18142 (_DL_HWCAP_COUNT): Update.
18143
afce1991
SN
181442018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18145
18146 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18147 (_DL_HWCAP_LAST): Remove.
18148 (_DL_HWCAP_COUNT): Move to ...
18149 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18150 (_DL_HWCAP_COUNT): ... here.
18151
b725132d
FW
181522018-01-16 Florian Weimer <fweimer@redhat.com>
18153
18154 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18155 mode with GNU extensions.
18156
c9e613a7
AH
181572018-01-15 Alan Hayward <alan.hayward@arm.com>
18158
18159 * elf/elf.h (NT_ARM_SVE): Define.
18160
860b0240
FW
181612018-01-15 Florian Weimer <fweimer@redhat.com>
18162
18163 [BZ #22636]
18164 * nptl/tst-minstack-throw.cc: New file.
18165 * nptl/Makefile (tests): Add tst-minstack-throw.
18166 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18167 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18168
16d0f6ac
JM
181692018-01-15 Joseph Myers <joseph@codesourcery.com>
18170
18171 * scripts/build-many-glibcs.py (Context.checkout): Default
18172 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18173 version to 1.1.0.
18174
505d3910
CD
181752018-01-13 Carlos O'Donell <carlos@redhat.com>
18176
18177 [BZ #22707]
18178 * elf/elf.h (DF_1_STUB): Define.
18179 (DF_1_PIE): Define.
18180
af1e6be4
TMQMF
181812018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18182
18183 [BZ #22697]
18184 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18185 Do not add 0.5 to integer or out-of-range arguments.
18186
98d13ce0
DL
181872018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18188
18189 * po/bg.po: Update translations.
18190 * po/cs.po: Likewise.
18191 * po/de.po: Likewise.
18192 * po/ko.po: Likewise.
18193 * po/pl.po: Likewise.
18194 * po/sv.po: Likewise.
18195 * po/uk.po: Likewise.
18196 * po/vi.po: Likewise.
18197
3d1d7928
SN
181982018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18199
18200 * aarch64/start.S (_start): Use __wrap_main.
18201 (__wrap_main): New local symbol.
18202
52a713fd
DL
182032018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18204
18205 [BZ #22679]
18206 CVE-2018-1000001
18207 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18208 generic_getcwd if the path returned by getcwd syscall is not absolute.
18209 * io/tst-getcwd-abspath.c: New test.
18210 * io/Makefile (tests): Add tst-getcwd-abspath.
18211
249a5895
IK
182122018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18213
18214 * malloc/malloc.c (malloc_consolidate): Add size check.
18215
1a51e46e
FW
182162018-01-12 Florian Weimer <fweimer@redhat.com>
18217
18218 * support/write_message.c (write_message): Preserve errno.
18219 * support/check.c (print_failure): Likewise.
18220 * support/support_test_verify_impl.c (support_test_verify_impl):
18221 Likewise.
18222 * support/support_test_compare_failure.c
18223 (support_test_compare_failure): Likewise.
18224
9a08a366
FW
182252018-01-12 Florian Weimer <fweimer@redhat.com>
18226
18227 [BZ #22701]
18228 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18229 Prevent installation of libnsl.so.
18230 (libnsl-inhibit-o): Do not build (or install) static libraries.
18231
80647883 182322018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
18233
18234 [BZ #22657]
18235 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18236 before the day number which may produce a double space.
18237 (date_fmt): Likewise.
18238
c8924f1f
JM
182392018-01-12 Joseph Myers <joseph@codesourcery.com>
18240
18241 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18242 instead of fegetenv.
18243
da09e6fa
JM
182442018-01-11 Joseph Myers <joseph@codesourcery.com>
18245
18246 [BZ #22702]
18247 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18248 comment to say exceptions are discarded.
18249 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18250 __fegetenv.
18251 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18252 be enabled.
18253
08c6e952
FW
182542018-01-11 Florian Weimer <fweimer@redhat.com>
18255
18256 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18257 and error message.
18258
d8b77890
FW
182592018-01-11 Florian Weimer <fweimer@redhat.com>
18260
18261 [BZ #22636]
18262 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18263 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18264
b303185d
JM
182652018-01-10 Joseph Myers <joseph@codesourcery.com>
18266
18267 [BZ #22693]
18268 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18269 negative arguments in test for NaN or infinity argument.
18270
ee61d028
DL
182712018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18272
18273 * po/libc.pot: Regenerate.
18274
f993b875
FW
182752018-01-10 Florian Weimer <fweimer@redhat.com>
18276
18277 [BZ #22636]
18278 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18279 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18280
09085ede
ST
182812018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18282
18283 * hurd/hurd/fd.h: Include <fcntl.h>
18284 (__hurd_at_flags): New function.
18285 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18286 with call to __hurd_at_flags.
18287 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18288 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18289 __faccessat
18290 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18291 (__access_noerrno): Use __faccessat_common instead of access_common.
18292 (__access): Likewise.
18293 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18294 with a call to __faccessat.
18295 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18296 (__faccessat_common): ... this. Move implementation of __access into it when
18297 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18298 reauthenticate_cwdir_at helper to implement AT mechanism.
18299 (__faccessat_noerrno): New function, just calls __faccessat_common.
18300 (__faccessat): New function, just calls __faccessat_common.
18301 (faccessat): Define weak alias.
18302
12727488
JM
183032018-01-10 Joseph Myers <joseph@codesourcery.com>
18304
87faac55
JM
18305 [BZ #22691]
18306 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18307 (CFLAGS-s_fmaxmagl.c): New variable.
18308 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18309
12727488
JM
18310 [BZ #22690]
18311 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18312 long int for arguments of possibly overflowing addition or
18313 subtraction.
18314 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18315
e134ca17
JM
183162018-01-09 Joseph Myers <joseph@codesourcery.com>
18317
b2584ac2
JM
18318 [BZ #22688]
18319 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18320 (CFLAGS-e_remainderl.c): New variable.
18321
e134ca17
JM
18322 [BZ #22687]
18323 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18324 variable.
18325 (CFLAGS-s_cacoshl.c): Likewise.
18326 (CFLAGS-s_casinhl.c): Likewise.
18327 (CFLAGS-s_catanl.c): Likewise.
18328 (CFLAGS-s_catanhl.c): Likewise.
18329 (CFLAGS-s_cexpl.c): Likewise.
18330 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18331 (CFLAGS-s_csinhl.c): Likewise.
18332 (CFLAGS-s_clogl.c): Likewise.
18333 (CFLAGS-s_clog10l.c): Likewise.
18334 (CFLAGS-s_csinl.c): Likewise.
18335 (CFLAGS-s_csqrtl.c): Likewise.
18336
d31a4a48
ST
183372017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
183382017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
18339
18340 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18341 (_hurd_exec_paths): New function.
18342 * hurd/hurd.h (_hurd_exec): Deprecate function.
18343 (_hurd_exec_paths): Declare function.
18344 * hurd/Versions: Export _hurd_exec_paths.
18345 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18346 (__execve): Use __getcwd to build absolute path, and use
18347 _hurd_exec_paths instead of _hurd_exec.
18348 * sysdeps/mach/hurd/spawni.c: Likewise.
18349 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18350 _hurd_exec.
18351
d7ff3f11
DL
183522018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18353
18354 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18355 test instead of failing in case of ENOENT returned by posix_openpt.
18356
401311cf
FW
183572018-01-08 Florian Weimer <fweimer@redhat.com>
18358
18359 resolv: Support binary labels in test framework.
18360 * support/resolv_test.c (struct to_be_freed): Remove.
18361 (struct compressed_name): New.
18362 (allocate_compressed_name, ascii_tolower)
18363 (compare_compressed_name): New functions.
18364 (struct resolv_response_builder): Update type of
18365 compression_offsets for use with tsearch. Rempve to_be_freed.
18366 (response_push_pointer_to_free): Remove function.
18367 (resolv_response_add_name): Rewrite using struct compressed_name
18368 and tsearch instead of hsearch_r.
18369 (response_builder_allocate): Remove initialization of
18370 compression_offsets.
18371 (response_builder_free): Update for removal of to_be_freed. Use
18372 tdestroy instead of hdestroy_r.
18373 * resolv/Makefile (tests): Add tst-resolv-binary.
18374 (tst-resolv-binary): Link with -lresolv -lpthread.
18375
2b3aa446
FW
183762018-01-08 Florian Weimer <fweimer@redhat.com>
18377
18378 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18379 time. Pass positive flag instead of negative flag to
18380 support_test_compare_failure.
18381 (support_test_compare_failure): Change negative parameter to
18382 positive.
18383 * support/support_test_compare_failure.c (report)
18384 (support_test_compare_failure): Likewise.
18385 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18386 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18387
630f4cc3
SN
183882018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18389
18390 [BZ #22637]
18391 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18392 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18393 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18394 stacksize.
18395 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18396
c70e4e9c
L
183972018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18398
18399 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18400 Add s_sincosf-sse2 and s_sincosf-fma.
18401 (CFLAGS-s_sincosf-fma.c): New.
18402 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18403 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18404 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18405 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18406 __sincosf is defined.
18407
579396ee
FW
184082018-01-08 Florian Weimer <fweimer@redhat.com>
18409
18410 * nptl/tst-thread-exit-clobber.cc: New file.
18411 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18412 C++11 mode.
18413 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18414 (tests): Add tst-thread-exit-clobber.
18415 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18416
dabd75b6
FW
184172018-01-08 Florian Weimer <fweimer@redhat.com>
18418
18419 * support/check.h (support_static_assert): Define.
18420 (TEST_COMPARE): Use it.
18421
c2e014cc
AJ
184222018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18423
18424 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18425 [!__RLIM_T_MATCHES_RLIM64_T]
18426 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18427 __getrlimit64. Add libc_hidden_weak.
18428
31a98837
PD
184292018-01-06 Palmer Dabbelt <palmer@sifive.com>
18430
18431 * elf/elf.h (R_RISCV_NONE): New define.
18432 (R_RISCV_32): Likewise.
18433 (R_RISCV_64): Likewise.
18434 (R_RISCV_RELATIVE): Likewise.
18435 (R_RISCV_COPY): Likewise.
18436 (R_RISCV_JUMP_SLOT): Likewise.
18437 (R_RISCV_TLS_DTPMOD32): Likewise.
18438 (R_RISCV_TLS_DTPMOD64): Likewise.
18439 (R_RISCV_TLS_DTPREL32): Likewise.
18440 (R_RISCV_TLS_DTPREL64): Likewise.
18441 (R_RISCV_TLS_TPREL32): Likewise.
18442 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
18443 * Makerules (make-link-multidir): Make directories before linking into
18444 them.
150bbac1
PD
18445 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18446 define.
18447 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
18448 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18449 in subdirectories of lib.
8e13c51b
PD
18450 * nptl/Makefile (/librt.so): Always depend on
18451 "$(shared-thread-library)".
31a98837 18452
fad7d57e
ST
184532018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18454
18455 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
18456 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18457 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18458 (___tls_get_addr).
18459 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
18460 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18461 "-O2 -march=i686".
01c7e549 18462 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
18463 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18464 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18465 * sysdeps/gnu/glob-lstat-compat.c: New file.
18466 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 18467 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 18468
3a32b716
TMQMF
184692018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18470
18471 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18472 Reserve 16 chars to reloc_addr before calling _itoa_word.
18473
24731685
AJ
184742018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18475
18476 [BZ #22678]
18477 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18478 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18479
19be56d8
AJ
18480 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18481 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18482
a6d0afb5
AJ
18483 * resource/tst-getrlimit.c: Add copyright header.
18484
8e900969
AJ
184852018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18486 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18487
18488 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18489 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18490 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18491 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18492 instead.
18493 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18494 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18495 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18496 RLIM64_INFINITY): Fix values to match the kernel ones.
18497 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18498 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18499 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18500 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18501 getrlimit64@@GLIBC_2_27.
18502 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18503 and setrlimit64.
18504 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18505 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18506 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18507 setrlimit, getrlimit64 and setrlimit64.
18508
0d0bc784
AJ
185092018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18510
18511 [BZ #22648]
18512 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18513 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18514
ba374b6d
JM
185152018-01-04 Joseph Myers <joseph@codesourcery.com>
18516
18517 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18518 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18519 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18520
4854ddd8
AZ
185212018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18522
b0a4eca2
AZ
18523 [BZ #15479]
18524 [BZ #22666]
18525 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18526 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18527
4854ddd8
AZ
18528 [BZ #15479]
18529 [BZ #22665]
18530 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18531 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18532 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18533 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18534
8a5df95f
FW
185352018-01-04 Florian Weimer <fweimer@redhat.com>
18536
18537 [BZ #22667]
18538 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18539 Align the stack before calling exit.
18540 * stdlib/tst-makecontext-align.c: New file.
18541 * stdlib/Makefile (tests): Add tst-makecontext-align.
18542
82eef55f
FW
185432018-01-04 Florian Weimer <fweimer@redhat.com>
18544
18545 Add support for calling dlvsym from libc.so.
18546 * include/dlfcn.h (__libc_dlvsym): Declare.
18547 * elf/Makefile (tests-static-internal): Add
18548 tst-libc_dlvsym-static.
18549 (tests-internal): Add tst-libc_dlvsym.
18550 (modules-names): Add tst-libc_dlvsym-dso.
18551 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18552 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18553 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18554 object tst-libc_dlvsym-dso.so needs to be built before running
18555 these tests.
18556 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18557 * elf/Versions: Export __libc_dlvsym.
18558 * elf/dl-libc.c (struct do_dlvsym_args): New.
18559 (do_dlvsym, __libc_dlvsym): New functions.
18560 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18561 (_dl_open_hook2): New variable.
18562 (__libc_register_dl_open_hook): Set it.
18563 * elf/tst-libc_dlvsym-dso.c: New file.
18564 * elf/tst-libc_dlvsym-static.c: Likewise.
18565 * elf/tst-libc_dlvsym.c: Likewise.
18566 * elf/tst-libc_dlvsym.h: Likewise.
18567
1714fc06
ST
185682018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18569
18570 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18571 include <sys/mount.h>.
18572
3c7d0312
WD
185732018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18574
18575 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18576 Add __NO_MATH_ERRNO__ check.
18577
7eff0954
JM
185782018-01-02 Joseph Myers <joseph@codesourcery.com>
18579
18580 * sysdeps/mips/mips32/libm-test-ulps: Update.
18581 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18582
77f49956
FW
185832018-01-02 Florian Weimer <fweimer@redhat.com>
18584
18585 * misc/tst-pselect.c: Add copyright header.
18586
363e4519 185872018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
18588
18589 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18590 comment.
18591 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18592 comment.
18593 (settrlimit): Rename into setrlimit.
18594 (__sttrlimit): Rename into __setrlimit.
18595
3e4226ff
AJ
18596 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18597 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18598 never defined in that case.
18599
b9256ab6
JM
186002018-01-02 Joseph Myers <joseph@codesourcery.com>
18601
28fd6a44
JM
18602 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18603
a4933a15
JM
18604 * sysdeps/arm/libm-test-ulps: Update.
18605
b9256ab6
JM
18606 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18607 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18608
4cf82d23
RS
186092018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18610
18611 * NEWS: Add cosf and sincosf to list of optimized functions.
18612
6a9dd7a7
AJ
186132018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18614
18615 [BZ #22660]
18616 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18617 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18618 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18619 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18620
dbba87d5
DL
186212018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18622
b05cb613
DL
18623 [BZ #22433]
18624 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18625
dbba87d5
DL
18626 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18627 making a copy of it.
18628
688903eb
JM
186292018-01-01 Joseph Myers <joseph@codesourcery.com>
18630
66ac23de
JM
18631 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18632 trailing whitespace removed.
18633 * scripts/config.guess: Update to version 2018-01-01.
18634 * scripts/config.sub: Update to version 2018-01-01.
18635 * scripts/move-if-change: Update from gnulib.
18636
09533208
JM
18637 * NEWS: Update copyright dates.
18638 * catgets/gencat.c (print_version): Likewise.
18639 * csu/version.c (banner): Likewise.
18640 * debug/catchsegv.sh: Likewise.
18641 * debug/pcprofiledump.c (print_version): Likewise.
18642 * debug/xtrace.sh (do_version): Likewise.
18643 * elf/ldconfig.c (print_version): Likewise.
18644 * elf/ldd.bash.in: Likewise.
18645 * elf/pldd.c (print_version): Likewise.
18646 * elf/sotruss.sh: Likewise.
18647 * elf/sprof.c (print_version): Likewise.
18648 * iconv/iconv_prog.c (print_version): Likewise.
18649 * iconv/iconvconfig.c (print_version): Likewise.
18650 * locale/programs/locale.c (print_version): Likewise.
18651 * locale/programs/localedef.c (print_version): Likewise.
18652 * login/programs/pt_chown.c (print_version): Likewise.
18653 * malloc/memusage.sh (do_version): Likewise.
18654 * malloc/memusagestat.c (print_version): Likewise.
18655 * malloc/mtrace.pl: Likewise.
18656 * manual/libc.texinfo: Likewise.
18657 * nptl/version.c (banner): Likewise.
18658 * nscd/nscd.c (print_version): Likewise.
18659 * nss/getent.c (print_version): Likewise.
18660 * nss/makedb.c (print_version): Likewise.
18661 * posix/getconf.c (main): Likewise.
18662 * scripts/test-installation.pl: Likewise.
18663 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18664
688903eb
JM
18665 * All files with FSF copyright notices: Update copyright dates
18666 using scripts/update-copyrights.
18667 * locale/programs/charmap-kw.h: Regenerated.
18668 * locale/programs/locfile-kw.h: Likewise.
18669
4f820792
ZW
186702017-12-31 Zack Weinberg <zackw@panix.com>
18671
18672 * libio/bits/libio-ldbl.h: Correct check for improper
18673 inclusion. Add own multiple include guard.
18674
3e3c904d
AJ
186752017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18676 Dmitry V. Levin <ldv@altlinux.org>
18677
18678 [BZ #22625]
31f96325 18679 CVE-2017-16997
3e3c904d
AJ
18680 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18681 string token expansion. Check for NULL pointer or empty string possibly
18682 returned by expand_dynamic_string_token.
18683 (decompose_rpath): Check for empty path after dynamic string
18684 token expansion.
18685
7e21972b
DL
186862017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18687
c48831d0
DL
18688 [BZ #22433]
18689 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18690
ac583f50
DL
18691 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18692 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18693 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18694 and PTRACE_SYSCALL.
18695 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18696 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18697 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18698 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18699 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18700 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18701
7e21972b
DL
18702 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18703 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18704 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18705 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18707 bits/ptrace-shared.h.
18708 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18709 <bits/ptrace-shared.h>.
18710 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18711 __ptrace_peeksiginfo_flags, ptrace): Remove.
18712 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18713 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18714 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18715 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18716 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18717
72f29e3a
AJ
187182017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18719
18720 [BZ #17804]
18721 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18722 end of the loop. Improve comments.
18723
54e4efc2
AJ
187242017-12-29 Zack Weinberg <zackw@panix.com>
18725
18726 [BZ #22615]
18727 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18728 might be set on success.
18729
f8aa69be
AJ
187302017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18731
18732 [BZ #22611]
18733 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18734 is unchanged on success.
18735
97f13188
DL
187362017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18737
2bd86632
DL
18738 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18739 updated.
18740 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18741 expand_dynamic_string_token): Likewise.
18742 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18743 is_path argument.
18744
1c36e1e6
DL
18745 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18746 contains ':'.
18747
97f13188
DL
18748 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18749 is set and name contains ':', and all code depending on these checks.
18750
48a8f832
ZW
187512017-12-24 Zack Weinberg <zackw@panix.com>
18752
18753 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18754 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18755 respectively.
18756 * libio/libio.h: Rename the original version of this file to
18757 libio/bits/libio.h. Error out if not included by stdio.h or the
18758 stub libio.h.
18759 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18760 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18761 if not included by bits/libio.h or the stub _G_config.h.
18762 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18763 sysdeps/unix/sysv/linux/bits. Error out if not included by
18764 bits/libio.h or the stub _G_config.h.
18765 * libio/stdio.h: Include bits/libio.h, not libio.h.
18766 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18767 well as libio.h and _G_config.h.
18768
18769 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18770 * libio/strfile.h, stdio-common/vfscanf.c
18771 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18772 Include stdio.h, not _G_config.h nor libio.h.
18773 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18774 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18775
18776 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18777
a47ad79a
DL
187782017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18779
18780 [BZ #22347]
18781 * stdlib/getrandom.c (getrandom): Fix comment.
18782 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18783
363e4519 187842017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 18785
f5c558f3
AJ
18786 [BZ #21161]
18787 * manual/arith.texi (strtoul): Fix a typo.
18788
e65a5644
AJ
18789 [BZ #22596]
18790 * manual/arith.texi (finite): Fix the description of the return
18791 value.
18792
ed8ae46b
EB
187932017-12-22 Eric Blake <ebb9@byu.net>
18794
18795 Avoid gcc warnings on cygwin
18796 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18797 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18798 Avoid unused variable.
18799
bad7a0c8
FW
188002017-12-22 Florian Weimer <fweimer@redhat.com>
18801
18802 * io/Makefile (routines): Add copy_file_range.
18803 (tests): Add tst-copy_file_range.
18804 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18805 * io/Versions (GLIBC_2.27): Export copy_file_range.
18806 * io/copy_file_range-compat.c: New file.
18807 * io/copy_file_range.c: Likewise.
18808 * io/tst-copy_file_range-compat.c: Likewise.
18809 * io/tst-copy_file_range.c: Likewise.
18810 * manual/llio.texi (Copying File Data): New section.
18811 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18812 * support/Makefile (libsupport-routines): Add support-xfstat,
18813 xftruncate, xlseek.
18814 * support/support-xfstat.c: New file.
18815 * support/xftruncate.c: Likewise.
18816 * support/xlseek.c: Likewise.
18817 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18818 * sysdeps/unix/sysv/linux/**.abilist: Update.
18819 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18820
6cb86fd2
SN
188212017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18822
18823 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18824 disable-multi-arch variant to aarch64-linux-gnu.
18825
41d11b15
JM
188262017-12-20 Joseph Myers <joseph@codesourcery.com>
18827
18828 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18829 trailing whitespace removed.
18830 * scripts/config.guess: Update to version 2017-12-17.
18831 * scripts/config.sub: Update to version 2017-11-23.
18832 * scripts/install-sh: Update to version 2017-09-23.17.
18833 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18834
4735850f
AZ
188352017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18836
8d2d239c
AZ
18837 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18838 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18839 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18840 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18841 * sysdeps/tile/crtn.S: Likewise.
18842 * sysdeps/tile/dl-start.S (_start): Likewise.
18843 * sysdeps/tile/dl-trampoline.S: Likewise.
18844 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18845 * sysdeps/tile/start.S (_start): Likewise.
18846 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18847 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18848 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18849 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18850 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18851 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18852 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18853
24d1d8ec
AZ
18854 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18855 comment.
18856 * sysdeps/tile/preconfigure: Remove tilegx folder.
18857 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18858 * sysdeps/tile/Implies: ... here.
18859 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18860 * sysdeps/tile/Makefile: ... here.
18861 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18862 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18863 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18864 * sysdeps/tile/bits/wordsize.h: ... here.
18865 * sysdeps/tile/tilegx/*: Move to ...
18866 * sysdeps/tile/*: ... here.
18867 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18868 * sysdeps/tile/tilegx32/Implies: ... here.
18869 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18870 * sysdeps/tile/tilegx64/Implies: ... here.
18871 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18872 to ...
18873 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18874 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18875 * sysdeps/unix/sysv/linux/tile/*: ... here.
18876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18877 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18879 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18880
ed95f611
AZ
18881 * README: Remove tilepro-*-linux-gnu from supported architecture.
18882 * scripts/build-many-glibcs.py: Likewise.
18883 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18884 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18885 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18886 elf_machine_matches_host, elf_machine_dynamic,
18887 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18888 howto, elf_machine_rela): Likewise.
18889 * sysdeps/tile/dl-start.S (_start): Likewise.
18890 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18891 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18892 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18893 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18894 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18895 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18896 Likewise.
18897 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18898 * sysdeps/tile/preconfigure: Likewise.
18899 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18900 POINTER_CHK_GUARD): Likewise.
18901 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18902 * sysdeps/tile/start.S (_start): Likewise.
18903 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18904 Likewise.
18905 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18906 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18907 CMOVNEZ): Remove.
18908 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18909 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18910 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18911 Likewise.
18912 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18913 * sysdeps/tile/tilepro/Implies: Remove file.
18914 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18915 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18916 * sysdeps/tile/tilepro/memchr.c: Likewise.
18917 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18918 * sysdeps/tile/tilepro/memset.c: Likewise.
18919 * sysdeps/tile/tilepro/memusage.h: Likewise.
18920 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18921 * sysdeps/tile/tilepro/strchr.c: Likewise.
18922 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18923 * sysdeps/tile/tilepro/strlen.c: Likewise.
18924 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18925 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18926 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18927 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18928 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18929 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18930 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18931 Likewise.
18932 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18933 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18934 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18935 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18936 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18937 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18938 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18939 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18940 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18941 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18942 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18943 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18944 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18945 tilepro mention in comment.
18946
4735850f
AZ
18947 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18948 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18949 * nptl/pthread_join_common.c: New file: common function used on
18950 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18951 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18952 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18953 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18954 (cleanup): Move definition to pthread_join_common.c.
18955 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18956 Remove superflous checks.
18957 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18958 Likewise.
18959
8bfb461e
SN
189602017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18961
18962 * sysdeps/aarch64/libm-test-ulps: Update.
18963
4e001969
AZ
189642017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18965
18966 * sysdeps/aarch64/memset.S (MEMSET): Define.
18967
8a26ad2a
FW
189682017-12-20 Florian Weimer <fweimer@redhat.com>
18969
18970 [BZ #22635]
18971 nptl: Provide full implementation of pthread_self in libc.so.
18972 * nptl/Makefile (routines): Add pthread_self.
18973 (libpthread-routines): Replace pthread_self with
18974 compat-pthread_self.
18975 * nptl/forward.c (pthread_self): Remove.
18976 * nptl/nptl-init.c (pthread_functions): Do not initialize
18977 ptr_pthread_self.
18978 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18979 * nptl/compat-pthread_self.c: New file.
18980 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18981 Remove ptr_pthread_self.
18982
5069ff32
AR
189832017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18984
18985 * posix/regcomp.c: Fix spelling in comments.
18986 * posix/regex.h: Likewise.
18987 * posix/regex_internal.c: Likewise.
18988 * posix/regexec.c: Likewise.
18989
c85e54ac
GG
189902017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18991
18992 [BZ #22377]
18993 * math/Makefile [C++] (tests): Add test for iseqsig.
18994 * math/math.h [C++] (iseqsig): New implementation, which does
18995 not rely on __MATH_TG/__builtin_types_compatible_p.
18996 * math/test-math-iseqsig.cc: New file.
18997 * sysdeps/powerpc/powerpc64le/Makefile
18998 (CFLAGS-test-math-iseqsig.cc): New variable.
18999
10e93d96
DL
190002017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19001
19002 * elf/dl-load.c (is_trusted_path): Remove.
19003 (fillin_rpath): Remove check_trusted argument and its use,
19004 all callers changed.
19005
ce16eb52
L
190062017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19007
19008 [BZ #22630]
19009 * Makeconfig (link-pie-before-libc): Replace -pie with
19010 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19011 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19012 (tst-dlopen-aout-no-pie): New.
19013 (LDFLAGS-tst-prelink): Removed.
19014 (tst-prelink-no-pie): New.
19015 (LDFLAGS-tst-main1): Removed.
19016 (tst-main1-no-pie): New.
19017 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19018 (tst-gmon-no-pie): New.
19019
126adc89
L
190202017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19021
19022 * manual/install.texi: Document that --enable-static-pie
19023 implies PIE.
19024 * INSTALL: Regenerated.
19025
648615e1
BE
190262017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19027
19028 [BZ #21309]
19029 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19030 unsigned.
19031
f1e00502
JM
190322017-12-19 Joseph Myers <joseph@codesourcery.com>
19033
19034 Revert:
19035
19036 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19037
19038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19039
19040 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19041
19042 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19043 <errno.h>. Include "eexp.tbl".
19044 (half): New constant.
19045 (one): Likewise.
19046 (__ieee754_exp): Rewrite.
19047 (__slowexp): Remove prototype.
19048 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19049 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19050 * sysdeps/i386/fpu/slowexp.c: Likewise.
19051 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19052 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19053 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19054 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19055 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19056 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19057 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19058 comment.
19059 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19060 (CPPFLAGS-slowexp.c): Remove variable.
19061 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19062 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19063 (CFLAGS-slowexp-fma.c): Remove variable.
19064 (CFLAGS-slowexp-fma4.c): Likewise.
19065 (CFLAGS-slowexp-avx.c): Likewise.
19066 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19067 define as macro.
19068 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19069 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19070 * math/Makefile (type-double-routines): Remove slowexp.
19071 * manual/probes.texi (slowexp_p6): Remove.
19072 (slowexp_p32): Likewise.
19073
d711a00f
AZ
190742017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19075
e184ac3a
AZ
19076 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19077 arithmetic.
19078
d711a00f
AZ
19079 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19080
6f58c10d
JM
190812017-12-19 Joseph Myers <joseph@codesourcery.com>
19082
19083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19084
6fd0a3c6
PM
190852017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19086
19087 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19088 <errno.h>. Include "eexp.tbl".
19089 (half): New constant.
19090 (one): Likewise.
19091 (__ieee754_exp): Rewrite.
19092 (__slowexp): Remove prototype.
19093 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19094 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19095 * sysdeps/i386/fpu/slowexp.c: Likewise.
19096 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19097 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19098 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19099 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19100 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19101 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19102 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19103 comment.
19104 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19105 (CPPFLAGS-slowexp.c): Remove variable.
19106 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19107 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19108 (CFLAGS-slowexp-fma.c): Remove variable.
19109 (CFLAGS-slowexp-fma4.c): Likewise.
19110 (CFLAGS-slowexp-avx.c): Likewise.
19111 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19112 define as macro.
19113 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19114 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19115 * math/Makefile (type-double-routines): Remove slowexp.
19116 * manual/probes.texi (slowexp_p6): Remove.
19117 (slowexp_p32): Likewise.
19118
3bb1ef58
AZ
191192017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19120 James Clarke <jrtc27@jrtc27.com>
19121
19122 [BZ #22603]
19123 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19124 addition.
19125
554e3d51
AZ
191262017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19127
19128 [BZ #22605]
19129 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19130 code.
19131
cba595c3
L
191322017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19133
19134 [BZ #22563]
19135 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19136 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19137 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19138 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19139 to feature_1.
19140
f81ddabf
L
191412017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19142
19143 [BZ #22563]
19144 * bits/types/__cancel_jmp_buf_tag.h: New file.
19145 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19146 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19147 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19148 * nptl/Makefile (headers): Add
19149 bits/types/__cancel_jmp_buf_tag.h.
19150 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19151 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19152 * sysdeps/nptl/pthread.h: Include
19153 <bits/types/__cancel_jmp_buf_tag.h>.
19154 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19155 __cancel_jmp_buf.
19156 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19157
1a49fc59
L
191582017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19159
19160 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19161 --enable-static-pie variants to x86_64, x32 and i686.
19162
8e52f573
JM
191632017-12-19 Joseph Myers <joseph@codesourcery.com>
19164
66425185
JM
19165 [BZ #22631]
19166 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19167 argument for attrubutes. All callers changed.
19168 (__inline_mathop1): Likewise. All callers changed.
19169 (__inline_mathop): Likewise. All callers changed.
19170 [__USE_MISC] (scalbn): Use __inline_forward instead of
19171 __inline_forward_c.
19172 [__USE_ISOC99] (scalbln): Likewise.
19173 [__USE_ISOC99] (nearbyint): Likewise.
19174 [__USE_ISOC99] (lrint): Likewise.
19175 [__USE_MISC] (scalbnf): Likewise.
19176 [__USE_ISOC99] (scalblnf): Likewise.
19177 [__USE_ISOC99] (nearbyintf): Likewise.
19178 [__USE_ISOC99] (lrintf): Likewise.
19179 [__USE_MISC] (scalbnl): Likewise.
19180 [__USE_ISOC99] (scalblnl): Likewise.
19181 [__USE_ISOC99] (nearbyintl): Likewise.
19182 [__USE_ISOC99] (lrintl): Likewise.
19183 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19184 __inline_mathop and __m81_defun changed.
19185
8e52f573
JM
19186 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19187 CPU or FPU for ARM hard-float configurations.
19188
1421f39b
JM
191892017-12-18 Joseph Myers <joseph@codesourcery.com>
19190
40c4162d
JM
19191 * nptl/tst-attr3.c: Include <libc-diag.h>.
19192 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19193
5983df32
JM
19194 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19195
1421f39b
JM
19196 * string/tester.c (test_strncat): Also disable -Warray-bounds
19197 warnings for two tests.
19198
00c714df
L
191992017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19200
19201 [BZ #22614]
19202 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19203 $(cc-pie-default) == yes.
19204 * config.make.in (cc-pie-default): New.
19205 * configure.ac (libc_cv_pie_default): Renamed to ...
19206 (libc_cv_cc_pie_default): This.
19207 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19208 * configure: Regenerated.
19209
8e1472d2
FW
192102017-12-18 Florian Weimer <fweimer@redhat.com>
19211
19212 [BZ #20204]
19213 ld.so: Harden dl-libc/libdl hooks.
19214 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19215 (rtld_active): New function.
19216 * dlfcn/dladdr.c (__dladdr): Call it.
19217 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19218 * dlfcn/dlclose.c (__dlcose): Likewise.
19219 * dlfcn/dlerror.c (__dlerror): Likewise.
19220 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19221 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19222 * dlfcn/dlopen.c (__dlopen): Likewise.
19223 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19224 * dlfcn/dlsym.c (__dlsym): Likewise.
19225 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19226 * libio/vtables.c (_IO_vtable_check): Likewise.
19227 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19228 (__libc_dlclose): Likewise.
19229 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19230 assignment.
19231
49b036bc
JM
192322017-12-18 Joseph Myers <joseph@codesourcery.com>
19233
19234 [BZ #22446]
19235 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19236 buffers for readlink input and output.
19237
368b6c8d
ST
192382017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19239
c85c564d
ST
19240 [BZ #22624]
19241 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19242 inhibit_stack_protector.
19243
368b6c8d
ST
19244 [BZ #22624]
19245 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19246 inhibit_stack_protector.
19247
bb195224
DL
192482017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19249
19250 [BZ #22627]
19251 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19252 code and invocation.
19253
14d886ed
SN
192542017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19255
19256 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19257
7d38eb38
AJ
192582017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19259
19260 [BZ #22505]
19261 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19262
2e77deef
RS
192632017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19264
19265 * sysdeps/s390/fpu/libm-test-ulps: Update.
19266
0b9bef6d
RS
192672017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19268
19269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19270
984ae996
RS
192712017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19272
19273 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19274 constants to s_sincosf.h file.
19275 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19276 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19277 implementation.
19278 * sysdeps/ieee754/flt-32/s_sincosf.h:
19279 New file.
19280
363e4519 192812017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
19282
19283 [BZ #14681]
19284 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19285 before mtrace.
19286
9d7a3741
L
192872017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19288
19289 [BZ #19574]
19290 * INSTALL: Regenerated.
19291 * Makeconfig (real-static-start-installed-name): New.
19292 (pic-default): Updated for --enable-static-pie.
19293 (pie-default): New for --enable-static-pie.
19294 (default-pie-ldflag): Likewise.
19295 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19296 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19297 Replace $(static-start-installed-name) with
19298 $(real-static-start-installed-name).
19299 (+prectorT): Updated for --enable-static-pie.
19300 (+postctorT): Likewise.
19301 (CFLAGS-.o): Add $(pie-default).
19302 (CFLAGS-.op): Likewise.
19303 * NEWS: Mention --enable-static-pie.
19304 * config.h.in (ENABLE_STATIC_PIE): New.
19305 * configure.ac (--enable-static-pie): New configure option.
19306 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19307 (have-static-pie): Likewise.
19308 Enable static PIE if linker supports --no-dynamic-linker.
19309 (ENABLE_STATIC_PIE): New AC_DEFINE.
19310 (enable-static-pie): New LIBC_CONFIG_VAR.
19311 * configure: Regenerated.
19312 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19313 gr$(start-installed-name) for --enable-static-pie.
19314 (extra-objs): Likewise.
19315 (install-lib): Likewise.
19316 (extra-objs): Add static-reloc.o and static-reloc.os
19317 ($(objpfx)$(start-installed-name)): Also depend on
19318 $(objpfx)static-reloc.o.
19319 ($(objpfx)r$(start-installed-name)): New.
19320 ($(objpfx)g$(start-installed-name)): Also depend on
19321 $(objpfx)static-reloc.os.
19322 ($(objpfx)gr$(start-installed-name)): New.
19323 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19324 in libc.a.
19325 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19326 initimage.
19327 * csu/static-reloc.c: New file.
19328 * elf/Makefile (routines): Add dl-reloc-static-pie.
19329 (elide-routines.os): Likewise.
19330 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19331 (tst-tls1-static-non-pie-no-pie): New.
19332 * elf/dl-reloc-static-pie.c: New file.
19333 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19334 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19335 STATIC_PIE_BOOTSTRAP.
19336 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19337 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19338 (tests-static): Likewise.
19339 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19340 (tst-gmon-static-no-pie): New.
19341 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19342 (CRT-tst-gmon-static-pie): Likewise.
19343 (tst-gmon-static-pie-ENV): Likewise.
19344 (tests-special): Likewise.
19345 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19346 (clean-tst-gmon-static-pie-data): Likewise.
19347 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19348 * gmon/tst-gmon-static-pie.c: New file.
19349 * manual/install.texi: Document --enable-static-pie.
19350 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19351 (_dl_get_dl_main_map): Likewise.
19352 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19353 * sysdeps/x86_64/configure.ac: Likewise.
19354 * sysdeps/i386/configure: Regenerated.
19355 * sysdeps/x86_64/configure: Likewise.
19356 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19357 (ASFLAGS-.op): Likewise.
19358
95511aab
JM
193592017-12-15 Joseph Myers <joseph@codesourcery.com>
19360
19361 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19362 * posix/tst-mmap-offset.c (fname): Use /tmp.
19363 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19364
a7e3edf4
SE
193652017-12-15 Steve Ellcey <sellcey@cavium.com>
19366
19367 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19368
d232f2e1
TS
193692017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19370
19371 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19372 errno.
19373
174edbde
JM
193742017-12-15 Joseph Myers <joseph@codesourcery.com>
19375
5170fa49
JM
19376 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19377 --with-float=hard for arm-linux-gnueabihf configurations.
19378
f2da2fd8
JM
19379 [BZ #14121]
19380 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19381 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19382 ($(mo-installed)): Use $(objpfx)%.mo.
19383 (realclean): Remove rule.
19384
0c4fe28d
JM
19385 * po/Makefile (linguas): Remove rule and dependencies.
19386 (linguas.mo): Likewise.
19387 (.PHONY): Do not depend on linguas and linguas.mo.
19388 (podir): Remove variable.
19389 (pofiles): Likewise.
19390 [$(pofiles)] (%.po): Remove rule.
19391
174edbde
JM
19392 * sysdeps/sparc/sparc32/Makefile
19393 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19394 start-of-line whitespace in argument of echo.
19395 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19396 with whitespace. Generate __wrap_.udiv alias.
19397 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19398 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19399 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19400 * sysdeps/sparc/sparc32/urem.S: Likewise.
19401
1e36806f
RS
194022017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19403
19404 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19405 for aligned inputs.
19406
aa6932aa
SP
194072017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19408
5f1603c3
SP
19409 * benchtests/bench-strcmp.c: Print output in JSON format.
19410
aa6932aa
SP
19411 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19412
3ff3dfa5
FW
194132017-12-14 Florian Weimer <fweimer@redhat.com>
19414
19415 [BZ #22607]
19416 CVE-2017-1000409
19417 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19418 the expanded path string.
19419
8a0b17e4
FW
194202017-12-14 Florian Weimer <fweimer@redhat.com>
19421
19422 [BZ #22606]
19423 CVE-2017-1000408
19424 * elf/dl-load.c (system_dirs): Update comment.
19425 (nsystem_dirs_len): Use array_length.
19426 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19427
f58bd7f0
FW
194282017-12-14 Florian Weimer <fweimer@redhat.com>
19429
19430 Simplify compiling most of support/ outside of glibc.
19431 * support/check_addrinfo.c: Include <string.h>.
19432 * support/check_dns_packet.c: Likewise.
19433 * support/check_hostent.c: Likewise.
19434 * support/support_can_chroot.c: Include <support/xunistd.h>.
19435 * support/support_format_addrinfo.c: Include <stdlib.h>
19436 * support/support_format_dns_packet.c: Include <stdbool.h>.
19437 * support/support_format_hostent.c: Include <stdlib.h>.
19438 * support/support_format_netent.c: Likewise.
19439 * support/support_write_string.c: Include <support/xunistd.h>.
19440 * support/xdlfcn.c: Include <stddef.h>.
19441
4ca945e9
L
194422017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19443
19444 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19445
1b6e07f8
PM
194462017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19447 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19448
e6a1c5dc
PM
19449 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19450 (sysdeps_routines): Add memset-niagara7.
19451 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19452 Likewise.
19453 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19454 file.
19455 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19456 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19457 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19458 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19459 Add niagara7 option.
19460 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19461 memset.
19462
1b6e07f8
PM
19463 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19464 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19465 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19466 Likewise.
19467 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19468 New file.
19469 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19470 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19471 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19472 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19473 and __memmove_niagara7.
19474 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19475 Add niagara7 option.
19476 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19477 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19478 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19479 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19480 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19481
bfb7bf22
JM
194822017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19483
767a26d6
JM
19484 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19485 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19486 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19487 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19488
bfb7bf22
JM
19489 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19490 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19491 _dl_sparc_cap_flags array.
19492 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19493
2bce01eb
SP
194942017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19495
19496 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19497 time whenever possible.
19498
363e4519 194992017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
19500
19501 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19502 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19503
6f7c0092
JM
195042017-12-12 Joseph Myers <joseph@codesourcery.com>
19505
19506 * soft-fp/fmadf4.c: Move to ....
19507 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19508 * soft-fp/fmasf4.c: Move to ....
19509 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19510 * soft-fp/fmatf4.c: Move to ....
19511 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19512 * sysdeps/ieee754/soft-fp/Makefile: New file.
19513 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19514 * sysdeps/arm/preconfigure: Regenerated.
19515 * sysdeps/arm/nofpu/Implies: New file.
19516 * sysdeps/arm/s_fma.c: Remove file.
19517 * sysdeps/arm/s_fmaf.c: Likewise.
19518 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19519 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19520 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19521 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19522 * sysdeps/microblaze/s_fma.c: Remove file.
19523 * sysdeps/microblaze/s_fmaf.c: Likewise.
19524 * sysdeps/mips/mips32/nofpu/Implies: New file.
19525 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19526 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19527 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19528 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19529 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19530 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19531 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19532 implementation.
19533 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19534 * sysdeps/nios2/s_fma.c: Remove file.
19535 * sysdeps/nios2/s_fmaf.c: Likewise.
19536 * sysdeps/sh/nofpu/Implies: New file.
19537 * sysdeps/sh/s_fma.c: Remove file.
19538 * sysdeps/sh/s_fmaf.c: Likewise.
19539 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19540 * sysdeps/tile/s_fma.c: Remove file.
19541 * sysdeps/tile/s_fmaf.c: Likewise.
19542
ac817e08
L
195432017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19544
19545 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19546 Add s_cosf-sse2 and s_cosf-fma.
19547 (CFLAGS-s_cosf-fma.c): New.
19548 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19549 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19550 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19551
eb428576
SE
195522017-12-12 Steve Ellcey <sellcey@cavium.com>
19553
19554 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19555
c80acdc3
AZ
195562017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19557
cc683f7e
AZ
19558 * libio/Makefile (tests): Add tst-bz22415.
19559 (tst-bz22415-ENV): New rule.
19560 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19561 (tests-special): Add tst-bz22415-mem.out.
19562 ($(objpfx)tst-bz22415-mem.out): New rule.
19563 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19564 in case of a successful seek operation.
19565 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19566 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19567 buffer is required.
19568 * libio/tst-bz22415.c: New test.
19569
c80acdc3
AZ
19570 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19571
363e4519 195722017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
19573
19574 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19575 __IPC_64 to 0 to avoid IPC_64 being set.
19576
4e0dca54
SN
195772017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19578
19579 [BZ #22593]
19580 * math/bits/mathcalls.h (nextafter): Remove const.
19581 (nexttoward): Likewise.
19582
8df5d347
JM
195832017-12-12 Joseph Myers <joseph@codesourcery.com>
19584
19585 * configure.ac (--with-fp): Remove configure option.
19586 (with_fp_cond): New variable.
19587 (libc_cv_with_fp): New configure test. Use this variable instead
19588 of with_fp.
19589 * configure: Regenerated.
19590 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19591 * manual/install.texi (Configuring and compiling): Remove
19592 --without-fp.
19593 * INSTALL: Regenerated.
19594 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19595 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19596 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19597 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19598 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19599 use --without-fp to configure glibc.
19600
0cee1257
RJ
196012017-12-12 Rical Jasan <ricaljasan@pacific.net>
19602
19603 * manual/locale.texi (nl_langinfo): Fix a typo.
19604
363e4519 196052017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
19606
19607 [BZ #22588]
19608 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19609
36975e8e
L
196102017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19611
19612 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19613 (CFLAGS-argp-parse.c): Likewise.
19614 (CFLAGS-argp-fmtstream.c): Likewise.
19615 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19616 (CPPFLAGS-sha512-crypt.c): Likewise.
19617 (CPPFLAGS-md5-crypt.c): Likewise.
19618 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19619 (CFLAGS-stack_chk_fail_local.c): Likewise.
19620 (CFLAGS-backtrace.c): Likewise.
19621 (CFLAGS-sprintf_chk.c): Likewise.
19622 (CFLAGS-snprintf_chk.c): Likewise.
19623 (CFLAGS-vsprintf_chk.c): Likewise.
19624 (CFLAGS-vsnprintf_chk.c): Likewise.
19625 (CFLAGS-asprintf_chk.c): Likewise.
19626 (CFLAGS-vasprintf_chk.c): Likewise.
19627 (CFLAGS-obprintf_chk.c): Likewise.
19628 (CFLAGS-dprintf_chk.c): Likewise.
19629 (CFLAGS-vdprintf_chk.c): Likewise.
19630 (CFLAGS-printf_chk.c): Likewise.
19631 (CFLAGS-fprintf_chk.c): Likewise.
19632 (CFLAGS-vprintf_chk.c): Likewise.
19633 (CFLAGS-vfprintf_chk.c): Likewise.
19634 (CFLAGS-gets_chk.c): Likewise.
19635 (CFLAGS-fgets_chk.c): Likewise.
19636 (CFLAGS-fgets_u_chk.c): Likewise.
19637 (CFLAGS-fread_chk.c): Likewise.
19638 (CFLAGS-fread_u_chk.c): Likewise.
19639 (CFLAGS-swprintf_chk.c): Likewise.
19640 (CFLAGS-vswprintf_chk.c): Likewise.
19641 (CFLAGS-wprintf_chk.c): Likewise.
19642 (CFLAGS-fwprintf_chk.c): Likewise.
19643 (CFLAGS-vwprintf_chk.c): Likewise.
19644 (CFLAGS-vfwprintf_chk.c): Likewise.
19645 (CFLAGS-fgetws_chk.c): Likewise.
19646 (CFLAGS-fgetws_u_chk.c): Likewise.
19647 (CFLAGS-read_chk.c): Likewise.
19648 (CFLAGS-pread_chk.c): Likewise.
19649 (CFLAGS-pread64_chk.c): Likewise.
19650 (CFLAGS-recv_chk.c): Likewise.
19651 (CFLAGS-recvfrom_chk.c): Likewise.
19652 (CFLAGS-tst-longjmp_chk.c): Likewise.
19653 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19654 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19655 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19656 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19657 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19658 (CFLAGS-tst-chk1.c): Likewise.
19659 (CFLAGS-tst-chk2.c): Likewise.
19660 (CFLAGS-tst-chk3.c): Likewise.
19661 (CFLAGS-tst-chk4.cc): Likewise.
19662 (CFLAGS-tst-chk5.cc): Likewise.
19663 (CFLAGS-tst-chk6.cc): Likewise.
19664 (CFLAGS-tst-lfschk1.c): Likewise.
19665 (CFLAGS-tst-lfschk2.c): Likewise.
19666 (CFLAGS-tst-lfschk3.c): Likewise.
19667 (CFLAGS-tst-lfschk4.cc): Likewise.
19668 (CFLAGS-tst-lfschk5.cc): Likewise.
19669 (CFLAGS-tst-lfschk6.cc): Likewise.
19670 (CFLAGS-tst-ssp-1.c): Likewise.
19671 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19672 (CFLAGS-scandir64.c): Likewise.
19673 (CFLAGS-scandir-tail.c): Likewise.
19674 (CFLAGS-scandir64-tail.c): Likewise.
19675 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19676 (CFLAGS-dl-tunables.c): Likewise.
19677 (CFLAGS-dl-runtime.c): Likewise.
19678 (CFLAGS-dl-lookup.c): Likewise.
19679 (CFLAGS-dl-iterate-phdr.c): Likewise.
19680 (CFLAGS-vismain.c): Likewise.
19681 (CFLAGS-tst-linkall-static.c): Likewise.
19682 (CFLAGS-tst-linkall-static.c): Likewise.
19683 (CPPFLAGS-dl-load.c): Likewise.
19684 (CFLAGS-ldconfig.c): Likewise.
19685 (CFLAGS-dl-cache.c): Likewise.
19686 (CFLAGS-cache.c): Likewise.
19687 (CFLAGS-rtld.c): Likewise.
19688 (CFLAGS-multiload.c): Likewise.
19689 (CFLAGS-filtmod1.c): Likewise.
19690 (CFLAGS-tst-align.c): Likewise.
19691 (CFLAGS-tst-align2.c): Likewise.
19692 (CFLAGS-tst-alignmod.c): Likewise.
19693 (CFLAGS-tst-alignmod2.c): Likewise.
19694 (CPPFLAGS-tst-execstack.c): Likewise.
19695 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19696 (CFLAGS-tst-latepthreadmod.c): Likewise.
19697 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19698 (CFLAGS-getgrnam_r.c): Likewise.
19699 (CFLAGS-getgrent_r.c): Likewise.
19700 (CFLAGS-getgrent.c): Likewise.
19701 (CFLAGS-fgetgrent.c): Likewise.
19702 (CFLAGS-fgetgrent_r.c): Likewise.
19703 (CFLAGS-putgrent.c): Likewise.
19704 (CFLAGS-initgroups.c): Likewise.
19705 (CFLAGS-getgrgid.c): Likewise.
19706 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19707 (CFLAGS-getsgent.c): Likewise.
19708 (CFLAGS-fgetsgent.c): Likewise.
19709 (CFLAGS-fgetsgent_r.c): Likewise.
19710 (CFLAGS-putsgent.c): Likewise.
19711 (CFLAGS-getsgnam.c): Likewise.
19712 (CFLAGS-getsgnam_r.c): Likewise.
19713 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19714 (CFLAGS-iconv_charmap.c): Likewise.
19715 (CFLAGS-dummy-repertoire.c): Likewise.
19716 (CFLAGS-charmap.c): Likewise.
19717 (CFLAGS-linereader.c): Likewise.
19718 (CFLAGS-simple-hash.c): Likewise.
19719 (CFLAGS-gconv_conf.c): Likewise.
19720 (CFLAGS-iconvconfig.c): Likewise.
19721 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19722 (CFLAGS-gethstbyad.c): Likewise.
19723 (CFLAGS-gethstbynm_r.c): Likewise.
19724 (CFLAGS-gethstbynm.c): Likewise.
19725 (CFLAGS-gethstbynm2_r.c): Likewise.
19726 (CFLAGS-gethstbynm2.c): Likewise.
19727 (CFLAGS-gethstent_r.c): Likewise.
19728 (CFLAGS-gethstent.c): Likewise.
19729 (CFLAGS-rcmd.c): Likewise.
19730 (CFLAGS-getnetbynm_r.c): Likewise.
19731 (CFLAGS-getnetbynm.c): Likewise.
19732 (CFLAGS-getnetbyad_r.c): Likewise.
19733 (CFLAGS-getnetbyad.c): Likewise.
19734 (CFLAGS-getnetent_r.c): Likewise.
19735 (CFLAGS-getnetent.c): Likewise.
19736 (CFLAGS-getaliasent_r.c): Likewise.
19737 (CFLAGS-getaliasent.c): Likewise.
19738 (CFLAGS-getrpcent_r.c): Likewise.
19739 (CFLAGS-getrpcent.c): Likewise.
19740 (CFLAGS-getservent_r.c): Likewise.
19741 (CFLAGS-getservent.c): Likewise.
19742 (CFLAGS-getprtent_r.c): Likewise.
19743 (CFLAGS-getprtent.c): Likewise.
19744 (CFLAGS-either_ntoh.c): Likewise.
19745 (CFLAGS-either_hton.c): Likewise.
19746 (CFLAGS-getnetgrent.c): Likewise.
19747 (CFLAGS-getnetgrent_r.c): Likewise.
19748 (CFLAGS-tst-checks-posix.c): Likewise.
19749 (CFLAGS-tst-sockaddr.c): Likewise.
19750 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19751 (CFLAGS-tst-translit.c): Likewise.
19752 (CFLAGS-tst-gettext2.c): Likewise.
19753 (CFLAGS-tst-codeset.c): Likewise.
19754 (CFLAGS-tst-gettext3.c): Likewise.
19755 (CFLAGS-tst-gettext4.c): Likewise.
19756 (CFLAGS-tst-gettext5.c): Likewise.
19757 (CFLAGS-tst-gettext6.c): Likewise.
19758 * io/Makefile (CFLAGS-open.c): Likewise.
19759 (CFLAGS-open64.c): Likewise.
19760 (CFLAGS-creat.c): Likewise.
19761 (CFLAGS-creat64.c): Likewise.
19762 (CFLAGS-fcntl.c): Likewise.
19763 (CFLAGS-poll.c): Likewise.
19764 (CFLAGS-ppoll.c): Likewise.
19765 (CFLAGS-lockf.c): Likewise.
19766 (CFLAGS-statfs.c): Likewise.
19767 (CFLAGS-fstatfs.c): Likewise.
19768 (CFLAGS-statvfs.c): Likewise.
19769 (CFLAGS-fstatvfs.c): Likewise.
19770 (CFLAGS-fts.c): Likewise.
19771 (CFLAGS-fts64.c): Likewise.
19772 (CFLAGS-ftw.c): Likewise.
19773 (CFLAGS-ftw64.c): Likewise.
19774 (CFLAGS-lockf.c): Likewise.
19775 (CFLAGS-posix_fallocate.c): Likewise.
19776 (CFLAGS-posix_fallocate64.c): Likewise.
19777 (CFLAGS-fallocate.c): Likewise.
19778 (CFLAGS-fallocate64.c): Likewise.
19779 (CFLAGS-read.c): Likewise.
19780 (CFLAGS-write.c): Likewise.
19781 (CFLAGS-test-stat.c): Likewise.
19782 (CFLAGS-test-lfs.c): Likewise.
19783 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19784 (CFLAGS-fputc.c): Likewise.
19785 (CFLAGS-fputwc.c): Likewise.
19786 (CFLAGS-freopen64.c): Likewise.
19787 (CFLAGS-freopen.c): Likewise.
19788 (CFLAGS-fseek.c): Likewise.
19789 (CFLAGS-fseeko64.c): Likewise.
19790 (CFLAGS-fseeko.c): Likewise.
19791 (CFLAGS-ftello64.c): Likewise.
19792 (CFLAGS-ftello.c): Likewise.
19793 (CFLAGS-fwide.c): Likewise.
19794 (CFLAGS-genops.c): Likewise.
19795 (CFLAGS-getc.c): Likewise.
19796 (CFLAGS-getchar.c): Likewise.
19797 (CFLAGS-getwc.c): Likewise.
19798 (CFLAGS-getwchar.c): Likewise.
19799 (CFLAGS-iofclose.c): Likewise.
19800 (CFLAGS-iofflush.c): Likewise.
19801 (CFLAGS-iofgetpos64.c): Likewise.
19802 (CFLAGS-iofgetpos.c): Likewise.
19803 (CFLAGS-iofgets.c): Likewise.
19804 (CFLAGS-iofgetws.c): Likewise.
19805 (CFLAGS-iofputs.c): Likewise.
19806 (CFLAGS-iofputws.c): Likewise.
19807 (CFLAGS-iofread.c): Likewise.
19808 (CFLAGS-iofsetpos64.c): Likewise.
19809 (CFLAGS-iofsetpos.c): Likewise.
19810 (CFLAGS-ioftell.c): Likewise.
19811 (CFLAGS-iofwrite.c): Likewise.
19812 (CFLAGS-iogetdelim.c): Likewise.
19813 (CFLAGS-iogetline.c): Likewise.
19814 (CFLAGS-iogets.c): Likewise.
19815 (CFLAGS-iogetwline.c): Likewise.
19816 (CFLAGS-ioputs.c): Likewise.
19817 (CFLAGS-ioseekoff.c): Likewise.
19818 (CFLAGS-ioseekpos.c): Likewise.
19819 (CFLAGS-iosetbuffer.c): Likewise.
19820 (CFLAGS-iosetvbuf.c): Likewise.
19821 (CFLAGS-ioungetc.c): Likewise.
19822 (CFLAGS-ioungetwc.c): Likewise.
19823 (CFLAGS-oldfileops.c): Likewise.
19824 (CFLAGS-oldiofclose.c): Likewise.
19825 (CFLAGS-oldiofgetpos64.c): Likewise.
19826 (CFLAGS-oldiofgetpos.c): Likewise.
19827 (CFLAGS-oldiofsetpos64.c): Likewise.
19828 (CFLAGS-oldiofsetpos.c): Likewise.
19829 (CFLAGS-peekc.c): Likewise.
19830 (CFLAGS-putc.c): Likewise.
19831 (CFLAGS-putchar.c): Likewise.
19832 (CFLAGS-putwc.c): Likewise.
19833 (CFLAGS-putwchar.c): Likewise.
19834 (CFLAGS-rewind.c): Likewise.
19835 (CFLAGS-wfileops.c): Likewise.
19836 (CFLAGS-wgenops.c): Likewise.
19837 (CFLAGS-oldiofopen.c): Likewise.
19838 (CFLAGS-iofopen.c): Likewise.
19839 (CFLAGS-iofopen64.c): Likewise.
19840 (CFLAGS-oldtmpfile.c): Likewise.
19841 (CFLAGS-tst_putwc.c): Likewise.
19842 * locale/Makefile (CFLAGS-md5.c): Likewise.
19843 (CFLAGS-charmap.c): Likewise.
19844 (CFLAGS-locfile.c): Likewise.
19845 (CFLAGS-charmap-dir.c): Likewise.
19846 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19847 (CFLAGS-getpt.c): Likewise.
19848 (CFLAGS-pt_chown.c): Likewise.
19849 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19850 (CFLAGS-obstack.c): Likewise.
19851 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19852 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19853 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19854 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19855 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19856 (CFLAGS-test-tgmath.c): Likewise.
19857 (CFLAGS-test-tgmath2.c): Likewise.
19858 (CFLAGS-test-tgmath-ret.c): Likewise.
19859 (CFLAGS-test-powl.c): Likewise.
19860 (CFLAGS-test-snan.c): Likewise.
19861 (CFLAGS-test-signgam-finite.c): Likewise.
19862 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19863 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19864 (CFLAGS-test-signgam-uchar.c): Likewise.
19865 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19866 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19867 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19868 (CFLAGS-test-signgam-uint.c): Likewise.
19869 (CFLAGS-test-signgam-uint-init.c): Likewise.
19870 (CFLAGS-test-signgam-uint-static.c): Likewise.
19871 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19872 (CFLAGS-test-signgam-ullong.c): Likewise.
19873 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19874 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19875 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19876 (CFLAGS-test-math-cxx11.cc): Likewise.
19877 (CFLAGS-test-math-isinff.cc): Likewise.
19878 (CFLAGS-test-math-iszero.cc): Likewise.
19879 (CFLAGS-test-math-issignaling.cc): Likewise.
19880 (CFLAGS-test-math-iscanonical.cc): Likewise.
19881 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19882 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19883 (CFLAGS-test-flt-eval-method.c): Likewise.
19884 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19885 (CFLAGS-test-finite-macros.c): Likewise.
19886 * misc/Makefile (CFLAGS-select.c): Likewise.
19887 (CFLAGS-tsearch.c): Likewise.
19888 (CFLAGS-lsearch.c): Likewise.
19889 (CFLAGS-pselect.c): Likewise.
19890 (CFLAGS-readv.c): Likewise.
19891 (CFLAGS-writev.c): Likewise.
19892 (CFLAGS-preadv.c): Likewise.
19893 (CFLAGS-preadv64.c): Likewise.
19894 (CFLAGS-pwritev.c): Likewise.
19895 (CFLAGS-pwritev64.c): Likewise.
19896 (CFLAGS-preadv2.c): Likewise.
19897 (CFLAGS-preadv64v2.c): Likewise.
19898 (CFLAGS-pwritev2.c): Likewise.
19899 (CFLAGS-pwritev64v2.c): Likewise.
19900 (CFLAGS-usleep.c): Likewise.
19901 (CFLAGS-syslog.c): Likewise.
19902 (CFLAGS-error.c): Likewise.
19903 (CFLAGS-getpass.c): Likewise.
19904 (CFLAGS-mkstemp.c): Likewise.
19905 (CFLAGS-mkstemp64.c): Likewise.
19906 (CFLAGS-getsysstats.c): Likewise.
19907 (CFLAGS-getusershell.c): Likewise.
19908 (CFLAGS-err.c): Likewise.
19909 (CFLAGS-tst-tsearch.c): Likewise.
19910 (CFLAGS-msync.c): Likewise.
19911 (CFLAGS-fdatasync.c): Likewise.
19912 (CFLAGS-fsync.c): Likewise.
19913 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19914 (CFLAGS-unwind.c): Likewise.
19915 (CFLAGS-unwind-forcedunwind.c): Likewise.
19916 (CFLAGS-pthread_cancel.c): Likewise.
19917 (CFLAGS-pthread_setcancelstate.c): Likewise.
19918 (CFLAGS-pthread_setcanceltype.c): Likewise.
19919 (CFLAGS-cancellation.c): Likewise.
19920 (CFLAGS-libc-cancellation.c): Likewise.
19921 (CFLAGS-pthread_exit.c): Likewise.
19922 (CFLAGS-forward.c): Likewise.
19923 (CFLAGS-pthread_testcancel.c): Likewise.
19924 (CFLAGS-pthread_join.c): Likewise.
19925 (CFLAGS-pthread_timedjoin.c): Likewise.
19926 (CFLAGS-pthread_once.c): Likewise.
19927 (CFLAGS-pthread_cond_wait.c): Likewise.
19928 (CFLAGS-sem_wait.c): Likewise.
19929 (CFLAGS-sem_timedwait.c): Likewise.
19930 (CFLAGS-fcntl.c): Likewise.
19931 (CFLAGS-lockf.c): Likewise.
19932 (CFLAGS-pread.c): Likewise.
19933 (CFLAGS-pread64.c): Likewise.
19934 (CFLAGS-pwrite.c): Likewise.
19935 (CFLAGS-pwrite64.c): Likewise.
19936 (CFLAGS-wait.c): Likewise.
19937 (CFLAGS-waitpid.c): Likewise.
19938 (CFLAGS-sigwait.c): Likewise.
19939 (CFLAGS-msgrcv.c): Likewise.
19940 (CFLAGS-msgsnd.c): Likewise.
19941 (CFLAGS-tcdrain.c): Likewise.
19942 (CFLAGS-open.c): Likewise.
19943 (CFLAGS-open64.c): Likewise.
19944 (CFLAGS-pause.c): Likewise.
19945 (CFLAGS-recv.c): Likewise.
19946 (CFLAGS-send.c): Likewise.
19947 (CFLAGS-accept.c): Likewise.
19948 (CFLAGS-sendto.c): Likewise.
19949 (CFLAGS-connect.c): Likewise.
19950 (CFLAGS-recvfrom.c): Likewise.
19951 (CFLAGS-recvmsg.c): Likewise.
19952 (CFLAGS-sendmsg.c): Likewise.
19953 (CFLAGS-close.c): Likewise.
19954 (CFLAGS-read.c): Likewise.
19955 (CFLAGS-write.c): Likewise.
19956 (CFLAGS-nanosleep.c): Likewise.
19957 (CFLAGS-sigsuspend.c): Likewise.
19958 (CFLAGS-msync.c): Likewise.
19959 (CFLAGS-fdatasync.c): Likewise.
19960 (CFLAGS-fsync.c): Likewise.
19961 (CFLAGS-pt-system.c): Likewise.
19962 (CFLAGS-tst-cleanup2.c): Likewise.
19963 (CFLAGS-tst-cleanupx2.c): Likewise.
19964 (CFLAGS-flockfile.c): Likewise.
19965 (CFLAGS-ftrylockfile.c): Likewise.
19966 (CFLAGS-funlockfile.c): Likewise.
19967 (CFLAGS-tst-initializers1.c): Likewise.
19968 (CFLAGS-tst-initializers1-c89.c): Likewise.
19969 (CFLAGS-tst-initializers1-c99.c): Likewise.
19970 (CFLAGS-tst-initializers1-c11.c): Likewise.
19971 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19972 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19973 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19974 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19975 (CFLAGS-nscd_getgr_r.c): Likewise.
19976 (CFLAGS-nscd_gethst_r.c): Likewise.
19977 (CFLAGS-nscd_getai.c): Likewise.
19978 (CFLAGS-nscd_initgroups.c): Likewise.
19979 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19980 (CFLAGS-pause.c): Likewise.
19981 (CFLAGS-pread.c): Likewise.
19982 (CFLAGS-pread64.c): Likewise.
19983 (CFLAGS-pwrite.c): Likewise.
19984 (CFLAGS-pwrite64.c): Likewise.
19985 (CFLAGS-sleep.c): Likewise.
19986 (CFLAGS-wait.c): Likewise.
19987 (CFLAGS-waitid.c): Likewise.
19988 (CFLAGS-waitpid.c): Likewise.
19989 (CFLAGS-getopt.c): Likewise.
19990 (CFLAGS-wordexp.c): Likewise.
19991 (CFLAGS-sysconf.c): Likewise.
19992 (CFLAGS-pathconf.c): Likewise.
19993 (CFLAGS-fpathconf.c): Likewise.
19994 (CFLAGS-spawn.c): Likewise.
19995 (CFLAGS-spawnp.c): Likewise.
19996 (CFLAGS-spawni.c): Likewise.
19997 (CFLAGS-glob.c): Likewise.
19998 (CFLAGS-glob64.c): Likewise.
19999 (CFLAGS-getconf.c): Likewise.
20000 (CFLAGS-nanosleep.c): Likewise.
20001 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20002 (CFLAGS-getpwent.c): Likewise.
20003 (CFLAGS-getpw.c): Likewise.
20004 (CFLAGS-fgetpwent_r.c): Likewise.
20005 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20006 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20007 (CFLAGS-mq_timedreceive.c): Likewise.
20008 (CFLAGS-mq_timedsend.c): Likewise.
20009 (CFLAGS-clock_nanosleep.c): Likewise.
20010 (CFLAGS-librt-cancellation.c): Likewise.
20011 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20012 (CFLAGS-getspent.c): Likewise.
20013 (CFLAGS-fgetspent.c): Likewise.
20014 (CFLAGS-fgetspent_r.c): Likewise.
20015 (CFLAGS-putspent.c): Likewise.
20016 (CFLAGS-getspnam.c): Likewise.
20017 (CFLAGS-getspnam_r.c): Likewise.
20018 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20019 (CFLAGS-sigsuspend.c): Likewise.
20020 (CFLAGS-sigtimedwait.c): Likewise.
20021 (CFLAGS-sigwait.c): Likewise.
20022 (CFLAGS-sigwaitinfo.c): Likewise.
20023 (CFLAGS-sigreturn.c): Likewise.
20024 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20025 (CFLAGS-vfwprintf.c): Likewise.
20026 (CFLAGS-tmpfile.c): Likewise.
20027 (CFLAGS-tmpfile64.c): Likewise.
20028 (CFLAGS-tempname.c): Likewise.
20029 (CFLAGS-psignal.c): Likewise.
20030 (CFLAGS-vprintf.c): Likewise.
20031 (CFLAGS-cuserid.c): Likewise.
20032 (CFLAGS-errlist.c): Likewise.
20033 (CFLAGS-siglist.c): Likewise.
20034 (CFLAGS-scanf15.c): Likewise.
20035 (CFLAGS-scanf17.c): Likewise.
20036 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20037 (CFLAGS-msort.c): Likewise.
20038 (CFLAGS-qsort.c): Likewise.
20039 (CFLAGS-system.c): Likewise.
20040 (CFLAGS-fmtmsg.c): Likewise.
20041 (CFLAGS-strfmon.c): Likewise.
20042 (CFLAGS-strfmon_l.c): Likewise.
20043 (CFLAGS-strfromd.c): Likewise.
20044 (CFLAGS-strfromf.c): Likewise.
20045 (CFLAGS-strfroml.c): Likewise.
20046 (CFLAGS-tst-bsearch.c): Likewise.
20047 (CFLAGS-tst-qsort.c): Likewise.
20048 (CFLAGS-tst-makecontext2.c): Likewise.
20049 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20050 (CFLAGS-xnlm_prot.c): Likewise.
20051 (CFLAGS-xrstat.c): Likewise.
20052 (CFLAGS-xyppasswd.c): Likewise.
20053 (CFLAGS-xklm_prot.c): Likewise.
20054 (CFLAGS-xrex.c): Likewise.
20055 (CFLAGS-xsm_inter.c): Likewise.
20056 (CFLAGS-xmount.c): Likewise.
20057 (CFLAGS-xrusers.c): Likewise.
20058 (CFLAGS-xspray.c): Likewise.
20059 (CFLAGS-xnfs_prot.c): Likewise.
20060 (CFLAGS-xrquota.c): Likewise.
20061 (CFLAGS-xkey_prot.c): Likewise.
20062 (CFLAGS-auth_unix.c): Likewise.
20063 (CFLAGS-key_call.c): Likewise.
20064 (CFLAGS-pmap_rmt.c): Likewise.
20065 (CFLAGS-clnt_perr.c): Likewise.
20066 (CFLAGS-openchild.c): Likewise.
20067 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20068 (CFLAGS-msgsnd.c): Likewise.
20069 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20070 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20071 (CFLAGS-tzset.c): Likewise.
20072 (CFLAGS-getdate.c): Likewise.
20073 (CFLAGS-test_time.c): Likewise.
20074 (CPPFLAGS-tst-tzname.c): Likewise.
20075 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20076 (CFLAGS-zic.c): Likewise.
20077 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20078 (CFLAGS-wcswidth.c): Likewise.
20079 (CFLAGS-wcstol.c): Likewise.
20080 (CFLAGS-wcstoul.c): Likewise.
20081 (CFLAGS-wcstoll.c): Likewise.
20082 (CFLAGS-wcstoull.c): Likewise.
20083 (CFLAGS-wcstod.c): Likewise.
20084 (CFLAGS-wcstold.c): Likewise.
20085 (CFLAGS-wcstof128.c): Likewise.
20086 (CFLAGS-wcstof.c): Likewise.
20087 (CFLAGS-wcstol_l.c): Likewise.
20088 (CFLAGS-wcstoul_l.c): Likewise.
20089 (CFLAGS-wcstoll_l.c): Likewise.
20090 (CFLAGS-wcstoull_l.c): Likewise.
20091 (CFLAGS-wcstod_l.c): Likewise.
20092 (CFLAGS-wcstold_l.c): Likewise.
20093 (CFLAGS-wcstof128_l.c): Likewise.
20094 (CFLAGS-wcstof_l.c): Likewise.
20095 (CPPFLAGS-tst-wchar-h.c): Likewise.
20096 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 20097
f4b2aea6
PC
200982017-12-11 Paul A. Clarke <pc@us.ibm.com>
20099
20100 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20101
c9cd7b0c
AZ
201022017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20103 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20104
20105 * manual/tunables.texi (Hardware Capability Tunables): Document
20106 glibc.tune.cached_memopt.
20107 * sysdeps/powerpc/cpu-features.c: New file.
20108 * sysdeps/powerpc/cpu-features.h: New file.
20109 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20110 _dl_powerpc_cpu_features.
20111 * sysdeps/powerpc/dl-tunables.list: New file.
20112 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20113 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20114 (INIT_ARCH): Initialize use_aligned_memopt.
20115 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20116 IS_IN(rtld))]: Restrict dl_platform_init availability and
20117 initialize CPU features used by tunables.
20118 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20119 Add memcpy-power8-cached.
20120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20121 __memcpy_power8_cached.
20122 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20123 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20124 New file.
20125
e70c6fee
L
201262017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20127
20128 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20129 (CFLAGS-noinl-tester.c): Likewise.
20130 (CFLAGS-tst-strlen.c): Likewise.
20131 (CFLAGS-stratcliff.c): Likewise.
20132 (CFLAGS-test-ffs.c): Likewise.
20133 (CFLAGS-tst-inlcall.c): Likewise.
20134 (CFLAGS-tst-xbzero-opt.c): Likewise.
20135 (CFLAGS-memcpy.c): Likewise.
20136 (CFLAGS-wordcopy.c): Likewise.
20137
dee94366
SL
201382017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20139
20140 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20141 Store r15 on stack and add cfi rule.
20142 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20143 Likewise.
20144
363e4519 201452017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
20146
20147 [BZ #22577]
20148 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20149 call.
20150
9d0ffa60
L
201512017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20152
20153 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20154 Add s_sinf-sse2 and s_sinf-fma.
20155 (CFLAGS-s_sinf-fma.c): New.
20156 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20157 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20158 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20159
9574c7b6
L
201602017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20161
20162 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20163
d15e83c5
JM
201642017-12-07 Joseph Myers <joseph@codesourcery.com>
20165
20166 [BZ #22568]
20167 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20168 part of result to imaginary part of argument if it is zero and the
20169 real part of the argument is not finite.
20170 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20171 of result to real part of argument if it is zero and the imaginary
20172 part of the argument is not finite.
20173
d89756eb
MF
201742017-12-07 Mike FABIAN <mfabian@redhat.com>
20175
20176 [BZ #22524]
20177 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20178 and to the list of locales to be built for testing.
20179 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20180 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20181 and build the collation rules upon that.
20182
1f9055ce
JM
201832017-12-07 Joseph Myers <joseph@codesourcery.com>
20184
20185 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20186 * manual/math.texi (Mathematics): Document support for _Float32.
20187 * math/Makefile (test-types): Add float32.
20188 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20189 * stdlib/Versions (GLIBC_2.27): Likewise.
20190 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20191 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20192 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20193 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20194 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20195 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20196 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20197 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20198 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20199 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20200 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20201 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20202 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20203 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20204 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20205 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20206 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20207 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20208 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20209 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20210 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20211 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20212 Likewise.
20213 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20214 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20215 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20216 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20217 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20219 Likewise.
20220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20221 Likewise.
20222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20223 Likewise.
20224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20225 Likewise.
20226
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20228 Likewise.
20229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20230 Likewise.
20231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20232 Likewise.
20233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20234 Likewise.
20235 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20236 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20237 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20238 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20239 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20240 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20241 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20242 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20243 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20244 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20246 Likewise.
20247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20248 Likewise.
20249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20250 Likewise.
20251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20252 Likewise.
20253 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20254 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20255 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20256 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20257 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20258 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20259 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20260 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20261
5244527d
JM
202622017-12-06 Joseph Myers <joseph@codesourcery.com>
20263
fb1ca2aa
JM
20264 * stdlib/strtof.c: Include <bits/floatn.h>
20265 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20266 and later undefine as macro. Define as weak alias if
20267 [!USE_WIDE_CHAR].
20268 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20269 and later undefine as macro. Define as weak alias if
20270 [USE_WIDE_CHAR].
20271 * stdlib/strtof_l.c: Include <bits/floatn.h>
20272 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20273 and later undefine as macro. Define as weak alias if
20274 [!USE_WIDE_CHAR].
20275 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20276 and later undefine as macro. Define as weak alias if
20277 [USE_WIDE_CHAR].
20278
fc10cc3f
JM
20279 * stdlib/strfromf.c: Include <bits/floatn.h>.
20280 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20281 and later undefine as macro and define as weak alias.
20282
e420d228
JM
20283 * math/test-float32.h: New file.
20284
26007a2f
JM
20285 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20286 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20287 (libm_alias_float_other_r): Create f32 alias.
20288 (libm_alias_float_r): Use semicolon before call to
20289 libm_alias_float_other_r.
20290
c191f64c
JM
20291 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20292 second argument to libm_alias_float_other.
20293 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20294 second argument to libm_alias_float_other.
20295 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20296 argument to libm_alias_float_other.
20297
5244527d
JM
20298 [BZ #22561]
20299 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20300 real part of result for argument 0 + i * NaN.
20301 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20302 results for tests of 0 + i * NaN.
20303
d73fac82
AZ
203042017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20305
20306 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20307
7ec094e8
DM
203082017-12-06 David S. Miller <davem@davemloft.net>
20309
20310 * sysdeps/sparc/fpu/libm-test-ulps: Update
20311 exp_{downward,towardzero,upward} ulps.
20312
53994f12
JM
203132017-12-06 Joseph Myers <joseph@codesourcery.com>
20314
1dbe6f64
JM
20315 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20316 variables static.
20317
53994f12
JM
20318 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20319 (Y0_2D): Likewise.
20320 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20321 (Y0_2D): Likewise.
20322 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20323 (Y0_2D): Likewise.
20324 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20325 (Y0_2D): Likewise.
20326
62ea2193
MF
203272017-12-06 Mike FABIAN <mfabian@redhat.com>
20328
20329 [BZ #22515]
20330 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20331 and to the list of locales to be built for testing.
20332 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20333 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20334 and build the collation rules upon that.
20335
87235d70
RS
203362017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20337
20338 * NEWS: Add sinf to list of optimized functions.
20339
0d93b7fd
JM
203402017-12-06 Joseph Myers <joseph@codesourcery.com>
20341
20342 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20343 (__HAVE_FLOAT32X): Likewise.
20344 * manual/math.texi (Mathematics): Document support for _Float64
20345 and _Float32x.
20346 * math/Makefile (test-types): Add float64 and float32x.
20347 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20348 functions.
20349 * stdlib/Versions (GLIBC_2.27): Likewise.
20350 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20351 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20352 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20353 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20354 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20355 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20356 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20357 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20358 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20359 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20360 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20361 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20362 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20363 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20364 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20365 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20366 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20367 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20368 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20369 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20370 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20371 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20372 Likewise.
20373 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20374 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20375 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20376 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20377 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20379 Likewise.
20380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20381 Likewise.
20382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20383 Likewise.
20384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20385 Likewise.
20386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20387 Likewise.
20388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20389 Likewise.
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20391 Likewise.
20392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20393 Likewise.
20394 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20395 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20396 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20397 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20398 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20399 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20400 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20401 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20402 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20403 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20405 Likewise.
20406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20407 Likewise.
20408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20409 Likewise.
20410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20411 Likewise.
20412 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20413 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20414 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20415 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20416 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20417 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20418 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20419 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20420
f7787234
JM
204212017-12-05 Joseph Myers <joseph@codesourcery.com>
20422
20423 * bits/floatn-common.h: Include <bits/long-double.h>.
20424 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20425 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20426 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20427 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20428 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20429 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20430 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20431 (__builtin_huge_valf64): Use __builtin_huge_vall.
20432 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20433 (__builtin_inff64): Use __builtin_infl.
20434 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20435 (__builtin_nanf64): Use __builtin_nanl.
20436 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20437 (__builtin_nansf64): Use __builtin_nansl.
20438
363e4519
DL
204392017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20440 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
07ed18d2
RA
20441 Carlos O'Donnell <carlos@redhat.com>
20442
20443 * elf/dl-tunables.list: Add elision parameters.
20444 * manual/tunables.texi: Add entries about elision tunable.
20445 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20446 Add callback functions to dynamically enable/disable elision.
20447 Add multiple callbacks functions to set elision parameters.
20448 Deleted __libc_enable_secure check.
20449 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20450 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20451 * configure: Regenerated.
20452 * configure.ac: Option enable_lock_elision was deleted.
20453 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20454 * config.make.in: Remove references to enable_lock_elision.
20455 * manual/install.texi: Elision configure option was removed.
20456 * INSTALL: Regenerated to remove enable_lock_elision.
20457 * nptl/Makefile:
20458 Disable elision so it can verify error case for destroying a mutex.
20459 * sysdeps/powerpc/nptl/elide.h:
20460 Cleanup ENABLE_LOCK_ELISION check.
20461 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20462 * sysdeps/s390/configure: Regenerated.
20463 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20464 * nptl/tst-mutex8.c:
20465 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20466 * sysdeps/powerpc/powerpc32/sysdep.h:
20467 Deleted all ENABLE_LOCK_ELISION checks.
20468 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20469 * sysdeps/powerpc/sysdep.h: Likewise.
20470 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20471 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20472 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20473 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20474 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20475 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20476 enable-lock-elision.
20477
a5a2a76b
JM
204782017-12-05 Joseph Myers <joseph@codesourcery.com>
20479
20480 * stdlib/strtod.c: Include <bits/floatn.h>.
20481 (BUILD_DOUBLE): New macro.
20482 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20483 (strtof64): Define and later undefine as macro. Define as weak
20484 alias if [!USE_WIDE_CHAR].
20485 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20486 (wcstof64): Define and later undefine as macro. Define as weak
20487 alias if [USE_WIDE_CHAR].
20488 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20489 (strtof32x): Define and later undefine as macro. Define as weak
20490 alias if [!USE_WIDE_CHAR].
20491 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20492 (wcstof32x): Define and later undefine as macro. Define as weak
20493 alias if [USE_WIDE_CHAR].
20494 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20495 (BUILD_DOUBLE): New macro.
20496 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20497 (strtof64_l): Define and later undefine as macro. Define as weak
20498 alias if [!USE_WIDE_CHAR].
20499 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20500 (wcstof64_l): Define and later undefine as macro. Define as weak
20501 alias if [USE_WIDE_CHAR].
20502 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20503 (strtof32x_l): Define and later undefine as macro. Define as weak
20504 alias if [!USE_WIDE_CHAR].
20505 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20506 (wcstof32x_l): Define and later undefine as macro. Define as weak
20507 alias if [USE_WIDE_CHAR].
20508
94d80dfc
AZ
205092017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20510
20511 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20512 (reduced): Use ones as double instead of integer.
20513
00d54af7
SN
205142017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20515
20516 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20517
f2d64d62
JM
205182017-12-05 Joseph Myers <joseph@codesourcery.com>
20519
1f70eae4
JM
20520 * stdlib/strfromd.c: Include <bits/floatn.h>.
20521 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20522 and later undefine as macro and define as weak alias.
20523 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20524 Likewise.
20525
e2c4dce5
JM
20526 * math/test-float32x.h: New file.
20527 * math/test-float64.h: Likewise.
20528
f2d64d62
JM
20529 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20530 (libm_alias_double_other_r_f64): New macro.
20531 (libm_alias_double_other_r_f32x): Likewise.
20532 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20533 libm_alias_double_other_r_f32x.
20534 (libm_alias_double_r): Use semicolon before call to
20535 libm_alias_double_other_r.
20536 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20537 <bits/floatn.h>.
20538 (libm_alias_double_other_r_f64): New macro.
20539 (libm_alias_double_other_r_f32x): Likewise.
20540 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20541 libm_alias_double_other_r_f32x.
20542
91c318e7
L
205432017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20544
20545 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20546 int.
20547 (SINF_FUNC): Likewise. Replace floor with simple casts.
20548
de9661d6
MF
205492017-12-05 Mike FABIAN <mfabian@redhat.com>
20550
20551 [BZ #22517]
20552 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20553 and to the list of locales to be built for testing.
20554 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20555 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20556 and build the collation rules upon that.
20557
f18b8dc7
CM
205582017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20559
20560 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20561 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20562 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20563 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20564 instead of __insn__xxx.
20565 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20566 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20567 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20568 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20569 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20570 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20571
446d22e9
FW
205722017-12-05 Florian Weimer <fweimer@redhat.com>
20573
20574 Linux: Implement interfaces for memory protection keys
20575 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20576 xsignal, xsysconf.
20577 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20578 * support/xunistd.h (xsysconf): Declare.
20579 * support/xraise.c: New file.
20580 * support/xsigaction.c: Likewise.
20581 * support/xsignal.c: Likewise.
20582 * support/xsysconf.c: Likewise.
20583 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20584 pkey_set, pkey_get, pkey_mprotect.
20585 [misc] (tests): Add tst-pkey.
20586 (tst-pkey): Link with -lpthread.
20587 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20588 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20589 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20590 (PKEY_DISABLE_WRITE): Define.
20591 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20592 Declare.
20593 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20594 (SEGV_PKUERR): Add.
20595 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20596 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20597 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20598 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20599 Add.
20600 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20601 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20602 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20603 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20604 * sysdeps/unix/sysv/linux/**.abilist: Update.
20605
da616c14
FW
206062017-12-05 Florian Weimer <fweimer@redhat.com>
20607
20608 * support/tst-test_compare.c (subprocess): Use long long instead
20609 of long argument for consistent type width across 32-bit and
20610 64-bit architectures.
20611 (do_test): Adjust expected output.
20612
216933b2
JM
206132017-12-05 Joseph Myers <joseph@codesourcery.com>
20614
20615 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20616 (cosf): Define using libm_alias_float.
20617 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20618 (fabsf): Define using libm_alias_float.
20619 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20620 (fmaf): Define using libm_alias_float.
20621 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20622 (rintf): Define using libm_alias_float.
20623 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20624 (sinf): Define using libm_alias_float.
20625 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20626 <libm-alias-float.h>.
20627 (modff): Define using libm_alias_float.
20628 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20629 <libm-alias-float.h>.
20630 (logbf): Define using libm_alias_float.
20631 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20632 <libm-alias-float.h>.
20633 (ceilf): Define using libm_alias_float.
20634 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20635 <libm-alias-float.h>.
20636 (copysignf): Define using libm_alias_float.
20637 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20638 <libm-alias-float.h>.
20639 (floorf): Define using libm_alias_float.
20640 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20641 <libm-alias-float.h>.
20642 (llrintf): Define using libm_alias_float.
20643 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20644 <libm-alias-float.h>.
20645 (llroundf): Define using libm_alias_float.
20646 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20647 <libm-alias-float.h>.
20648 (lrintf): Define using libm_alias_float.
20649 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20650 <libm-alias-float.h>.
20651 (lroundf): Define using libm_alias_float.
20652 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20653 <libm-alias-float.h>.
20654 (nearbyintf): Define using libm_alias_float.
20655 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20656 <libm-alias-float.h>.
20657 (rintf): Define using libm_alias_float.
20658 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20659 <libm-alias-float.h>.
20660 (roundf): Define using libm_alias_float.
20661 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20662 <libm-alias-float.h>.
20663 (truncf): Define using libm_alias_float.
20664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20665 Include <libm-alias-float.h>.
20666 (ceilf): Define using libm_alias_float.
20667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20668 Include <libm-alias-float.h>.
20669 (copysignf): Define using libm_alias_float.
20670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20671 Include <libm-alias-float.h>.
20672 (floorf): Define using libm_alias_float.
20673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20674 Include <libm-alias-float.h>.
20675 (llrintf): Define using libm_alias_float.
20676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20677 Include <libm-alias-float.h>.
20678 (llroundf): Define using libm_alias_float.
20679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20680 Include <libm-alias-float.h>.
20681 (logbf): Define using libm_alias_float.
20682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20683 Include <libm-alias-float.h>.
20684 (lrintf): Define using libm_alias_float.
20685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20686 Include <libm-alias-float.h>.
20687 (lroundf): Define using libm_alias_float.
20688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20689 Include <libm-alias-float.h>.
20690 (modff): Define using libm_alias_float.
20691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20692 Include <libm-alias-float.h>.
20693 (roundf): Define using libm_alias_float.
20694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20695 Include <libm-alias-float.h>.
20696 (truncf): Define using libm_alias_float.
20697 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20698 <libm-alias-float.h>.
20699 (llrintf): Define using libm_alias_float.
20700 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20701 <libm-alias-float.h>.
20702 (llroundf): Define using libm_alias_float.
20703 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20704 <libm-alias-float.h>.
20705 (ceilf): Define using libm_alias_float.
20706 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20707 <libm-alias-float.h>.
20708 (floorf): Define using libm_alias_float.
20709 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20710 <libm-alias-float.h>.
20711 (llroundf): Define using libm_alias_float.
20712 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20713 <libm-alias-float.h>.
20714 (lroundf): Define using libm_alias_float.
20715 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20716 <libm-alias-float.h>.
20717 (roundf): Define using libm_alias_float.
20718 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20719 <libm-alias-float.h>.
20720 (truncf): Define using libm_alias_float.
20721 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20722 <libm-alias-float.h>.
20723 (copysignf): Define using libm_alias_float.
20724 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20725 <libm-alias-float.h>.
20726 (llrintf): Define using libm_alias_float.
20727 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20728 <libm-alias-float.h>.
20729 (llroundf): Define using libm_alias_float.
20730 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20731 <libm-alias-float.h>.
20732 (lrintf): Define using libm_alias_float.
20733 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20734 <libm-alias-float.h>.
20735 (lroundf): Define using libm_alias_float.
20736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20737 <libm-alias-float.h>.
20738 (ceilf): Define using libm_alias_float.
20739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20740 <libm-alias-float.h>.
20741 (copysignf): Define using libm_alias_float.
20742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20743 <libm-alias-float.h>.
20744 (cosf): Define using libm_alias_float.
20745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20746 <libm-alias-float.h>.
20747 (floorf): Define using libm_alias_float.
20748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20749 <libm-alias-float.h>.
20750 (llrintf): Define using libm_alias_float.
20751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20752 <libm-alias-float.h>.
20753 (llroundf): Define using libm_alias_float.
20754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20755 <libm-alias-float.h>.
20756 (logbf): Define using libm_alias_float.
20757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20758 <libm-alias-float.h>.
20759 (modff): Define using libm_alias_float.
20760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20761 <libm-alias-float.h>.
20762 (roundf): Define using libm_alias_float.
20763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20764 <libm-alias-float.h>.
20765 (sinf): Define using libm_alias_float.
20766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20767 <libm-alias-float.h>.
20768 (truncf): Define using libm_alias_float.
20769 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20770 <libm-alias-float.h>.
20771 (ceilf): Define using libm_alias_float.
20772 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20773 <libm-alias-float.h>.
20774 (copysignf): Define using libm_alias_float.
20775 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20776 <libm-alias-float.h>.
20777 (floorf): Define using libm_alias_float.
20778 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20779 <libm-alias-float.h>.
20780 (llrintf): Define using libm_alias_float.
20781 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20782 <libm-alias-float.h>.
20783 (llroundf): Define using libm_alias_float.
20784 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20785 <libm-alias-float.h>.
20786 (nearbyintf): Define using libm_alias_float.
20787 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20788 <libm-alias-float.h>.
20789 (rintf): Define using libm_alias_float.
20790 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20791 <libm-alias-float.h>.
20792 (roundf): Define using libm_alias_float.
20793 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20794 <libm-alias-float.h>.
20795 (truncf): Define using libm_alias_float.
20796 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20797 <libm-alias-float.h>.
20798 (ceilf): Define using libm_alias_float.
20799 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20800 <libm-alias-float.h>.
20801 (floorf): Define using libm_alias_float.
20802 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20803 <libm-alias-float.h>.
20804 (llroundf): Define using libm_alias_float.
20805 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20806 <libm-alias-float.h>.
20807 (roundf): Define using libm_alias_float.
20808 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20809 <libm-alias-float.h>.
20810 (truncf): Define using libm_alias_float.
20811 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20812 <libm-alias-float.h>.
20813 (copysignf): Define using libm_alias_float.
20814 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20815 <libm-alias-float.h>.
20816 (llrintf): Define using libm_alias_float.
20817 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20818 <libm-alias-float.h>.
20819 (llroundf): Define using libm_alias_float.
20820 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20821 <libm-alias-float.h>.
20822 (cosf): Define using libm_alias_float.
20823 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20824 <libm-alias-float.h>.
20825 (llrintf): Define using libm_alias_float.
20826 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20827 <libm-alias-float.h>.
20828 (llroundf): Define using libm_alias_float.
20829 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20830 <libm-alias-float.h>.
20831 (sinf): Define using libm_alias_float.
20832
93485524
FW
208332017-12-04 Florian Weimer <fweimer@redhat.com>
20834
20835 * support/check.h (TEST_COMPARE): Define.
20836 (support_test_compare_failure): Declare.
20837 * support/Makefile (libsupport-routines): Add
20838 support_test_compare_failure.
20839 (tests): Add tst-test_compare.
20840 * support /support_test_compare_failure.c: New file.
20841 * support/tst-test_compare.c: Likewise.
20842
96b06a19
MF
208432017-12-04 Mike FABIAN <mfabian@redhat.com>
20844
20845 [BZ #22527]
20846 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20847 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20848 available, this rewrite of the collation rules does reproduce
20849 the test file in the same order.
20850
1f6d91f3
MF
208512017-12-04 Mike FABIAN <mfabian@redhat.com>
20852
20853 [BZ #10580]
20854 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20855 digraphs in the month and day names. Using single code points for
20856 digraphs is deprecated. While there are dedicated Unicode
20857 codepoints, for the digraphs, these are included for backwards
20858 compatibility and modern texts use a sequence of Basic Latin
20859 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20860 This makes the month and day names agree exactly with CLDR now,
20861 CLDR does not use the single code points for the digraphs either.
20862
2e49fed8
CM
208632017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20864
20865 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20866
73895b49
JM
208672017-12-04 Joseph Myers <joseph@codesourcery.com>
20868
20869 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20870 of floor.
20871
4c1d801a
SP
208722017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20873
20874 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20875 Define only for libc.so.
20876
478593e6
SL
208772017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20878
20879 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20880 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20881 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20882 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20884
7863a711
RS
208852017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20886
20887 [BZ #5997]
20888 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20889
800a496a
JDA
208902017-12-02 John David Anglin <danglin@gcc.gnu.org>
20891
b3f7fb12
JDA
20892 [BZ libc/19170]
20893 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20894 PREINIT_FUNCTION_WEAK is nonzero.
20895 (gmon_initializer): New function. Put procedure label for it in
20896 .init_array section.
20897 (_init): Don't call PREINIT_FUNCTION.
20898 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20899 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20900 value when map argument is null.
20901
800a496a
JDA
20902 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20903 depi instruction from PIC pc-relative sequence.
20904 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20905 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20906 (elf_machine_load_address): Likewise.
20907 (elf_machine_runtime_setup): Likewise.
20908
d17542d2
JM
209092017-12-02 Joseph Myers <joseph@codesourcery.com>
20910
20911 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20912 <libm-alias-double.h>.
20913 (logb): Define using libm_alias_double.
20914 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20915 <libm-alias-double.h>.
20916 (copysign): Define using libm_alias_double.
20917 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20918 <libm-alias-double.h>.
20919 (llrint): Define using libm_alias_double.
20920 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20921 <libm-alias-double.h>.
20922 (llround): Define using libm_alias_double.
20923 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20924 <libm-alias-double.h>.
20925 (lrint): Define using libm_alias_double.
20926 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20927 <libm-alias-double.h>.
20928 (lround): Define using libm_alias_double.
20929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20930 Include <libm-alias-double.h>.
20931 (copysign): Define using libm_alias_double.
20932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20933 Include <libm-alias-double.h>.
20934 (llrint): Define using libm_alias_double.
20935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20936 Include <libm-alias-double.h>.
20937 (llround): Define using libm_alias_double.
20938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20939 <libm-alias-double.h>.
20940 (logb): Define using libm_alias_double.
20941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20942 Include <libm-alias-double.h>.
20943 (lrint): Define using libm_alias_double.
20944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20945 Include <libm-alias-double.h>.
20946 (lround): Define using libm_alias_double.
20947 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20948 <libm-alias-double.h>.
20949 (llrint): Define using libm_alias_double.
20950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20951 <libm-alias-double.h>.
20952 (llround): Define using libm_alias_double.
20953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20954 <libm-alias-double.h>.
20955 (llround): Define using libm_alias_double.
20956 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20957 <libm-alias-double.h>.
20958 (lround): Define using libm_alias_double.
20959 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20960 <libm-alias-double.h>.
20961 (copysign): Define using libm_alias_double.
20962 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20963 <libm-alias-double.h>.
20964 (llrint): Define using libm_alias_double.
20965 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20966 <libm-alias-double.h>.
20967 (llround): Define using libm_alias_double.
20968 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20969 <libm-alias-double.h>.
20970 (lrint): Define using libm_alias_double.
20971 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20972 <libm-alias-double.h>.
20973 (lround): Define using libm_alias_double.
20974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20975 <libm-alias-double.h>.
20976 (copysign): Define using libm_alias_double.
20977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20978 <libm-alias-double.h>.
20979 (llrint): Define using libm_alias_double.
20980 (lrint): Likewise.
20981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20982 <libm-alias-double.h>.
20983 (llround): Define using libm_alias_double.
20984 (lround): Likewise.
20985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20986 <libm-alias-double.h>.
20987 (logb): Define using libm_alias_double.
20988 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20989 <libm-alias-double.h>.
20990 (copysign): Define using libm_alias_double.
20991 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20992 <libm-alias-double.h>.
20993 (llrint): Define using libm_alias_double.
20994 (lrint): Likewise.
20995 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20996 <libm-alias-double.h>.
20997 (llround): Define using libm_alias_double.
20998 (lround): Likewise.
20999 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21000 <libm-alias-double.h>.
21001 (llround): Define using libm_alias_double.
21002 (lround): Likewise.
21003 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21004 <libm-alias-double.h>.
21005 (copysign): Define using libm_alias_double.
21006 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21007 <libm-alias-double.h>.
21008 (llrint): Define using libm_alias_double.
21009 (lrint): Likewise.
21010 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21011 <libm-alias-double.h>.
21012 (llround): Define using libm_alias_double.
21013 (lround): Likewise.
21014 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21015 <libm-alias-double.h>.
21016 (llrint): Define using libm_alias_double.
21017 (lrint): Likewise.
21018 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21019 <libm-alias-double.h>.
21020 (llround): Define using libm_alias_double.
21021 (lround): Likewise.
21022
ec2cf3f4
JM
210232017-12-01 Joseph Myers <joseph@codesourcery.com>
21024
0ddde474
JM
21025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21026 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21027 compat symbol based on llround.
21028
0d5ba561
JM
21029 * sysdeps/powerpc/power7/fpu/s_logb.c
21030 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21031 symbol based on __logb, not on logb.
21032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21033 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21035 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21036
51ea3b20
JM
21037 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21038 (rint): Define using libm_alias_double.
21039 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21040 <libm-alias-double.h>.
21041 (modf): Define using libm_alias_double.
21042 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21043 <libm-alias-double.h>.
21044 (ceil): Define using libm_alias_double.
21045 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21046 <libm-alias-double.h>.
21047 (floor): Define using libm_alias_double.
21048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21049 <libm-alias-double.h>.
21050 (nearbyint): Define using libm_alias_double.
21051 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21052 <libm-alias-double.h>.
21053 (rint): Define using libm_alias_double.
21054 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21055 <libm-alias-double.h>.
21056 (round): Define using libm_alias_double.
21057 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21058 <libm-alias-double.h>.
21059 (trunc): Define using libm_alias_double.
21060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21061 <libm-alias-double.h>.
21062 (ceil): Define using libm_alias_double.
21063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21064 Include <libm-alias-double.h>.
21065 (floor): Define using libm_alias_double.
21066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21067 <libm-alias-double.h>.
21068 (modf): Define using libm_alias_double.
21069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21070 Include <libm-alias-double.h>.
21071 (round): Define using libm_alias_double.
21072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21073 Include <libm-alias-double.h>.
21074 (trunc): Define using libm_alias_double.
21075 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21076 <libm-alias-double.h>.
21077 (ceil): Define using libm_alias_double.
21078 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21079 <libm-alias-double.h>.
21080 (floor): Define using libm_alias_double.
21081 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21082 <libm-alias-double.h>.
21083 (round): Define using libm_alias_double.
21084 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21085 <libm-alias-double.h>.
21086 (trunc): Define using libm_alias_double.
21087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21088 <libm-alias-double.h>.
21089 (ceil): Define using libm_alias_double.
21090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21091 <libm-alias-double.h>.
21092 (floor): Define using libm_alias_double.
21093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21094 <libm-alias-double.h>.
21095 (modf): Define using libm_alias_double.
21096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21097 <libm-alias-double.h>.
21098 (round): Define using libm_alias_double.
21099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21100 <libm-alias-double.h>.
21101 (trunc): Define using libm_alias_double.
21102 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21103 <libm-alias-double.h>.
21104 (ceil): Define using libm_alias_double.
21105 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21106 <libm-alias-double.h>.
21107 (floor): Define using libm_alias_double.
21108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21109 <libm-alias-double.h>.
21110 (nearbyint): Define using libm_alias_double.
21111 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21112 <libm-alias-double.h>.
21113 (rint): Define using libm_alias_double.
21114 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21115 <libm-alias-double.h>.
21116 (round): Define using libm_alias_double.
21117 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21118 <libm-alias-double.h>.
21119 (trunc): Define using libm_alias_double.
21120 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21121 <libm-alias-double.h>.
21122 (ceil): Define using libm_alias_double.
21123 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21124 <libm-alias-double.h>.
21125 (floor): Define using libm_alias_double.
21126 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21127 <libm-alias-double.h>.
21128 (round): Define using libm_alias_double.
21129 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21130 <libm-alias-double.h>.
21131 (trunc): Define using libm_alias_double.
21132
ec2cf3f4
JM
21133 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21134 (fabs): Define using libm_alias_double.
21135 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21136 (fma): Define using libm_alias_double.
21137 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21138 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21139 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21140 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21141
5b7bd975
AZ
211422017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21143
0594b13f
AZ
21144 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21145
dbdfcf3b
AZ
21146 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21147 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21148 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21149
5b7bd975
AZ
21150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21151 due redirect macro.
21152
ef9ecfa6
AS
211532017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21154
21155 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21156
5b4e5e78
AZ
211572017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21158
2a14526b
AZ
21159 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21160 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21161 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21162 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21163
dbeb74ef 21164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
21165 (libm-sysdep_routines): Add s_nearbyintf-generic and
21166 s_nearbyint-generic.
21167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21168 New file.
21169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21171 Likewise.
21172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21173 Likewise.
21174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21175 file.
21176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21177 Likewise.
21178
21179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
21180 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21182 file.
21183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21185 Likewise.
21186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21189
fa7ded96
AZ
21190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21191 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21193 file.
21194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21196 Likewise.
21197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21200
e240cf0e
AZ
21201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21202 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21204 file.
21205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21207 Likewise.
21208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21211
5b4e5e78
AZ
21212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21213 (sysdep_calls): New rule.
21214 (sysdep_routines): Use sysdep_calls as base.
21215 (libm-sysdep_routines): Add generic rule for symbols shared with
21216 libc. Add s_copysign-generic and s_copysign-generic objects.
21217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21218 New file.
21219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21221 Likewise.
21222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21225
d985adae
MF
212262017-12-01 Mike FABIAN <mfabian@redhat.com>
21227
21228 [BZ #22519]
21229 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21230 the list of locales to be built for testing.
21231 * localedata/is_IS.UTF-8.in: New file.
21232 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21233 on iso14651_t1.
21234
ff84a0e0
JM
212352017-12-01 Joseph Myers <joseph@codesourcery.com>
21236
21237 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21238 <libm-alias-float.h>.
21239 (fabsf): Define using libm_alias_float.
21240
ef5d8b43
L
212412017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21242
21243 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21244
c0535adf
JM
212452017-11-30 Joseph Myers <joseph@codesourcery.com>
21246
f938b397
JM
21247 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21248 <libm-alias-float.h>.
21249 (fabsf): Define using libm_alias_float.
21250 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21251 <libm-alias-float.h>.
21252 (lrintf): Define using libm_alias_float.
21253 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21254 <libm-alias-float.h>.
21255 (rintf): Define using libm_alias_float.
21256
2251fad0
JM
21257 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21258 <libm-alias-double.h>.
21259 (fabs): Define using libm_alias_double.
21260 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21261 <libm-alias-double.h>.
21262 (lrint): Define using libm_alias_double.
21263 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21264 <libm-alias-double.h>.
21265 (rint): Define using libm_alias_double.
21266
e53df1de
JM
21267 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21268 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21269 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21270 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21271 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21272 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21273 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21274 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21275 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21276 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21277 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21278 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21279 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21280 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21281 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21282 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21283 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21284 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21285 s_atan_template.c.
21286 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21287 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21288 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21289 s_ceil_template.c.
21290 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21291 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21292 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21293 s_cos_template.c.
21294 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21295 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21296 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21297 s_expm1_template.c.
21298 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21299 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21300 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21301 s_fabs_template.c.
21302 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21303 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21304 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21305 s_floor_template.c.
21306 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21307 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21308 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21309 s_frexp_template.c.
21310 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21311 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21312 s_lrint_template.c.
21313 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21314 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21315 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21316 s_modf_template.c.
21317 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21318 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21319 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21320 s_nearbyint_template.c.
21321 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21322 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21323 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21324 s_remquo_template.c.
21325 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21326 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21327 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21328 s_rint_template.c.
21329 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21330 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21331 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21332 s_sin_template.c.
21333 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21334 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21335 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21336 s_sincos_template.c.
21337 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21338 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21339 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21340 s_tan_template.c.
21341 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21342 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21343 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21344 s_tanh_template.c.
21345 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21346 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21347 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21348 s_trunc_template.c.
21349 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21350 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21351 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21352 s_atan.c instead of including s_atan.c.
21353 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21354 s_atanf.c instead of including s_atanf.c.
21355 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21356 s_atanl.c instead of including s_atanl.c.
21357 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21358 instead of s_atan.c.
21359 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21360 instead of s_atanf.c.
21361 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21362 instead of s_atanl.c.
21363
c0535adf
JM
21364 * scripts/update-copyrights: Do not handle intl/plural.c
21365 specially.
21366
1faaf703
JB
213672017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21368
21369 [BZ #22432]
21370 * configure.ac (BISON): Require to be present.
21371 * configure: Regenerated.
21372 * intl/Makefile (generated): Add plural.c.
21373 [$(BISON) != no]: Make code unconditional.
21374 (plural.c): Change rule to $(objpfx)plural.c.
21375 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21376 * intl/plural.c: Remove.
21377 * manual/install.texi (Tools for Compilation): Document bison as
21378 required.
21379 * INSTALL: Regenerated.
21380
faec6323
JM
213812017-11-30 Joseph Myers <joseph@codesourcery.com>
21382
bd6ea9ed
JM
21383 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21384 <libm-alias-double.h>.
21385 (llrint): Define using libm_alias_double.
21386 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21387 <libm-alias-float.h>.
21388 (llrintf): Define using libm_alias_float.
21389 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21390 <libm-alias-ldouble.h>.
21391 (llrintl): Define using libm_alias_ldouble.
21392
faec6323
JM
21393 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21394 declare_mgen_alias instead of weak_alias.
21395 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21396 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21397 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21398
023cade3
AZ
213992017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21400
9e2279a0
AZ
21401 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21402 Add add_n-generic.
21403 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21404 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21405 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21406
75f37c71
AZ
21407 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21408 Add submul_1-generic.
21409 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21410 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21411 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21412
b70cbbfc 21413 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
21414 Add addmul_1-generic.
21415 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21416 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21417 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21418
21419 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
21420 Add sub_n-generic.
21421 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21422 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21423 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21424
023cade3
AZ
21425 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21426 Add mul_1-generic.
21427 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21428 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21429 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21430
fbb5fd03
MF
214312017-11-30 Mike FABIAN <mfabian@redhat.com>
21432
21433 According to CLDR, collation rules for Serbian and Bosnian
21434 should be the same as for Croatian.
21435
21436 [BZ #22534]
21437 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21438 and to the list of locales to be built for testing.
21439 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21440 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21441 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21442 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21443
5e56e937
MF
214442017-11-30 Mike FABIAN <mfabian@redhat.com>
21445
21446 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21447 to make test case pass.
21448 * localedata/hr_HR.UTF-8.in: Add more test strings.
21449
cf4341ca
MF
214502017-11-30 Mike FABIAN <mfabian@redhat.com>
21451
21452 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21453
363e4519 214542017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
21455
21456 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21457 the list of locales to built for testing.
21458 * localedata/hr_HR.UTF-8.in: New file.
21459
363e4519 214602017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
21461
21462 [BZ #10580]
21463 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21464 iso14651_t1.
21465 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21466 CLDR (except use ligatures for the digraphs, CLDR does not use
21467 the ligatures), add first_workday, some fixes in the date and time
21468 formats.
21469 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21470 for Đ and đ.
21471 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21472 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21473 Add int_p_cs_precedes and int_n_cs_precedes.
21474 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21475 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21476 LC_MONETARY now).
21477 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21478 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21479 name_miss.
21480 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21481 and lang_lib. Change postal_fmt.
21482
f33632cc
L
214832017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21484
21485 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21486 <setjmp.h>.
21487 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21488 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21489 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21490 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21491 * sysdeps/generic/setjmpP.h: New file.
21492 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21493 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21494 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21495 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21496 Add jmp_buf-ssp.sym.
21497 (tests): Add tst-saved_mask-1.
21498
34697694
AS
214992017-11-30 Arjun Shankar <arjun@redhat.com>
21500
21501 [BZ #22375]
37ac8e63 21502 CVE-2017-17426
34697694
AS
21503 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21504 instead of request2size.
21505
3e5efdbd
JM
215062017-11-30 Joseph Myers <joseph@codesourcery.com>
21507
18305fba
JM
21508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21509 (__lllrint): Remove alias.
21510 (lllrint): Likewise.
21511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21512 (__lllrintf): Likewise.
21513 (lllrintf): Likewise.
21514
3e5efdbd
JM
21515 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21516 <libm-alias-float.h>.
21517 (copysignf): Define using libm_alias_float.
21518 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21519 <libm-alias-float.h>.
21520 (fabsf): Define using libm_alias_float.
21521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21522 Include <libm-alias-float.h>.
21523 (copysignf): Define using libm_alias_float.
21524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21525 <libm-alias-float.h>.
21526 (fabsf): Define using libm_alias_float.
21527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21528 <libm-alias-float.h>.
21529 (fdimf): Define using libm_alias_float.
21530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21531 <libm-alias-float.h>.
21532 (fmaf): Define using libm_alias_float.
21533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21534 <libm-alias-float.h>.
21535 (llrintf): Define using libm_alias_float.
21536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21537 Include <libm-alias-float.h>.
21538 (nearbyintf): Define using libm_alias_float.
21539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21540 <libm-alias-float.h>.
21541 (rintf): Define using libm_alias_float.
21542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21543 <libm-alias-float.h>.
21544 (llrintf): Define using libm_alias_float.
21545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21546 <libm-alias-float.h>.
21547 (lrintf): Define using libm_alias_float.
21548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21549 <libm-alias-float.h>.
21550 (nearbyintf): Define using libm_alias_float.
21551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21552 <libm-alias-float.h>.
21553 (rintf): Define using libm_alias_float.
21554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21555 <libm-alias-float.h>.
21556 (ceilf): Define using libm_alias_float.
21557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21558 <libm-alias-float.h>.
21559 (floorf): Define using libm_alias_float.
21560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21561 <libm-alias-float.h>.
21562 (fmaf): Define using libm_alias_float.
21563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21564 <libm-alias-float.h>.
21565 (lrintf): Define using libm_alias_float.
21566 (llrintf): Likewise.
21567 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21568 <libm-alias-float.h>.
21569 (nearbyintf): Define using libm_alias_float.
21570 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21571 <libm-alias-float.h>.
21572 (rintf): Define using libm_alias_float.
21573 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21574 <libm-alias-float.h>.
21575 (truncf): Define using libm_alias_float.
21576 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21577 <libm-alias-float.h>.
21578 (copysignf): Define using libm_alias_float.
21579 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21580 <libm-alias-float.h>.
21581 (fabsf): Define using libm_alias_float.
21582 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21583 <libm-alias-float.h>.
21584 (lrintf): Define using libm_alias_float.
21585 (llrintf): Likewise.
21586 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21587 <libm-alias-float.h>.
21588 (nearbyintf): Define using libm_alias_float.
21589 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21590 <libm-alias-float.h>.
21591 (rintf): Define using libm_alias_float.
21592
011fba7e
JM
215932017-11-29 Joseph Myers <joseph@codesourcery.com>
21594
875cd548
JM
21595 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21596 <libm-alias-double.h>.
21597 (copysign): Define using libm_alias_double.
21598 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21599 <libm-alias-double.h>.
21600 (fabs): Define using libm_alias_double.
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21602 Include <libm-alias-double.h>.
21603 (copysign): Define using libm_alias_double.
21604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21605 <libm-alias-double.h>.
21606 (fabs): Define using libm_alias_double.
21607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21608 <libm-alias-double.h>.
21609 (fdim): Define using libm_alias_double.
21610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21611 <libm-alias-double.h>.
21612 (fma): Define using libm_alias_double.
21613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21614 <libm-alias-double.h>.
21615 (llrint): Define using libm_alias_double.
21616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21617 Include <libm-alias-double.h>.
21618 (nearbyint): Define using libm_alias_double.
21619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21620 <libm-alias-double.h>.
21621 (rint): Define using libm_alias_double.
21622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21623 <libm-alias-double.h>.
21624 (fabs): Define using libm_alias_double.
21625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21626 <libm-alias-double.h>.
21627 (llrint): Define using libm_alias_double.
21628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21629 <libm-alias-double.h>.
21630 (nearbyint): Define using libm_alias_double.
21631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21632 <libm-alias-double.h>.
21633 (rint): Define using libm_alias_double.
21634 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21635 <libm-alias-double.h>.
21636 (ceil): Define using libm_alias_double.
21637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21638 <libm-alias-double.h>.
21639 (floor): Define using libm_alias_double.
21640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21641 <libm-alias-double.h>.
21642 (fma): Define using libm_alias_double.
21643 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21644 <libm-alias-double.h>.
21645 (lrint): Define using libm_alias_double.
21646 (llrint): Likewise.
21647 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21648 <libm-alias-double.h>.
21649 (nearbyint): Define using libm_alias_double.
21650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21651 <libm-alias-double.h>.
21652 (rint): Define using libm_alias_double.
21653 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21654 <libm-alias-double.h>.
21655 (trunc): Define using libm_alias_double.
21656 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21657 <libm-alias-double.h>.
21658 (copysign): Define using libm_alias_double.
21659 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21660 <libm-alias-double.h>.
21661 (fabs): Define using libm_alias_double.
21662 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21663 <libm-alias-double.h>.
21664 (lrint): Define using libm_alias_double.
21665 (llrint): Likewise.
21666 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21667 <libm-alias-double.h>.
21668 (nearbyint): Define using libm_alias_double.
21669 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21670 <libm-alias-double.h>.
21671 (rint): Define using libm_alias_double.
21672
cf4ebc27
JM
21673 [BZ #22229]
21674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21675 <math_ldbl_opt.h>.
21676 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21677
0c097378
JM
21678 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21679 SPARC --disable-multi-arch glibc variants.
21680
34bb10aa
JM
21681 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21682 <libm-alias-float.h>.
21683 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21684 if [SHARED].
21685 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21686 <libm-alias-float.h>.
21687 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21688 if [SHARED].
21689 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21690 <libm-alias-float.h>.
21691 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21692 if [SHARED].
21693 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21694 <libm-alias-float.h>.
21695 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21696 if [SHARED].
21697 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21698 <libm-alias-float.h>.
21699 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21700 if [SHARED].
21701 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21702 <libm-alias-float.h>.
21703 (ceilf): Define using libm_alias_float.
21704 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21705 <libm-alias-float.h>.
21706 (floorf): Define using libm_alias_float.
21707 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21708 <libm-alias-float.h>.
21709 (fmaf): Define using libm_alias_float.
21710 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21711 <libm-alias-float.h>.
21712 (nearbyintf): Define using libm_alias_float.
21713 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21714 <libm-alias-float.h>.
21715 (rintf): Define using libm_alias_float.
21716 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21717 <libm-alias-float.h>.
21718 (truncf): Define using libm_alias_float.
21719 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21720 (copysignf): Define using libm_alias_float.
21721 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21722 (cosf): Define using libm_alias_float.
21723 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21724 (fabsf): Define using libm_alias_float.
21725 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21726 (fmaxf): Define using libm_alias_float.
21727 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21728 (fminf): Define using libm_alias_float.
21729 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21730 (llrintf): Define using libm_alias_float.
21731 [!__ILP32__] (lrintf): Likewise.
21732 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21733 (sincosf): Define using libm_alias_float.
21734 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21735 (sinf): Define using libm_alias_float.
21736 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21737 (lrintf): Define using libm_alias_float.
21738
011fba7e
JM
21739 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21740 <libm-alias-double.h>.
21741 (atan): Define using libm_alias_double.
21742 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21743 <libm-alias-double.h>.
21744 (ceil): Define using libm_alias_double.
21745 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21746 <libm-alias-double.h>.
21747 (floor): Define using libm_alias_double.
21748 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21749 <libm-alias-double.h>.
21750 (fma): Define using libm_alias_double.
21751 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21752 <libm-alias-double.h>.
21753 (nearbyint): Define using libm_alias_double.
21754 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21755 <libm-alias-double.h>.
21756 (rint): Define using libm_alias_double.
21757 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21758 <libm-alias-double.h>.
21759 (sin): Define using libm_alias_double.
21760 (cos): Likewise.
21761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21762 <libm-alias-double.h>.
21763 (tan): Define using libm_alias_double.
21764 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21765 <libm-alias-double.h>.
21766 (trunc): Define using libm_alias_double.
21767 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21768 (copysign): Define using libm_alias_double.
21769 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21770 (fabs): Define using libm_alias_double.
21771 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21772 (fmax): Define using libm_alias_double.
21773 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21774 (fmin): Define using libm_alias_double.
21775 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21776 (llrint): Define using libm_alias_double.
21777 [!__ILP32__] (lrint): Likewise.
21778 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21779 (lrint): Define using libm_alias_double.
21780
1cbd7bfe
AZ
217812017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21782
21bfcc3d
AZ
21783 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21784 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21785 objects.
21786 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21787 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21788 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21789 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21790 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21791 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21792
522228dd
AZ
21793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21794 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21795 objects.
21796 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21798 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21799 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21801 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21802
2a6f4fab
AZ
21803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21804 (libm-sysdep_routines): Add s_nearbyint-generic and
21805 s_nearbyintf-generic objects.
21806 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21807 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21808 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21809 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21810 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21811 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21812
712b5b83
AZ
21813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21814 Add s_finitef-generic and s_finite-generic objects.
21815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21816 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21817 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21818 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21819 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21821
c96d3335
AZ
21822 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21823 Add s_isinff-generic and s_isinf-generic objects.
21824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21830
c6862a23
AZ
21831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21832 Add s_isnanf-generic and s_isnan-generic objects.
21833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21839
1cbd7bfe
AZ
21840 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21841 macro.
21842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21843 rule.
21844 (sysdep_routines): Use sysdep_calls as base.
21845 (libm-sysdep_routines): Add generic rule for symbols shared with
21846 libc. Add s_signbit-generic and s_signbitf-generic objects.
21847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21848 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21849 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21850 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21851 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21852 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21853
aa1142c5
JM
218542017-11-29 Joseph Myers <joseph@codesourcery.com>
21855
21856 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21857 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21858 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21859 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21860 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21861 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21862 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21863 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21864 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21865 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21866 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21867 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21868 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21869 libm_alias_float_r.
21870 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21871 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21872 (logf): Likewise.
21873 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21874 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21875 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21876 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21877 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21878 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21879 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21880 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21881 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21882 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21883 libm_alias_float.
21884 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21885 (cosf): Likewise.
21886 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21887 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21888 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21889 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21890 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21891 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21892 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21893 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21894 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21895 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21896 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21897 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21898 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21899 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21900 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21901 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21902 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21903 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21904 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21905 libm_alias_float.
21906 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21907 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21908 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21909 * sysdeps/ia64/fpu/w_lgammaf_main.c
21910 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21911 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21912
363e4519
DL
219132017-11-28 Mike FABIAN <mfabian@redhat.com>
21914 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
21915
21916 [BZ #17750]
21917 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21918 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21919 accents sorting.
21920 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21921 sorting.
21922 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21923 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21924 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21925 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21926 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21927 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21928 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21929 instead of “ifdef DIACRIT_BACKWARD”.
21930
a55430cb
AZ
219312017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21932
21933 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21934 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21935 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21936 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21937 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21938 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21945 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21946 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21947 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21948 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21949 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21950 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21952 ($(have-as-vis3) == yes): Remove conditional.
21953 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21954 Likewise.
21955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21956 file.
21957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21958 file.
21959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21960 file.
21961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21962 file.
21963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21969 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21970 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21971
0609ec0a
JM
219722017-11-29 Joseph Myers <joseph@codesourcery.com>
21973
21974 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21975 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21976 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21977 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21978 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21979 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21980 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21981 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21982 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21983 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21984 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21985 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21986 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21987 libm_alias_double_r.
21988 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21989 (log): Likewise.
21990 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21991 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21992 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21993 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21994 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21995 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21996 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21997 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21998 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21999 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22000 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22001 libm_alias_double.
22002 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22003 (cos): Likewise.
22004 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22005 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22006 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22007 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22008 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22009 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22010 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22011 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22012 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22013 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22014 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22015 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22016 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22017 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22018 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22019 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22020 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22021 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22022 libm_alias_double.
22023 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22024 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22025 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22026 * sysdeps/ia64/fpu/w_lgamma_main.c
22027 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22028 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22029
d5bfa34a
JDA
220302017-11-28 John David Anglin <danglin@gcc.gnu.org>
22031
22032 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22033 address of $global$ into %dp register earlier. Use pc-relative
22034 instruction sequence for PIC case.
22035
bc4e8f9b
JM
220362017-11-28 Joseph Myers <joseph@codesourcery.com>
22037
e4602cba
JM
22038 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22039 (asinhf): Define using libm_alias_float.
22040 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22041 (atanf): Define using libm_alias_float.
22042 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22043 (cbrtf): Define using libm_alias_float.
22044 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22045 (ceilf): Define using libm_alias_float.
22046 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22047 (copysignf): Define using libm_alias_float.
22048 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22049 (expm1f): Define using libm_alias_float.
22050 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22051 (fabsf): Define using libm_alias_float.
22052 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22053 (floorf): Define using libm_alias_float.
22054 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22055 (fmaxf): Define using libm_alias_float.
22056 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22057 (fminf): Define using libm_alias_float.
22058 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22059 (frexpf): Define using libm_alias_float.
22060 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22061 (llrintf): Define using libm_alias_float.
22062 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22063 (logbf): Define using libm_alias_float.
22064 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22065 (lrintf): Define using libm_alias_float.
22066 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22067 (nearbyintf): Define using libm_alias_float.
22068 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22069 (remquof): Define using libm_alias_float.
22070 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22071 (rintf): Define using libm_alias_float.
22072 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22073 (truncf): Define using libm_alias_float.
22074 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22075 <libm-alias-float.h>.
22076 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22077 if [SHARED].
22078 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22079 <libm-alias-float.h>.
22080 (expf): Define using libm_alias_float, or libm_alias_float_other
22081 if [SHARED].
22082 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22083 <libm-alias-float.h>.
22084 (log2f): Define using libm_alias_float, or libm_alias_float_other
22085 if [SHARED].
22086 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22087 <libm-alias-float.h>.
22088 (logf): Define using libm_alias_float, or libm_alias_float_other
22089 if [SHARED].
22090 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22091 <libm-alias-float.h>.
22092 (powf): Define using libm_alias_float, or libm_alias_float_other
22093 if [SHARED].
22094 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22095 <libm-alias-float.h>.
22096 (cosf): Define using libm_alias_float.
22097 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22098 <libm-alias-float.h>.
22099 (sincosf): Define using libm_alias_float.
22100 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22101 <libm-alias-float.h>.
22102 (sinf): Define using libm_alias_float.
22103 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22104 (fmaxf): Define using libm_alias_float.
22105 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22106 (fminf): Define using libm_alias_float.
22107 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22108 <libm-alias-float.h>.
22109 (fmaf): Define using libm_alias_float.
22110
bc4e8f9b
JM
22111 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22112 (asinh): Define using libm_alias_double.
22113 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22114 (atan): Define using libm_alias_double.
22115 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22116 (cbrt): Define using libm_alias_double.
22117 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22118 (ceil): Define using libm_alias_double.
22119 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22120 (copysign): Define using libm_alias_double.
22121 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22122 (expm1): Define using libm_alias_double.
22123 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22124 (fabs): Define using libm_alias_double.
22125 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22126 (fdim): Define using libm_alias_double.
22127 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22128 (floor): Define using libm_alias_double.
22129 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22130 (fmax): Define using libm_alias_double.
22131 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22132 (fmin): Define using libm_alias_double.
22133 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22134 (frexp): Define using libm_alias_double.
22135 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22136 (llrint): Define using libm_alias_double.
22137 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22138 (logb): Define using libm_alias_double.
22139 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22140 (lrint): Define using libm_alias_double.
22141 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22142 (nearbyint): Define using libm_alias_double.
22143 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22144 (remquo): Define using libm_alias_double.
22145 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22146 (rint): Define using libm_alias_double.
22147 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22148 (trunc): Define using libm_alias_double.
22149 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22150 (fmax): Define using libm_alias_double.
22151 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22152 (fmin): Define using libm_alias_double.
22153 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22154 (fma): Define using libm_alias_double.
22155
8d81ce0c
L
221562017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22157
22158 [BZ #22370]
22159 * elf/dl-hwcaps.c (ROUND): Removed.
22160 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22161 and ELF_NOTE_NEXT_OFFSET.
22162 * elf/dl-load.c (ROUND): Removed.
22163 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22164 * elf/readelflib.c (ROUND): Removed.
22165 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22166 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22167 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22168 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22169
6940bd96
JM
221702017-11-28 Joseph Myers <joseph@codesourcery.com>
22171
313ba463
JM
22172 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22173 [!__fmaf] (fmaf): Define using libm_alias_float.
22174
6940bd96
JM
22175 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22176 [!__fma] (fma): Define using libm_alias_double.
22177 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22178
22c69b6a
MF
221792017-11-28 Mike FABIAN <mfabian@redhat.com>
22180
22181 [BZ #22336]
22182 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22183 and implement the collation rules for cs from CLDR on top of that.
22184 * Makefile: Add cs_CZ.UTF-8 to test-input.
22185 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22186
8d7d3ba8
SP
221872017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22188
22189 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22190
0422ed1e
VR
221912017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22192 Icarus Sparry <icarus.w.sparry@intel.com>
22193
22194 * benchtests/Makefile:Add BENCHSET to allow subsets of
22195 benchmarks to be run.
22196 * benchtests/README: Add documentation for: Running subsets of
22197 benchmarks.
22198
0595e360
VR
221992017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22200
d5090db3
VR
22201 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22202 range of tests names.
22203
0595e360
VR
22204 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22205 result from property and remove "max", min" and "mean" from
22206 required properties based on benchtests/bench-skeleton.c.
22207
b4c645c2
FW
222082017-11-28 Florian Weimer <fweimer@redhat.com>
22209
22210 [BZ #20826]
22211 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22212 due to Internet requirement.
22213 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22214 tst-getaddrinfo5.
22215 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22216
88684de7
AZ
222172017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22218
69056564
AZ
22219 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22220 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22221 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22222 (sysdep_routines): Add memset-ultra1.
22223 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22224 file.
22225 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22226 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22227 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22228 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22229 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22230 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22231 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22232 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22233
88684de7
AZ
22234 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22235 file.
22236 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22237 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22238 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22239 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22240 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22241 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22242 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22243 macro.
22244 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22245 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22246 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22247 (sysdep_routines): Add memcpy-ultra1.
22248 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22249 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22250
d8124864
JM
222512017-11-28 Joseph Myers <joseph@codesourcery.com>
22252
f433d0b3
JM
22253 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22254 (cfloat_versions): Take function argument without trailing 'f'.
22255 Call libm_alias_float_other.
22256 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22257 * sysdeps/alpha/fpu/cargf.c: Likewise.
22258 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22259 * sysdeps/alpha/fpu/conjf.c: Likewise.
22260 * sysdeps/alpha/fpu/crealf.c: Likewise.
22261 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22262 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22263 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22264 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22265 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22266 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22267 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22268 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22269 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22270 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22271 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22272 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22273 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22274 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22275 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22276 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22277 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22278 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22279 (clog10f): Use libm_alias_float_other.
22280 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22281 (ceilf): Define using libm_alias_float.
22282 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22283 (copysignf): Define using libm_alias_float.
22284 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22285 (fabsf): Define using libm_alias_float.
22286 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22287 (floorf): Define using libm_alias_float.
22288 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22289 (fmaxf): Define using libm_alias_float.
22290 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22291 (fminf): Define using libm_alias_float.
22292 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22293 (lrintf): Define using libm_alias_float.
22294 (llrintf): Likewise.
22295 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22296 (lroundf): Define using libm_alias_float.
22297 (llroundf): Likewise.
22298 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22299 (rintf): Define using libm_alias_float.
22300 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22301 (truncf): Define using libm_alias_float.
22302
15ff4900
JM
22303 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22304 (ceilf): Define using libm_alias_float.
22305 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22306 (floorf): Define using libm_alias_float.
22307 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22308 (fmaf): Define using libm_alias_float.
22309 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22310 (fmaxf): Define using libm_alias_float.
22311 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22312 (fminf): Define using libm_alias_float.
22313 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22314 (llrintf): Define using libm_alias_float.
22315 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22316 (llroundf): Define using libm_alias_float.
22317 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22318 (lrintf): Define using libm_alias_float.
22319 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22320 (lroundf): Define using libm_alias_float.
22321 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22322 <libm-alias-float.h>.
22323 (nearbyintf): Define using libm_alias_float.
22324 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22325 (rintf): Define using libm_alias_float.
22326 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22327 (roundf): Define using libm_alias_float.
22328 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22329 (truncf): Define using libm_alias_float.
22330
5de60638
JM
22331 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22332 (ceil): Define using libm_alias_double.
22333 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22334 (copysign): Define using libm_alias_double.
22335 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22336 (fabs): Define using libm_alias_double.
22337 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22338 (floor): Define using libm_alias_double.
22339 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22340 (fmax): Define using libm_alias_double.
22341 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22342 (fmin): Define using libm_alias_double.
22343 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22344 (lrint): Define using libm_alias_double.
22345 (llrint): Likewise.
22346 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22347 (lround): Define using libm_alias_double.
22348 (llround): Likewise.
22349 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22350 (rint): Define using libm_alias_double.
22351 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22352 (trunc): Define using libm_alias_double.
22353
d8124864
JM
22354 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22355 (libm_alias_double_r): Add semicolon after weak_alias call.
22356
f07d2ec8
JM
223572017-11-27 Joseph Myers <joseph@codesourcery.com>
22358
22359 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22360 (ceil): Define using libm_alias_double.
22361 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22362 (floor): Define using libm_alias_double.
22363 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22364 (fma): Define using libm_alias_double.
22365 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22366 (fmax): Define using libm_alias_double.
22367 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22368 (fmin): Define using libm_alias_double.
22369 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22370 (llrint): Define using libm_alias_double.
22371 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22372 (llround): Define using libm_alias_double.
22373 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22374 (lrint): Define using libm_alias_double.
22375 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22376 (lround): Define using libm_alias_double.
22377 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22378 (nearbyint): Define using libm_alias_double.
22379 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22380 (rint): Define using libm_alias_double.
22381 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22382 (round): Define using libm_alias_double.
22383 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22384 (trunc): Define using libm_alias_double.
22385
4bab0224
FW
223862017-11-27 Florian Weimer <fweimer@redhat.com>
22387
22388 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22389 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22390 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22391 (tests): Add tst-mlock2.
22392 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22393 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22394 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22395 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22396 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22397 for mlock. Document mlock2.
22398
a23aa5b7
JM
223992017-11-27 Joseph Myers <joseph@codesourcery.com>
22400
22401 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22402 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22403 Likewise.
22404 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22405 Likewise.
22406 * sysdeps/x86/Makeconfig: New file.
22407 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22408 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22409 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22410 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22411 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22412 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22413 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22414 Likewise.
22415 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22416 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22417 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22418 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22419 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22420 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22421 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22422 * manual/math.texi (Mathematics): Document support for _Float64x.
22423 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22424 * stdlib/Versions (GLIBC_2.27): Likewise.
22425 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22426 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22427 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22428 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22429 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22430 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22431 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22432 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22433 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22434 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22435 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22436 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22438 Likewise.
22439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22440 Likewise.
22441 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22442 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22443 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22444 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22445 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22446 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22447 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22448 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22449 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22450 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22451 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22452 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22453 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22454 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22455
c2c299fd
AS
224562017-11-27 Andreas Schwab <schwab@suse.de>
22457
22458 * elf/Makefile (dl-routines): Add dl-sort-maps.
22459 * elf/dl-sort-maps.c: New file.
22460 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22461 (_dl_sort_maps): Declare.
22462 * elf/dl-fini.c (_dl_sort_fini): Remove.
22463 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22464 * elf/dl-close.c (_dl_close_worker): Likewise.
22465 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22466 open-coding it.
22467 * elf/dl-open.c (dl_open_worker): Likewise.
22468
9d4b0117
JM
224692017-11-24 Joseph Myers <joseph@codesourcery.com>
22470
de61465c
JM
22471 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22472 using libm_alias_float128.
22473 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22474 Likewise.
22475 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22476 Likewise.
22477 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22478 (setpayloadsigf128): Likewise.
22479 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22480 Likewise.
22481 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22482 Likewise.
22483
9ae6d171
JM
22484 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22485 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22486 -mfloat128 to CFLAGS.
22487 ($(foreach
22488 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22489 Likewise.
22490 (CFLAGS-libm-test-support-float64x.c): New variable.
22491 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22492 $(f128-loader-link) to gnulib-tests.
22493
6e70d156
JM
22494 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22495 (libm_alias_float128_other_r): If
22496 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22497 alias.
22498 (libm_alias_float128_r): Add semicolon after weak_alias call.
22499 * sysdeps/generic/libm-alias-ldouble.h
22500 (libm_alias_ldouble_other_r_f128): New macro.
22501 (libm_alias_ldouble_other_r_f64x): Likewise.
22502 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22503 and libm_alias_ldouble_other_r_f64x.
22504 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22505 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22506 (libm_alias_ldouble_other_r_f128): New macro.
22507 (libm_alias_ldouble_other_r_f64x): Likewise.
22508 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22509 and libm_alias_ldouble_other_r_f64x.
22510
df2806cd
JM
22511 * stdlib/strfroml.c: Always include <stdlib.h>.
22512 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22513 undefine as macro and define as weak alias.
22514 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22515 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22516 <stdlib.h>.
22517 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22518 Define and later undefine as macro and define as weak alias.
22519
0df4fe35
JM
22520 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22521 Define and later undefine as macro. Define as weak alias if
22522 [!USE_WIDE_CHAR].
22523 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22524 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22525 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22526 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22527 Define and later undefine as macro. Define as weak alias if
22528 [!USE_WIDE_CHAR].
22529 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22530 Define and later undefine as macro. Define as weak alias if
22531 [USE_WIDE_CHAR].
22532 * sysdeps/ieee754/float128/strtof128_l.c
22533 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22534 Define and later undefine as macro. Define as weak alias if
22535 [!USE_WIDE_CHAR].
22536 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22537 Define and later undefine as macro. Define as weak alias if
22538 [USE_WIDE_CHAR].
22539 * sysdeps/ieee754/ldbl-128/strtold_l.c
22540 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22541 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22542 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22543 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22544 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22545 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22546 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22547 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22548 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22549 * sysdeps/ieee754/ldbl-96/strtold_l.c
22550 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22551 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22552 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22553 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22554
ae7207d0
JM
22555 * math/test-float64x.h: New file.
22556 * math/Makefile (type-float64x-yes): New variable.
22557 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22558
9596fc69
JM
22559 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22560 function-like macro.
22561 (min_of_type_): Likewise.
22562 (min_of_type_l): Likewise.
22563 (min_of_type_f128): Likewise.
22564 (min_of_type): Pass () as last argument of __MATH_TG.
22565
46453c3c
JM
22566 * stdlib/tst-strtod-round-skeleton.c
22567 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22568 headers.
22569
01e659e7
JM
22570 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22571 for combinations of long double with _Float64 and _Float64x.
22572
5c60afdd
JM
22573 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22574 (__DECL_SIMD_cosf32): Likewise.
22575 (__DECL_SIMD_cosf64): Likewise.
22576 (__DECL_SIMD_cosf32x): Likewise.
22577 (__DECL_SIMD_cosf64x): Likewise.
22578 (__DECL_SIMD_cosf128x): Likewise.
22579 (__DECL_SIMD_sinf16): Likewise.
22580 (__DECL_SIMD_sinf32): Likewise.
22581 (__DECL_SIMD_sinf64): Likewise.
22582 (__DECL_SIMD_sinf32x): Likewise.
22583 (__DECL_SIMD_sinf64x): Likewise.
22584 (__DECL_SIMD_sinf128x): Likewise.
22585 (__DECL_SIMD_sincosf16): Likewise.
22586 (__DECL_SIMD_sincosf32): Likewise.
22587 (__DECL_SIMD_sincosf64): Likewise.
22588 (__DECL_SIMD_sincosf32x): Likewise.
22589 (__DECL_SIMD_sincosf64x): Likewise.
22590 (__DECL_SIMD_sincosf128x): Likewise.
22591 (__DECL_SIMD_logf16): Likewise.
22592 (__DECL_SIMD_logf32): Likewise.
22593 (__DECL_SIMD_logf64): Likewise.
22594 (__DECL_SIMD_logf32x): Likewise.
22595 (__DECL_SIMD_logf64x): Likewise.
22596 (__DECL_SIMD_logf128x): Likewise.
22597 (__DECL_SIMD_expf16): Likewise.
22598 (__DECL_SIMD_expf32): Likewise.
22599 (__DECL_SIMD_expf64): Likewise.
22600 (__DECL_SIMD_expf32x): Likewise.
22601 (__DECL_SIMD_expf64x): Likewise.
22602 (__DECL_SIMD_expf128x): Likewise.
22603 (__DECL_SIMD_powf16): Likewise.
22604 (__DECL_SIMD_powf32): Likewise.
22605 (__DECL_SIMD_powf64): Likewise.
22606 (__DECL_SIMD_powf32x): Likewise.
22607 (__DECL_SIMD_powf64x): Likewise.
22608 (__DECL_SIMD_powf128x): Likewise.
22609
9d4b0117
JM
22610 * stdlib/Versions (libc): Move entries for wcstof128 and
22611 wcstof128_l to ....
22612 * wcsmbs/Versions (libc): ... here.
22613 Include <float128-abi.h>.
22614
7911dd47
FW
226152017-11-24 Florian Weimer <fweimer@redhat.com>
22616
22617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22618 bits/mman-shared.h.
22619 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22620 <bits/mman-shared.h>.
22621 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22622 to ...
22623 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22624 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22625 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22626 <bits/mman-shared.h>.
22627
c45d78aa
AZ
226282017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22629
22630 [BZ #22457]
22631 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22632 posix_memalign/free.
22633 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22634
3ffc4cc1
MF
226352017-11-22 Mike FABIAN <mfabian@redhat.com>
22636
22637 [BZ #22469]
22638 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22639 and implement the collation rules for pl from CLDR on top of that.
22640 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22641 of locales to be built for testing.
22642 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22643
3a327316
JM
226442017-11-23 Joseph Myers <joseph@codesourcery.com>
22645
22646 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22647 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22648 libm_alias_ldouble_other.
22649 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22650 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22651 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22652 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22653 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22654 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22655 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22656 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22657 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22658 libm_alias_ldouble_r.
22659 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22660 libm_alias_ldouble_other.
22661 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22662 (log10l): Likewise.
22663 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22664 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22665 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22666 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22667 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22668 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22669 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22670 (atan2l): Likewise.
22671 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22672 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22673 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22674 libm_alias_ldouble.
22675 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22676 (cosl): Likewise.
22677 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22678 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22679 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22680 (expl): Likewise.
22681 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22682 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22683 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22684 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22685 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22686 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22687 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22688 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22689 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22690 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22691 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22692 libm_alias_ldouble.
22693 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22694 libm_alias_ldouble_other.
22695 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22696 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22697 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22698 libm_alias_ldouble.
22699 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22700 libm_alias_ldouble_other.
22701 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22702 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22703 * sysdeps/ia64/fpu/w_lgammal_main.c
22704 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22705 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22706
0a947e06
FW
227072017-11-23 Florian Weimer <fweimer@redhat.com>
22708
22709 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22710 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22711 alike. Remove freeres marker.
22712 * malloc/arena.c (arena_thread_freeres): Call
22713 tcache_thread_shutdown.
22714
67f36c79
FW
227152017-11-23 Florian Weimer <fweimer@redhat.com>
22716
22717 [BZ #22459]
22718 Export nscd hash function as __nss_hash.
22719 * include/nss.h (__nss_hash): Declare.
22720 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22721 symbol.
22722 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22723 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22724 of __nscd_hash.
22725 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22726 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22727 * nss/Makefiles (routines): Add nss_hash.
22728 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22729 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22730 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22731 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22732
cccb6d4e
FW
227332017-11-23 Florian Weimer <fweimer@redhat.com>
22734
22735 [BZ #22478]
22736 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22737 Return error code, not -1.
22738 * signal/tst-sigwait-eintr.c: New file.
22739 * signal/Makefile (tests): Add tst-sigwait-eintr.
22740
59d2cbb1
FW
227412017-11-23 Florian Weimer <fweimer@redhat.com>
22742
22743 Linux: Add memfd_create system call wrapper
22744 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22745 tst-memfd_create.
22746 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22747 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22748 [__USE_GNU] (memfd_create): Declare.
22749 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22750 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22751 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22752 * sysdeps/unix/sysv/linux/**.abilist: Update.
22753 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22754
a90d1ac2
JM
227552017-11-22 Joseph Myers <joseph@codesourcery.com>
22756
0a9d1d62
JM
22757 * localedata/gen-locale.sh: Fix typo in variable name.
22758
754034c4
JM
22759 * resolv/res_debug.c (p_secstodate): Condition definition on
22760 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22761 directly as __p_secstodate, and as a compat symbol. Do not use
22762 libresolv_hidden_def.
22763 * resolv/resolv.h (p_secstodate): Remove macro and function
22764 declaration.
22765 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22766 using p_secstodate.
22767 * include/resolv.h (__p_secstodate): Do not use
22768 libresolv_hidden_proto.
22769 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22770 (tests-internal): ... here.
22771 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22772 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22773 and declare and use __p_secstodate and use compat_symbol_reference
22774 in that case.
22775 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22776 implementation returning 77.
22777
f120cda6
JM
22778 [BZ #22463]
22779 * resolv/res_debug.c: Include <libc-diag.h>.
22780 (p_secstodate): Assert time_t at least as wide as u_long. On
22781 overflow, use integer seconds since the epoch as output, or use
22782 "<overflow>" as output and set errno to EOVERFLOW if integer
22783 seconds since the epoch would be 14 or more characters.
22784 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22785 for sprintf call.
22786 * resolv/tst-p_secstodate.c: New file.
22787 * resolv/Makefile (tests): Add tst-p_secstodate.
22788 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22789
a90d1ac2
JM
22790 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22791 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22792 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22793
0285e6bd
PE
227942017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22795
22796 * posix/regcomp.c (init_word_char): Add comments.
22797
4bae6150
JM
227982017-11-22 Joseph Myers <joseph@codesourcery.com>
22799
22800 [BZ #22447]
22801 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22802 strlen to compute length of ut_user and set trailing NUL byte of
22803 result explicitly.
22804
4b7af5fc
MF
228052017-11-21 Mike FABIAN <mfabian@redhat.com>
22806
22807 [BZ #15537]
22808 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22809 using “copy "iso14651_t1"” and then implementing the
22810 collation rules for lv from CLDR on top of that.
22811 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22812 of locales to be built for testing.
22813 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22814 sorting.
22815
922bb78c
JM
228162017-11-21 Joseph Myers <joseph@codesourcery.com>
22817
22818 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22819 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22820 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22821 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22822 [__USE_MISC] (MADV_HWPOISON): New macro.
22823 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22824
a3aaa598
AZ
228252017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22826
22827 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22828 -Wmissing-braces on GCC 4.9.
22829
8beba15d
SL
228302017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22831
22832 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22833 * sysdeps/s390/s390-32/start.S (_start): Likewise
22834 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22835 (thread_start): Likewise.
22836 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22837 (thread_start): Likewise.
22838 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22839 (__makecontext_ret): Likewise.
22840 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22841 (__makecontext_ret): Likewise.
22842
80eb52e3
SL
228432017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22844
22845 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22846 __wcschrnul): Remove attribute_hidden.
22847
567d8c1f
PE
228482017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22849
22850 regex: don't assume uint64_t or uint32_t
22851 This avoids -Werror=overflow errors for 32-bit systems in
22852 the 64-bit case. Problem reported by Joseph Myers in:
22853 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22854 Also, when this code is used in Gnulib it ports to platforms
22855 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22856 them, and on some 32-bit compilers there is no uint64_t.
22857 Problem reported by Gianluigi Tiesi in:
22858 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22859 * posix/regcomp.c (init_word_char): Don't assume that the types
22860 uint64_t and uint32_t exist. Adapted from Gnulib patch
22861 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22862 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22863
4d7632ff
SP
228642017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22865
5a67c4fa
SP
22866 * sysdeps/aarch64/memset-reg.h: New file.
22867 * sysdeps/aarch64/memset.S: Use it.
22868 (__memset): Rename to MEMSET macro.
22869 [ZVA_MACRO]: Use zva_macro.
22870 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22871 Add memset_generic and memset_falkor.
22872 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22873 (__libc_ifunc_impl_list): Add memset ifuncs.
22874 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22875 local variable zva_size.
22876 * sysdeps/aarch64/multiarch/memset.c: New file.
22877 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22878 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22879 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22880 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22881 (DCZID_DZP_MASK): New macro.
22882 (DCZID_BS_MASK): Likewise.
22883 (init_cpu_features): Read and set zva_size.
22884 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22885 (struct cpu_features): New member zva_size.
22886
eb332f9f
SP
22887 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22888 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22889 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22890
4d7632ff
SP
22891 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22892 backwards. Fix timing computation.
22893 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22894 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22895 on memset by N at a time. Fix timing computation.
22896
a465b89e
FW
228972017-11-20 Florian Weimer <fweimer@redhat.com>
22898
22899 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22900 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22901
0f74bbf5
FW
229022017-11-19 Florian Weimer <fweimer@redhat.com>
22903
22904 manual: Document mprotect
22905 * manual/memory.texi (Memory Protection): New section.
22906 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22907 documentation of PROT_* flags and reference the Memory Protection
22908 section instead.
22909
f6e965ee
FW
229102017-11-19 Florian Weimer <fweimer@redhat.com>
22911
22912 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22913 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22914 (Scatter-Gather): ... to here. Remove misleading comment.
22915
363e4519 229162017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 22917
5f9d1949
CB
22918 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22919 style.
22920
ea69a5c8
CB
22921 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22922 when /proc/<pid>/setgroups does not exist.
22923
8db7f48c
FW
229242017-11-18 Florian Weimer <fweimer@redhat.com>
22925
22926 * sysdeps/unix/sysv/linux/tst-ttyname.c
22927 (become_root_in_mount_ns): Remove.
22928 (do_in_chroot_1): Call support_enter_mount_namespace.
22929 (do_in_chroot_2): Likewise.
22930 (do_test): Call support_become_root early.
22931
273a0c49
FW
229322017-11-18 Florian Weimer <fweimer@redhat.com>
22933
22934 * support/namespace.h (support_enter_mount_namespace): Declare.
22935 * support/support_enter_mount_namespace.c: New file.
22936 * support/Makefile (libsupport-routines): Add
22937 support_enter_mount_namespace.
22938
8adfb0ee
FW
229392017-11-18 Florian Weimer <fweimer@redhat.com>
22940
22941 * support/temp_file.c (support_create_temp_directory): Use
22942 test_dir and do not rely on the presence of the XXXXXX suffix.
22943 * support/temp_file.h (support_create_temp_directory): Update
22944 comment.
22945 * support/tst-xreadlink.c (do_test): Adjust.
22946 * support/support_chroot.c (support_chroot_create): Likewise.
22947
df0c40ee
TMQMF
229482017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22949
22950 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22951 macro.
22952 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22953 htm-no-suspend.
22954
015c6dc2
JM
229552017-11-17 Joseph Myers <joseph@codesourcery.com>
22956
f58e5f48
JM
22957 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22958 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22959 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22960 (ceill): Define using libm_alias_ldouble.
22961 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22962 <libm-alias-ldouble.h>.
22963 (copysignl): Define using libm_alias_ldouble.
22964 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22965 (fabsl): Define using libm_alias_ldouble.
22966 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22967 (floorl): Define using libm_alias_ldouble.
22968 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22969 (fmaxl): Define using libm_alias_ldouble.
22970 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22971 (fminl): Define using libm_alias_ldouble.
22972 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22973 (llrintl): Define using libm_alias_ldouble.
22974 (lrintl): Likewise.
22975 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22976 <libm-alias-ldouble.h>.
22977 (nearbyintl): Define using libm_alias_ldouble.
22978 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22979 (truncl): Define using libm_alias_ldouble.
22980 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22981 <libm-alias-ldouble.h>.
22982 (lrintl): Define using libm_alias_ldouble.
22983
2ce30701
JM
22984 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22985 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22986 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22987 (asinhl): Define using libm_alias_ldouble.
22988 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22989 (atanl): Define using libm_alias_ldouble.
22990 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22991 (cbrtl): Define using libm_alias_ldouble.
22992 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22993 (ceill): Define using libm_alias_ldouble.
22994 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22995 (copysignl): Define using libm_alias_ldouble.
22996 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22997 (fabsl): Define using libm_alias_ldouble.
22998 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22999 (floorl): Define using libm_alias_ldouble.
23000 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23001 (fmaxl): Define using libm_alias_ldouble.
23002 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23003 (fminl): Define using libm_alias_ldouble.
23004 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23005 (frexpl): Define using libm_alias_ldouble.
23006 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23007 (llrintl): Define using libm_alias_ldouble.
23008 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23009 (logbl): Define using libm_alias_ldouble.
23010 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23011 (lrintl): Define using libm_alias_ldouble.
23012 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23013 (nearbyintl): Define using libm_alias_ldouble.
23014 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23015 (nextafterl): Define using libm_alias_ldouble.
23016 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23017 (remquol): Define using libm_alias_ldouble.
23018 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23019 (rintl): Define using libm_alias_ldouble.
23020 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23021 (truncl): Define using libm_alias_ldouble.
23022 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23023 (fmaxl): Define using libm_alias_ldouble.
23024 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23025 (fminl): Define using libm_alias_ldouble.
23026
015c6dc2
JM
23027 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23028 to C syntax instead of availability and properties of types.
23029 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23030 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23031 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23032 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23033 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23034 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23035
ce003e5d
FW
230362017-11-17 Florian Weimer <fweimer@redhat.com>
23037
23038 support_become_root: Enable file creation in namespaces.
23039 * support/support_become_root.c (setup_mapping): New function.
23040 (support_become_root): Call it.
23041
e7df6c5c
JM
230422017-11-17 Joseph Myers <joseph@codesourcery.com>
23043
23044 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23045 macro.
23046
58a813bf
AZ
230472017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23048
23049 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23050 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23051
f97773d1
JM
230522017-11-16 Joseph Myers <joseph@codesourcery.com>
23053
6a6aa1f3
JM
23054 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23055
f97773d1
JM
23056 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23057 version to 4.14.
23058
a306c790
SP
230592017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23060
7b0fb870
SP
23061 * INSTALL: Fix botched up regeneration.
23062
23063 * NEWS: Update sourceare link to https.
a306c790
SP
23064 * configure.ac: Likewise.
23065 * crypt/md5test-giant.c: Likewise.
23066 * dlfcn/bug-atexit1.c: Likewise.
23067 * dlfcn/bug-atexit2.c: Likewise.
23068 * localedata/README: Likewise.
23069 * malloc/tst-mallocfork.c: Likewise.
23070 * manual/install.texi: Likewise.
23071 * nptl/tst-pthread-getattr.c: Likewise.
23072 * stdio-common/tst-fgets.c: Likewise.
23073 * stdio-common/tst-fwrite.c: Likewise.
23074 * sunrpc/Makefile: Likewise.
23075 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23076 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
23077 * configure: Regenerate.
23078 * INSTALL: Regenerate.
a306c790 23079
7532837d
MS
230802017-11-15 Martin Sebor <msebor@redhat.com>
23081
23082 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23083 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23084 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23085
495a56fd
LS
230862017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23087
d9611e30
LS
23088 [BZ #22145]
23089 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23090 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23091
a09dfc19
LS
23092 [BZ #22145]
23093 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23094 Defer is_pty check until end of the function.
23095 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23096
2fbce9c2
LS
23097 [BZ #22145]
23098 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23099 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23100 (ttyname): Likewise.
23101 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23102 (__ttyname_r): Likewise.
23103
d10d6cab
LS
23104 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23105 int to bool.
23106
9b5a8750
LS
23107 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23108
495a56fd
LS
23109 * manual/terminal.texi (Is It a Terminal):
23110 Mention ENODEV for ttyname and ttyname_r.
23111
fa680dc6
JM
231122017-11-15 Joseph Myers <joseph@codesourcery.com>
23113
78cde19f
JM
23114 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23115 constant and macro.
23116
fa680dc6
JM
23117 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23118 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23119 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23120 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23121 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23122 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23123
ad4f43a2
AZ
231242017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23125
1ba1d8a4
AZ
23126 * signal/sigrelse.c (sigrelse): Optimize implementation.
23127
ad4f43a2
AZ
23128 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23129 (__sigpause): Rely on __sigsuspend to implement single thread
23130 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23131
d0212d42
JM
231322017-11-15 Joseph Myers <joseph@codesourcery.com>
23133
23134 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23135 kernel version to 4.14.
23136
2180fee1
SE
231372017-11-15 Steve Ellcey <sellcey@cavium.com>
23138
23139 [BZ #22442]
23140 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23141 Check if ifname is too long.
23142
cad7ca39
LS
231432017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23144
23145 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23146
58c9f659
MF
231472017-11-15 Mike FABIAN <mfabian@redhat.com>
23148
23149 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23150 was accidentally lost.
23151
0fa87c01
MF
231522017-11-15 Mike FABIAN <mfabian@redhat.com>
23153
23154 * localedata/locales/az_IR: Add standard copyright header.
23155
34eb4157
FW
231562017-11-15 Florian Weimer <fweimer@redhat.com>
23157
23158 [BZ #22439]
23159 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23160 not just the top one. Output a new "subheaps" statistic.
23161
7a9368a1
FW
231622017-11-15 Florian Weimer <fweimer@redhat.com>
23163
23164 [BZ #22408]
23165 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23166 under the per-arena lock.
23167 * malloc/Makefile (tests): Add tst-malloc_info.
23168 (tst-malloc_info): Link with libpthread.
23169 * malloc/tst-malloc_info.c: New file.
23170
be3a79a3
JM
231712017-11-15 Joseph Myers <joseph@codesourcery.com>
23172
23173 [BZ #21660]
23174 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23175 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23176 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23177 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23178 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23179 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23180 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23181 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23182 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23183 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23184 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23185 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23186 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23187 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23188 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23189 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23190 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23191 (__floating_type): Likewise.
23192 (__real_integer_type): Likewise.
23193 (__complex_integer_type): Likewise.
23194 (__expr_is_real): Likewise.
23195 (__tgmath_real_type_sub): Likewise.
23196 (__tgmath_real_type): Likewise.
23197 (__tgmath_complex_type_sub): Likewise.
23198 (__tgmath_complex_type): Likewise.
23199 (__TGMATH_F128): Likewise.
23200 (__TGMATH_CF128): Likewise.
23201 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23202 new macros.
23203 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23204 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23205 Likewise.
23206 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23207 Likewise.
23208 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23209 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23210 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23211 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23212 Likewise.
23213 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23214 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23215 Likewise.
23216 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23217 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23218 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23219 Likewise.
23220 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23221 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23222 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23223 (cimag): Likewise.
23224 (creal): Likewise.
23225
ec72135e
JM
232262017-11-14 Joseph Myers <joseph@codesourcery.com>
23227
2e64ec9c
JM
23228 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23229 for stpncpy calls for GCC 8.
23230 (test_strncat): Disable -Wstringop-truncation warning for strncat
23231 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23232 strncat call for GCC 7.
23233 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23234 calls for GCC 8.
23235 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23236 trailing NUL.
23237
ec72135e
JM
23238 * string/bug-strncat1.c: Include <libc-diag.h>.
23239 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23240
363e4519 232412017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
23242
23243 [BZ #22387]
23244 * localedata/locales/aa_DJ: Improved readibility by replacing
23245 <Uxxxx> sequences in the ASCII printable range by their ASCII
23246 character equivalents.
23247 * localedata/locales/aa_ER: Likewise.
23248 * localedata/locales/aa_ER@saaho: Likewise.
23249 * localedata/locales/aa_ET: Likewise.
23250 * localedata/locales/af_ZA: Likewise.
23251 * localedata/locales/agr_PE: Likewise.
23252 * localedata/locales/ak_GH: Likewise.
23253 * localedata/locales/am_ET: Likewise.
23254 * localedata/locales/anp_IN: Likewise.
23255 * localedata/locales/ar_AE: Likewise.
23256 * localedata/locales/ar_BH: Likewise.
23257 * localedata/locales/ar_DZ: Likewise.
23258 * localedata/locales/ar_EG: Likewise.
23259 * localedata/locales/ar_IN: Likewise.
23260 * localedata/locales/ar_IQ: Likewise.
23261 * localedata/locales/ar_JO: Likewise.
23262 * localedata/locales/ar_KW: Likewise.
23263 * localedata/locales/ar_LB: Likewise.
23264 * localedata/locales/ar_LY: Likewise.
23265 * localedata/locales/ar_MA: Likewise.
23266 * localedata/locales/ar_OM: Likewise.
23267 * localedata/locales/ar_QA: Likewise.
23268 * localedata/locales/ar_SA: Likewise.
23269 * localedata/locales/ar_SD: Likewise.
23270 * localedata/locales/ar_SS: Likewise.
23271 * localedata/locales/ar_SY: Likewise.
23272 * localedata/locales/ar_TN: Likewise.
23273 * localedata/locales/ar_YE: Likewise.
23274 * localedata/locales/as_IN: Likewise.
23275 * localedata/locales/ast_ES: Likewise.
23276 * localedata/locales/ayc_PE: Likewise.
23277 * localedata/locales/az_AZ: Likewise.
23278 * localedata/locales/az_IR: Likewise.
23279 * localedata/locales/be_BY: Likewise.
23280 * localedata/locales/be_BY@latin: Likewise.
23281 * localedata/locales/bem_ZM: Likewise.
23282 * localedata/locales/ber_DZ: Likewise.
23283 * localedata/locales/ber_MA: Likewise.
23284 * localedata/locales/bg_BG: Likewise.
23285 * localedata/locales/bhb_IN: Likewise.
23286 * localedata/locales/bho_IN: Likewise.
23287 * localedata/locales/bi_VU: Likewise.
23288 * localedata/locales/bn_BD: Likewise.
23289 * localedata/locales/bn_IN: Likewise.
23290 * localedata/locales/bo_CN: Likewise.
23291 * localedata/locales/bo_IN: Likewise.
23292 * localedata/locales/br_FR: Likewise.
23293 * localedata/locales/brx_IN: Likewise.
23294 * localedata/locales/bs_BA: Likewise.
23295 * localedata/locales/byn_ER: Likewise.
23296 * localedata/locales/ca_AD: Likewise.
23297 * localedata/locales/ca_ES: Likewise.
23298 * localedata/locales/ca_FR: Likewise.
23299 * localedata/locales/ca_IT: Likewise.
23300 * localedata/locales/ce_RU: Likewise.
23301 * localedata/locales/chr_US: Likewise.
23302 * localedata/locales/cmn_TW: Likewise.
23303 * localedata/locales/crh_UA: Likewise.
23304 * localedata/locales/cs_CZ: Likewise.
23305 * localedata/locales/csb_PL: Likewise.
23306 * localedata/locales/cv_RU: Likewise.
23307 * localedata/locales/cy_GB: Likewise.
23308 * localedata/locales/da_DK: Likewise.
23309 * localedata/locales/de_AT: Likewise.
23310 * localedata/locales/de_BE: Likewise.
23311 * localedata/locales/de_CH: Likewise.
23312 * localedata/locales/de_DE: Likewise.
23313 * localedata/locales/de_IT: Likewise.
23314 * localedata/locales/de_LI: Likewise.
23315 * localedata/locales/de_LU: Likewise.
23316 * localedata/locales/doi_IN: Likewise.
23317 * localedata/locales/dv_MV: Likewise.
23318 * localedata/locales/dz_BT: Likewise.
23319 * localedata/locales/el_CY: Likewise.
23320 * localedata/locales/el_GR: Likewise.
23321 * localedata/locales/en_AG: Likewise.
23322 * localedata/locales/en_AU: Likewise.
23323 * localedata/locales/en_BW: Likewise.
23324 * localedata/locales/en_CA: Likewise.
23325 * localedata/locales/en_DK: Likewise.
23326 * localedata/locales/en_GB: Likewise.
23327 * localedata/locales/en_HK: Likewise.
23328 * localedata/locales/en_IE: Likewise.
23329 * localedata/locales/en_IL: Likewise.
23330 * localedata/locales/en_IN: Likewise.
23331 * localedata/locales/en_NG: Likewise.
23332 * localedata/locales/en_NZ: Likewise.
23333 * localedata/locales/en_PH: Likewise.
23334 * localedata/locales/en_SG: Likewise.
23335 * localedata/locales/en_US: Likewise.
23336 * localedata/locales/en_ZA: Likewise.
23337 * localedata/locales/en_ZM: Likewise.
23338 * localedata/locales/en_ZW: Likewise.
23339 * localedata/locales/eo: Likewise.
23340 * localedata/locales/es_AR: Likewise.
23341 * localedata/locales/es_BO: Likewise.
23342 * localedata/locales/es_CL: Likewise.
23343 * localedata/locales/es_CO: Likewise.
23344 * localedata/locales/es_CR: Likewise.
23345 * localedata/locales/es_CU: Likewise.
23346 * localedata/locales/es_DO: Likewise.
23347 * localedata/locales/es_EC: Likewise.
23348 * localedata/locales/es_ES: Likewise.
23349 * localedata/locales/es_GT: Likewise.
23350 * localedata/locales/es_HN: Likewise.
23351 * localedata/locales/es_MX: Likewise.
23352 * localedata/locales/es_NI: Likewise.
23353 * localedata/locales/es_PA: Likewise.
23354 * localedata/locales/es_PE: Likewise.
23355 * localedata/locales/es_PR: Likewise.
23356 * localedata/locales/es_PY: Likewise.
23357 * localedata/locales/es_SV: Likewise.
23358 * localedata/locales/es_US: Likewise.
23359 * localedata/locales/es_UY: Likewise.
23360 * localedata/locales/es_VE: Likewise.
23361 * localedata/locales/et_EE: Likewise.
23362 * localedata/locales/eu_ES: Likewise.
23363 * localedata/locales/eu_ES@euro: Likewise.
23364 * localedata/locales/fa_IR: Likewise.
23365 * localedata/locales/ff_SN: Likewise.
23366 * localedata/locales/fi_FI: Likewise.
23367 * localedata/locales/fil_PH: Likewise.
23368 * localedata/locales/fo_FO: Likewise.
23369 * localedata/locales/fr_BE: Likewise.
23370 * localedata/locales/fr_CA: Likewise.
23371 * localedata/locales/fr_CH: Likewise.
23372 * localedata/locales/fr_FR: Likewise.
23373 * localedata/locales/fr_LU: Likewise.
23374 * localedata/locales/fur_IT: Likewise.
23375 * localedata/locales/fy_DE: Likewise.
23376 * localedata/locales/fy_NL: Likewise.
23377 * localedata/locales/ga_IE: Likewise.
23378 * localedata/locales/gd_GB: Likewise.
23379 * localedata/locales/gez_ER: Likewise.
23380 * localedata/locales/gez_ET: Likewise.
23381 * localedata/locales/gl_ES: Likewise.
23382 * localedata/locales/gu_IN: Likewise.
23383 * localedata/locales/gv_GB: Likewise.
23384 * localedata/locales/ha_NG: Likewise.
23385 * localedata/locales/hak_TW: Likewise.
23386 * localedata/locales/he_IL: Likewise.
23387 * localedata/locales/hi_IN: Likewise.
23388 * localedata/locales/hif_FJ: Likewise.
23389 * localedata/locales/hne_IN: Likewise.
23390 * localedata/locales/hr_HR: Likewise.
23391 * localedata/locales/hsb_DE: Likewise.
23392 * localedata/locales/ht_HT: Likewise.
23393 * localedata/locales/hu_HU: Likewise.
23394 * localedata/locales/hy_AM: Likewise.
23395 * localedata/locales/i18n: Likewise.
23396 * localedata/locales/ia_FR: Likewise.
23397 * localedata/locales/id_ID: Likewise.
23398 * localedata/locales/ig_NG: Likewise.
23399 * localedata/locales/ik_CA: Likewise.
23400 * localedata/locales/is_IS: Likewise.
23401 * localedata/locales/it_CH: Likewise.
23402 * localedata/locales/it_IT: Likewise.
23403 * localedata/locales/iu_CA: Likewise.
23404 * localedata/locales/ja_JP: Likewise.
23405 * localedata/locales/ka_GE: Likewise.
23406 * localedata/locales/kk_KZ: Likewise.
23407 * localedata/locales/kl_GL: Likewise.
23408 * localedata/locales/kn_IN: Likewise.
23409 * localedata/locales/ko_KR: Likewise.
23410 * localedata/locales/kok_IN: Likewise.
23411 * localedata/locales/ks_IN: Likewise.
23412 * localedata/locales/ks_IN@devanagari: Likewise.
23413 * localedata/locales/ku_TR: Likewise.
23414 * localedata/locales/kw_GB: Likewise.
23415 * localedata/locales/ky_KG: Likewise.
23416 * localedata/locales/lb_LU: Likewise.
23417 * localedata/locales/lg_UG: Likewise.
23418 * localedata/locales/li_BE: Likewise.
23419 * localedata/locales/li_NL: Likewise.
23420 * localedata/locales/lij_IT: Likewise.
23421 * localedata/locales/ln_CD: Likewise.
23422 * localedata/locales/lo_LA: Likewise.
23423 * localedata/locales/lt_LT: Likewise.
23424 * localedata/locales/lv_LV: Likewise.
23425 * localedata/locales/lzh_TW: Likewise.
23426 * localedata/locales/mag_IN: Likewise.
23427 * localedata/locales/mai_IN: Likewise.
23428 * localedata/locales/mg_MG: Likewise.
23429 * localedata/locales/mhr_RU: Likewise.
23430 * localedata/locales/mi_NZ: Likewise.
23431 * localedata/locales/mk_MK: Likewise.
23432 * localedata/locales/ml_IN: Likewise.
23433 * localedata/locales/mn_MN: Likewise.
23434 * localedata/locales/mni_IN: Likewise.
23435 * localedata/locales/mr_IN: Likewise.
23436 * localedata/locales/ms_MY: Likewise.
23437 * localedata/locales/mt_MT: Likewise.
23438 * localedata/locales/my_MM: Likewise.
23439 * localedata/locales/nan_TW: Likewise.
23440 * localedata/locales/nan_TW@latin: Likewise.
23441 * localedata/locales/nb_NO: Likewise.
23442 * localedata/locales/nds_DE: Likewise.
23443 * localedata/locales/nds_NL: Likewise.
23444 * localedata/locales/ne_NP: Likewise.
23445 * localedata/locales/nhn_MX: Likewise.
23446 * localedata/locales/niu_NU: Likewise.
23447 * localedata/locales/niu_NZ: Likewise.
23448 * localedata/locales/nl_AW: Likewise.
23449 * localedata/locales/nl_BE: Likewise.
23450 * localedata/locales/nl_NL: Likewise.
23451 * localedata/locales/nn_NO: Likewise.
23452 * localedata/locales/nr_ZA: Likewise.
23453 * localedata/locales/nso_ZA: Likewise.
23454 * localedata/locales/oc_FR: Likewise.
23455 * localedata/locales/om_ET: Likewise.
23456 * localedata/locales/om_KE: Likewise.
23457 * localedata/locales/or_IN: Likewise.
23458 * localedata/locales/os_RU: Likewise.
23459 * localedata/locales/pa_IN: Likewise.
23460 * localedata/locales/pa_PK: Likewise.
23461 * localedata/locales/pap_AW: Likewise.
23462 * localedata/locales/pap_CW: Likewise.
23463 * localedata/locales/pl_PL: Likewise.
23464 * localedata/locales/ps_AF: Likewise.
23465 * localedata/locales/pt_BR: Likewise.
23466 * localedata/locales/pt_PT: Likewise.
23467 * localedata/locales/quz_PE: Likewise.
23468 * localedata/locales/raj_IN: Likewise.
23469 * localedata/locales/ro_RO: Likewise.
23470 * localedata/locales/ru_RU: Likewise.
23471 * localedata/locales/ru_UA: Likewise.
23472 * localedata/locales/rw_RW: Likewise.
23473 * localedata/locales/sa_IN: Likewise.
23474 * localedata/locales/sat_IN: Likewise.
23475 * localedata/locales/sc_IT: Likewise.
23476 * localedata/locales/sd_IN: Likewise.
23477 * localedata/locales/sd_IN@devanagari: Likewise.
23478 * localedata/locales/se_NO: Likewise.
23479 * localedata/locales/sgs_LT: Likewise.
23480 * localedata/locales/shs_CA: Likewise.
23481 * localedata/locales/si_LK: Likewise.
23482 * localedata/locales/sid_ET: Likewise.
23483 * localedata/locales/sk_SK: Likewise.
23484 * localedata/locales/sl_SI: Likewise.
23485 * localedata/locales/sm_WS: Likewise.
23486 * localedata/locales/so_DJ: Likewise.
23487 * localedata/locales/so_ET: Likewise.
23488 * localedata/locales/so_KE: Likewise.
23489 * localedata/locales/so_SO: Likewise.
23490 * localedata/locales/sq_AL: Likewise.
23491 * localedata/locales/sq_MK: Likewise.
23492 * localedata/locales/sr_ME: Likewise.
23493 * localedata/locales/sr_RS: Likewise.
23494 * localedata/locales/sr_RS@latin: Likewise.
23495 * localedata/locales/ss_ZA: Likewise.
23496 * localedata/locales/st_ZA: Likewise.
23497 * localedata/locales/sv_FI: Likewise.
23498 * localedata/locales/sv_SE: Likewise.
23499 * localedata/locales/sw_KE: Likewise.
23500 * localedata/locales/sw_TZ: Likewise.
23501 * localedata/locales/szl_PL: Likewise.
23502 * localedata/locales/ta_IN: Likewise.
23503 * localedata/locales/ta_LK: Likewise.
23504 * localedata/locales/tcy_IN: Likewise.
23505 * localedata/locales/te_IN: Likewise.
23506 * localedata/locales/tg_TJ: Likewise.
23507 * localedata/locales/th_TH: Likewise.
23508 * localedata/locales/the_NP: Likewise.
23509 * localedata/locales/ti_ER: Likewise.
23510 * localedata/locales/ti_ET: Likewise.
23511 * localedata/locales/tig_ER: Likewise.
23512 * localedata/locales/tk_TM: Likewise.
23513 * localedata/locales/tl_PH: Likewise.
23514 * localedata/locales/tn_ZA: Likewise.
23515 * localedata/locales/to_TO: Likewise.
23516 * localedata/locales/tpi_PG: Likewise.
23517 * localedata/locales/tr_CY: Likewise.
23518 * localedata/locales/tr_TR: Likewise.
23519 * localedata/locales/ts_ZA: Likewise.
23520 * localedata/locales/tt_RU: Likewise.
23521 * localedata/locales/tt_RU@iqtelif: Likewise.
23522 * localedata/locales/ug_CN: Likewise.
23523 * localedata/locales/uk_UA: Likewise.
23524 * localedata/locales/unm_US: Likewise.
23525 * localedata/locales/ur_IN: Likewise.
23526 * localedata/locales/ur_PK: Likewise.
23527 * localedata/locales/uz_UZ: Likewise.
23528 * localedata/locales/uz_UZ@cyrillic: Likewise.
23529 * localedata/locales/ve_ZA: Likewise.
23530 * localedata/locales/vi_VN: Likewise.
23531 * localedata/locales/wa_BE: Likewise.
23532 * localedata/locales/wae_CH: Likewise.
23533 * localedata/locales/wal_ET: Likewise.
23534 * localedata/locales/wo_SN: Likewise.
23535 * localedata/locales/xh_ZA: Likewise.
23536 * localedata/locales/yi_US: Likewise.
23537 * localedata/locales/yo_NG: Likewise.
23538 * localedata/locales/yue_HK: Likewise.
23539 * localedata/locales/yuw_PG: Likewise.
23540 * localedata/locales/zh_CN: Likewise.
23541 * localedata/locales/zh_HK: Likewise.
23542 * localedata/locales/zh_SG: Likewise.
23543 * localedata/locales/zh_TW: Likewise.
23544 * localedata/locales/zu_ZA: Likewise.
23545
cae87e64
FW
235462017-11-13 Florian Weimer <fweimer@redhat.com>
23547
23548 * support/next_to_fault.h, support/next_to_fault.c: New files.
23549 * support/Makefile (libsupport-routines): Add next_to_fault.
23550 * resolv/tst-inet_pton.c (struct next_to_fault)
23551 (next_to_fault_allocate, next_to_fault_free): Remove.
23552 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23553
4a306ef1
L
235542017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23555
23556 * elf/dl-support.c: Include <dl-procruntime.c>.
23557 * include/link.h: Include <link_map.h>.
23558 * sysdeps/generic/dl-procruntime.c: New file.
23559 * sysdeps/generic/link_map.h: Likewise.
23560 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23561 the writable ld.so namespace.
23562
e69897bf
PE
235632017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23564
23565 timezone: pacify GCC -Wstringop-truncation
23566 Problem reported by Martin Sebor in:
23567 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23568 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23569
1ffe1ccb
FW
235702017-11-12 Florian Weimer <fweimer@redhat.com>
23571
eceed671
FW
23572 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23573 tst-xreadlink.
23574 (tests): Add tst-xreadlink.
1ffe1ccb
FW
23575 * support/support.h (xstrndup): Declare.
23576 * support/xunistd.h (xunlink, xreadlink): Declare.
23577 * support/temp_file.h (support_create_temp_directory): Declare.
23578 * support/temp_file.c (support_create_temp_directory): New function.
23579 * support/support_chroot.c (support_chroot_create): Use it.
23580 * support/xreadlink.c: New file.
23581 * support/xstrndup.c: Likewise.
23582 * support/xunlink.c: Likewise.
23583 * support/tst-xreadlink.c: Likewise.
23584
456b40a9
JDA
235852017-11-11 John David Anglin <danglin@gcc.gnu.org>
23586
23587 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23588
c0a25aa9
FW
235892017-11-11 Florian Weimer <fweimer@redhat.com>
23590
23591 [BZ #22409]
23592 [BZ #22412]
23593 * resolv/res_comp.c (printable_string, binary_hnok)
23594 (binary_leading_dash): New functions.
23595 (res_hnok): Reimplement using these functions and ns_name_pton.
23596 (res_ownok): Likewise.
23597 (res_mailok): Reimplement using printable_string, ns_name_pton and
23598 binary_hnok.
23599 (res_dnok): Reimplement using printable_string and ns_name_pton.
23600 * resolv/tst-res_hnok.c (tests): Add additional tests.
23601 (LETTERDIGITS, PRINTABLE): Define.
23602 (do_test): Adjust one_char results.
23603
9e0ad304
FW
236042017-11-11 Florian Weimer <fweimer@redhat.com>
23605
23606 [BZ #22413]
23607 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23608 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23609
e2a9fca8
FW
236102017-11-11 Florian Weimer <fweimer@redhat.com>
23611
23612 * resolv/tst-ns_name_pton.c: New file.
23613 * resolv/Makefile (tests): Add tst-ns_name_pton.
23614 (tst-ns_name_pton): Link against libresolv.
23615
5c1a6923
FW
236162017-11-11 Florian Weimer <fweimer@redhat.com>
23617
23618 * resolv/tst-res_hnok.c: New file.
23619 * resolv/Makefile (tests): Add tst-res_hnok.
23620 (tst-res_hnok): Link against libresolv.
23621
a19c0a1d
FW
236222017-11-11 Florian Weimer <fweimer@redhat.com>
23623
23624 * resolv/tst-resolv-network.c: Use test framework instead explicit
23625 main function.
23626
8cb5295d
L
236272017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23628
23629 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23630 <jmp_buf-macros.h>.
23631 [!_ISOMAC] (STR_HELPER): New.
23632 [!_ISOMAC] (STR): Likewise.
23633 [!_ISOMAC] (TEST_SIZE): Likewise.
23634 [!_ISOMAC] (TEST_ALIGN): Likewise.
23635 [!_ISOMAC] (TEST_OFFSET): Likewise.
23636 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23637 field offsets of jmp_buf as well as sigjmp_buf.
23638 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23639 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23640 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23641 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23642 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23643 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23644 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23645 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23646 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23647 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23648 Likewise.
23649 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23650 Likewise.
23651 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23653 Likewise.
23654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23655 Likewise.
23656 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23657 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23658 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23659 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23660 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23662 Likewise.
23663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23664 Likewise.
23665 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23666 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23667 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23668
58c4a161
JM
236692017-11-07 Joseph Myers <joseph@codesourcery.com>
23670
3683b423
JM
23671 * include/float.h
23672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23673 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23675 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23677 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23679 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23681 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23683 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23685 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23687 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23689 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23691 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23693 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23695 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23696 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23697 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23699 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23701 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23703 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23705 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23707 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23709 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23711 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23712 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23713 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23714 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23715 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23716 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23717 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23718 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23719 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23720 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23721 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23722 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23723 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23724 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23725 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23726 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23727 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23728 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23729 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23730 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23731 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23732 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23733 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23734 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23735 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23736 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23737 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23738 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23739 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23740 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23741 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23742 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23743 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23744 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23745 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23746 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23747 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23748 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23749 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23750 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23751 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23752 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23753 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23754 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23755 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23756 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23757 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23758 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23759 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23760
58c4a161
JM
23761 * stdlib/tst-strtod.h (F16): New macro.
23762 (F32): Likewise.
23763 (F64): Likewise.
23764 (F32X): Likewise.
23765 (F64X): Likewise.
23766 (F128X): Likewise.
23767 (IF_FLOAT16): Likewise.
23768 (IF_FLOAT32): Likewise.
23769 (IF_FLOAT64): Likewise.
23770 (IF_FLOAT32X): Likewise.
23771 (IF_FLOAT64X): Likewise.
23772 (IF_FLOAT128X): Likewise.
23773 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23774 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23775 (STRTOD_TEST_FOREACH): Likewise.
23776 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23777 (CHOOSE_f64): Likewise.
23778 (CHOOSE_f32x): Likewise.
23779 (CHOOSE_f64x): Likewise.
23780
feda96a1
AS
237812017-11-07 Andreas Schwab <schwab@suse.de>
23782
23783 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23784
1bd0cbb8
MF
237852017-11-07 Mike FABIAN <mfabian@redhat.com>
23786
23787 [BZ #22403]
23788 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23789 to be escaped.
23790 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23791 to be escaped.
23792
363e4519 237932017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
23794
23795 [BZ #22403]
23796 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23797 to be escaped.
23798 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23799 to be escaped.
23800 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23801 to be escaped.
23802
dff91cd4
AZ
238032017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23804
06be6368
AZ
23805 [BZ #22298]
23806 * nptl/allocatestack.c (allocate_stack): Check if
23807 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23808 __PTHREAD_MUTEX_HAVE_PREV is defined.
23809 * nptl/descr.h (pthread): Likewise.
23810 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23811 Likewise.
23812 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23813 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23814 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23815 * sysdeps/nptl/bits/thread-shared-types.h
23816 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23817 defines.
23818 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23819 of __WORDSIZE for internal layout.
23820 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23821 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23822 instead of __WORDSIZE whether to use an union for __spins and __list
23823 fields.
23824 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23825 case.
23826 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23827 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23828 defines.
23829 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23830 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23831 Likewise.
23832 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23833 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23834 Likewise.
23835 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23836 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23837 Likewise.
23838 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23839 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23840 Likewise.
23841 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23842 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23843 Likewise.
23844 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23845 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23846 Likewise.
23847 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23848 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23849 Likewise.
23850 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23851 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23852 Likewise.
23853 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23854 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23855 Likewise.
23856 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23857 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23858 Likewise.
23859 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23860 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23861 Likewise.
23862 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23863 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23864 Likewise.
23865 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23866 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23867 Likewise.
23868 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23869 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23870 Likewise.
23871
72b3c6ee
AZ
23872 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23873 New macros.
23874 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23875 checks for expected input type size.
23876 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23877 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23878 Likewise.
23879 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23880 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23881 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23882 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23883 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23884 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23885 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23886 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23887 superflous runtime assert check.
23888 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23889 Likewise.
23890 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23891 Likewise.
23892 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23893 Likewise.
23894 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23895 Likewise.
23896 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23897 Likewise.
23898 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23899 Likewise.
23900 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23901 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23902 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23903 Likewise.
23904 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23905 Likewise.
23906 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23907 Likewise.
23908 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23909 Likewise.
23910 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23911 Likewise.
23912 * nptl/pthread_attr_setinheritsched.c
23913 (__pthread_attr_setinheritsched): Likewise.
23914 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23915 Likewise.
23916 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23917 Likewise.
23918 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23919 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23920 __old_pthread_attr_setstack): Likewise.
23921 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23922 Likewise.
23923 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23924 Likewise.
23925 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23926 Likewise.
23927 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23928 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23929 Likewise.
23930 * nptl/tst-typesizes.c: Remove file.
23931
dff91cd4
AZ
23932 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23933 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23934 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23935 checks for internal pthread_mutex_t offsets.
23936 * sysdeps/aarch64/nptl/pthread-offsets.h
23937 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23938 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23939 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23940 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23941 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23942 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23943 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23944 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23945 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23946 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23947 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23948 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23949 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23950 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23951 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23952 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23953 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23954 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23955
b7fc95f8
FW
239562017-11-07 Florian Weimer <fweimer@redhat.com>
23957
23958 * bits/mman-linux.h: Move ...
23959 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23960 comment.
23961 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23962 outdated comment.
23963
6b860364
RS
239642017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23965
23966 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23967 Redefine STRNLEN as __strnlen_power8.
23968
802c1f16
AZ
239692017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23970
d83da3a4
AZ
23971 * signal/sighold.c (sighold): Optimize implementation.
23972
6a4235f1
AZ
23973 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23974 __NR_rt_sigqueueinfo.
23975
8b0e795a
AZ
23976 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23977 __sigtimedwait.
23978 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23979 assume __NR_rt_sigtimedwait.
23980 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23981 and add LIBC_CANCEL_HANDLED for cancellation marking.
23982 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23983
a1a638dd
AZ
23984 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23985 (sysdeps_routines): Add memchr_noneon.
23986 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23987 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23988 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23989 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23990 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23991 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23992 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23993
802c1f16
AZ
23994 * sysdeps/arm/arm-ifunc.h: New file.
23995 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23996 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23997 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23998 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23999 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24000 (__memcpy_neon): Avoid create hidden alias.
24001 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24002 (__memcpy_vfp): Likewise.
24003 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24004 (sysdep_routines): Add memcpy_arm.
24005 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24006
abcb584d
L
240072017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24008
24009 [BZ #22362]
24010 * Makerules (make-link-multidir): New.
24011 * config.make.in (multidir): New.
24012 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24013 * configure: Regenerated.
24014 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24015 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24016 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24017 New target.
24018
4e2dff67
JM
240192017-11-06 Joseph Myers <joseph@codesourcery.com>
24020
24021 [BZ #22402]
24022 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24023 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24024
a1c7cd3c
MF
240252017-11-04 Mike FABIAN <mfabian@redhat.com>
24026
24027 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24028 to be escaped.
24029
b9af29c0
FW
240302017-11-04 Florian Weimer <fweimer@redhat.com>
24031
24032 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24033
4ca70e1a
JM
240342017-11-03 Joseph Myers <joseph@codesourcery.com>
24035
24036 * math/math.h [__HAVE_DISTINCT_FLOAT16
24037 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24038 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24039 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24040 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24041 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24042 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24043 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24044 (__MATH_TG_F32): New macro.
24045 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24046 (__MATH_TG_F64X): Likewise.
24047 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24048 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24049
ba0e6668
DL
240502017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24051
24052 * po/de.po: Update translations.
24053 * po/ru.po: Likewise.
24054
bc18a6d3
FW
240552017-11-03 Florian Weimer <fweimer@redhat.com>
24056
24057 * manual/filesys.texi (Hard Links): Document linkat.
24058
97255170
JM
240592017-11-03 Joseph Myers <joseph@codesourcery.com>
24060
86ec4865
JM
24061 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24062 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24063 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24064 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24065 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24066 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24067 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24068 the same as _Float128.
24069 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24070 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24071 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24072
97255170
JM
24073 * stdlib/stdlib.h
24074 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24075 Declare.
24076 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24077 Likewise.
24078 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24079 Likewise.
24080 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24081 (strtof32x): Likewise.
24082 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24083 (strtof64x): Likewise.
24084 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24085 (strtof128x): Likewise.
24086 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24087 (strfromf16): Likewise.
24088 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24089 (strfromf32): Likewise.
24090 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24091 (strfromf64): Likewise.
24092 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24093 (strfromf32x): Likewise.
24094 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24095 (strfromf64x): Likewise.
24096 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24097 (strfromf128x): Likewise.
24098 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24099 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24100 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24101 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24102 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24103 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24104
6d58ce5e
RH
241052017-11-03 Richard Henderson <rth@twiddle.net>
24106
24107 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24108
659ca267
SN
241092017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24110
24111 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24112
94d2f0af
SN
241132017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24114
24115 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24116 DT_TLSDESC_GOT initialization.
24117 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24118 (_dl_tlsdesc_resolve_hold): Likewise.
24119 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24120 (_dl_tlsdesc_resolve_hold): Likewise.
24121 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24122 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24123
28e1ddf3
SN
241242017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24125
24126 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24127
0ca3d1d6
SN
241282017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24129
24130 [BZ #18572]
24131 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24132 non-lazily for R_ARM_TLS_DESC.
24133
2c1d4e5f
SN
241342017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24135
24136 [BZ #17078]
24137 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24138 R_ARM_TLS_DESC case.
24139 (elf_machine_lazy_rel): Remove the prelink check.
24140
91c5a366
SN
241412017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24142
24143 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24144 DT_TLSDESC_GOT initialization.
24145 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24146 (_dl_tlsdesc_resolve_rela): Likewise.
24147 (_dl_tlsdesc_resolve_hold): Likewise.
24148 (_dl_tlsdesc_undefweak): Remove ldar.
24149 (_dl_tlsdesc_dynamic): Likewise.
24150 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24151 (_dl_tlsdesc_resolve_rela): Likewise.
24152 (_dl_tlsdesc_resolve_hold): Likewise.
24153 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24154 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24155 (_dl_tlsdesc_resolve_rela): Likewise.
24156 (_dl_tlsdesc_resolve_hold): Likewise.
24157
b7cf203b
SN
241582017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24159
24160 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24161 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24162
0cc5b022
SN
241632017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24164
24165 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24166 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24167
43ddff2e
JM
241682017-11-02 Joseph Myers <joseph@codesourcery.com>
24169
24170 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24171 Declare.
24172 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24173 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24174 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24175 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24176 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24177 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24178 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24179 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24180 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24181 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24182 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24183
5baac970
MF
241842017-11-02 Mike FABIAN <mfabian@redhat.com>
24185
24186 [BZ #22382]
24187 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24188 * localedata/locales/tpi_PG: Add standard header.
24189
ef11081f
FW
241902017-11-02 Florian Weimer <fweimer@redhat.com>
24191
24192 test-errno-linux: quotactl can fail with EPERM in containers.
24193 * sysdeps/unix/sysv/linux/test-errno-linux.c
24194 (LIST, LIST_FORWARD): New macros.
24195 (check_error_in_list): New function.
24196 (test_wrp_rv): Accept list of permitted error codes.
24197 (test_wrp_rv2): Remove.
24198 (test_wrp): Call test_wrp_rv with list of error codes.
24199 (test_wrp2): Accept list of error codes.
24200 (do_test): Adjust. Allow EPERM for quotactl.
24201
d10b132b
FW
242022017-11-02 Florian Weimer <fweimer@redhat.com>
24203
24204 * stdio-common/bug16.c (do_test): Use array_length.
24205 * stdio-common/errlist.c (_sys_nerr): Likewise.
24206 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24207 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24208 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24209 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24210 (do_test): Use array_length.
24211 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24212 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24213 * stdio-common/tst-printf-round.c (do_test): Likewise.
24214 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24215 (CHECK): Use array_length.
24216 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24217 * stdio-common/tstscanf.c (main): Likewise.
24218 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24219
c94a5688
FW
242202017-11-02 Florian Weimer <fweimer@redhat.com>
24221
24222 Add array_length and array_end macros.
24223 * include/array_length.h: New file.
24224
2fac6a6c
FW
242252017-11-02 Florian Weimer <fweimer@redhat.com>
24226
24227 [BZ #22332]
24228 * posix/tst-glob-tilde.c (do_noescape): New variable.
24229 (one_test): Process it.
24230 (do_test): Set do_noescape. Add unescaping test case.
24231
2f1b212e
JM
242322017-11-01 Joseph Myers <joseph@codesourcery.com>
24233
260fbd0a
JM
24234 * math/complex.h
24235 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24236 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24237 with appropriate macros defined and undefined.
24238 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24239 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24240 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24241 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24242 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24243 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24244 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24245 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24246 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24247 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24248
2f1b212e
JM
24249 * math/complex.h
24250 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24251 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24252 that for long double. Do not condition define and undefine of
24253 _Mdouble_complex_ on [__CFLOAT128].
24254
95b93c6e
L
242552017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24256
24257 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24258 of <sysdeps/generic/sysdep.h>.
24259 (ALIGNARG): Removed.
24260 (ASM_SIZE_DIRECTIVE): Likewise.
24261 (ENTRY): Likewise.
24262 (END): Likewise.
24263 (ENTRY_CHK): Likewise.
24264 (END_CHK): Likewise.
24265 (syscall_error): Likewise.
24266 (mcount): Likewise.
24267 (PSEUDO_END): Likewise.
24268 (L): Likewise.
24269 (atom_text_section): Likewise.
24270 * sysdeps/x86/sysdep.h: New file.
24271 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24272 of <sysdeps/generic/sysdep.h>.
24273 (ALIGNARG): Removed.
24274 (ASM_SIZE_DIRECTIVE): Likewise.
24275 (ENTRY): Likewise.
24276 (END): Likewise.
24277 (ENTRY_CHK): Likewise.
24278 (END_CHK): Likewise.
24279 (syscall_error): Likewise.
24280 (mcount): Likewise.
24281 (PSEUDO_END): Likewise.
24282 (L): Likewise.
24283 (atom_text_section): Likewise.
24284
1bb36539
RL
242852017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24286
24287 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24288 category of LC_CTYPE set to "i18n:2012".
24289 * localedata/locales/i18n_ctype: Regenerate.
24290
067f5d97 242912017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 24292
87bbc4cf
YN
24293 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24294 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24295 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24296 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24297
e8681faa
YN
24298 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24299 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24301 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24302
540af6e2
JM
243032017-10-31 Joseph Myers <joseph@codesourcery.com>
24304
43e66283
JM
24305 * math/complex.h
24306 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24307 New macro.
24308 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24309 Likewise.
24310 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24311 Likewise.
24312 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24313 (CMPLXF32X): Likewise.
24314 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24315 (CMPLXF64X): Likewise.
24316 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24317 (CMPLXF128X): Likewise.
24318
540af6e2
JM
24319 * math/math.h
24320 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24321 (__MATH_EVAL_FMT2): Define to add 0.0f.
24322
58af72b4
AM
243232017-10-31 Alan Modra <amodra@gmail.com>
24324
24325 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24326 include sysdep.h.
24327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24341 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24342 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24343 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24344 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24345 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24346 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24347 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24348 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24349 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24350 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24351 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24352 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24353 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24354 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24355 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24356 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24357 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24358 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24359 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24360 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24361 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24362 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24363 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24364 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24365 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24366 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24367 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24368 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24369 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24370 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24371 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24372 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24373 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24374 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24375 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24376 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24377 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24378 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24379 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24380 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24381 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24382 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24383 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24384 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24385 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24386 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24387 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24388 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24389 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24390 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24391 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24392 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24393 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24394 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24395 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24396
24397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24398 include sysdep.h and math_ldbl_opt.h.
24399
24400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24401 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24426
112f30b3
AM
244272017-10-31 Alan Modra <amodra@gmail.com>
24428
24429 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24430 string/strncase_l.c, not string/strncase.c.
24431 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24432 (libc_hidden_def): Redefine.
24433
e9e7eced
AM
244342017-10-31 Alan Modra <amodra@gmail.com>
24435
24436 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24437 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24438 (__strcasecmp): Don't define.
24439
f7b465cf
AM
244402017-10-31 Alan Modra <amodra@gmail.com>
24441
24442 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24443 IS_IN (libc).
24444 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24445 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24446 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24447
d46b09f9
AM
244482017-10-31 Alan Modra <amodra@gmail.com>
24449
24450 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24451 USE_AS_STPNCPY.
24452
e9b8e194
AM
244532017-10-31 Alan Modra <amodra@gmail.com>
24454
24455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24456 Redefine only when SHARED.
24457
eda162dd
JM
244582017-10-30 Joseph Myers <joseph@codesourcery.com>
24459
b61afe8c
JM
24460 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24461 Include <bits/math-finite.h> with appropriate macros defined and
24462 undefined.
24463 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24464 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24465 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24466 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24467 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24468
eda162dd
JM
24469 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24470 [!_Mlong_double_] (_Mlong_double_): Likewise.
24471 [!_Mfloat16_] (_Mfloat16_): Likewise.
24472 [!_Mfloat32_] (_Mfloat32_): Likewise.
24473 [!_Mfloat64_] (_Mfloat64_): Likewise.
24474 [!_Mfloat128_] (_Mfloat128_): Likewise.
24475 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24476 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24477 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24478 (_Mdouble_): Define without indirection through those macros.
24479 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24480 [!_Mfloat128_] (_Mfloat128_): Likewise.
24481 [_Mlong_double_] (_Mlong_double_): Likewise.
24482 (_Mdouble_): Define without indirection through those macros.
24483 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24484 not add -D_Mlong_double_=double.
24485 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24486 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24487
4ad5106e
L
244882017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24489
24490 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24491
fe326df7
L
244922017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24493
24494 * sysdeps/x86/libc-start.c: Reformat.
24495
c5cc4514
L
244962017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24497
24498 [BZ #22353]
24499 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24500 (1): Renamed to ...
24501 (L(Src0)): This.
24502 (L(Src1)): New.
24503 (L(Src2)): Likewise.
24504 (L(1)): Renamed to ...
24505 (L(Src3)): This.
24506
ce12269f
JM
245072017-10-30 Joseph Myers <joseph@codesourcery.com>
24508
24509 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24510 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24511 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24512 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24513 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24514 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24515 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24516 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24517 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24518 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24519 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24520 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24521 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24522 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24523 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24524 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24525 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24526 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24527 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24528 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24529 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24530 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24531 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24532 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24533 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24534 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24535 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24536 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24537 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24538 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24539 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24540 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24541 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24542 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24543 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24544 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24545 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24546 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24547 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24548 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24549 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24550 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24551 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24552 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24553 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24554 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24555 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24556 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24557 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24558 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24559 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24560 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24561 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24562 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24563 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24564 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24565 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24566 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24567 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24568 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24569 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24570 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24571 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24572 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24573 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24574 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24575
4484b9e2
FW
245762017-10-30 Florian Weimer <fweimer@redhat.com>
24577
24578 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24579 always defined.
24580 * io/tst-mkdirat.c (do_test): Likewise.
24581 * io/tst-mkfifoat.c (do_test): Likewise.
24582 * io/tst-mknodat.c (do_test): Likewise.
24583 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24584 * locale/programs/locale.c (select_dirs): Likewise.
24585 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24586 * posix/bug-glob2.c (my_readdir): Likewise.
24587 * posix/tst-dir.c (main): Likewise.
24588 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24589 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24590
68fe16dd
FW
245912017-10-30 Florian Weimer <fweimer@redhat.com>
24592
24593 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24594 just __USE_GNU.
24595
dadf23f0
FW
245962017-10-30 Florian Weimer <fweimer@redhat.com>
24597
24598 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24599 Convert to support/test-driver.c.
24600 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24601 New macro parameters.
24602 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24603 * posix/tst-gnuglob.c: New file.
24604 * posix/tst-gnuglob64.c: Likewise.
24605 * posix/Makefile (tests): Add tst-gnuglob64.
24606
363e4519 246072017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
24608
24609 [BZ #19485]
24610 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24611 and use a better translation for March in “mon”.
24612 * localedata/locales/csb_PL: Use more ASCII to improve the
24613 readability of the source.
24614
b110af82
MF
246152017-10-30 Mike FABIAN <mfabian@redhat.com>
24616
24617 [BZ #13953]
24618 * localedata/locales/km_KH: Use ASCII as much
24619 as possible for better readability of the source and
24620 remove useless comments.
24621 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24622 was commented out and apparently wrong anyway because it was
24623 using Lao characters. If Buddhist era should be used
24624 for km_KH, a native speaker should write the correct formaat
24625 for Khmer.
24626 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24627 (According to CLDR, the first weekday for Cambodia is Sunday).
24628 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24629 (These were using Lao characters which must be wrong. If we get
24630 the correct data from a native speaker, we could add it back, until
24631 then it is better not to have name_mr and name_mrs at all than
24632 having it wrong).
24633
f301e533
RL
246342017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24635
24636 * locale/loadlocale.c: Correct size of
24637 _nl_value_type_LC_<category> arrays.
24638
7e9d7073
JM
246392017-10-27 Joseph Myers <joseph@codesourcery.com>
24640
24641 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24642 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24643 with appropriate macros defined and undefined.
24644 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24645 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24646 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24647 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24648 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24649
63d3b468
L
246502017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24651
24652 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24653 "-O2 -march=i586".
24654
a4cc02c7
MF
246552017-10-27 Mike FABIAN <mfabian@redhat.com>
24656
24657 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24658 with lowercase letters to make it agree with CLDR.
24659
1e5971ec
MF
246602017-10-27 Mike FABIAN <mfabian@redhat.com>
24661
24662 [BZ #15260]
24663 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24664 first letters of yesstr and nostr in yesexpr and noexpr,
24665 not for the full words.
24666 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24667 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24668 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24669 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24670 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24671 first letters of yesstr and nostr in yesexpr and noexpr,
24672 until now only English was matched in yesexpr and noexpr.
24673 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24674 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24675 fil but not for tl. As tl and fil are very similar, using fil
24676 is probably better than using English.
24677
363e4519 246782017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
24679
24680 [BZ #21706]
24681 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24682 in yesstr and nostr.
24683
5d220788
JM
246842017-10-26 Joseph Myers <joseph@codesourcery.com>
24685
ecc7da5b
JM
24686 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24687 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24688 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24689 Likewise.
24690 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24691 Likewise.
24692 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24693 Likewise.
24694 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24695 Likewise.
24696 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24697 (SNANF128X): Likewise.
24698
5d220788
JM
24699 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24700 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24701 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24702 (HUGE_VAL_F32): Likewise.
24703 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24704 (HUGE_VAL_F64): Likewise.
24705 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24706 (HUGE_VAL_F32X): Likewise.
24707 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24708 (HUGE_VAL_F64X): Likewise.
24709 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24710 (HUGE_VAL_F128X): Likewise.
24711
363e4519 247122017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
24713
24714 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24715 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24716 for the br_FR locale.
24717
363e4519 247182017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
24719
24720 [BZ #21706]
24721 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24722
337ff3c5
CD
247232017-10-25 Carlos O'Donell <carlos@redhat.com>
24724
02eec681
CD
24725 * locale/programs/record-status.h: Define globals, and function
24726 prototypes. Move function bodies...
24727 * locale/programs/record-status.c: ... to here. New file.
24728 * iconv/Makefile (iconv_prog-modules): Add record-status.
24729 * locale/Makefile (lib-modules): Likewise.
24730 * iconv/iconv_prog.c: Remove verbose.
24731 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24732 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24733 record a warning about ASCII compatibility.
24734 * locale/programs/ld-monetary.c (monetary_finish): If
24735 warn_int_curr_symbol is true then record a warning about the symbol
24736 not being in our ISO 4217 list.
24737 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24738 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24739 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24740 (OPT_NO_WARN): Define.
24741 (OPT_WARN): Define.
24742 (options): Add entry for --no-warnings, and --warnings.
24743 (set_warnings): New function to enable/disable warnings.
24744 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24745 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24746 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24747 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24748 Pass flags to generate_locale.
24749 (generate_locale): Accept new flag argument and pass it to localedef
24750 invocation.
24751 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24752 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24753
56fa555a
CD
24754 * localedata/Makefile (test-input-data): Use full file name.
24755 * localedata/da_DK.in: Rename to...
24756 * localedata/da_DK.ISO-8859-1.in: ...this.
24757 * localedata/de_DE.in: Rename to...
24758 * localedata/de_DE.ISO-8859-1.in: ...this.
24759 * localedata/en_US.in: Rename to...
24760 * localedata/en_US.ISO-8859-1.in: ...this.
24761 * localedata/fr_FR.in: Rename to...
24762 * localedata/fr_FR.UTF-8.in: ... this.
24763 * localedata/hr_HR.in: Rename to...
24764 * localedata/hr_HR.ISO-8859-2.in: ...this.
24765 * localedata/hu_HU.in: Rename to...
24766 * localedata/hu_HU.UTF-8.in: ...this.
24767 * localedata/si_LK.in: Rename to...
24768 * localedata/si_LK.UTF-8.in: ...this.
24769 * localedata/sv_SE.in: Rename to...
24770 * localedata/sv_SE.ISO-8859-1.in: ...this.
24771 * localedata/tr_TR.in: Rename to...
24772 * localedata/tr_TR.UTF-8.in: ...this.
24773 * localedata/uk_UA.in: Rename to...
24774 * localedata/uk_UA.UTF-8.in: ...this.
24775 * localedata/sort-test.sh: Test file is locale name with the
24776 suffix.
24777
337ff3c5
CD
24778 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24779 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24780 file.
24781 * localedata/locales/i18n_ctype: Regenerate.
24782 * localedata/locales/tr_TR: Likewise.
24783 * localedata/locales/translit_circle: Likewise.
24784 * localedata/locales/translit_cjk_compat: Likewise.
24785 * localedata/locales/translit_combining: Likewise.
24786 * localedata/locales/translit_compat: Likewise.
24787 * localedata/locales/translit_font: Likewise.
24788 * localedata/locales/translit_fraction: Likewise.
24789
63da5cd4
RS
247902017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24791
24792 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24793 lxvd2x/stxvd2x with lvx/stvx.
24794 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24795
a122dbfb
L
247962017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24797
24798 * include/alloc_buffer.h: Replace "if if " with "if " in
24799 comments.
24800 * sysdeps/mips/memcpy.S: Likkewise.
24801 * sysdeps/mips/memset.S: Likewise.
24802 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24803 Likewise.
24804 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24805 Likewise.
24806 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24807 Likewise.
24808
9be7530c
MF
248092017-10-25 Mike FABIAN <mfabian@redhat.com>
24810
24811 [BZ #15261]
24812 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24813 yesexpr and noexpr.
24814 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24815 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24816 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24817 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24818 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24819 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24820 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24821
6ccbf6ff
MF
248222017-10-25 Mike FABIAN <mfabian@redhat.com>
24823
24824 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24825 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24826 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24827 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24828 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24829 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24830 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24831 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24832 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24833 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24834 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24835 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24836
58b1a7ea
MF
248372017-10-25 Mike FABIAN <mfabian@redhat.com>
24838
24839 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24840 as possible for better readability of the source.
24841 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24842 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24843 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24844 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24845 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24846 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24847 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24848 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24849 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24850 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24851 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24852 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24853 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24854 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24855 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24856 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24857 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24858 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24859 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24860 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24861 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24862 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24863 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24864 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24865 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24866 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24867 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24868 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24869 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24870 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24871 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24872 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24873 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24874 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24875 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24876 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24877 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24878 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24879 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24880 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24881 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24882 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24883 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24884 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24885 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24886 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24887 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24888 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24889 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24890 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24891 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24892 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24893 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24894 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24895 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24896 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24897 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24898 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24899 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24900 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24901 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24902 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24903 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24904 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24905 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24906 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24907 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24908 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24909 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24910 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24911 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24912 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24913 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24914 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24915 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24916 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24917 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24918 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24919 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24920 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24921 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24922 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24923 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24924 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24925 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24926 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24927 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24928 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24929 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24930 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24931 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24932 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24933 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24934 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24935 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24936 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24937 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24938 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24939 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24940 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24941 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24942 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24943 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24944 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24945 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24946 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24947 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24948 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24949 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24950 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24951 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24952 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24953 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24954 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24955 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24956 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24957 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24958 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24959 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24960 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24961 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24962 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24963 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24964 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24965 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24966 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24967 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24968 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24969 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24970 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24971 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24972 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24973 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24974 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24975 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24976 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24977 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24978 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24979 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24980 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24981 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24982 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24983 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24984 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24985 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24986 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24987 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24988 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24989 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24990 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24991 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24992 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24993 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24994 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24995 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24996 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24997 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24998 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24999 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25000 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25001 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25002 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25003 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25004 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25005 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25006 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25007 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25008 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25009 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25010 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25011 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25012 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25013 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25014 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25015
17e78edb
MF
250162017-10-25 Mike FABIAN <mfabian@redhat.com>
25017
25018 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25019 (Use first letters of yesstr and nostr correctly instead of using
25020 full words).
25021
74e7284f
MF
250222017-10-25 Mike FABIAN <mfabian@redhat.com>
25023
25024 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25025 (Use first letters of yesstr and nostr correctly).
25026
b41a0ff1
MF
250272017-10-25 Mike FABIAN <mfabian@redhat.com>
25028
25029 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25030 also check for the first characters of yesstr and nostr.
25031 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25032 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25033
d971f380
MF
250342017-10-25 Mike FABIAN <mfabian@redhat.com>
25035
25036 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25037 also check for Chinese characters.
25038
effc9e1d
MF
250392017-10-25 Mike FABIAN <mfabian@redhat.com>
25040
25041 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25042 match also for the contents of yesstr and nostr. As the first letter
25043 of yesstr and nostr is equal, checking only for the first letter
25044 is not enough.
25045
10320881
MF
250462017-10-25 Mike FABIAN <mfabian@redhat.com>
25047
25048 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25049 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25050
d8682a15
MF
250512017-10-25 Mike FABIAN <mfabian@redhat.com>
25052
25053 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25054 of main contributor.
25055
1bfb86ae
MF
250562017-10-25 Mike FABIAN <mfabian@redhat.com>
25057
25058 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25059 instead of using English.
25060
da33d60b
MF
250612017-10-25 Mike FABIAN <mfabian@redhat.com>
25062
25063 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25064 by including the first letters of nostr and yesexpr in the regexp.
25065 Also make it more readable by using ASCII where possible.
25066
725bbb3e
MF
250672017-10-25 Mike FABIAN <mfabian@redhat.com>
25068
25069 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25070 the first letter of nostr in the regexp. It agrees with CLDR now.
25071 Also make it more readable by using ASCII where possible.
25072
fe043d8a
MF
250732017-10-24 Mike FABIAN <mfabian@redhat.com>
25074
25075 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25076 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25077 these strings contain a U+17D6 (which somewhat looks like a colon)
25078 instead of a real colon to separate the full words for “yes”
25079 and “no” from the single letter responses.
25080
360a8df3
MF
250812017-10-24 Mike FABIAN <mfabian@redhat.com>
25082
25083 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25084 it agree with CLDR (include the first letter of yesstr).
25085 Also make it more readable by using ASCII where possible.
25086
bab7b6b0
MF
250872017-10-24 Mike FABIAN <mfabian@redhat.com>
25088
25089 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25090 and improve yesexpr and noexpr. The yesstr and nostr apparently
25091 came from CLDR. And CLDR has a bug there: these strings contain
25092 a U+0903 (which looks like a colon) instead of a real colon
25093 to separate the full words for “yes” and “no” from the single
25094 letter responses.
25095
3e79f758
MF
250962017-10-24 Mike FABIAN <mfabian@redhat.com>
25097
25098 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25099 letters of the full yesstr and nostr in yesexpr and noexpr.
25100
4960c879
MF
251012017-10-24 Mike FABIAN <mfabian@redhat.com>
25102
25103 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25104 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25105 * localedata/locales/an_ES: Make source more readable by using ASCII
25106 where possible.
25107
b06a054f
MF
251082017-10-24 Mike FABIAN <mfabian@redhat.com>
25109
25110 [BZ #20952]
25111 * localedata/locales/yuw_PG: New file.
25112 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25113 * locale/iso-639.def: Add Yau (Uruwa).
25114
905a7725
WD
251152017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25116
25117 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25118
3f6bb8a3
WD
251192017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25120
25121 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25122 (__libc_realloc): Likewise.
25123 (_mid_memalign): Likewise.
25124 (__libc_calloc): Likewise.
25125
1d479c8c
MF
251262017-10-23 Mike FABIAN <mfabian@redhat.com>
25127
25128 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25129 by adding the generic +1 and -0 as in all other locales.
25130 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25131 day names and make it more readable by using ASCII where possible.
25132
91c3985c
JM
251332017-10-24 Joseph Myers <joseph@codesourcery.com>
25134
25135 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25136 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25137
aa95a241
AZ
251382017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25139
25140 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25141 WNOHANG in waitpid call.
25142
db9bab09
SP
251432017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25144
a2e0a7f1
SP
25145 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25146 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25147
db9bab09
SP
25148 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25149 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25150 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25151 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25152 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25153 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25154 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25155 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25156 variables.
25157
5062680c
MC
251582017-10-23 Michael Collison <michael.collison@arm.com>
25159
25160 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25161 with __builtin_sqrt.
25162 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25163 with __builtin_sqrtf.
25164 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25165 with __builtin_ceil.
25166 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25167 with __builtin_ceilf.
25168 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25169 with __builtin_floor.
25170 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25171 with __builtin_floorf.
25172 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25173 with __builtin_fma.
25174 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25175 with __builtin_fmaf.
25176 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25177 with __builtin_fmax.
25178 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25179 with __builtin_fmaxf.
25180 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25181 with __builtin_fmin.
25182 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25183 with __builtin_fminf.
25184 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25185 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25186 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25187 with builtin_rint and conversion to int.
25188 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25189 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25190 with builtin_llround.
25191 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25192 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25193 with builtin_rint and conversion to long int.
25194 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25195 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25196 with builtin_lround.
25197 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25198 with builtin_lroundf.
25199 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25200 statements with __builtin_nearbyint.
25201 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25202 statements with __builtin_nearbyintf.
25203 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25204 with __builtin_rint.
25205 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25206 with __builtin_rintf.
25207 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25208 with __builtin_round.
25209 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25210 with __builtin_roundf.
25211 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25212 with __builtin_trunc.
25213 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25214 with __builtin_truncf.
be080b6c
SN
25215 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25216 and s_l[l]round[f].c too.
5062680c 25217
174935af
AM
252182017-10-23 Alan Modra <amodra@gmail.com>
25219
25220 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25221 Adjust stack after restoring regs. Add missing LR cfi_restore.
25222
750a0e49
AM
252232017-10-23 Alan Modra <amodra@gmail.com>
25224
25225 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25226 Move LR save and frame setup/teardown and LR restore to
25227 immediately around memset call. Provide cfi.
25228
5313581c
L
252292017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25230
25231 * sysdeps/i386/fpu/e_powf.S: Removed.
25232 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25233 * sysdeps/i386/fpu/w_powf.c: Likewise.
25234 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25235 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25236 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25237 Add e_powf-sse2.
25238 (CFLAGS-e_powf-sse2.c): New.
25239 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25240 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25241
6089a3ee
L
252422017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25243
25244 * sysdeps/i386/fpu/e_log2f.S: Removed.
25245 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25246 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25247 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25248 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25249 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25250 Add e_log2f-sse2.
25251 (CFLAGS-e_log2f-sse2.c): New.
25252 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25253 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25254
80bb5935
L
252552017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25256
25257 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25258 Add e_powf-fma.
25259 (CFLAGS-e_powf-fma.c): New.
25260 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25261 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25262
5c7adbd8
L
252632017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25264
25265 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25266 Add e_log2f-fma.
25267 (CFLAGS-e_log2f-fma.c): New.
25268 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25269 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25270
0ccc7153
L
252712017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25272
25273 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25274 Add e_logf-fma.
25275 (CFLAGS-e_logf-fma.c): New.
25276 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25277 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25278
fe596486
L
252792017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25280
25281 * sysdeps/i386/fpu/e_logf.S: Removed.
25282 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25283 * sysdeps/i386/fpu/w_logf.c: Likewise.
25284 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25285 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25286 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25287 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25288 Add e_logf-sse2.
25289 (CFLAGS-e_logf-sse2.c): New.
25290 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25291 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25292
7eda65f6
L
252932017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25294
25295 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25296 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25297 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25298 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25299 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25300 Add e_exp2f-sse2.
25301 (CFLAGS-e_exp2f-sse2.c): New.
25302 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25303 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25304
5d15c969
L
253052017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25306
25307 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25308 Add e_exp2f-fma.
25309 (CFLAGS-e_exp2f-fma.c): New.
25310 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25311 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25312
b2f6137e
L
253132017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25314
25315 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25316 * sysdeps/i386/fpu/e_expf.S: Likewise.
25317 * sysdeps/i386/fpu/math_errf.c: Likewise.
25318 * sysdeps/i386/fpu/w_expf.c: Likewise.
25319 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25320 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25321 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25322 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25323 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25324 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25325 Remove e_expf-ia32.
25326 (CFLAGS-e_expf-sse2.c): New.
25327 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25328 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25329
e1f59beb
L
253302017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25331
25332 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25333 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25334 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25335 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25336 e_expf.c.
25337 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25338 New.
25339 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25340 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25341 Renamed to ...
25342 (__redirect_expf): This.
25343 (SYMBOL_NAME): Changed to expf.
25344 (__ieee754_expf): Renamed to ...
25345 (__expf): This.
25346 (__GI___expf): This.
25347 (__ieee754_expf): Add strong_alias.
25348 (__expf_finite): Likewise.
25349 (__expf): New.
25350 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25351
363e4519 253522017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
25353
25354 [BZ #22332]
25355 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25356 unescaping.
25357
e80fc1fc
FW
253582017-10-21 Florian Weimer <fweimer@redhat.com>
25359
25360 * posix/Makefile (tests): Add tst-glob-tilde.
25361 (tests-special): Add tst-glob-tilde-mem.out
25362 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25363 (tst-glob-tilde-mem.out): Add mtrace check.
25364 * posix/tst-glob-tilde.c: New file.
25365
797ba44b
JM
253662017-10-20 Joseph Myers <joseph@codesourcery.com>
25367
25368 * bits/floatn-common.h: New file.
25369 * math/Makefile (headers): Add bits/floatn-common.h.
25370 * bits/floatn.h: Include <bits/floatn-common.h>.
25371 * sysdeps/ia64/bits/floatn.h: Likewise.
25372 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25373 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25374 * sysdeps/powerpc/bits/floatn.h: Likewise.
25375 * sysdeps/x86/bits/floatn.h: Likewise.
25376
fe05e1cb
AZ
253772017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25378
8f6f5362
AZ
25379 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25380 indicates whether compiler emits an warning for alias for
25381 functions with incompatible types.
25382
fe05e1cb
AZ
25383 [BZ #22273]
25384 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25385 the auxiliary process is terminated by a signal before calling _exit
25386 or execve.
25387
b52b0d79
L
253882017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25389
25390 [BZ #21265]
25391 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25392 New.
25393 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25394 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25395 and bit_arch_XSAVEC_Usable if needed.
25396 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25397 and bit_arch_Use_dl_runtime_resolve_opt.
25398 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25399 Removed.
25400 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25401 (bit_arch_Prefer_No_AVX512): Updated.
25402 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25403 (bit_arch_XSAVEC_Usable): New.
25404 (STATE_SAVE_OFFSET): Likewise.
25405 (STATE_SAVE_MASK): Likewise.
25406 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25407 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25408 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25409 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25410 (index_arch_XSAVEC_Usable): New.
25411 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25412 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25413 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25414 is enabled.
25415 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25416 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25417 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25418 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25419 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25420 _dl_runtime_resolve_xsavec.
25421 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25422 Removed.
25423 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25424 instead of VEC_SIZE.
25425 (REGISTER_SAVE_BND0): Removed.
25426 (REGISTER_SAVE_BND1): Likewise.
25427 (REGISTER_SAVE_BND3): Likewise.
25428 (REGISTER_SAVE_RAX): Always defined to 0.
25429 (VMOV): Removed.
25430 (_dl_runtime_resolve_avx): Likewise.
25431 (_dl_runtime_resolve_avx_slow): Likewise.
25432 (_dl_runtime_resolve_avx_opt): Likewise.
25433 (_dl_runtime_resolve_avx512): Likewise.
25434 (_dl_runtime_resolve_avx512_opt): Likewise.
25435 (_dl_runtime_resolve_sse): Likewise.
25436 (_dl_runtime_resolve_sse_vex): Likewise.
25437 (USE_FXSAVE): New.
25438 (_dl_runtime_resolve_fxsave): Likewise.
25439 (USE_XSAVE): Likewise.
25440 (_dl_runtime_resolve_xsave): Likewise.
25441 (USE_XSAVEC): Likewise.
25442 (_dl_runtime_resolve_xsavec): Likewise.
25443 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25444 Removed.
25445 (_dl_runtime_resolve_avx512_opt): Likewise.
25446 (_dl_runtime_resolve_avx): Likewise.
25447 (_dl_runtime_resolve_avx_opt): Likewise.
25448 (_dl_runtime_resolve_sse): Likewise.
25449 (_dl_runtime_resolve_sse_vex): Likewise.
25450 (_dl_runtime_resolve_fxsave): New.
25451 (_dl_runtime_resolve_xsave): Likewise.
25452 (_dl_runtime_resolve_xsavec): Likewise.
25453
363e4519 254542017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
25455
25456 [BZ #22320]
25457 CVE-2017-15670
25458 * posix/glob.c (__glob): Fix one-byte overflow.
25459
6d43de4b
WD
254602017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25461
25462 * malloc/malloc.c (sysdep-cancel.h): Add include.
25463
a15d53e2
WD
254642017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25465
25466 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25467
b9a558e7
WH
254682017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25469
25470 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25471 (tests): Remove $(objpfx)ga_test depdendency.
25472 * resolv/ga_test.c: Remove file.
25473
b6b08b8e
MF
254742017-10-20 Mike FABIAN <mfabian@redhat.com>
25475
25476 [BZ #18812]
25477 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25478 * localedata/locales/kab_DZ: New file.
25479
9ba7e810
L
254802017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25481
25482 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25483 _dl_relocate_static_pie instead of _dl_start to compute load
25484 address in static PIE.
25485
4027a4fd
L
254862017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25487
25488 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25489
2f9314b4
MF
254902017-10-20 Mike FABIAN <mfabian@redhat.com>
25491
25492 [BZ #13605]
25493 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25494 * localedata/locales/shn_MM: New file.
25495
63b4baa4
FW
254962017-10-20 Florian Weimer <fweimer@redhat.com>
25497
25498 [BZ #22321]
25499 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25500 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25501 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25502 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25503 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25504 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25505
95ccb619
L
255062017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25507
25508 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25509
37bb78cb
JM
255102017-10-19 Joseph Myers <joseph@codesourcery.com>
25511
76f2ed92
JM
25512 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25513
37bb78cb
JM
25514 [BZ #22322]
25515 * sysdeps/mips/bits/long-double.h: Move to ....
25516 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25517
d74e6f6c
WD
255182017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25519
25520 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25521
363e4519 255222017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
25523 H.J. Lu <hongjiu.lu@intel.com>
25524
25525 [BZ #22299]
25526 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25527 GLRO(dl_platform) to NULL.
25528 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25529 (modules-names): Add tst-platformmod-1 and
25530 x86_64/tst-platformmod-2.
25531 (CFLAGS-tst-platform-1.c): New.
25532 (CFLAGS-tst-platformmod-1.c): Likewise.
25533 (CFLAGS-tst-platformmod-2.c): Likewise.
25534 (LDFLAGS-tst-platformmod-2.so): Likewise.
25535 ($(objpfx)tst-platform-1): Likewise.
25536 ($(objpfx)tst-platform-1.out): Likewise.
25537 (tst-platform-1-ENV): Likewise.
25538 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25539 * sysdeps/x86_64/tst-platform-1.c: New file.
25540 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25541 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25542
4b0fa403
MF
255432017-10-19 Mike FABIAN <mfabian@redhat.com>
25544
25545 [BZ #13994]
25546 * locale/iso-639.def: Add Karbi.
25547 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25548 * localedata/locales/mjw_IN: New file.
25549
81325b12
JM
255502017-10-18 Joseph Myers <joseph@codesourcery.com>
25551
25552 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25553 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25554 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25555 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25556 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25557 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25558 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25559 <bits/floatn.h>.
25560 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25561 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25562 * manual/math.texi (Mathematics): Document additional architecture
25563 support for _Float128.
25564 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25565 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25566 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25567 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25568 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25569 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25570 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25571 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25572 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25573 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25574 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25575 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25576 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25577 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25578 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25579
a68ba2f3
SN
255802017-10-18 Renlin Li <renlin.li@arm.com>
25581
25582 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25583 _DYNAMIC symbol to calculate load address.
25584
346729f6
PC
255852017-10-18 Paul A. Clarke <pc@us.ibm.com>
25586
25587 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25588 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25589 summary bits.
25590 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25591 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25592
508b1e71
MF
255932017-10-18 Mike FABIAN <mfabian@redhat.com>
25594
25595 [BZ #16777]
25596 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25597 and improve readability by using more ASCII.
25598 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25599 and improve readability by using more ASCII.
25600
2c2245b9
WD
256012017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25602
25603 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25604 not all targets support atomics on bool.
25605
13c92696
JM
256062017-10-17 Joseph Myers <joseph@codesourcery.com>
25607
25608 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25609 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25610 __f128.
25611 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25612 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25613 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25614 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25615 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25616 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25617
71d85045
AZ
256182017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25619
25620 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25621 defines.
25622
3381be5c
WD
256232017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25624
25625 [BZ #22159]
25626 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25627 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25628 (do_check_remalloced_chunk): Fix build bug.
25629 (do_check_malloc_state): Add assert that checks arena->top.
25630 (malloc_consolidate): Remove initialization.
25631 (int_mallinfo): Remove call to malloc_consolidate.
25632 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25633
e956075a
WD
256342017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25635
25636 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25637 (have_fastchunks): Remove.
25638 (clear_fastchunks): Remove.
25639 (set_fastchunks): Remove.
25640 (malloc_state): Add have_fastchunks.
25641 (malloc_init_state): Use have_fastchunks.
25642 (do_check_malloc_state): Remove incorrect invariant checks.
25643 (_int_malloc): Use have_fastchunks.
25644 (_int_free): Likewise.
25645 (malloc_consolidate): Likewise.
25646
e4dd4ace
WD
256472017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25648
25649 * malloc/malloc.c (tcache_put): Inline.
25650 (tcache_get): Inline.
25651
5bf58bc7
AJ
256522017-10-17 Jordi Mallach <jordi@gnu.org>
25653
25654 Aurelien Jarno <aurelien@aurel32.net>
25655 [BZ #2522]
25656 * localedata/locales/ca_ES@valencia: New file.
25657 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25658
386e1c26
RN
256592017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25660
25661 [BZ #22296]
25662 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25663 < 6.x
25664
4e17c78e
AZ
256652017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25666
3d265601
AZ
25667 * scripts/build-many-glibcs.py (Context.add_all_configs):
25668 Add arm-linux-gnueabihf multiarch extra_glibcs.
25669
4e17c78e
AZ
25670 * sysdeps/generic/ifunc-init.h: New file.
25671 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25672
56a752ab
MF
256732017-10-17 Mike FABIAN <mfabian@redhat.com>
25674
25675 [BZ #22019]
25676 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25677 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25678 * stdlib/tst-strfmon_l.c: adapt test case.
25679
c38a4bfd
JM
256802017-10-16 Joseph Myers <joseph@codesourcery.com>
25681
25682 * sysdeps/generic/float128-abi.h: New file.
25683 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25684 non-__prefixed symbols to ....
25685 * math/Versions: ... here. Include <float128-abi.h>.
25686 * stdlib/Versions ... and here. Include <float128-abi.h>
25687
76009b26
FW
256882017-10-16 Florian Weimer <fweimer@redhat.com>
25689
25690 * version.h (VERSION): Switch to ".9000" as the development
25691 version suffix.
25692
7ece6cd5
FW
256932017-10-16 Florian Weimer <fweimer@redhat.com>
25694
25695 [BZ #22050]
25696 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25697 compat_symbol_reference to access non-default version.
25698
d8287b36
FW
256992017-10-16 Florian Weimer <fweimer@redhat.com>
25700
25701 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25702
3480ddc4
CD
257032017-10-16 Carlos O'Donell <carlos@redhat.com>
25704
25705 * include/shlib-compat.h (compat_symbol_reference): Update
25706 comment.
25707
02010e79
JM
257082017-10-16 Joseph Myers <joseph@codesourcery.com>
25709
596f7013
JM
25710 * math/Makefile (test-types): Add
25711 $(type-float128-$(float128-alias-fcts)).
25712 * math/test-float128.h (TYPE_STR): Define conditional on
25713 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25714 (ULP_IDX): Likewise.
25715 (ULP_I_IDX): Likewise.
25716
02010e79
JM
25717 * stdlib/strtold.c: Include <bits/floatn.h>
25718 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25719 and later undefine as macro. Define as weak alias if
25720 [!USE_WIDE_CHAR].
25721 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25722 and later undefine as macro. Define as weak alias if
25723 [USE_WIDE_CHAR].
25724 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25725 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25726 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25727 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25728 Define and later undefine as macro. Define as weak alias if
25729 [USE_WIDE_CHAR].
25730 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25731 <bits/floatn.h>.
25732 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25733 Define and later undefine as macro. Define as weak alias if
25734 [!USE_WIDE_CHAR].
25735 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25736 Define and later undefine as macro. Define as weak alias if
25737 [USE_WIDE_CHAR].
25738
ea91c315
CD
257392017-10-15 Carlos O'Donell <carlos@redhat.com>
25740
25741 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25742 record_verbose messages.
25743
8e57c943
L
257442017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25745
25746 [BZ #22052]
25747 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25748 to silence -O3 -Wall warning with GCC 7.
25749
a4777c46
L
257502017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25751
25752 * Makeconfig (+link-static-before-libc): Use the first of
25753 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25754 * gmon/Makefile (tests): Add tst-gmon-static.
25755 (tests-static): Likewise.
25756 (CFLAGS-tst-gmon-static.c): New.
25757 (CRT-tst-gmon-static): Likewise.
25758 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25759 (tst-gmon-static-ENV): Likewise.
25760 (tests-special): Likewise.
25761 ($(objpfx)tst-gmon-static.out): Likewise.
25762 (clean-tst-gmon-static-data): Likewise.
25763 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25764 * gmon/tst-gmon-static-gprof.sh: New file.
25765 * gmon/tst-gmon-static.c: Likewise.
25766
bc3821bb
CD
257672017-10-13 Carlos O'Donell <carlos@redhat.com>
25768
25769 [BZ #22295]
25770 * locale/programs/linereader.c (get_string): Don't warn on
25771 non-symbolic character.
25772
a3e23a2c
CD
25773 [BZ #22294]
25774 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25775 int_curr_symbol.
25776
f16491eb
CD
25777 [BZ #22292]
25778 * locale/programs/record-status.h: New file
25779 * locale/programs/locale.c: Add comment.
25780 * locale/programs/charmap-dir.c: Don't include error.h.
25781 (charmap_opendir): Use record_error.
25782 * locale/programs/charmap.c: Don't include error.h.
25783 (charmap_read): Use record_error, and record_warning.
25784 (parse_charmap): Likewise.
25785 * locale/programs/ld-address.c: Don't include error.h.
25786 (address_finish): Use record_error, and record_warning.
25787 * locale/programs/ld-collate.c: Don't include error.h.
25788 (collate_finish): Use record_error, and record_error_at_line.
25789 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25790 (ctype_class_new): Likewise.
25791 (ctype_map_new): Likewise.
25792 (set_one_default): Likewise.
25793 (set_class_defaults): Likewise.
25794 (translit_flatten): Likewise.
25795 (allocate_arrays): Use record_error, and record_verbose.
25796 * locale/programs/ld-identification.c: Don't include error.h.
25797 (indentation_finish): Use record_error and record_warning.
25798 * locale/programs/ld-measurement.c: Don't include error.h.
25799 (measurement_finish): Use record_error.
25800 * locale/programs/ld-messages.c
25801 (message_finish): Likewise.
25802 * locale/programs/ld-monetary.c
25803 (monetary_finish): Likewise.
25804 * locale/programs/ld-name.c (name_finish): Use record_error
25805 and record_warning.
25806 * locale/programs/ld-numeric.c
25807 (numeric_finish): Use record_error.
25808 * locale/programs/ld-paper.c: Don't include error.h.
25809 (paper_finish): Use record_error.
25810 * locale/programs/ld-telephone.c: Don't include error.h.
25811 (telephone_finish): Use record_error.
25812 * locale/programs/ld-time.c (time_finish): Likewise.
25813 * locale/programs/linereader.h (lr_error): Make inline func.
25814 * locale/programs/localedef.c: Define recorded_warning_count,
25815 and recorded_error_count.
25816 (main): Use record_error. Use recorded_error_count and
25817 recorded_warning_count to issue correct error returns.
25818 (add_to_readlist): Use record_error.
25819 (find_locale): Likewise.
25820 (load_locale): Likewise.
25821 * locale/programs/localedef.h: Remove be_quiet
25822 and WITH_CUR_LOCALE.
25823 * locale/programs/locarchive.c (compare_from_file): Use
25824 record_error.
25825 * locale/programs/locfile.c (write_locale_data): Use
25826 record_error.
25827 * locale/programs/repertoire.c: Dont include error.h.
25828 (repertoire_complain): Use record_error.
25829 * localedata/tst-fmon.sh: Expect failures from localedef.
25830 * localedata/tst-locale.sh: Likewise.
25831 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25832
8dc8be75
CD
25833 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25834 (REPORTS): Likewise.
25835 (check): Likewise.
25836 (i18n): Rename to...
25837 (i18n_ctype): ...this.
25838 (i18n-report): Rename to...
25839 (i18n_ctype-report): ...this.
25840 * localedata/locales/i18n_ctype: Regenerate.
25841 * localedata/locales/i18n: copy i18n_ctype.
25842
f8718a9e
JM
258432017-10-13 Joseph Myers <joseph@codesourcery.com>
25844
18c08b96
JM
25845 * stdlib/strfroml.c: Include <bits/floatn.h>.
25846 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25847 Define before include of <stdlib.h> and undefine afterwards, then
25848 define as weak alias.
25849
f8718a9e
JM
25850 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25851 Undefine and restore default definition. Use
25852 libm_alias_ldouble_other.
25853
e4f530da
PZ
258542017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25855
25856 [BZ #22153]
25857 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25858 in coredumps.
25859
86445888
JC
258602017-10-13 James Clarke <jrtc27@jrtc27.com>
25861
25862 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25863 Assign sym_map to be map for local symbols, as TLS relocations
25864 use sym_map to determine whether the symbol is defined and to
25865 extract the TLS information.
25866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25867 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25868
179dcdb7
TMQMF
258692017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25870
e8dbd6a3
TMQMF
25871 [BZ #22189]
25872 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25873 (math_force_eval): Add powerpc version.
25874
179dcdb7
TMQMF
25875 [BZ #22142]
25876 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25877 -DBL_MAX.
25878 (do_test): Likewise.
25879 * stdio-common/tst-printf.sh: Likewise.
25880 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25881 ifdef clause in order to set the carry bit right. Replace r0 by
25882 0 without changing the behavior.
25883
7d25d410
JM
258842017-10-13 Joseph Myers <joseph@codesourcery.com>
25885
006e7664
JM
25886 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25887 <libm-alias-ldouble.h>.
25888 (fabsl): Define using libm_alias_ldouble.
25889 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25890 <libm-alias-ldouble.h>.
25891 (fabsl): Define using libm_alias_ldouble.
25892
1def91b3
JM
25893 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25894 Remove conditional code.
25895
7d25d410
JM
25896 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25897 Rename to __clog10_internal_l.
25898 (__clog10_internal_l): Define aliases using
25899 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25900 with __clog10.
25901
077ee129
RS
259022017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25903
25904 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25905 * benchtests/sincosf-inputs: New file.
25906 * benchtests/cosf-inputs: New file.
25907 * benchtests/sinf-inputs: New file.
25908
5ba41de9
SN
259092017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25910
25911 * posix/tst-spawn.c (do_test): Wait for both children.
25912
d165ca64
L
259132017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25914
25915 [BZ #22284]
25916 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25917 tests-pie): Add tst-gmon-pie.
25918 (CFLAGS-tst-gmon-pie.c): New.
25919 (CRT-tst-gmon-pie): Likewise.
25920 (tst-gmon-pie-ENV): Likewise.
25921 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25922 ($(objpfx)tst-gmon-pie.out): Likewise.
25923 (clean-tst-gmon-pie-data): Likewise.
25924 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25925 * gmon/gmon.c [PIC]: Include <link.h>.
25926 [PIC] (callback): New function.
25927 (write_hist): Add an argument for load address. Subtract load
25928 address from PCs.
25929 (write_call_graph): Likewise.
25930 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25931 it to write_hist and write_call_graph.
7bacdcfc 25932 * gmon/tst-gmon-pie.c: New file.
d165ca64 25933
bc9620d0
JM
259342017-10-11 Joseph Myers <joseph@codesourcery.com>
25935
25936 * math/Makefile (test-types-basic): New variable.
25937 (test-types): Likewise.
25938 (libm-test-support): Use $(test-types) instead of $(types).
25939 (libm-tests-base-normal): Likewise.
25940 (libm-tests-base-finite): Likewise.
25941 (libm-tests-base-inline): Likewise.
25942 (generated): Likewise.
25943 ($(objpfx)libm-test-support-$(t).c): Likewise.
25944 (libm-tests-for-type iterator): Likewise.
25945 (libm-test-support iterator): Likewise.
25946 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25947 (ulp_idx): Use ULP_IDX.
25948 * math/test-ldouble.h: Include <float.h>.
25949 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25950 (ULP_IDX): New macro.
25951 (ULP_I_IDX): Likewise.
25952 * math/test-double.h (ULP_IDX): Likewise.
25953 (ULP_I_IDX): Likewise.
25954 * math/test-float.h (ULP_IDX): Likewise.
25955 (ULP_I_IDX): Likewise.
25956 * math/test-float128.h (ULP_IDX): Likewise.
25957 (ULP_I_IDX): Likewise.
25958
09c76a74
AZ
259592017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25960
25961 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25962 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25963 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25964 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25965 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25966 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25967 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25968 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25969 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25970 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25971 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25972 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25973 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25974 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25975 (SINGLE_THREAD_BY_GLOBAL): Define.
25976 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25977 Likewise.
25978 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25979 Likewise.
25980 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25981 Likewise.
25982 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25983 Likewise.
25984 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25985 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25987 Likewise.
25988
2faa42da
AS
259892017-10-11 Andreas Schwab <schwab@suse.de>
25990
25991 * nis/Makefile (aux): Remove.
25992 * nscd/Makefile (aux): Add nscd_hash.
25993 (nscd-modules): Likewise.
25994 ($(objpfx)nscd): Don't depend on libnsl.
25995 * nscd/nscd_hash.c: New file.
25996 * nscd/nscd_hash.h: Likewise.
25997 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25998 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25999 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26000 instead of <nis/rpcsvc/nis.h>.
26001 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26002
d8425e11
FW
260032017-10-11 Florian Weimer <fweimer@redhat.com>
26004
26005 [BZ #22078]
26006 Avoid large NSS buffers with many addresses, aliases.
26007 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26008 using dynarrays and struct alloc_buffer.
26009 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26010 (tst-nss-files-hosts-multi): Link with -ldl.
26011 * nss/tst-nss-files-hosts-multi.c: New file.
26012
78e806fd
FW
260132017-10-11 Florian Weimer <fweimer@redhat.com>
26014
26015 [BZ #18023]
26016 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26017 scratch_buffer. Eliminate gotos.
26018
541f19ba
JM
260192017-10-11 Joseph Myers <joseph@codesourcery.com>
26020
0ff64d3a
JM
26021 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26022 libm_alias_ldouble_other.
26023 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26024 undefine and redefine.
26025 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26026 (exp10l): Do not define here.
26027 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26028 (weak_alias): Undefine and redefine.
26029 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26030 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26031 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26032 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26033
541f19ba
JM
26034 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26035 [!__fma] (fma): Define using libm_alias_double.
26036 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26037 [!__fmaf] (fmaf): Define using libm_alias_float.
26038 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26039 (fmal): Define using libm_alias_ldouble.
26040
24b6515d
JM
260412017-10-10 Joseph Myers <joseph@codesourcery.com>
26042
26043 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26044 New macro.
26045 (libm_alias_double_other): Likewise.
26046 (libm_alias_double_r): Use libm_alias_double_other_r.
26047 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26048 New macro.
26049 (libm_alias_float_other): Likewise.
26050 (libm_alias_float_r): Use libm_alias_float_other_r.
26051 * sysdeps/generic/libm-alias-float128.h
26052 (libm_alias_float128_other_r): New macro.
26053 (libm_alias_float128_other): Likewise.
26054 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26055 * sysdeps/generic/libm-alias-ldouble.h
26056 (libm_alias_ldouble_other_r): New macro.
26057 (libm_alias_ldouble_other): Likewise.
26058 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26059 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26060 (libm_alias_double_other_r): New macro.
26061 (libm_alias_double_other): Likewise.
26062 (libm_alias_double_r): Use libm_alias_double_other_r.
26063 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26064 (libm_alias_ldouble_other_r): New macro.
26065 (libm_alias_ldouble_other): Likewise.
26066 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26067 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26068 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26069 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26070 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26071 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26072 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26073 * math/w_exp2f.c: Use libm_alias_float_other.
26074 * math/w_expf.c: Likewise.
26075 * math/w_log2f.c: Likewise.
26076 * math/w_logf.c: Likewise.
26077 * math/w_powf.c: Likewise.
26078 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26079 [!__exp2f]: Use libm_alias_float_other.
26080 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26081 [!__expf]: Use libm_alias_float_other.
26082 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26083 [!__log2f]: Use libm_alias_float_other.
26084 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26085 [!__logf]: Use libm_alias_float_other.
26086 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26087 [!__powf]: Use libm_alias_float_other.
26088
8ed70de2
FW
260892017-10-10 Florian Weimer <fweimer@redhat.com>
26090
26091 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26092 function.
26093 (_nss_files_gethostbyname3_r): Call it.
26094
a8dce619
JM
260952017-10-09 Joseph Myers <joseph@codesourcery.com>
26096
26097 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26098 error. Remove default definition of declare_mgen_alias.
26099 [!declare_mgen_alias_r]: Likewise.
26100 * sysdeps/generic/math-type-macros-double.h
26101 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26102 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26103 (declare_mgen_alias_r): Likewise.
26104 * sysdeps/generic/math-type-macros-float128.h
26105 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26106 * sysdeps/generic/math-type-macros-ldouble.h
26107 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26108 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26109 macro.
26110 (declare_mgen_alias_r_s): Likewise.
26111 (declare_mgen_alias_r): Likewise.
26112 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26113 (lgamma_r): Define using libm_alias_double_r.
26114 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26115 (lgammaf_r): Define using libm_alias_float_r.
26116 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26117 (lgammal_r): Define using libm_alias_ldouble_r.
26118 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26119 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26120
bedac136
AZ
261212017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26122
26123 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26124 extern declaration.
26125
c7509db2
JM
261262017-10-09 Joseph Myers <joseph@codesourcery.com>
26127
26128 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26129
d6c064e9
JW
261302017-10-09 Jonathan Wakely <jwakely@redhat.com>
26131
26132 [BZ #21326]
26133 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26134 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26135 * math/Makefile (test-math-cxx11): New test.
26136 * math/test-math-cxx11.cc: New file.
26137
98e07420
CB
261382017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26139
26140 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26141
645ac9aa
CB
26142 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26143 call to allocate the slave pty file descriptor.
26144
fd3b4e7c
JM
261452017-10-06 Joseph Myers <joseph@codesourcery.com>
26146
f85a176f
JM
26147 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26148 [!__fma] (fma): Define using libm_alias_double.
26149 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26150 [!__fma] (fma): Define using libm_alias_double.
26151
fd3b4e7c
JM
26152 * sysdeps/ieee754/float128/float128_private.h: Include
26153 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26154 (libm_alias_ldouble_r): Undefine and redefine.
26155 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26156 <libm-alias-ldouble.h>.
26157 (asinhl): Define using libm_alias_ldouble.
26158 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26159 <libm-alias-ldouble.h>.
26160 (atanl): Define using libm_alias_ldouble.
26161 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26162 <libm-alias-ldouble.h>.
26163 (cbrtl): Define using libm_alias_ldouble.
26164 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26165 <libm-alias-ldouble.h>.
26166 (ceill): Define using libm_alias_ldouble.
26167 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26168 <libm-alias-ldouble.h>.
26169 (copysignl): Define using libm_alias_ldouble.
26170 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26171 <libm-alias-ldouble.h>.
26172 (cosl): Define using libm_alias_ldouble.
26173 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26174 <libm-alias-ldouble.h>.
26175 (erfl): Define using libm_alias_ldouble.
26176 (erfcl): Likewise.
26177 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26178 <libm-alias-ldouble.h>.
26179 (expm1l): Define using libm_alias_ldouble.
26180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26181 <libm-alias-ldouble.h>.
26182 (fabsl): Define using libm_alias_ldouble.
26183 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26184 <libm-alias-ldouble.h>.
26185 (floorl): Define using libm_alias_ldouble.
26186 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26187 <libm-alias-ldouble.h>.
26188 (fmal): Define using libm_alias_ldouble.
26189 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26190 <libm-alias-ldouble.h>.
26191 (frexpl): Define using libm_alias_ldouble.
26192 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26193 libm_alias_ldouble.
26194 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26195 <libm-alias-ldouble.h>.
26196 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26197 libm_alias_ldouble.
26198 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26199 <libm-alias-ldouble.h>.
26200 (getpayloadl): Define using libm_alias_ldouble.
26201 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26202 <libm-alias-ldouble.h>.
26203 (llrintl): Define using libm_alias_ldouble.
26204 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26205 <libm-alias-ldouble.h>.
26206 (llroundl): Define using libm_alias_ldouble.
26207 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26208 <libm-alias-ldouble.h>.
26209 (logbl): Define using libm_alias_ldouble.
26210 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26211 <libm-alias-ldouble.h>.
26212 (lrintl): Define using libm_alias_ldouble.
26213 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26214 <libm-alias-ldouble.h>.
26215 (lroundl): Define using libm_alias_ldouble.
26216 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26217 <libm-alias-ldouble.h>.
26218 (modfl): Define using libm_alias_ldouble.
26219 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26220 <libm-alias-ldouble.h>.
26221 (nearbyintl): Define using libm_alias_ldouble.
26222 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26223 <libm-alias-ldouble.h>.
26224 (nextafterl): Define using libm_alias_ldouble.
26225 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26226 <libm-alias-ldouble.h>.
26227 (nextupl): Define using libm_alias_ldouble.
26228 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26229 <libm-alias-ldouble.h>.
26230 (remquol): Define using libm_alias_ldouble.
26231 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26232 <libm-alias-ldouble.h>.
26233 (rintl): Define using libm_alias_ldouble.
26234 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26235 <libm-alias-ldouble.h>.
26236 (roundevenl): Define using libm_alias_ldouble.
26237 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26238 <libm-alias-ldouble.h>.
26239 (roundl): Define using libm_alias_ldouble.
26240 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26241 using libm_alias_ldouble.
26242 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26243 <libm-alias-ldouble.h>.
26244 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26245 Define using libm_alias_ldouble.
26246 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26247 <libm-alias-ldouble.h>.
26248 (sincosl): Define using libm_alias_ldouble.
26249 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26250 <libm-alias-ldouble.h>.
26251 (sinl): Define using libm_alias_ldouble.
26252 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26253 <libm-alias-ldouble.h>.
26254 (tanhl): Define using libm_alias_ldouble.
26255 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26256 <libm-alias-ldouble.h>.
26257 (tanl): Define using libm_alias_ldouble.
26258 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26259 <libm-alias-ldouble.h>.
26260 (totalorderl): Define using libm_alias_ldouble.
26261 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26262 <libm-alias-ldouble.h>.
26263 (totalordermagl): Define using libm_alias_ldouble.
26264 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26265 <libm-alias-ldouble.h>.
26266 (truncl): Define using libm_alias_ldouble.
26267 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26268 libm_alias_ldouble.
26269 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26270 libm_alias_ldouble.
26271 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26272 <libm-alias-ldouble.h>.
26273 (weak_alias): Do not undefine and redefine.
26274 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26275 (copysignl): Define with long_double_symbol only if [IS_IN
26276 (libc)].
26277 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26278 <libm-alias-ldouble.h>.
26279 (weak_alias): Do not undefine and redefine.
26280 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26281 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26282 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26283 <libm-alias-ldouble.h>.
26284 (weak_alias): Do not undefine and redefine.
26285 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26286 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26287 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26288 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26290 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26291 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26294 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26295 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26297 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26299 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26304 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26305 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26307 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26308 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26311
1e26d351
CD
263122017-10-06 Carlos O'Donell <carlos@redhat.com>
26313
26314 [BZ #22111]
26315 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26316 (tcache_thread_freeres): Set tcache_shutting_down before
26317 freeing the tcache.
26318 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26319 * malloc/tst-malloc-tcache-leak.c: New file.
26320
d1386762
RS
263212017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26322
26323 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26324 back to powerpc32 file.
26325 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26326 (memrchr): Add __memrchr_power8 to ifunc list.
26327 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26328 extra bytes for unaligned inputs.
26329
6dff1983
JM
263302017-10-06 Joseph Myers <joseph@codesourcery.com>
26331
26332 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26333 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26337
86f9568a
JM
263382017-10-05 Joseph Myers <joseph@codesourcery.com>
26339
0db0b931
JM
26340 * sysdeps/arm/libm-test-ulps: Update.
26341
86f9568a
JM
26342 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26343 <libm-alias-ldouble.h>.
26344 (asinhl): Define using libm_alias_ldouble.
26345 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26346 <libm-alias-ldouble.h>.
26347 (cbrtl): Define using libm_alias_ldouble.
26348 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26349 <libm-alias-ldouble.h>.
26350 (copysignl): Define using libm_alias_ldouble.
26351 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26352 <libm-alias-ldouble.h>.
26353 (cosl): Define using libm_alias_ldouble.
26354 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26355 <libm-alias-ldouble.h>.
26356 (erfl): Define using libm_alias_ldouble.
26357 (erfcl): Likewise.
26358 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26359 <libm-alias-ldouble.h>.
26360 (fmal): Define using libm_alias_ldouble.
26361 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26362 <libm-alias-ldouble.h>.
26363 (frexpl): Define using libm_alias_ldouble.
26364 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26365 libm_alias_ldouble.
26366 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26367 <libm-alias-ldouble.h>.
26368 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26369 libm_alias_ldouble.
26370 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26371 <libm-alias-ldouble.h>.
26372 (getpayloadl): Define using libm_alias_ldouble.
26373 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26374 <libm-alias-ldouble.h>.
26375 (llrintl): Define using libm_alias_ldouble.
26376 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26377 <libm-alias-ldouble.h>.
26378 (llroundl): Define using libm_alias_ldouble.
26379 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26380 <libm-alias-ldouble.h>.
26381 (lrintl): Define using libm_alias_ldouble.
26382 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26383 <libm-alias-ldouble.h>.
26384 (lroundl): Define using libm_alias_ldouble.
26385 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26386 <libm-alias-ldouble.h>.
26387 (modfl): Define using libm_alias_ldouble.
26388 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26389 <libm-alias-ldouble.h>.
26390 (nextupl): Define using libm_alias_ldouble.
26391 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26392 <libm-alias-ldouble.h>.
26393 (remquol): Define using libm_alias_ldouble.
26394 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26395 <libm-alias-ldouble.h>.
26396 (roundevenl): Define using libm_alias_ldouble.
26397 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26398 <libm-alias-ldouble.h>.
26399 (roundl): Define using libm_alias_ldouble.
26400 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26401 using libm_alias_ldouble.
26402 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26403 <libm-alias-ldouble.h>.
26404 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26405 <libm-alias-ldouble.h>.
26406 (setpayloadsigl): Define using libm_alias_ldouble.
26407 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26408 <libm-alias-ldouble.h>.
26409 (sincosl): Define using libm_alias_ldouble.
26410 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26411 <libm-alias-ldouble.h>.
26412 (sinl): Define using libm_alias_ldouble.
26413 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26414 <libm-alias-ldouble.h>.
26415 (tanhl): Define using libm_alias_ldouble.
26416 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26417 <libm-alias-ldouble.h>.
26418 (tanl): Define using libm_alias_ldouble.
26419 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26420 <libm-alias-ldouble.h>.
26421 (totalorderl): Define using libm_alias_ldouble.
26422 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26423 <libm-alias-ldouble.h>.
26424 (totalordermagl): Define using libm_alias_ldouble.
26425 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26426 libm_alias_ldouble.
26427 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26428 libm_alias_ldouble.
26429
9ec87fd2
SP
264302017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26431
dd5bc7f1
SP
26432 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26433 memmove_falkor.
26434 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26435 (__libc_ifunc_impl_list): Likewise.
26436 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26437 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26438
5bfb0404
SP
26439 * benchtests/bench-memmove-walk.c: New file.
26440 * benchtests/Makefile (string-benchset): Add it.
26441
36bb8edf
SP
26442 * benchtests/bench-memset-walk.c: New file.
26443 * benchtests/Makefile (string-benchset): Add it.
26444
9ec87fd2
SP
26445 * benchtests/bench-memcpy-walk.c: New file.
26446 * benchtests/Makefile (string-benchset): Add it.
26447
1e9522c6
FW
264482017-10-05 Florian Weimer <fweimer@redhat.com>
26449
26450 nscd: Eliminate compilation time dependency in the build output.
26451 * nscd/nscd_stat.c (STATDATA_VERSION)
26452 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26453 (STATDATA_VERSION_FULL): New macro definitions.
26454 (compilation): Remove.
26455 (struct statdata): Adjust version member.
26456 (send_stats): Set version from STATDATA_VERSION_FULL.
26457 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26458
644d3857
JM
264592017-10-05 Joseph Myers <joseph@codesourcery.com>
26460
26461 * configure.ac (--enable-add-ons): Remove option.
26462 (machine): Do not mention add-ons in comment.
26463 (LIBC_PRECONFIGURE): Likewise.
26464 (add_ons): Remove variable and sanity checks and logic to locate
26465 add-ons.
26466 (add_ons_automatic): Remove variable.
26467 (configured_add_ons): Likewise.
26468 (add_ons_sfx): Likewise.
26469 (add_ons_pfx): Likewise.
26470 (add_on_subdirs): Likewise.
26471 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26472 consideration of add-ons in Implies handling.
26473 (sysdeps_add_ons): Likewise.
26474 * configure: Regenerated.
26475 * libidn/configure.ac: Remove.
26476 * libidn/configure: Likewise.
26477 * sysdeps/unix/inet/configure.ac: New file.
26478 * sysdeps/unix/inet/configure: New generated file.
26479 * sysdeps/unix/inet/Subdirs: Add libidn.
26480 * Makeconfig (sysdeps-srcdirs): Remove variable.
26481 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26482 ($(common-objpfx)config.status): Do not depend on add-on files.
26483 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26484 comment.
26485 (all-subdirs): Do not include $(add-on-subdirs).
26486 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26487 * config.make.in (add-ons): Remove variable.
26488 (add-on-subdirs): Likewise.
26489 (sysdeps-add-ons): Likewise.
26490 * manual/Makefile (add-chapters): Remove.
26491 ($(objpfx)texis): Do not depend on $(add-chapters).
26492 (nonexamples): Do not handle $(add-chapters).
26493 (examples): Do not handle $(add-ons).
26494 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26495 libc-texinfo.sh.
26496 * manual/install.texi (Installation): Do not mention add-ons.
26497 (--enable-add-ons): Do not document configure option.
26498 * INSTALL: Regenerated.
26499 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26500 * manual/maint.texi (Hierarchy Conventions): Do not mention
26501 add-ons.
26502 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26503 --enable-add-ons.
26504 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26505 add-ons.
26506 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26507 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26508
19f82f35
AS
265092017-10-05 Andreas Schwab <schwab@suse.de>
26510
26511 [BZ #15142]
26512 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26513 (_IO_flush_all_lockp): Always lock list_all_lock.
26514 (_IO_flush_all_linebuffered): Likewise.
26515 (_IO_unbuffer_all): Likewise.
26516
91e7cf98
FW
265172017-10-05 Florian Weimer <fweimer@redhat.com>
26518
26519 [BZ #15436]
26520 Do not flush stdio streams on abort.
26521 * stdlib/abort.c (fflush): Remove macro definition.
26522 (abort): Remove stages related to stdio flushing.
26523
0c251257
FW
265242017-10-05 Florian Weimer <fweimer@redhat.com>
26525
26526 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26527
7ea59e3e
SL
265282017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26529
26530 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26531
84d0e6f0
FW
265322017-10-05 Florian Weimer <fweimer@redhat.com>
26533
26534 * support/support_format_hostent.c (support_format_hostent): Add
26535 more error information for NETDB_INTERNAL.
26536
ee417882
L
265372017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26538
26539 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26540 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26541 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26542 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26543 AC_DEFINE if multi-arch is enabled.
26544 * sysdeps/i386/configure: Regenerated.
26545
a67029ff
L
265462017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26547
26548 * Makeconfig (+link-static-before-libc): Use
26549 $(DEFAULT-LDFLAGS-$(@F)).
26550 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26551 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26552 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26553
5dba84b3
L
265542017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26555
26556 * elf/Makefile (tests): Add tst-main1.
26557 (modules-names): Add tst-main1mod.
26558 ($(objpfx)tst-main1): New.
26559 (CRT-tst-main1): Likewise.
26560 (LDFLAGS-tst-main1): Likewise.
26561 (LDLIBS-tst-main1): Likewise.
26562 (tst-main1mod.so-no-z-defs): Likewise.
26563 * elf/tst-main1.c: New file.
26564 * elf/tst-main1mod.c: Likewise.
26565
758f1bfa
L
265662017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26567
26568 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26569
7e16a5d1
JM
265702017-10-04 Joseph Myers <joseph@codesourcery.com>
26571
26572 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26573 (fma): Define using libm_alias_double.
26574 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26575 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26576 <math_ldbl_opt.h>.
26577 (fmal): Do not define as compat symbol here.
26578 * sysdeps/alpha/fpu/s_fma.c: New file.
26579
db4f87ba
SN
265802017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26581
26582 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26583
72d13ed1
JM
265842017-10-04 Joseph Myers <joseph@codesourcery.com>
26585
32d372d5
JM
26586 [BZ #22229]
26587 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26588 <math_ldbl_opt.h>
26589 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26590 and libc.
26591 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26592 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26593 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26594 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26596 Include <math_ldbl_opt.h>
26597 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26598 and libc.
26599 (compat_symbol): Undefine and redefine.
26600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26601 <math_ldbl_opt.h>
26602 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26603 (compat_symbol): Undefine and redefine.
26604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26605 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26606 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26607 GLIBC_2_1 for libm.
26608 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26609 GLIBC_2.0 copysignl symbol.
26610 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26611 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26612
72d13ed1
JM
26613 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26614
11c4f501
FW
266152017-10-04 Florian Weimer <fweimer@redhat.com>
26616
26617 * scripts/check-local-headers.sh: Ignore nspr4 header file
26618 directory in addition to nspr.
26619
57b4af19
GT
266202017-10-04 Guido Trentalancia <guido@trentalancia.net>
26621
26622 [BZ #17956]
26623 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26624 * configure: Regenerate.
26625 * crypt/Makefile (nss-cpp-flags): New variable.
26626 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26627 (CPPFLAGS-md5-crypt.c): Use it.
26628 * scripts/check-local-headers.sh: Ignore nspr header file
26629 directory.
26630
64d1e08e
AS
266312017-10-04 Andreas Schwab <schwab@suse.de>
26632
26633 * nis/Makefile (services): Remove compat.
26634 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26635 ($(objpfx)libnss_compat.so): Remove rule.
26636 * nis/Versions (libnss_compat): Remove.
26637 * nss/Makefile (services): Add compat.
26638 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26639 * nss/Versions (libnss_compat): Define.
26640 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26641 Don't include <rpc/types.h>. Replace bool_t by bool.
26642 * nss/nss_compat/compat-initgroups.c: Likewise.
26643 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26644 instead of <rpcsrv/ypclnt.h>.
26645 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26646 yp_get_default_domain.
26647 * nss/nss_compat/compat-pwd.c: Likewise.
26648 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26649 yp_get_default_domain.
26650 * nss/nss_compat/nisdomain.c: New file.
26651 * nss/nss_compat/nisdomain.h: Likewise.
26652
86c27ade
SN
266532017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26654
26655 [BZ #22244]
26656 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26657 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26658
8f8f8ef7
SN
266592017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26660
26661 [BZ #22243]
26662 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26663 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26664
95577475
L
266652017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26666
26667 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26668 "movl main@GOTOFF(%ebx), %eax".
26669
02d2d892
L
266702017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26671
26672 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26673 allow undefined _DYNAMIC in PIE libc.a.
26674 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26675 Likewse.
26676
0c609d19
L
266772017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26678
26679 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26680 check _DYNAMIC.
26681
c34a19ed
L
266822017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26683
26684 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26685 check _DYNAMIC.
26686
cdd4155d
L
266872017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26688
26689 * math/test-math-iscanonical.cc (error): Replace bool with int.
26690
4699cb8b
JM
266912017-10-03 Joseph Myers <joseph@codesourcery.com>
26692
d8f619b3
JM
26693 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26694 (modf): Define using libm_alias_double, only if [!__modf].
26695 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26696 <libm-alias-double.h>.
26697 (modf): Define using libm_alias_double, only if [!__modf].
26698 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26699 compat symbol here.
26700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26701 (weak_alias): Do not undefine and redefine.
26702 (strong_alias): Likewise.
26703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26704 (weak_alias): Likewise.
26705 (strong_alias): Likewise.
26706
4699cb8b
JM
26707 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26708 (logb): Define using libm_alias_double, only if [!__logb].
26709 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26710 <libm-alias-double.h>.
26711 (logb): Define using libm_alias_double, only if [!__logb].
26712 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26714 (weak_alias): Do not undefine and redefine.
26715 (strong_alias): Likewise.
26716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26717 (weak_alias): Likewise.
26718 (strong_alias): Likewise.
26719
bcc4e4bb
L
267202017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26721
26722 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26723 Check SHARED instead PIC.
26724
39793865
JM
267252017-10-03 Joseph Myers <joseph@codesourcery.com>
26726
7f1cbdf8
JM
26727 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26728 [!__fmaf] (fmaf): Define using libm_alias_float.
26729
39793865
JM
26730 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26731 (frexp): Define using libm_alias_double.
26732 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26733 <libm-alias-double.h>.
26734 (frexp): Define using libm_alias_double.
26735 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26736 compat symbol here.
26737
aa0235df
GG
267382017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26739
26740 [BZ #22235]
26741 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26742 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26743 (CFLAGS-test-math-iscanonical.cc): New variable.
26744 * math/test-math-iscanonical.cc: New file.
26745 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26746 Provide a C++ implementation based on function overloading,
26747 rather than using __MATH_TG, which uses C-only builtins.
26748 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26749 Likewise.
26750 * sysdeps/powerpc/powerpc64le/Makefile
26751 (CFLAGS-test-math-iscanonical.cc): New variable.
26752
a1132b5e
JM
267532017-10-03 Joseph Myers <joseph@codesourcery.com>
26754
26755 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26756 (ceil): Define using libm_alias_double.
26757 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26758 (floor): Define using libm_alias_double.
26759 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26760 <libm-alias-double.h>.
26761 (llround): Define using libm_alias_double.
26762 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26763 <libm-alias-double.h>.
26764 (lround): Define using libm_alias_double.
26765 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26766 <libm-alias-double.h>.
26767 (nearbyint): Define using libm_alias_double.
26768 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26769 <libm-alias-double.h>.
26770 (remquo): Define using libm_alias_double.
26771 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26772 (rint): Define using libm_alias_double.
26773 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26774 (round): Define using libm_alias_double.
26775 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26776 (trunc): Define using libm_alias_double.
26777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26778 <libm-alias-double.h>.
26779 (ceil): Define using libm_alias_double.
26780 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26781 <libm-alias-double.h>.
26782 (floor): Define using libm_alias_double.
26783 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26784 <libm-alias-double.h>.
26785 (llround): Define using libm_alias_double.
26786 [_LP64] (lround): Likewise.
26787 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26788 <libm-alias-double.h>.
26789 [!_LP64] (lround): Define using libm_alias_double.
26790 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26791 <libm-alias-double.h>.
26792 (nearbyint): Define using libm_alias_double.
26793 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26794 <libm-alias-double.h>.
26795 (remquo): Define using libm_alias_double.
26796 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26797 <libm-alias-double.h>.
26798 (rint): Define using libm_alias_double.
26799 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26800 <libm-alias-double.h>.
26801 (round): Define using libm_alias_double.
26802 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26803 <libm-alias-double.h>.
26804 (trunc): Define using libm_alias_double.
26805 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26806 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26807 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26808 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26809 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26810 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26811 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26812 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26813 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26814
f275f64e
SN
268152017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26816
26817 * math/w_remainder.c: New file.
26818 * math/w_remainderf.c: New file.
26819 * math/w_remainderl.c: New file.
26820
b8818ab5
L
268212017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26822
26823 * elf/rtld.c (BOOTSTRAP_MAP): New.
26824 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26825 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26826 Likewise.
26827 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26828 Likewise.
26829 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26830 Likewise.
26831
3d1870fa
ST
268322017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26833
26834 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26835 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26836 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26837 rtld_hidden_data_ver): Define to empty.
26838 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26839 __assert_perror_fail): Likewise.
26840 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26841 (__rewinddir): Likewise.
26842 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26843 (__profile_frequency): Likewise.
26844 * include/setjmp.h (__sigsetjmp): Likewise.
26845 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26846 __libc_sigaction): Likewise.
26847 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26848 not set hidden attribute.
26849 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26850 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26851 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26852 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26853 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26854 __fxstatat64): Likewise.
26855 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26856 (__uname): Likewise.
26857 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26858 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26859 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26860 (NO_RTLD_HIDDEN): Set.
26861 * sysdeps/mach/hurd/configure: Refresh.
26862 * config.h.in: Refresh.
26863
527cd19c
JM
268642017-10-02 Joseph Myers <joseph@codesourcery.com>
26865
38722448
JM
26866 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26867 (atan): Define using libm_alias_double.
26868 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26869 (tan): Define using libm_alias_double.
26870 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26871 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26872
527cd19c
JM
26873 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26874 define as weak alias of __atan. Do not define any aliases if
26875 [__atan].
26876 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26877 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26878 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26879 as weak alias of __tan. Do not define any aliases if [__tan].
26880 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26881 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26882 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26883 __atan.
26884 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26885 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26886 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26887 and define as weak alias of __atan.
26888 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26889 __atan.
26890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26891 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26892 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26893 define as weak alias of __tan.
26894
bdc5c592
SN
268952017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26896
26897 * math/w_lgamma.c: New file.
26898 * math/w_lgammaf.c: New file.
26899 * math/w_lgammal.c: New file.
26900
bd4430c2
SN
269012017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26902
26903 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26904 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26905 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26906 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26907 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26908 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26909 * sysdeps/i386/fpu/w_log2f.c: New file.
26910 * sysdeps/i386/fpu/w_logf.c: New file.
26911 * sysdeps/i386/fpu/w_powf.c: New file.
26912 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26913 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26914 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26915
f7a0b063
SN
269162017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26917 H.J. Lu <hongjiu.lu@intel.com>
26918
26919 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26920 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26921 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26922 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26923 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26924 the new expf code.
26925 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26926 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26927 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26928 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26929 * sysdeps/i386/fpu/w_exp2f.c: New file.
26930 * sysdeps/i386/fpu/w_expf.c: New file.
26931 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26932 * sysdeps/x86_64/fpu/w_expf.c: New file.
26933
72d3d281
SN
269342017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26935
26936 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26937 (log2f): Likewise.
26938 (powf): Likewise.
26939 * math/w_log2f.c: New file.
26940 * math/w_logf.c: New file.
26941 * math/w_powf.c: New file.
26942 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26943 * math/w_logf_compat.c (__logf_compat): Likewise.
26944 * math/w_powf_compat.c (__powf_compat): Likewise.
26945 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26946 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26947 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26948 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26949 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26950 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26951 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26952 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26953 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26954 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26955 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26956 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26957 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26958 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26959 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26961 Likewise.
26962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26963 Likewise.
26964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26965 Likewise.
26966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26967 Likewise.
26968 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26969 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26970 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26971 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26972 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26974 Likewise.
26975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26976 Likewise.
26977 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26978 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26979 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26980
59ba2d2b
RS
269812017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26982
26983 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26984 (sysdep_routines): Add memrchr_power8.
26985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26986 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26987 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26988 New file.
26989 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26990 (memrchr): Add __memrchr_power8 to ifunc list.
26991 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26992
397286ea
L
269932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26994
26995 [BZ #18822]
26996 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26997 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26998 libc_hidden_def.
26999 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27000 (__posix_fallocate64_l64): Likewise.
27001
d0a4512b
L
270022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27003
27004 [BZ #18822]
27005 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27006 (__sched_setaffinity_new): Add libc_hidden_proto and
27007 libc_hidden_def.
27008
c0769f70
L
270092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27010
27011 [BZ #18822]
27012 * include/glob.h (__glob64): Add libc_hidden_proto.
27013 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27014 libc_hidden_def.
27015
0e7d5b6e
L
270162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27017
27018 [BZ #18822]
27019 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27020 attribute_hidden.
27021
bde06c87
L
270222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27023
27024 [BZ #18822]
27025 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27026
fa426590
L
270272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27028
27029 [BZ #18822]
27030 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27031 libc_hidden_def.
27032
2f8a05d8
L
270332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27034
27035 [BZ #18822]
27036 * csu/version.c (__libc_print_version): Add attribute_hidden.
27037
7bfd08ac
L
270382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27039
27040 [BZ #18822]
27041 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27042
0e1fd06c
L
270432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27044
27045 [BZ #18822]
27046 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27047
36e7ae1e
L
270482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27049
27050 [BZ #18822]
27051 * nscd/nscd_helper.c (__nis_hash): New prototype.
27052
87078544
L
270532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27054
27055 [BZ #18822]
27056 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27057 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27058 libc_hidden_def.
27059 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27060 * termios/tcgetattr.c (__tcgetattr): Likewise.
27061
dd3121df
L
270622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27063
27064 [BZ #18822]
27065 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27066 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27067 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27068 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27069 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27070
047d1a81
L
270712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27072
27073 [BZ #18822]
27074 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27075
fd331b11
L
270762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27077
27078 [BZ #18822]
27079 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27080 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27081
57f859bd
L
270822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27083
27084 [BZ #18822]
27085 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27086
d1903329
L
270872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27088
27089 [BZ #18822]
27090 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27091 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27092
b4744101
L
270932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27094
27095 [BZ #18822]
27096 * include/ifreq.h: New file.
27097 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27098 (__ifreq): Likewise.
27099 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27100 (__ifreq): Likewise.
27101
43b7dfd1
L
271022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27103
27104 [BZ #18822]
27105 * include/idna.h: New file.
27106 * inet/getnameinfo.c: Include <idna.h> instead of
27107 <libidn/idna.h>.
27108 (__idna_to_unicode_lzlz): Removed.
27109 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27110 <libidn/idna.h>.
27111 (__idna_to_ascii_lz): Removed.
27112 (__idna_to_unicode_lzlz): Likewise.
27113
2c0cd8f8
L
271142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27115
27116 [BZ #18822]
27117 * include/plural-exp.h: New file.
27118 * intl/plural-exp.c: Include <plural-exp.h> instead of
27119 "plural-exp.h".
27120
8369d216
L
271212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27122
27123 [BZ #18822]
27124 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27125 "getsourcefilter.h".
27126 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27127 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27128 "getsourcefilter.h".
27129 (__get_sol): Removed.
27130
a0aef783
L
271312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27132
27133 [BZ #18822]
27134 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27135 to ...
27136 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27137
3ee8209b
L
271382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27139
27140 [BZ #18822]
27141 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27142 attribute_hidden.
27143
6036fc38
L
271442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27145
27146 [BZ #18822]
27147 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27148
fe84fed0
L
271492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27150
27151 [BZ #18822]
27152 * include/search.h (__tdestroy): Add libc_hidden_proto.
27153 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27154
048dd681
L
271552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27156
27157 [BZ #18822]
27158 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27159
6e342af6
L
271602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27161
27162 [BZ #18822]
27163 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27164 attribute_hidden.
27165
6a088436
L
271662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27167
27168 [BZ #18822]
27169 * include/signal.h (__kill): Add libc_hidden_proto.
27170 (__sigblock): Likewise.
27171 (__sigprocmask): Likewise.
27172 (__sigaltstack): Likewise.
27173 * signal/kill.c (__kill): Add libc_hidden_def.
27174 * signal/sigblock.c (__sigblock): Likewise.
27175 * signal/sigprocmask.c (__sigprocmask): Likewise.
27176 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27177 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27178 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27179 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27180 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27181 Likewise.
27182 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27183 Likewise.
27184 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27185 (__sigprocmask): Likewise.
27186 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27187 Likewise.
27188 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27189 (__sigprocmask): Likewise.
27190 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27191 Likewise.
27192
78cf1d74
L
271932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27194
27195 [BZ #18822]
27196 * include/string.h (__strsep): Add libc_hidden_proto.
27197 * string/strsep.c (__strsep): Add libc_hidden_def.
27198
85b35894
L
271992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27200
27201 [BZ #18822]
27202 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27203 attribute_hidden.
27204 (__spawni): Likewise.
27205
225f7eec
L
272062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27207
27208 [BZ #18822]
27209 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27210 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27211 libc_hidden_def.
27212
372fe247
L
272132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27214
27215 [BZ #18822]
27216 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27217
9e5ee8b8
L
272182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27219
27220 [BZ #18822]
27221 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27222 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27223 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27224 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27225 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27226 Likewise.
27227 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27228 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27229
2ff16592
L
272302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27231
27232 [BZ #18822]
27233 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27234 (__dcigettext): Likewise.
27235
b5648377
L
272362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27237
27238 [BZ #18822]
27239 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27240 libc_hidden_proto.
27241 (__get_nprocs): Likewise.
27242 (__get_phys_pages): Likewise.
27243 (__get_avphys_pages): Likewise.
27244 (__get_child_max): Add attribute_hidden.
27245 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27246 (__get_nprocs): Likewise.
27247 (__get_phys_pages): Likewise.
27248 (__get_avphys_pages): Likewise.
27249 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27250 libc_hidden_def.
27251 (__get_nprocs): Likewise.
27252 (__get_phys_pages): Likewise.
27253 (__get_avphys_pages): Likewise.
27254 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27255 libc_hidden_def.
27256 (__get_nprocs_conf): Likewise.
27257 (__get_phys_pages): Likewise.
27258 (__get_avphys_pages): Likewise.
27259
0389a6aa
L
272602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27261
27262 [BZ #18822]
27263 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27264 attribute_hidden.
27265 (__netlink_close): Likewise.
27266 (__netlink_free_handle): Likewise.
27267 (__netlink_request): Likewise.
27268
d48354d8
L
272692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27270
27271 [BZ #18822]
27272 * include/rpc/rpc.h (__rpc_thread_variables): Add
27273 attribute_hidden.
27274 (__rpc_thread_svc_cleanup): Likewise.
27275 (__rpc_thread_clnt_cleanup): Likewise.
27276 (__rpc_thread_key_cleanup): Likewise.
27277
d6daff12
L
272782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27279
27280 [BZ #18822]
27281 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27282 (__writev): Likewise.
27283 * misc/readv.c (__readv): Add libc_hidden_def.
27284 * misc/writev.c (__writev): Likewise.
27285 * sysdeps/posix/readv.c (__readv): Likewise.
27286 * sysdeps/posix/writev.c (__writev): Likewise.
27287 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27288 (__readv): Likewise.
27289 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27290 (__writev): Likewise.
27291
b68f8620
L
272922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27293
27294 [BZ #18822]
27295 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27296 (__regcomp): Add libc_hidden_proto.
27297 (__regexec): Likewise.
27298 (__regfree): Likewise.
27299 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27300 (__regfree): Likewise.
27301 * posix/regexec.c (__regexec): Likewise.
27302
59c04e67
L
273032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27304
27305 [BZ #18822]
27306 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27307 (__getutent): Likewise.
27308 (__getutid): Likewise.
27309 (__getutline): Likewise.
27310 (__pututline): Likewise.
27311 (__getutent_r): Likewise.
27312 (__getutid_r): Likewise.
27313 (__getutline_r): Likewise.
27314 (__utmpname): Add attribute_hidden.
27315 (__setutent): Likewise.
27316 (__endutent): Likewise.
27317 * login/getutent.c (__getutent): Add libc_hidden_def.
27318 * login/getutent_r.c (__getutent_r): Likewise.
27319 (__pututline): Likewise.
27320 * login/getutid.c (__getutid): Likewise.
27321 * login/getutid_r.c (__getutid_r): Likewise.
27322 * login/getutline.c (__getutline): Likewise.
27323 * login/getutline_r.c (__getutline_r): Likewise.
27324 * login/updwtmp.c (__updwtmp): Likewise.
27325
4587a421
L
273262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27327
27328 [BZ #18822]
27329 * include/dirent.h (__opendir): Always add attribute_hidden.
27330 (__fdopendir): Likewise.
27331 (__closedir): Likewise.
27332 (__readdir): Likewise.
27333 (__readdir64): Add libc_hidden_proto.
27334 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27335 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27336 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27337 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27338 New alias.
27339
9635ce69
L
273402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27341
27342 [BZ #18822]
27343 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27344 * include/netdb.h (__gethostbyaddr_r): Likewise.
27345 (__gethostbyname_r): Likewise.
27346 (__gethostbyname2_r): Likewise.
27347 (__getnetbyaddr_r): Likewise.
27348 (__getnetbyname_r): Likewise.
27349 (__getservbyname_r): Likewise.
27350 (__getservbyport_r): Likewise.
27351 (__getprotobyname_r): Likewise.
27352 (__getprotobynumber_r): Likewise.
27353 (__getnetgrent_r): Likewise.
27354 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27355 (__getrpcbynumber_r): Likewise.
27356 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27357
2e0a6909
L
273582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27359
27360 [BZ #18822]
27361 * include/stdio.h (__fcloseall): Add attribute_hidden.
27362 (__getline): Likewise.
27363 (__path_search): Likewise.
27364 (__gen_tempname): Likewise.
27365 (__libc_message): Likewise.
27366 (__flockfile): Likewise.
27367 (__funlockfile): Likewise.
27368 (__fxprintf): Likewise.
27369 (__fxprintf_nocancel): Likewise.
27370
94fd682c
L
273712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27372
27373 [BZ #18822]
27374 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27375 (__sgetsgent_r): Likewise.
27376
e1b33bba
L
273772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27378
27379 [BZ #18822]
27380 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27381 (__statfs64): Likewise.
27382 (__fstatfs64): Likewise.
27383 * include/sys/statvfs.h (__statvfs64): Likewise.
27384 (__fstatvfs64): Likewise.
27385 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27386 (__statfs_filesize_max): Likewise.
27387 (__statfs_symlinks): Likewise.
27388 (__statfs_chown_restricted): Likewise.
27389
b0f56784
L
273902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27391
27392 [BZ #18822]
27393 * include/time.h (__tzstring): Add attribute_hidden.
27394 (__tzfile_read): Likewise.
27395 (__tzfile_compute): Likewise.
27396 (__tzfile_default): Likewise.
27397 (__tzset_parse_tz): Likewise.
27398 (__offtime): Likewise.
27399 (__asctime_r): Likewise.
27400 (__tzset): Likewise.
27401 (__tz_convert): Likewise.
27402 (__getdate_r): Likewise.
27403 (__getclktck): Likewise.
27404
a4338d99
L
274052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27406
27407 [BZ #18822]
27408 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27409 (__nscd_unmap): Likewise.
27410 (__nscd_cache_search): Likewise.
27411 (__nscd_get_nl_timestamp): Likewise.
27412 (__nscd_getpwnam_r): Likewise.
27413 (__nscd_getpwuid_r): Likewise.
27414 (__nscd_getgrnam_r): Likewise.
27415 (__nscd_getgrgid_r): Likewise.
27416 (__nscd_gethostbyname_r): Likewise.
27417 (__nscd_gethostbyname2_r): Likewise.
27418 (__nscd_gethostbyaddr_r): Likewise.
27419 (__nscd_getai): Likewise.
27420 (__nscd_getgrouplist): Likewise.
27421 (__nscd_getservbyname_r): Likewise.
27422 (__nscd_getservbyport_r): Likewise.
27423 (__nscd_innetgr): Likewise.
27424 (__nscd_setnetgrent): Likewise.
27425
a2ca1652
L
274262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27427
27428 [BZ #18822]
27429 * include/gmp.h: Declare internal functions only if _ISOMAC is
27430 undefined.
27431 (__mpn_extract_double): Add attribute_hidden.
27432 (__mpn_extract_long_double): Likewise.
27433 (__mpn_extract_float128): Likewise.
27434 (__mpn_construct_float): Likewise.
27435 (__mpn_construct_double): Likewise.
27436 (__mpn_construct_long_double): Likewise.
27437 (__mpn_construct_float128): Likewise.
27438 (mpn_add_1): Likewise.
27439 (mpn_addmul_1): Likewise.
27440 (mpn_add_n): Likewise.
27441 (mpn_cmp): Likewise.
27442 (mpn_divrem): Likewise.
27443 (mpn_lshift): Likewise.
27444 (mpn_mul): Likewise.
27445 (mpn_mul_1): Likewise.
27446 (mpn_rshift): Likewise.
27447 (mpn_sub_1): Likewise.
27448 (mpn_submul_1): Likewise.
27449 (mpn_sub_n): Likewise.
27450
44af8a32
L
274512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27452
27453 [BZ #18822]
27454 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27455 (__wcscat): Likewise.
27456 (__btowc): Likewise.
27457 (__wcrtomb): Likewise.
27458 (__mbsrtowcs): Likewise.
27459 (__wcsrtombs): Likewise.
27460 (__mbsnrtowcs): Likewise.
27461 (__wcsnrtombs): Likewise.
27462 (__wcsncpy): Likewise.
27463 (__wcpncpy): Likewise.
27464 (__wmemcpy): Likewise.
27465 (__wmempcpy): Likewise.
27466 (__wmemmove): Likewise.
27467 (__wcschrnul): Likewise.
27468 (__vfwscanf): Likewise.
27469 (__vswprintf): Likewise.
27470 (__fwprintf): Likewise.
27471 (__vfwprintf): Likewise.
27472
783cd767
L
274732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27474
27475 [BZ #18822]
27476 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27477 (__getgrgid_r): Likewise.
27478 (__getgrnam_r): Likewise.
27479 * include/pwd.h (__getpwuid_r): Likewise.
27480 (__getpwnam_r): Likewise.
27481 (__fgetpwent_r): Likewise.
27482 * include/shadow.h (__getspnam_r): Likewise.
27483 (__sgetspent_r): Likewise.
27484 (__fgetspent_r): Likewise.
27485
7ec4b39a
L
274862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27487
27488 [BZ #18822]
27489 * include/unistd.h (__access): Add attribute_hidden.
27490 (__lseek64): Likewise.
27491 (__libc_pread64): Likewise.
27492 (__pipe2): Likewise.
27493 (__sleep): Likewise.
27494 (__chdir): Likewise.
27495 (__fchdir): Likewise.
27496 (__getcwd): Likewise.
27497 (__rmdir): Likewise.
27498 (__execvpe): Likewise.
27499 (__execve): Likewise.
27500 (__setsid): Likewise.
27501 (__getuid): Likewise.
27502 (__geteuid): Likewise.
27503 (__getgid): Likewise.
27504 (__getegid): Likewise.
27505 (__getgroups): Likewise.
27506 (__group_member): Likewise.
27507 (__ttyname_r): Likewise.
27508 (__isatty): Likewise.
27509 (__readlink): Likewise.
27510 (__unlink): Likewise.
27511 (__gethostname): Likewise.
27512 (__profil): Likewise.
27513 (__getdtablesize): Likewise.
27514 (__brk): Likewise.
27515 (__ftruncate): Likewise.
27516 (__ftruncate64): Likewise.
27517
8345a760
L
275182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27519
27520 [BZ #18822]
27521 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27522 * argp/argp-fs-xinl.c: Likewise.
27523 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27524 * argp/argp-parse.c: Include <argp.h>.
27525 * argp/argp-xinl.c: Likewise.
27526 * include/argp-fmtstream.h: New file.
27527 * include/argp.h (__argp_error): Add attribute_hidden.
27528 (__argp_failure): Likewise.
27529 (__argp_input): Likewise.
27530 (__argp_state_help): Likewise.
27531
c26dd7c6
L
275322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27533
27534 [BZ #18822]
27535 * include/wchar.h (____wcstof_l_internal): New prototype.
27536 (____wcstod_l_internal): Likewise.
27537 (____wcstold_l_internal): Likewise.
27538 (____wcstol_l_internal): Likewise.
27539 (____wcstoul_l_internal): Likewise.
27540 (____wcstoll_l_internal): Likewise.
27541 (____wcstoull_l_internal): Likewise.
27542 (____wcstof128_l_internal): Likewise.
27543 * sysdeps/ieee754/float128/wcstof128.c
27544 (____wcstof128_l_internal): Removed.
27545 * sysdeps/ieee754/float128/wcstof128_l.c
27546 (____wcstof128_l_internal): Likewise.
27547 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27548 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27549 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27550 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27551 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27552 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27553 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27554 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27555 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27556 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27557
3aff5644
L
275582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27559
27560 [BZ #18822]
27561 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27562 instead of <sys/statvfs.h>.
27563 (__internal_statvfs): Removed.
27564 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27565 instead of <sys/statvfs.h>.
27566 (__internal_statvfs64): Removed.
27567 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27568 "internal_statvfs.h" instead of <sys/statvfs.h>.
27569 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27570 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27571 instead of <sys/statvfs.h>.
27572 (__internal_statvfs): Removed.
27573 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27574 instead of <sys/statvfs.h>.
27575 (__internal_statvfs64): Removed.
27576
8bcdb7e0
L
275772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27578
27579 [BZ #18822]
27580 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27581 (__gconv_close): Likewise.
27582 (__gconv): Likewise.
27583 (__gconv_find_transform): Likewise.
27584 (__gconv_lookup_cache): Likewise.
27585 (__gconv_compare_alias_cache): Likewise.
27586 (__gconv_load_cache): Likewise.
27587 (__gconv_get_path): Likewise.
27588 (__gconv_close_transform): Likewise.
27589 (__gconv_release_cache): Likewise.
27590 (__gconv_find_shlib): Likewise.
27591 (__gconv_release_shlib): Likewise.
27592 (__gconv_get_builtin_trans): Likewise.
27593 (__gconv_compare_alias): Likewise.
27594 * include/dlfcn.h (_dlerror_run): Likewise.
27595 * include/stdio.h (__fortify_fail_abort): Likewise.
27596 * include/time.h (__tz_compute): Likewise.
27597 (__strptime_internal): Likewise.
27598 * intl/gettextP.h (_nl_find_domain): Likewise.
27599 (_nl_load_domain): Likewise.
27600 (_nl_find_msg): Likewise.
27601 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27602 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27603 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27604 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27605 (__gai_find_request): Likewise.
27606 (__gai_remove_request): Likewise.
27607 (__gai_notify): Likewise.
27608 (__gai_notify_only): Likewise.
27609 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27610 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27611 (_dl_non_dynamic_init): Likewise.
27612 (_dl_aux_init): Likewise.
27613 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27614 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27615 Likewise.
27616 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27617 (__wcsmbs_clone_conv): Likewise.
27618 (__wcsmbs_named_conv): Likewise.
27619
8ed3b643
L
276202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27621
27622 [BZ #18822]
27623 * include/stdlib.h (__random): Add attribute_hidden.
27624 (__random_r): Likewise.
27625 (__srandom_r): Likewise.
27626 (__initstate_r): Likewise.
27627 (__setstate_r): Likewise.
27628 (__erand48_r): Likewise.
27629 (__nrand48_r): Likewise.
27630 (__jrand48_r): Likewise.
27631 (__srand48_r): Likewise.
27632 (__seed48_r): Likewise.
27633 (__lcong48_r): Likewise.
27634 (__drand48_iterate): Likewise.
27635 (__setenv): Likewise.
27636 (__unsetenv): Likewise.
27637 (__clearenv): Likewise.
27638 (__ptsname_r): Likewise.
27639 (__posix_openpt): Likewise.
27640 (__add_to_environ): Likewise.
27641 (__realpath): Add libc_hidden_proto.
27642 (__ecvt_r): Likewise.
27643 (__fcvt_r): Likewise.
27644 (__qecvt_r): Likewise.
27645 (__qfcvt_r): Likewise.
27646 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27647 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27648
ef9b6f73
L
276492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27650
27651 [BZ #18822]
27652 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27653 * include/time.h (__mktime_internal): Likewise.
27654 * libio/iolibio.h (__fopen_internal): Likewise.
27655
8da92e72
JDA
276562017-10-01 John David Anglin <danglin@gcc.gnu.org>
27657
27658 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27659 pointer in frame.
27660 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27661 Correct offset used to restore PIC register.
27662
388784cf
JDA
276632017-09-30 John David Anglin <danglin@gcc.gnu.org>
27664
27665 [BZ libc/22165]
27666 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27667 code to load address of __getcontext_ret when generating PIC code.
27668
2000067a
L
276692017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27670
27671 * elf/Makefile (tests-static-internal): Add
27672 tst-tls1-static-non-pie.
27673 (LDFLAGS-tst-tls1-static-non-pie): New.
27674 * elf/tst-tls1-static-non-pie.c: New file.
27675
1e2bffd0
JM
276762017-09-29 Joseph Myers <joseph@codesourcery.com>
27677
27678 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27679 (asinh): Define using libm_alias_double.
27680 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27681 (cbrt): Define using libm_alias_double.
27682 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27683 <libm-alias-double.h>.
27684 (copysign): Define using libm_alias_double.
27685 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27686 (erf): Define using libm_alias_double.
27687 (erfc): Likewise.
27688 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27689 (expm1): Define using libm_alias_double.
27690 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27691 (fabs): Define using libm_alias_double.
27692 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27693 libm_alias_double.
27694 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27695 <libm-alias-double.h>.
27696 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27697 libm_alias_double.
27698 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27699 <libm-alias-double.h>.
27700 (getpayload): Define using libm_alias_double.
27701 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27702 <libm-alias-double.h>.
27703 (llrint): Define using libm_alias_double.
27704 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27705 (lrint): Define using libm_alias_double.
27706 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27707 <libm-alias-double.h>.
27708 (nextup): Define using libm_alias_double.
27709 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27710 <libm-alias-double.h>.
27711 (roundeven): Define using libm_alias_double.
27712 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27713 libm_alias_double.
27714 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27715 <libm-alias-double.h>.
27716 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27717 using libm_alias_double.
27718 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27719 (cos): Define using libm_alias_double.
27720 (sin): Likewise.
27721 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27722 <libm-alias-double.h>.
27723 (sincos): Define using libm_alias_double.
27724 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27725 (tanh): Define using libm_alias_double.
27726 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27727 <libm-alias-double.h>.
27728 (totalorder): Define using libm_alias_double.
27729 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27730 <libm-alias-double.h>.
27731 (totalordermag): Define using libm_alias_double.
27732 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27733 libm_alias_double.
27734 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27735 libm_alias_double.
27736 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27737 <libm-alias-double.h>.
27738 (getpayload): Define using libm_alias_double.
27739 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27740 <libm-alias-double.h>.
27741 (roundeven): Define using libm_alias_double.
27742 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27743 <libm-alias-double.h>.
27744 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27745 <libm-alias-double.h>.
27746 (totalorder): Define using libm_alias_double.
27747 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27748 <libm-alias-double.h>.
27749 (totalordermag): Define using libm_alias_double.
27750 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27751 libc compat symbol here.
27752 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27753 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27754 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27755 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27756 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27757 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27758 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27759 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27760 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27761 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27762
8172aad9
L
277632017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27764
27765 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27766 _dl_relocate_static_pie instead of _dl_start to compute load
27767 address in static PIE. Return 0 if _DYNAMIC is undefined for
27768 static executable.
27769
54464e74
L
277702017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27771
27772 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27773 _DYNAMIC is undefined for static executable.
27774
f6c5e5bc
L
277752017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27776
27777 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27778
2f92505d
JM
277792017-09-29 Joseph Myers <joseph@codesourcery.com>
27780
27781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27782
bd8d53bb
WD
277832017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27784
27785 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27786 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27787 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27788 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27789 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27790 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27791 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27792 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27793 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27794 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27795 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27796 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27797 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27798 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27799 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27800 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27801 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27802
fffb1507
WD
278032017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27804
27805 * math/bits/cmathcalls.h (cimag): Remove inline.
27806 (creal): Remove inline.
27807 (conj): Remove inline.
27808
4ea49f4c
SN
278092017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27810
27811 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27812 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27813 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27814 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27815 (issignalingf_inline): Likewise.
27816 (POWF_LOG2_TABLE_BITS): Likewise.
27817 (POWF_LOG2_POLY_ORDER): Likewise.
27818 (POWF_SCALE_BITS): Likewise.
27819 (POWF_SCALE): Likewise.
27820 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27821 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27822 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27823
875c76c7
SN
278242017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27825
27826 * math/Makefile (type-float-routines): Add e_log2f_data.
27827 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27828 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27829 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27830 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27831 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27832 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27833 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27834
90c42e40
SN
278352017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27836
27837 * math/Makefile (type-float-routines): Add e_logf_data.
27838 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27839 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27840 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27841 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27842 * sysdeps/i386/fpu/e_logf_data.c: New file.
27843 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27844 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27845
4088d8dd
L
278462017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27847
27848 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27849 undefined _DYNAMIC in PIE libc.a.
27850 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27851 Likewse.
27852
4d3693ec
WD
278532017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27854
27855 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27856 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27857 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27858 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27859 (__signbit): Remove.
27860 (__signbitl): Remove.
27861 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27862 (__signbit): Remove.
27863 (__signbitl): Remove.
27864 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27865 (__signbit): Remove.
27866 (__signbitl): Remove.
27867 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27868 (__signbit): Remove.
27869 (__signbitl): Remove.
27870 * sysdeps/tile/bits/mathinline.h: Delete file.
27871 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27872 (__signbit): Remove.
27873 (__signbitl): Remove.
27874
1e6d0723
WD
278752017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27876
27877 * math/math.h: Improve handling of C99 isgreater macros.
27878 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27879 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27880 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27881 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27882 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27883
b2f03cf3
SN
278842017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27885
27886 * sysdeps/aarch64/libm-test-ulps: Update.
27887
f124cb38
JM
278882017-09-28 Joseph Myers <joseph@codesourcery.com>
27889
27890 [BZ #22225]
27891 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27892 math_opt_barrier on argument when doing arithmetic on it.
27893 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27894 Likewise. Use math_force_eval not math_opt_barrier after
27895 arithmetic.
27896 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27897 math_opt_barrier on argument when doing arithmetic on it.
27898 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27899 Likewise.
27900
7edd0691
L
279012017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27902
27903 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27904 libc_hidden_def.
27905 (__freeifaddrs): Likewise.
27906
2c7bbfaf
ST
279072017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27908
27909 * include/dirent.h (__dirfd): New declaration.
27910 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27911 alias.
27912 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27913 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27914 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
27915 * include/unistd.h (__revoke): New declaration.
27916 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27917 alias.
27918 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27919 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27920 revoke.
64a4af28
ST
27921 * include/dirent.h (__seekdir): New declaration.
27922 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27923 redefine as weak alias.
27924 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27925 of seekdir.
4009ddc6
ST
27926 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27927 and use libc_hidden_def on them.
27928 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27929 them.
27930 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27931 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27932 instead of getifaddrs and freeifaddrs.
2c7bbfaf 27933
825adeee
L
279342017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27935
27936 [BZ #18822]
27937 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27938 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27939 (__dso_handle): Remove declaration.
27940 * dlfcn/tstatexit.c (__dso_handle): Removed.
27941 (main): Don't check __dso_handle.
27942 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27943 (main): Don't check __dso_handle.
27944 * include/dso_handle.h: New file.
27945 * malloc/mtrace.c: Include <dso_handle.h>.
27946 (mtrace): Pass __dso_handle directly.
27947 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27948 (__dso_handle): Remove declaration.
27949 (__pthread_atfork): Pass __dso_handle directly.
27950 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27951 (__dso_handle): Removed.
27952 * posix/wordexp-test.c: Include <dso_handle.h>.
27953 (__dso_handle): Remove declaration.
27954 (__app_register_atfork): Pass __dso_handle directly.
27955 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27956 (__dso_handle): Remove declaration.
27957 (at_quick_exit): Pass __dso_handle directly.
27958 * stdlib/atexit.c: Include <dso_handle.h>.
27959 (__dso_handle): Remove declaration.
27960 (atexit): Pass __dso_handle directly.
27961 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27962 (__dso_handle): Removed.
27963
bfb0deb3
JM
279642017-09-26 Joseph Myers <joseph@codesourcery.com>
27965
27966 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27967 using VDSO.
27968
cebcb9f8
AM
279692017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27970
27971 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27972 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27973 values to correct default value for given type.
27974
592d5c75
L
279752017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27976
27977 [BZ #22101]
27978 * elf/Makefile (tests): Add tst-debug1.
27979 ($(objpfx)tst-debug1): New.
27980 ($(objpfx)tst-debug1.out): Likewise.
27981 ($(objpfx)tst-debug1mod1.so): Likewise.
27982 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27983 with p_filesz == 0.
27984 * elf/tst-debug1.c: New file.
27985
2d9193f2
JM
279862017-09-26 Joseph Myers <joseph@codesourcery.com>
27987
27988 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27989 Define using __ifunc.
27990
4c5a7a02
TMQMF
279912017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27992
27993 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27994 exp2f() values.
27995
12ef66c4
JM
279962017-09-26 Joseph Myers <joseph@codesourcery.com>
27997
27998 [BZ #22156]
27999 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28000
44dade71
FW
280012017-09-26 Florian Weimer <fweimer@redhat.com>
28002
28003 * resolv/Makefile (tests-internal): Fix typo in comment.
28004
eaca16f1
FW
280052017-09-26 Florian Weimer <fweimer@redhat.com>
28006
28007 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28008
ccf970c7
AZ
280092017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28010
5f9f31ad
AZ
28011 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28012 Use an union instead of a max_align_t array for __space,
28013 so that __space is the same size on all platforms.
28014 * malloc/scratch_buffer_grow_preserve.c
28015 (__libc_scratch_buffer_grow_preserve): Likewise.
28016
ccf970c7
AZ
28017 [BZ #22183]
28018 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28019 version to 2.
28020 * posix/Makefile (routines): Add glob-lstat-compat and
28021 glob64-lstat-compat.
28022 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28023 * posix/glob-lstat-compat.c: New file.
28024 * posix/glob64-lstat-compat.c: Likewise.
28025 * posix/tst-glob_lstat_compat.c: Likewise.
28026 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28027 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28028 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28029 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28030 Likewise.
28031 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28032 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28033 * posix/glob.c (glob_lstat): New function.
28034 (glob): Rename to __glob and add versioned symbol to 2.27.
28035 (glob_in_dir): Use glob_lstat.
28036 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28037 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28038 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28039 2.27.
28040 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28041 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28042 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28043 gl_lstat on glob call.
28044 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28045 and glob64 symbols.
28046 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28047 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28048 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28049 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28050 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28051 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28052 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28053 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28054 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28055 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28056 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28057 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28059 Likewise.
28060 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28062 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28063 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28064 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28065 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28066 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28069 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28070 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28071 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28072
b4396163
L
280732017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28074
28075 * configure.ac (AS): Require binutils 2.25 or later.
28076 * configure: Regenerated.
28077
8f834987
PP
280782017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28079
28080 [BZ #22207]
28081 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28082 VM size.
28083
3de93d19
DD
280842017-09-25 DJ Delorie <dj@redhat.com>
28085
28086 [BZ #22161]
28087 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28088 resetting timeout.
28089
9947638d
SL
280902017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28091
28092 * sysdeps/ieee754/dbl-64/sincos32.h
28093 [SINCCOS32_H]: Remove define.
28094 [SINCOS32_H]: Define.
28095
f5f0f526
SN
280962017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28097
28098 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28099 (exp2f): Likewise.
28100 * math/w_exp2f.c: New file.
28101 * math/w_expf.c: New file.
28102 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28103 * math/w_expf_compat.c (__expf_compat): Likewise.
28104 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28105 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28106 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28107 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28108 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28109 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28110 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28111 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28112 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28113 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28114 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28115 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28116 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28117 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28119 Likewise.
28120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28121 Likewise.
28122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28123 Likewise.
28124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28125 Likewise.
28126 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28127 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28128 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28129 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28130 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28132 Likewise.
28133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28134 Likewise.
28135 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28136 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28137 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28138
72aa6233
SN
281392017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28140
28141 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28142 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28143 (roundtoint, converttoint): Likewise.
28144 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28145 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28146 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28147 * sysdeps/ieee754/flt-32/math_config.h: New file.
28148 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28149 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28150 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28151 * sysdeps/i386/fpu/math_errf.c: New file.
28152 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28153 * sysdeps/ia64/fpu/math_errf.c: New file.
28154 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28155 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28156
5e6f3253
ST
281572017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28158
28159 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28160 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28161 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28162 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28163 to make sure that these symbols are defined.
b38a42a0
ST
28164 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28165 of <limits.h>
28166 (__need_NULL): Do not define.
28167 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28168 alignment.
28169 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28170 CMGROUP_MAX, cmsgcred): Do not define.
28171 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28172 NULL.
28173 * bits/socket.h: Likewise.
fcafcd16
ST
28174 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28175 __gettimeofday instead of gettimeofday.
28176 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28177 instead of settimeofday.
5e6f3253 28178
2f49ce7d
JM
281792017-09-22 Joseph Myers <joseph@codesourcery.com>
28180
28181 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28182 (asinhf): Define using libm_alias_float.
28183 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28184 (atanf): Define using libm_alias_float.
28185 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28186 (cbrtf): Define using libm_alias_float.
28187 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28188 (ceilf): Define using libm_alias_float.
28189 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28190 <libm-alias-float.h>.
28191 (copysignf): Define using libm_alias_float.
28192 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28193 (cosf): Define using libm_alias_float.
28194 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28195 (erff): Define using libm_alias_float.
28196 (erfcf): Likewise.
28197 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28198 (expm1f): Define using libm_alias_float.
28199 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28200 (fabsf): Define using libm_alias_float.
28201 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28202 (floorf): Define using libm_alias_float.
28203 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28204 (frexpf): Define using libm_alias_float.
28205 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28206 libm_alias_float.
28207 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28208 <libm-alias-float.h>.
28209 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28210 libm_alias_float.
28211 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28212 <libm-alias-float.h>.
28213 (getpayloadf): Define using libm_alias_float.
28214 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28215 <libm-alias-float.h>.
28216 (llrintf): Define using libm_alias_float.
28217 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28218 <libm-alias-float.h>.
28219 (llroundf): Define using libm_alias_float.
28220 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28221 (logbf): Define using libm_alias_float.
28222 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28223 (lrintf): Define using libm_alias_float.
28224 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28225 (lroundf): Define using libm_alias_float.
28226 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28227 (modff): Define using libm_alias_float.
28228 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28229 <libm-alias-float.h>.
28230 (nearbyintf): Define using libm_alias_float.
28231 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28232 <libm-alias-float.h>.
28233 (nextafterf): Define using libm_alias_float.
28234 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28235 <libm-alias-float.h>.
28236 (nextupf): Define using libm_alias_float.
28237 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28238 <libm-alias-float.h>.
28239 (remquof): Define using libm_alias_float.
28240 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28241 (rintf): Define using libm_alias_float.
28242 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28243 <libm-alias-float.h>.
28244 (roundevenf): Define using libm_alias_float.
28245 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28246 (roundf): Define using libm_alias_float.
28247 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28248 using libm_alias_float.
28249 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28250 <libm-alias-float.h>.
28251 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28252 Define using libm_alias_float.
28253 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28254 <libm-alias-float.h>.
28255 (sincosf): Define using libm_alias_float.
28256 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28257 (sinf): Define using libm_alias_float.
28258 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28259 (tanf): Define using libm_alias_float.
28260 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28261 (tanhf): Define using libm_alias_float.
28262 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28263 <libm-alias-float.h>.
28264 (totalorderf): Define using libm_alias_float.
28265 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28266 <libm-alias-float.h>.
28267 (totalordermagf): Define using libm_alias_float.
28268 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28269 (truncf): Define using libm_alias_float.
28270 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28271 libm_alias_float.
28272 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28273 libm_alias_float.
28274
c5c4a626
GG
282752017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28276
28277 [BZ #22146]
28278 math/math.h: Let fpclassify use the builtin in C++ mode, even
28279 when optimazing for size.
28280
23947846
JM
282812017-09-22 Joseph Myers <joseph@codesourcery.com>
28282
28283 * csu/Makefile (generated): Do not add version-info.h.
28284 (before-compile): Likewise.
28285 (all-Banner-files): Remove variable.
28286 ($(objpfx)version-info.h): Remove rule.
28287 * csu/version.c (banner): Do not include "version-info.h".
28288 * libidn/Banner: Remove.
28289 * manual/contrib.texi (Simon Josefsson): New entry.
28290
9ac3c682
GG
282912017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28292
28293 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28294 Remove conditionals on LDBL_MANT_DIG.
28295 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28296 (__ieee754_lgammal_r): Likewise.
28297
d2f0ed09
GG
282982017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28299
28300 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28301 _Float128 and L().
28302 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28303 _Float128 and L(). Replace _Float128 with long double and L(x)
28304 with xL, throughout the file.
28305 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28309
c5c2e667
GG
283102017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28311
28312 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28313 sysdeps/ieee754/ldbl-128ibm.
28314 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28315 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28316 of including it. Keep _Float128 and L() intact. These will be
28317 reviewed by a separate patch.
28318 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28320 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28322
e010deb2
GG
283232017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28324
28325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28326 (__finitef128): Define to __redirect___finitef128.
28327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28328 (__isinff128): Define to __redirect___isinff128.
28329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28330 (__isnanf128): Define to __redirect___isnanf128.
28331
ffa44804
GG
283322017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28333
28334 * sysdeps/powerpc/powerpc64le/Makefile
28335 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28336 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28337
e5e4d7cc
PP
283382017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28339 Carlos O'Donell <carlos@redhat.com>
28340
28341 [BZ #22180]
28342 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28343 * stdlib/test-dlclose-exit-race.c: New file.
28344 * stdlib/test-dlclose-exit-race-helper.c: New file.
28345 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28346
c10c5267
JM
283472017-09-21 Joseph Myers <joseph@codesourcery.com>
28348
28349 * crypt/Banner: Remove file.
28350 * nptl/Banner: Likewise.
28351 * resolv/Banner: Likewise.
28352 * soft-fp/Banner: Likewise.
28353 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28354 ($(objpfx)version.d): Remove dependency on banner.h.
28355 ($(objpfx)version.os): Likewise.
28356 * nptl/version.c (banner): Do not include banner.h.
28357 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28358 Jelinek and BIND code.
28359
1cc9e59a
PP
283602017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28361 Carlos O'Donell <carlos@redhat.com>
28362
28363 * support/xdlfcn.h: New file.
28364 * support/xdlfcn.c: New file.
28365 * support/Makefile (libsupport-routines): Add xdlfcn.
28366 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28367
ae8372d7
JM
283682017-09-20 Joseph Myers <joseph@codesourcery.com>
28369
28370 [BZ #20142]
28371 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28372 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28373 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28374 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28375 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28376 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28377 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28378 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28379
26e70aec
PP
283802017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28381 Ricky Zhou <rickyz@google.com>
28382 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28383
28384 [BZ #14333]
28385 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28386 Remove atomics.
28387 (__new_exitfn): Fail registration when we finished at_exit processing.
28388 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28389 * stdlib/on_exit.c (__on_exit): Likewise.
28390 * stdlib/exit.c (__exit_funcs_done): New variable.
28391 (__run_exit_handlers): Use __exit_funcs_lock.
28392 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28393 declarations.
28394 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28395 (test-cxa_atexit-race, test-on_exit-race): New tests.
28396 * stdlib/test-atexit-race-common.c: New file.
28397 * stdlib/test-atexit-race.c: New file.
28398 * stdlib/test-at_quick_exit-race.c: New file.
28399 * stdlib/test-cxa_atexit-race.c: New file.
28400 * stdlib/test-on_exit-race.c: New file.
28401
0525ce48
SN
284022017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28403
28404 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28405 * benchtests/exp2f-inputs: Copy of expf-inputs.
28406 * benchtests/log2f-inputs: Copy of logf-inputs.
28407
d82468d1
JM
284082017-09-19 Joseph Myers <joseph@codesourcery.com>
28409
28410 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28411 Explicitly take address of first element of array arguments in
28412 call to INLINE_SYSCALL.
28413
43ffc53a
AS
284142017-09-19 Andreas Schwab <schwab@suse.de>
28415
28416 [BZ #22134]
28417 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28418 execveat first.
28419 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28420 unimplemented.
28421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28422 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28423 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28424 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28425 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28426 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28427 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28428 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28429 * posix/Makefile (tests): Add tst-fexecve.
28430 * posix/tst-fexecve.c: New file.
28431
a5dcc87e
WD
284322017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28433
28434 * benchtests/Makefile: Add logf benchmark.
28435 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28436
7024d544
WD
284372017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28438
28439 * benchtests/Makefile: Add expf benchmark.
28440 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28441
ca3a382e
WD
284422017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28443
28444 * csu/Makefile: Add -funwind-tables to libc-start.c.
28445 * debug/Makefile: Add -funwind-tables to backtrace.c.
28446 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28447 * sysdeps/arm/Makefile: Likewise.
28448 * sysdeps/i386/Makefile: Likewise.
28449 * sysdeps/m68k/Makefile: Likewise.
28450 * sysdeps/mips/Makefile: Likewise.
28451 * sysdeps/nios2/Makefile: Likewise.
28452 * sysdeps/sh/Makefile: Likewise.
28453 * sysdeps/sparc/Makefile: Likewise.
28454
eb375def
JM
284552017-09-19 Joseph Myers <joseph@codesourcery.com>
28456
28457 * benchtests/Makefile (bench-math): Add trunc and truncf.
28458 (CFLAGS-bench-trunc.c): New variable.
28459 (CFLAGS-bench-truncf.c): Likewise.
28460 * benchtests/trunc-inputs: New file.
28461 * benchtests/truncf-inputs: Likewise.
28462
bd17ba29
RS
284632017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28464
28465 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28466
92892fdb
JM
284672017-09-18 Joseph Myers <joseph@codesourcery.com>
28468
6d9b0b5a
JM
28469 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28470 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28471 redefine.
28472 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28473 (exp10l): Define as weak alias.
28474 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28475 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28476 and redefine.
28477 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28478 (remainderl): Define as weak alias.
28479
92892fdb
JM
28480 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28481 (fmal): Define using libm_alias_ldouble.
28482 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28483 (acoshl): Define using libm_alias_ldouble.
28484 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28485 (acosl): Define using libm_alias_ldouble.
28486 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28487 (asinl): Define using libm_alias_ldouble.
28488 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28489 (atan2l): Define using libm_alias_ldouble.
28490 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28491 (atanhl): Define using libm_alias_ldouble.
28492 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28493 (coshl): Define using libm_alias_ldouble.
28494 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28495 (exp10l): Define using libm_alias_ldouble.
28496 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28497 (exp2l): Define using libm_alias_ldouble.
28498 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28499 (expl): Define using libm_alias_ldouble.
28500 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28501 (fmodl): Define using libm_alias_ldouble.
28502 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28503 (hypotl): Define using libm_alias_ldouble.
28504 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28505 (j0l): Define using libm_alias_ldouble.
28506 (y0l): Likewise.
28507 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28508 (j1l): Define using libm_alias_ldouble.
28509 (y1l): Likewise.
28510 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28511 (jnl): Define using libm_alias_ldouble.
28512 (ynl): Likewise.
28513 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28514 (log10l): Define using libm_alias_ldouble.
28515 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28516 (log2l): Define using libm_alias_ldouble.
28517 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28518 (logl): Define using libm_alias_ldouble.
28519 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28520 (powl): Define using libm_alias_ldouble.
28521 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28522 (remainderl): Define using libm_alias_ldouble.
28523 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28524 (sinhl): Define using libm_alias_ldouble.
28525 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28526 (sqrtl): Define using libm_alias_ldouble.
28527 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28528 (tgammal): Define using libm_alias_ldouble.
28529 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28530 (exp10l): Do not use long_double_symbol here.
28531 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28532 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28533 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28534 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28535 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28536 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28537 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28538 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28539 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28540 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28541 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28542 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28543 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28544 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28545 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28546 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28547 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28548 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28549 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28550 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28551 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28552 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28553
6cd380dd
WB
285542017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28555
28556 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28557 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28558
1c6d89e9
ST
285592017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28560
28561 * io/read.c (read): Add libc_hidden_weak.
28562 * sysdeps/mach/hurd/read.c (read): Likewise.
28563 * io/write.c (write): Likewise.
28564 * sysdeps/mach/hurd/write.c (write): Likewise.
28565 * io/pread64.c (__pread64): Likewise.
28566 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28567 * posix/pread64.c (__pread64): Add libc_hidden_def.
28568
06b1de23
SP
285692017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28570
140647ea
SP
28571 * benchtests/scripts/compare_strings.py: New option -g.
28572 (draw_graph): Print a message that a graph is being generated.
28573 (process_results): Generate graph only if -g is passed.
28574 (main): Process option -g.
28575
5a6547b7
SP
28576 * benchtests/scripts/compare_strings.py (process_results):
28577 Better spacing for output.
28578
06b1de23
SP
28579 * benchtests/scripts/compare_strings.py: Use argparse.
28580 * benchtests/README: Document existence of compare_strings.py.
28581
c67a2328
JM
285822017-09-15 Joseph Myers <joseph@codesourcery.com>
28583
9ac44708
JM
28584 * math/s_fma.c: Include <libm-alias-double.h>.
28585 (fma): Define using libm_alias_double.
28586 * math/s_nextafter.c: Include <libm-alias-double.h>.
28587 (nextafter): Define using libm_alias_double.
28588 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28589 (acos): Define using libm_alias_double.
28590 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28591 (aocsh): Define using libm_alias_double.
28592 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28593 (asin): Define using libm_alias_double.
28594 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28595 (atan2): Define using libm_alias_double.
28596 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28597 (atanh): Define using libm_alias_double.
28598 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28599 (cosh): Define using libm_alias_double.
28600 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28601 (exp10): Define using libm_alias_double.
28602 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28603 (exp2): Define using libm_alias_double.
28604 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28605 (exp): Define using libm_alias_double.
28606 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28607 (fmod): Define using libm_alias_double.
28608 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28609 (hypot): Define using libm_alias_double.
28610 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28611 (j0): Define using libm_alias_double.
28612 (y0): Likewise.
28613 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28614 (j1): Define using libm_alias_double.
28615 (y1): Likewise.
28616 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28617 (jn): Define using libm_alias_double.
28618 (yn): Likewise.
28619 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28620 (log10): Define using libm_alias_double.
28621 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28622 (log2): Define using libm_alias_double.
28623 * math/w_log_compat.c: Include <libm-alias-double.h>.
28624 (log): Define using libm_alias_double.
28625 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28626 (pow): Define using libm_alias_double.
28627 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28628 (remainder): Define using libm_alias_double.
28629 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28630 (sinh): Define using libm_alias_double.
28631 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28632 (sqrt): Define using libm_alias_double.
28633 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28634 (tgamma): Define using libm_alias_double.
28635 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28636 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28637 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28638 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28639 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28640 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28641 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28642 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28643 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28644 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28645 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28646 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28647 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28648 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28649 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28650 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28651 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28652 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28653 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28654 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28655 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28656 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28657 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28658 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28659 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28660
c67a2328
JM
28661 * math/e_acoshl.c: Remove.
28662 * math/e_acosl.c: Likewise.
28663 * math/e_asinl.c: Likewise.
28664 * math/e_atan2l.c: Likewise.
28665 * math/e_atanhl.c: Likewise.
28666 * math/e_coshl.c: Likewise.
28667 * math/e_expl.c: Likewise.
28668 * math/e_fmodl.c: Likewise.
28669 * math/e_gammal_r.c: Likewise.
28670 * math/e_hypotl.c: Likewise.
28671 * math/e_j0l.c: Likewise.
28672 * math/e_j1l.c: Likewise.
28673 * math/e_jnl.c: Likewise.
28674 * math/e_lgammal_r.c: Likewise.
28675 * math/e_log10l.c: Likewise.
28676 * math/e_log2l.c: Likewise.
28677 * math/e_logl.c: Likewise.
28678 * math/e_powl.c: Likewise.
28679 * math/e_rem_pio2l.c: Likewise.
28680 * math/e_sinhl.c: Likewise.
28681 * math/e_sqrtf128.c: Likewise.
28682 * math/e_sqrtl.c: Likewise.
28683 * math/k_cosl.c: Likewise.
28684 * math/k_sinl.c: Likewise.
28685 * math/k_tanl.c: Likewise.
28686 * math/s_asinhl.c: Likewise.
28687 * math/s_atanl.c: Likewise.
28688 * math/s_cbrtl.c: Likewise.
28689 * math/s_erfl.c: Likewise.
28690 * math/s_expm1l.c: Likewise.
28691 * math/s_log1pl.c: Likewise.
28692 * math/s_tanhl.c: Likewise.
28693
61c45f25
TMQMF
286942017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28695
28696 [BZ #21745]
28697 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28698 [$(subdir) = math] (sysdep_calls): New variable. Has the
28699 previous contents of sysdep_routines, but re-sorted..
28700 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28701 sysdep_calls.
28702 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28703 defined in sysdep_calls and replace by the respective m_* names.
28704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28705 (compat_symbol): Undefine to avoid duplicated compat symbols in
28706 libc.
28707
5bcdb315
JM
287082017-09-15 Joseph Myers <joseph@codesourcery.com>
28709
28710 * math/s_fmaf.c: Include <libm-alias-float.h>.
28711 (fmaf): Define using libm_alias_float.
28712 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28713 (acosf): Define using libm_alias_float.
28714 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28715 (acoshf): Define using libm_alias_float.
28716 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28717 (asinf): Define using libm_alias_float.
28718 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28719 (atan2f): Define using libm_alias_float.
28720 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28721 (atanhf): Define using libm_alias_float.
28722 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28723 (coshf): Define using libm_alias_float.
28724 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28725 (exp10f): Define using libm_alias_float.
28726 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28727 (fmodf): Define using libm_alias_float.
28728 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28729 (hypotf): Define using libm_alias_float.
28730 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28731 (j0f): Define using libm_alias_float.
28732 (y0f): Likewise.
28733 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28734 (j1f): Define using libm_alias_float.
28735 (y1f): Likewise.
28736 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28737 (jnf): Define using libm_alias_float.
28738 (ynf): Likewise.
28739 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28740 (log10f): Define using libm_alias_float.
28741 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28742 (log2f): Define using libm_alias_float.
28743 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28744 (logf): Define using libm_alias_float.
28745 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28746 (powf): Define using libm_alias_float.
28747 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28748 (remainderf): Define using libm_alias_float.
28749 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28750 (sinhf): Define using libm_alias_float.
28751 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28752 (sqrtf): Define using libm_alias_float.
28753 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28754 (tgammaf): Define using libm_alias_float.
28755
01f28812
JM
287562017-09-14 Joseph Myers <joseph@codesourcery.com>
28757
28758 * include/math.h (roundeven): Change hidden_proto call to
28759 __roundeven.
28760 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28761 alias.
28762 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28763 (y0): Rename to __y0 and define as weak alias.
28764 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28765 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28766 alias.
28767 (y0f): Rename to __y0f and define as weak alias.
28768 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28769 alias.
28770 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28771 (y1): Rename to __y1 and define as weak alias.
28772 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28773 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28774 alias.
28775 (y1f): Rename to __y1f and define as weak alias.
28776 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28777 alias.
28778 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28779 (yn): Rename to __yn and define as weak alias.
28780 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28781 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28782 alias.
28783 (ynf): Rename to __ynf and define as weak alias.
28784 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28785 (fromfp): Define as weak alias.
28786 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28787 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28788 (fromfpx): Define as weak alias.
28789 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28790 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28791 __getpayload and define as weak alias.
28792 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28793 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28794 __roundeven and define as weak alias.
28795 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28796 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28797 __setpayload.
28798 (setpayload): Define as weak alias.
28799 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28800 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28801 __setpayloadsig.
28802 (setpayloadsig): Define as weak alias.
28803 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28804 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28805 __totalorder and define as weak alias.
28806 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28807 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28808 to __totalordermag and define as weak alias.
28809 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28810 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28811 (ufromfp): Define as weak alias.
28812 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28813 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28814 __ufromfpx.
28815 (ufromfpx): Define as weak alias.
28816 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28817 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28818 Rename to __getpayload and define as weak alias.
28819 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28820 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28821 Rename to __roundeven and define as weak alias.
28822 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28823 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28824 Rename to __totalorder and define as weak alias.
28825 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28826 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28827 (totalordermag): Rename to __totalordermag and define as weak
28828 alias.
28829 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28830 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28831 macro.
28832 (__roundevenl): Likewise.
28833 (__totalorderl): Likewise.
28834 (__totalordermagl): Likewise
28835 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28836 __fromfpf128.
28837 (fromfpf128): Define as weak alias.
28838 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28839 __fromfpxf128.
28840 (fromfpxf128): Define as weak alias.
28841 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28842 __setpayloadf128.
28843 (setpayloadf128): Define as weak alias.
28844 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28845 __setpayloadsigf128.
28846 (setpayloadsigf128): Define as weak alias.
28847 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28848 __ufromfpf128.
28849 (ufromfpf128): Define as weak alias.
28850 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28851 __ufromfpxf128.
28852 (ufromfpxf128): Define as weak alias.
28853 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28854 (fromfpf): Define as weak alias.
28855 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28856 __fromfpxf.
28857 (fromfpxf): Define as weak alias.
28858 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28859 __getpayloadf and define as weak alias.
28860 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28861 __roundevenf and define as weak alias.
28862 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28863 __setpayloadf.
28864 (setpayloadf): Define as weak alias.
28865 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28866 __setpayloadsigf.
28867 (setpayloadsigf): Define as weak alias.
28868 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28869 __totalorderf and define as weak alias.
28870 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28871 Rename to __totalordermagf and define as weak alias.
28872 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28873 __ufromfpf.
28874 (ufromfpf): Define as weak alias.
28875 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28876 __ufromfpxf.
28877 (ufromfpxf): Define as weak alias.
28878 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28879 __fromfpl.
28880 (fromfpl): Define as weak alias.
28881 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28882 __fromfpxl.
28883 (fromfpxl): Define as weak alias.
28884 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28885 to __getpayloadl and define as weak alias.
28886 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28887 __roundevenl and define as weak alias.
28888 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28889 __setpayloadl.
28890 (setpayloadl): Define as weak alias.
28891 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28892 __setpayloadsigl.
28893 (setpayloadsigl): Define as weak alias.
28894 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28895 to __totalorderl and define as weak alias.
28896 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28897 Rename to __totalordermagl and define as weak alias.
28898 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28899 __ufromfpl.
28900 (ufromfpl): Define as weak alias.
28901 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28902 __ufromfpxl.
28903 (ufromfpxl): Define as weak alias.
28904 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28905 __fromfpl.
28906 (fromfpl): Define as weak alias.
28907 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28908 __fromfpxl.
28909 (fromfpxl): Define as weak alias.
28910 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28911 Rename to __getpayloadl and define as weak alias.
28912 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28913 to __roundevenl and define as weak alias. Call __roundeven
28914 instead of roundeven.
28915 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28916 __setpayloadl.
28917 (setpayloadl): Define as weak alias.
28918 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28919 __setpayloadsigl.
28920 (setpayloadsigl): Define as weak alias.
28921 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28922 Rename to __totalorderl and define as weak alias.
28923 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28924 Rename to __totalordermagl and define as weak alias.
28925 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28926 __ufromfpl.
28927 (ufromfpl): Define as weak alias.
28928 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28929 __ufromfpxl.
28930 (ufromfpxl): Define as weak alias.
28931 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28932 __fromfpl.
28933 (fromfpl): Define as weak alias.
28934 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28935 __fromfpxl.
28936 (fromfpxl): Define as weak alias.
28937 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28938 __getpayloadl and define as weak alias.
28939 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28940 __roundevenl and define as weak alias.
28941 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28942 __setpayloadl.
28943 (setpayloadl): Define as weak alias.
28944 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28945 __setpayloadsigl.
28946 (setpayloadsigl): Define as weak alias.
28947 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28948 __totalorderl and define as weak alias.
28949 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28950 Rename to __totalordermagl and define as weak alias.
28951 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28952 __ufromfpl.
28953 (ufromfpl): Define as weak alias.
28954 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28955 __ufromfpxl.
28956 (ufromfpxl): Define as weak alias.
28957
29c933fb
SP
289582017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28959
503c92c3
SP
28960 * benchtests/bench-string.h (realloc_bufs): New function.
28961 (test_init): Call it.
28962 * benchtests/bench-memset-large.c (do_test): Likewise.
28963 * benchtests/bench-memset.c (do_test): Likewise.
28964
29c933fb
SP
28965 * benchtests/bench-memset-large.c: Print output in JSON
28966 format.
28967 * benchtests/bench-memset.c: Likewise.
28968
799c8d69
MF
289692017-09-14 Mike FABIAN <mfabian@redhat.com>
28970
28971 [BZ #21084]
28972 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28973 * iconvdata/Makefile: Add IBM858.
28974 * iconvdata/gconv-modules: Likewise.
28975 * iconvdata/tst-tables.sh: Likewise.
28976 * iconvdata/ibm858.c: New file.
28977 * localedata/charmaps/IBM858: Likewise.
28978
c207f7ce 289792017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
28980
28981 [BZ #22023]
28982 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28983 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28984
f28a0926
AK
289852017-09-14 Mike FABIAN <mfabian@redhat.com>
28986
28987 [BZ #22112]
28988 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28989 and add tel_int_fmt.
28990
02093e62
JM
289912017-09-14 Joseph Myers <joseph@codesourcery.com>
28992
28993 * sysdeps/generic/libm-alias-float128.h: New file.
28994 * sysdeps/generic/math-type-macros-float128.h: Include
28995 <libm-alias-float128.h>.
28996 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28997
1aae75ef
JM
289982017-09-13 Joseph Myers <joseph@codesourcery.com>
28999
29000 * sysdeps/generic/libm-alias-ldouble.h: New file.
29001 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29002 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29003 * sysdeps/generic/math-type-macros-ldouble.h: Include
29004 <libm-alias-ldouble.h>.
29005 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29006 libm_alias_ldouble.
29007
bcea7ad6
SN
290082017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29009
29010 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29011 * math/w_exp_compat.c: ... here.
29012 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29013 * math/w_expf_compat.c: ... here.
29014 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29015 * math/w_expl_compat.c: ... here.
29016 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29017 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29018 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29019 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29020
0fc56478
JM
290212017-09-13 Joseph Myers <joseph@codesourcery.com>
29022
29023 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29024 redefine.
29025 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29026 macro.
29027 (ldexpl): Only define as compat symbol for libc, not libm.
29028 (scalbnl): Define as compat symbol for libc here.
29029 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29030 define for [IS_IN (libc)].
29031 (__ldexpl_2): Remove alias.
29032 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29033 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29034 name in long_double_symbol call.
29035 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29036 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29037 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29038 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29039 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29040 Remove macro.
29041 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29042 Define as compat symbol.
29043
3ca622e4
AZ
290442017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29045
29046 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29047 * sysdeps/unix/sysv/linux/alpha/Makefile
29048 [$(subdir) = csu] (sysdep_routines): Remove rule.
29049
620ff9ee
JM
290502017-09-13 Joseph Myers <joseph@codesourcery.com>
29051
29052 * sysdeps/generic/libm-alias-double.h: New file.
29053 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29054 * sysdeps/generic/math-type-macros-double.h: Include
29055 <libm-alias-double.h>.
29056 [declare_mgen_alias] (declare_mgen_alias): Define to use
29057 libm_alias_double.
29058 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29059 (M_LIBM_NEED_COMPAT): Remove macro.
29060 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29061 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29062 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29063 code.
29064 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29065 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29066 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29067 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29068 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29069 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29070 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29071 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29072 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29073 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29074 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29075 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29076 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29077 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29078 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29079 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29080 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29081 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29082 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29083 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29084 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29085 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29086 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29087 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29088 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29089 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29090 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29091 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29092 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29093 macro.
29094 (declare_mgen_alias): New macro.
29095 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29096 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29098 (M_LIBM_NEED_COMPAT): Remove macro.
29099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29100 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29101 <first-versions.h>.
29102 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29103 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29104
a891caff
JM
291052017-09-12 Joseph Myers <joseph@codesourcery.com>
29106
29107 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29108 (declare_mgen_alias_2): Remove.
29109 * sysdeps/generic/math-type-macros-double.h
29110 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29111 Likewise.
29112 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29113 alias.
29114 (ldexp): Define with declare_mgen_alias.
29115 (scalbn): Likewise.
29116
a1a78204
SE
291172017-09-12 Steve Ellcey <sellcey@cavium.com>
29118
29119 * grp/initgroups.c: Include config.h.
29120 (DEFAULT_CONFIG): New macro.
29121 (internal_getgrouplist): Use DEFAULT_CONFIG.
29122 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29123 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29124 (DEFAULT_DEFCONFIG): New macro.
29125 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29126 * nss/grp-lookup.c: Include config.h
29127 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29128 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29129 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29130 * manual/nss.texi: Update default values section.
29131
ef8adeb0
L
291322017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29133
29134 [BZ #21967]
29135 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29136 New.
29137 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29138 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29139 Handle MathVec_Prefer_No_AVX512.
29140 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29141 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29142 is set.
29143
a166531f
ST
291442017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29145
29146 * posix/sched_primax.c (__sched_get_priority_max): Add
29147 libc_hidden_def.
29148 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29149 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29150 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29151 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29152 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29153 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29154 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29155 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29156 Add aliases.
29157
4b7d1efb
JM
291582017-09-11 Joseph Myers <joseph@codesourcery.com>
29159
29160 * sysdeps/generic/libm-alias-float.h: New file.
29161 * sysdeps/generic/math-type-macros-float.h: Include
29162 <libm-alias-float.h>.
29163 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29164
45ff3463
L
291652017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29166
29167 [BZ #22093]
29168 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29169 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29170 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29171 (HWCAP_IMPORTANT): Likewise.
29172 (HWCAP_X86_64): New enum.
29173 (HWCAP_X86_AVX512_1): Updated.
29174 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29175 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29176 (modules-names): Add x86_64/tst-x86_64mod-1.
29177 (LDFLAGS-tst-x86_64mod-1.so): New.
29178 ($(objpfx)tst-x86_64-1): Likewise.
29179 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29180 (tst-x86_64-1-clean): Likewise.
29181 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29182 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29183
891abfd3
SP
291842017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29185
29186 * po/sv.po: Update translations.
29187 * po/fr.po: Likewise.
29188
00c3da43
ST
291892017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29190
29191 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29192 seconds.
3bdfd9fb
ST
29193 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29194 seconds.
65b22ebc 29195 * elf/rtld-Rules: Fix $(error) use.
00c3da43 29196
96480903
MF
291972017-09-09 Mike FABIAN <mfabian@redhat.com>
29198
29199 [BZ #14925]
29200 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29201 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29202 * localedata/locales/bn_BD: “Bengali” was still used in some
29203 comments. Change it to “Bangla”.
29204
4c03a696
MT
292052017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29206
29207 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29208
9c9ec581
SE
292092017-09-08 Steve Ellcey <sellcey@cavium.com>
29210
29211 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29212 thunderx2t99p1 to list of cpu names.
29213 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29214 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29215
f00bce74
SE
292162017-09-08 Steve Ellcey <sellcey@cavium.com>
29217
29218 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29219 Use strcmp instead of tunable_is_name.
29220
27342d17
JM
292212017-09-08 Joseph Myers <joseph@codesourcery.com>
29222
af1b7c8c
JM
29223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29224 (F_GET_RW_HINT): New macro.
29225 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29226 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29227 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29228 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29229 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29230 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29231 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29232 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29233 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29234
27342d17
JM
29235 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29236 (F_ADD_SEALS): New macro.
29237 [__USE_GNU] (F_GET_SEALS): Likewise.
29238 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29239 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29240 [__USE_GNU] (F_SEAL_GROW): Likewise.
29241 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29242
c66c9082
AZ
292432017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29244
07b4f49d
AZ
29245 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29246 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29247 * posix/glob_internal.h (__glob_pattern_type):
29248 * posix/glob.c (glob):
29249 * posix/glob_pattern_p.c (__glob_pattern_p):
29250 Use them.
29251
116f1c64
AZ
29252 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29253 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29254 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29255 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29256 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29258 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29259 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29260 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29261 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29262 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29263 * sysdeps/wordsize-64/glob.c: Likewise.
29264 * sysdeps/wordsize-64/glob64.c: Likewise.
29265 * sysdeps/wordsize-64/globfree.c: Likewise.
29266 * sysdeps/wordsize-64/globfree64.c: Likewise.
29267 * sysdeps/unix/sysv/linux/glob.c: New file.
29268 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29269 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29270 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29271 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29272 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29273 adds !GLOB_NO_OLD_VERSION as an extra condition.
29274 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29275 using relative path instead of absolute one.
29276 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29277 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29278 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29279 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29280 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29281 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29282
ffca8901
AZ
29283 [BZ #1062]
29284 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29285 (glob): Use the same scratch buffer for both getlogin_r and
29286 getpwnam_r. Don’t require preallocation of the login name. This
29287 simplifies storage allocation, and corrects the handling of
29288 long login names.
29289
5a79f975
AZ
29290 [BZ #1062]
29291 * posix/glob.c (glob): Port recent patches to platforms
29292 lacking getpwnam_r.
29293 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29294 returns an error number rather than setting errno.
29295
e00f2425
AZ
29296 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29297 instead of GCC extension.
29298 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29299 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29300 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29301
5554304f
AZ
29302 [BZ #866]
29303 [BZ #1062]
29304 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29305 * posix/bug-glob1.c: Remove file.
29306 * posix/tst-glob_symlinks.c: New file.
29307 * posix/glob.c (__lstat64): New macro.
29308 (is_dir): New function.
29309 (glob, glob_in_dir): Match symlinks even if they are dangling.
29310 (link_stat, link_exists_p): Remove. All uses removed.
29311
686f2ea1
AZ
29312 [BZ #1062]
29313 [BZ #19971]
29314 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29315 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29316 All uses removed.
29317
c66c9082 29318 [BZ #1062]
914c9994 29319 CVE-2017-15671
c66c9082
AZ
29320 * posix/Makefile (routines): Add globfree, globfree64, and
29321 glob_pattern_p.
29322 * posix/flexmember.h: New file.
29323 * posix/glob_internal.h: Likewise.
29324 * posix/glob_pattern_p.c: Likewise.
29325 * posix/globfree.c: Likewise.
29326 * posix/globfree64.c: Likewise.
29327 * sysdeps/gnu/globfree64.c: Likewise.
29328 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29329 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29330 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29331 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29332 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29333 * sysdeps/wordsize-64/globfree.c: Likewise.
29334 * sysdeps/wordsize-64/globfree64.c: Likewise.
29335 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29336 [NDEBUG): Remove comments.
29337 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29338 (dirent_type): New type. Use uint_fast8_t not
29339 uint8_t, as C99 does not require uint8_t.
29340 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29341 (struct readdir_result): Use dirent_type. Do not define skip_entry
29342 unless it is needed; this saves a byte on platforms lacking d_ino.
29343 (readdir_result_type, readdir_result_skip_entry):
29344 New functions, replacing ...
29345 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29346 these functions, which were removed. This makes the callers
29347 easier to read. All callers changed.
29348 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29349 (size_add_wrapv, glob_use_alloca): New static functions.
29350 (glob, glob_in_dir): Check for size_t overflow in several places,
29351 and fix some size_t checks that were not quite right.
29352 Remove old code using SHELL since Bash no longer
29353 uses this.
29354 (glob, prefix_array): Separate MS code better.
29355 (glob_in_dir): Remove old Amiga and VMS code.
29356 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29357 separate files.
29358 (glob_in_dir): Do not rely on undefined behavior in accessing
29359 struct members beyond their bounds. Use a flexible array member
29360 instead
29361 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29362 0/1. Caller changed.
29363 (glob): Fix memory leaks.
29364 * posix/glob64 (globfree64): Move to separate file.
29365 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29366 (globfree64): Remove hidden alias.
29367 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29368 oldglob.
29369 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29370 separate file.
29371 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29372 define.
29373 Move compat code to separate file.
29374 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29375 separate file.
29376
78bfa877
L
293772017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29378
29379 * resolv/tst-resolv-qtypes.c (domain): Changed to
29380 "const char domain[] =".
29381
05f0011f
JM
293822017-09-07 Joseph Myers <joseph@codesourcery.com>
29383
85bec0f2
JM
29384 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29385 version to 3.1.6.
29386
5c23ee6e
JM
29387 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29388 (TCP_MD5SIG_EXT): Likewise.
29389 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29390 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29391 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29392
05f0011f
JM
29393 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29394
7c9c5be9
MF
293952017-09-07 Mike FABIAN <mfabian@redhat.com>
29396
29397 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29398
c207f7ce 293992017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
29400
29401 [BZ #22100]
29402 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29403
507fe027
ST
294042017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29405
29406 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29407 before assuming that the file is empty. Avoid testing buffer content
29408 when nread == 0.
29409
65687ac7
AZ
294102017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29411
7bbbb4b9 29412 [BZ #18858]
65687ac7
AZ
29413 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29414 Remove define.
29415 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29416 Likewise.
29417 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29418 Likewise.
29419 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29420 Likewise.
29421 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29422 Likewise.
29423 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29424 Likewise.
29425 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29426 Likewise.
29427
ab5ac271
FW
294282017-09-06 Florian Weimer <fweimer@redhat.com>
29429
29430 * malloc/dynarray_emplace_enlarge.c
29431 (__libc_dynarray_emplace_enlarge): Add missing else.
29432
a8304730
FW
294332017-09-06 Florian Weimer <fweimer@redhat.com>
29434
29435 [BZ #22096]
29436 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29437 case of failure to obtain the global conf object.
29438
5670c4ab
FW
294392017-09-06 Florian Weimer <fweimer@redhat.com>
29440
29441 [BZ #22095]
29442 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29443 dynarray allocation failure.
29444
c77eb969
FW
294452017-09-06 Florian Weimer <fweimer@redhat.com>
29446
29447 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29448 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29449 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29450 New functions.
29451 (response): Call them. Add 'p', '6' flag processing.
29452 (test_reverse): New function.
29453 (test_get2_any): Call it.
29454 (test_no_inet6): Add 'p' test.
29455 (test_inet6): Likewise.
29456
5e9c4d17
FW
294572017-09-06 Florian Weimer <fweimer@redhat.com>
29458
29459 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29460 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29461 the QNAME.
29462 (test_gai): Adjust query names. Add additional tests.
29463 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29464 test_get2. Adjust query names. Add additional tests.
29465 (test_no_inet6): New function, extracted from threadfunc.
29466 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29467 Add additional tests.
29468
2ae5be04
MF
294692017-09-06 Mike FABIAN <mfabian@redhat.com>
29470
29471 [BZ #22070]
29472 * localedata/unicode-gen/utf8_gen.py: Set the width for
29473 characters with Prepended_Concatenation_Mark property to 1
29474 * localedata/charmaps/UTF-8: Updated using the improved script.
29475
af83ed5c
MF
294762017-09-06 Mike FABIAN <mfabian@redhat.com>
29477
29478 [BZ #21750]
29479 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29480 use the range notation for all ranges of neighbouring characters
29481 with the same width.
29482
4f3647e4
JM
294832017-09-05 Joseph Myers <joseph@codesourcery.com>
29484
29485 * sysdeps/generic/math-type-macros-double.h: Include
29486 <math-svid-compat.h>.
29487 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29488 * sysdeps/generic/math-type-macros-float.h: Include
29489 <math-svid-compat.h>.
29490 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29491 * sysdeps/generic/math-type-macros-ldouble.h: Include
29492 <math-svid-compat.h>.
29493 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29494 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29495 condition.
29496 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29497 * math/w_acosf_compat.c: Likewise.
29498 * math/w_acosh_compat.c: Likewise.
29499 * math/w_acoshf_compat.c: Likewise.
29500 * math/w_acoshl_compat.c: Likewise.
29501 * math/w_acosl_compat.c: Likewise.
29502 * math/w_asin_compat.c: Likewise.
29503 * math/w_asinf_compat.c: Likewise.
29504 * math/w_asinl_compat.c: Likewise.
29505 * math/w_atan2_compat.c: Likewise.
29506 * math/w_atan2f_compat.c: Likewise.
29507 * math/w_atan2l_compat.c: Likewise.
29508 * math/w_atanh_compat.c: Likewise.
29509 * math/w_atanhf_compat.c: Likewise.
29510 * math/w_atanhl_compat.c: Likewise.
29511 * math/w_cosh_compat.c: Likewise.
29512 * math/w_coshf_compat.c: Likewise.
29513 * math/w_coshl_compat.c: Likewise.
29514 * math/w_exp10_compat.c: Likewise.
29515 * math/w_exp10f_compat.c: Likewise.
29516 * math/w_exp10l_compat.c: Likewise.
29517 * math/w_exp2_compat.c: Likewise.
29518 * math/w_exp2f_compat.c: Likewise.
29519 * math/w_exp2l_compat.c: Likewise.
29520 * math/w_fmod_compat.c: Likewise.
29521 * math/w_fmodf_compat.c: Likewise.
29522 * math/w_fmodl_compat.c: Likewise.
29523 * math/w_hypot_compat.c: Likewise.
29524 * math/w_hypotf_compat.c: Likewise.
29525 * math/w_hypotl_compat.c: Likewise.
29526 * math/w_j0_compat.c: Likewise.
29527 * math/w_j0f_compat.c: Likewise.
29528 * math/w_j0l_compat.c: Likewise.
29529 * math/w_j1_compat.c: Likewise.
29530 * math/w_j1f_compat.c: Likewise.
29531 * math/w_j1l_compat.c: Likewise.
29532 * math/w_jn_compat.c: Likewise.
29533 * math/w_jnf_compat.c: Likewise.
29534 * math/w_jnl_compat.c: Likewise.
29535 * math/w_lgamma_r_compat.c: Likewise.
29536 * math/w_lgammaf_r_compat.c: Likewise.
29537 * math/w_lgammal_r_compat.c: Likewise.
29538 * math/w_log10_compat.c: Likewise.
29539 * math/w_log10f_compat.c: Likewise.
29540 * math/w_log10l_compat.c: Likewise.
29541 * math/w_log2_compat.c: Likewise.
29542 * math/w_log2f_compat.c: Likewise.
29543 * math/w_log2l_compat.c: Likewise.
29544 * math/w_log_compat.c: Likewise.
29545 * math/w_logf_compat.c: Likewise.
29546 * math/w_logl_compat.c: Likewise.
29547 * math/w_pow_compat.c: Likewise.
29548 * math/w_powf_compat.c: Likewise.
29549 * math/w_powl_compat.c: Likewise.
29550 * math/w_remainder_compat.c: Likewise.
29551 * math/w_remainderf_compat.c: Likewise.
29552 * math/w_remainderl_compat.c: Likewise.
29553 * math/w_sinh_compat.c: Likewise.
29554 * math/w_sinhf_compat.c: Likewise.
29555 * math/w_sinhl_compat.c: Likewise.
29556 * math/w_sqrt_compat.c: Likewise.
29557 * math/w_sqrtf_compat.c: Likewise.
29558 * math/w_sqrtl_compat.c: Likewise.
29559 * math/w_tgamma_compat.c: Likewise.
29560 * math/w_tgammaf_compat.c: Likewise.
29561 * math/w_tgammal_compat.c: Likewise.
29562 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29563 [LIBM_SVID_COMPAT].
29564 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29565 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29566 [LIBM_SVID_COMPAT].
29567 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29568 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29569 [LIBM_SVID_COMPAT].
29570 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29571 * sysdeps/i386/fpu/w_sqrt.c: New file.
29572 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29573 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29574 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29575 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29576 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29577 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29578 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29579 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29580 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29581 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29582 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29583 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29584 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29585 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29586 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29587 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29588 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29589 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29590 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29591 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29592 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29593 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29594 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29595 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29596 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29597 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29598 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29599 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29600 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29601 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29602 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29603 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29604 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29605 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29606 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29607 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29608 * sysdeps/ia64/fpu/w_log.c: Likewise.
29609 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29610 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29611 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29612 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29613 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29614 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29615 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29616 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29617 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29618 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29619 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29620 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29621 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29622 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29623 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29624 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29625 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29626 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29627 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29628 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29629 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29630 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29631 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29632 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29633 [LIBM_SVID_COMPAT].
29634 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29635 * sysdeps/ieee754/k_standard.c: Likewise.
29636 * sysdeps/ieee754/k_standardf.c: Likewise.
29637 * sysdeps/ieee754/k_standardl.c: Likewise.
29638 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29639 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29640 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29641 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29642 long_double_symbol call on [LIBM_SVID_COMPAT].
29643 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29644 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29645 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29646 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29647 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29648 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29649 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29650 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29651 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29652 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29653 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29654 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29655 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29656 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29657 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29658 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29659 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29660 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29661 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29662 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29663 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29664 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29665
05b38d64
SE
296662017-09-05 Steve Ellcey <sellcey@cavium.com>
29667
29668 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29669 * malloc/tst-mallocstate.c: Convert from test-skeleton
29670 to test-driver. Ifdef code using TEST_COMPAT macro.
29671 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29672 * math/test-matherr.c: Likewise.
29673
99d67918
JM
296742017-09-05 Joseph Myers <joseph@codesourcery.com>
29675
29676 [BZ #22086]
29677 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29678 comparing word with byte-swapped constant.
29679
c207f7ce 296802017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
29681
29682 [BZ #20498]
29683 * locale/iso-639.def: add Miskito.
29684 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29685 * localedata/locales/miq_NI: New file.
29686
0a587a8a
L
296872017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29688
29689 [BZ #18822]
29690 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29691 (__mkdir): Likewise.
29692 * io/chmod.c (__chmod): Add libc_hidden_def.
29693 * io/mkdir.c (__mkdir): Likewise.
29694 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29695 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29696 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29697 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29698
f3a129b8
JM
296992017-09-04 Joseph Myers <joseph@codesourcery.com>
29700
1650e192
JM
29701 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29702 version to 4.13.
29703
f3a129b8
JM
29704 [BZ #22082]
29705 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29706 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29707
b38042f5
FW
297082017-09-04 Florian Weimer <fweimer@redhat.com>
29709
29710 * math/math.h: Issue warning if log is defined.
29711
059b6404
JM
297122017-09-04 Joseph Myers <joseph@codesourcery.com>
29713
29714 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29715 kernel version to 4.13.
29716
b794e16b
ST
297172017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29718
29719 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
29720 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29721 parameter.
01969395
ST
29722 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29723 just <bits/types.h>.
dd2b31de 29724 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 29725 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 29726 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 29727 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
29728 * misc/preadv2.c: Include <errno.h>.
29729 * misc/preadv64v2.c: Include <errno.h>.
29730 * misc/pwritev2.c: Include <errno.h>.
29731 * misc/pwritev64v2.c: Include <errno.h>.
29732 * sysdeps/posix/preadv2.c: Include <errno.h>.
29733 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29734 Fix <unistd.h> inclusion.
29735 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29736 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
29737 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29738 __strtoul_internal): New functions.
127e7773
ST
29739 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29740 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
29741 * sysdeps/mach/hurd/i386/Makefile
29742 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29743 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29744 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
29745 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29746 __feraiseexcept_renamed to feraiseexcept instead of
29747 __GI_feraiseexcept.
56bf5497 29748 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 29749 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
29750 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29751 RWF_NOWAIT): Define to 0 if undefined already.
29752 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29753 boils down to 0.
6547ec0a
ST
29754 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29755 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 29756
5a80d39d
JM
297572017-09-01 Joseph Myers <joseph@codesourcery.com>
29758
29759 * manual/math.texi (pow10): Do not document.
29760 (pow10f): Likewise.
29761 (pow10l): Likewise.
29762 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29763 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29764 * math/libm-test-exp10.inc (pow10_test): Remove.
29765 (do_test): Do not call pow10.
29766 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29767 [NO_LONG_DOUBLE] (pow10l): Likewise.
29768 * math/w_exp10f_compat.c (pow10f): Likewise.
29769 * math/w_exp10l_compat.c (pow10l): Likewise.
29770 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29771 (pow10): Make into compat symbol.
29772 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29773 (pow10f): Make into compat symbol.
29774 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29775 (pow10l): Make into compat symbol.
29776 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29777 pow10.
29778 (CFLAGS-nldbl-pow10.c): Remove variable..
29779 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29780 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29781 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29782 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29783 Undefine and redefine.
29784 (pow10l): Make into compat symbol.
29785 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29786 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29787 * sysdeps/arm/libm-test-ulps: Likewise.
29788 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29789 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29790 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29791 * sysdeps/microblaze/libm-test-ulps: Likewise.
29792 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29793 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29794 * sysdeps/nios2/libm-test-ulps: Likewise.
29795 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29796 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29797 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29798 * sysdeps/sh/libm-test-ulps: Likewise.
29799 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29800 * sysdeps/tile/libm-test-ulps: Likewise.
29801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29802
3824fc38
PP
298032017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29804
29805 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29806
b3008279
L
298072017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29808
29809 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29810 "../ChangeLog.old/ChangeLog.8".
29811 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29812 "../ChangeLog.old/ChangeLog.14".
29813
136fa185
L
298142017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29815
29816 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29817 Threads Library.
29818
c18d50a2
JM
298192017-09-01 Joseph Myers <joseph@codesourcery.com>
29820
29821 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29822
bedbd859
L
298232017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29824
29825 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29826 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29827
50c66c7a
PP
298282017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29829
29830 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29831 32 atexit handlers.
29832
a617bd11
ZW
298332017-09-01 Zack Weinberg <zackw@panix.com>
29834
29835 * math/math.h (HUGE_VAL): Improve commentary.
29836
e0d2eb5a
AZ
298372017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29838 Andreas Schwab <schwab@suse.de>
29839
29840 [BZ #21530]
29841 * include/stdio.h (__gen_tempfd): New function.
29842 * stdio-common/Makefile (routines): Add gentempfd.
29843 * stdio-common/gentempfd.c: New file.
29844 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29845 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29846 unnamed file first.
29847
f4a6be25
FW
298482017-09-01 Florian Weimer <fweimer@redhat.com>
29849
29850 [BZ #21915]
29851 [BZ #21922]
29852 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29853 result to determine success or failure, not the errno value.
29854 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29855 (tst-nss-files-hosts-erange): Link with -ldl.
29856 * nss/tst-nss-files-hosts-erange.c: New file.
29857 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29858 (do_test): Add NO_DATA tests.
29859 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29860 (do_test): Call it.
29861
5f8340f5
FW
298622017-09-01 Florian Weimer <fweimer@redhat.com>
29863
29864 [BZ #21922]
29865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29866 coming from gethostbyname2_r.
29867
65329bd2
FW
298682017-09-01 Florian Weimer <fweimer@redhat.com>
29869
29870 * support/namespace.h (struct support_chroot_configuration): Add
29871 hosts, host_conf.
29872 (struct support_chroot): Add path_hosts, path_host_conf.
29873 * support/support_chroot.c (write_file): New function.
29874 (support_chroot_create): Call it to process /etc/resolv.conf,
29875 /etc/hosts, /etc/host.conf.
29876 (support_chroot_free): Update.
29877
a2881ef0
FW
298782017-09-01 Florian Weimer <fweimer@redhat.com>
29879
29880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29881 status indicates it is set.
29882
ad816a5e
FW
298832017-09-01 Florian Weimer <fweimer@redhat.com>
29884
63b52889 29885 [BZ #20532]
ad816a5e
FW
29886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29887 function lookup failures more reliable.
29888
53250a21
FW
298892017-09-01 Florian Weimer <fweimer@redhat.com>
29890
29891 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29892 (getcanonname): Likewise.
29893 (gaih_inet): Likewise.
29894
924b121c
FW
298952017-09-01 Florian Weimer <fweimer@redhat.com>
29896
29897 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29898 (getcanonname): Likewise.
29899 (gaih_inet): Likewise.
29900
d9ff799a
SE
299012017-08-31 Steve Ellcey <sellcey@cavium.com>
29902 Richard Henderson <rth@twiddle.net>
29903
29904 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29905 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29906 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29907 (IREG_SIZE, OREG_SIZE): New macros.
29908 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29909 (IREG_SIZE, OREG_SIZE): New macros.
29910 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29911 (IREG_SIZE): New macro.
29912 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29913 (IREG_SIZE): New macro.
29914 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29915 New includes.
29916 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29917 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29918 (__CONCATX): Handle exceptions correctly on large values that may
29919 set FE_INVALID.
29920 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29921 Initialize if not already set.
29922 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29923
102dde84
AZ
299242017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29925
29926 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29927 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29928 Likewise.
29929 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29930 Likewise.
29931 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29932 Likewise.
29933 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29934 Likewise.
29935 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29936 Likewise.
29937 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29938 Likewise.
29939 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29940 Likewise.
29941 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29942 (NO_CANCELLATION): Likewise.
29943 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29944 Likewise.
29945 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29946 Likewise.
29947 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29948 Likewise.
29949 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29950 (NO_CANCELLATION): Likewise.
29951 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29952 (NO_CANCELLATION): Likewise.
29953 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29954 Likewise
29955 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29956 Likewise.
29957 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29958 Likewise.
29959 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29960 Likewise.
29961 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29962 hidden prototype.
29963 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29964 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29965
9eee633b
SE
299662017-08-31 Steve Ellcey <sellcey@cavium.com>
29967
29968 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29969 in resolver call.
29970
65284eb7
FW
299712017-08-31 Florian Weimer <fweimer@redhat.com>
29972
29973 * include/libc-symbols.h (internal_function): Remove.
29974
41ad5ca6
FW
299752017-08-31 Florian Weimer <fweimer@redhat.com>
29976
29977 * stdlib/fmtmsg.c (internal_addseverity): Remove
29978 internal_function.
29979
2fa6d086
FW
299802017-08-31 Florian Weimer <fweimer@redhat.com>
29981
29982 * stdio-common/printf_fp.c (group_number): Remove
29983 internal_function.
29984 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29985
b41bd5bc
FW
299862017-08-31 Florian Weimer <fweimer@redhat.com>
29987
29988 * posix/fnmatch.c (internal_function): Remove definition.
29989 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29990 * posix/regcomp.c (peek_token, init_word_char)
29991 (duplicate_node_closure, fetch_token, peek_token)
29992 (peek_token_bracket, build_range_exp, build_collating_symbol):
29993 Likewise.
29994 * posix/regex_internal.c (re_string_construct_common)
29995 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29996 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29997 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29998 (re_string_translate_buffer, re_string_reconstruct)
29999 (re_string_peek_byte_case, re_string_fetch_byte_case)
30000 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30001 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30002 (re_node_set_add_intersect, re_node_set_init_union)
30003 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30004 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30005 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30006 (re_acquire_state_context): Likewise.
30007 * posix/regex_internal.h (internal_function): Remove definition.
30008 (re_string_realloc_buffers, build_wcs_buffer)
30009 (build_wcs_upper_buffer, build_upper_buffer)
30010 (re_string_translate_buffer, re_string_context_at)
30011 (re_string_char_size_at, re_string_wchar_at)
30012 (re_string_elem_size_at): Likewise.
30013 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30014 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30015 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30016 (re_search_internal, re_search_2_stub, re_search_stub)
30017 (re_copy_regs, prune_impossible_nodes, check_matching)
30018 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30019 (free_fail_stack_return, sift_states_iter_mb)
30020 (sift_states_backward, build_sifted_states)
30021 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30022 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30023 (check_subexp_limits, sift_states_bkref, merge_state_array)
30024 (find_recover_state, transit_state, merge_state_with_log)
30025 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30026 (transit_state_mb, transit_state_bkref, get_subexp)
30027 (get_subexp_sub, find_subexp_node, check_arrival)
30028 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30029 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30030 (check_node_accept_bytes, find_collation_sequence_value)
30031 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30032 (acquire_init_state_context, check_halt_node_context)
30033 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30034 (sub_epsilon_src_nodes): Likewise.
30035 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30036 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30037 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30038 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30039 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30040 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30041 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30042 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30043 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30044 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30045 (PREADV): Likewise.
30046 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30047 (PREADV): Likewise.
30048 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30049 (PWRITEV): Likewise.
30050 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30051 (PWRITEV): Likewise.
30052 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30053 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30054
83b09837
FW
300552017-08-31 Florian Weimer <fweimer@redhat.com>
30056
30057 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30058 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30059 Remove internal_function.
30060 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30061 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30062 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30063 (__deallocate_stack, __libc_pthread_init)
30064 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30065 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30066 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30067 Likewise.
30068 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30069 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30070 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30071 Likewise.
30072 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30073 (__pthread_mutex_unlock_usercnt): Likewise.
30074
116ac301
FW
300752017-08-31 Florian Weimer <fweimer@redhat.com>
30076
30077 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30078 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30079 (fts_safe_changedir): Remove internal_function.
30080 * io/ftw.c (internal_function): Remove definition.
30081 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30082
9da93bd7
FW
300832017-08-31 Florian Weimer <fweimer@redhat.com>
30084
30085 * inet/deadline.c (__deadline_current_time)
30086 (__deadline_from_timeval, __deadline_to_ms): Remove
30087 internal_function.
30088 * inet/getnameinfo.c (nrl_domainname): Likewise.
30089 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30090 * inet/inet6_option.c (add_pad): Likewise.
30091 * inet/net-internal.h (__deadline_current_time)
30092 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30093 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30094 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30095 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30096
a60eca2e
JM
300972017-08-31 Joseph Myers <joseph@codesourcery.com>
30098
c0c49d60
JM
30099 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30100 include <bits/nan.h>.
30101 * math/Makefile (headers): Remove bits/nan.h.
30102 * bits/nan.h: Remove.
30103 * sysdeps/ieee754/bits/nan.h: Likewise.
30104 * sysdeps/mips/bits/nan.h: Likewise.
30105
5ef1b213
JM
30106 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30107 not include <bits/inf.h>.
30108 * math/Makefile (headers): Remove bits/inf.h.
30109 * bits/inf.h: Remove.
30110 * sysdeps/ieee754/bits/inf.h: Likewise.
30111
a60eca2e
JM
30112 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30113 bits/huge_vall.h or bits/huge_val_flt128.h.
30114 (HUGE_VAL): Define directly here.
30115 [__USE_ISOC99] (HUGE_VALF): Likewise.
30116 [__USE_ISOC99] (HUGE_VALL): Likewise.
30117 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30118 (HUGE_VAL_F128): Likewise.
30119 * math/Makefile (headers): Remove bits/huge_val.h,
30120 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30121 * bits/huge_val.h: Remove.
30122 * bits/huge_val_flt128.h: Likewise.
30123 * bits/huge_valf.h: Likewise.
30124 * bits/huge_vall.h: Likewise.
30125 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30126 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30127 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30128 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30129 * sysdeps/sh/bits/huge_val.h: Likewise.
30130 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30131 * sysdeps/x86/bits/huge_vall.h: Likewise.
30132
17e00cc6
FW
301332017-08-31 Florian Weimer <fweimer@redhat.com>
30134
30135 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30136 internal_function.
30137 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30138 Likewise.
30139 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30140 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30141 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30142 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30143 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30144 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30145 * elf/dl-libc.c (dlerror_run): Likewise.
30146 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30147 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30148 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30149 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30150 Likewise.
30151 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30152 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30153 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30154 * elf/dl-profile.c (_dl_start_profile): Likewise.
30155 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30156 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30157 Likewise.
30158 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30159 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30160 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30161 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30162 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30163 (_dl_allocate_tls_storage): Likewise.
30164 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30165 (_dl_check_all_versions): Likewise.
30166 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30167 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30168 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30169 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30170 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30171 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30172 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30173 internal_function from __dl_start.
30174 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30175 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30176 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30177 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30178 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30179 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30180 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30181 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30182 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30183 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30184 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30185 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30186 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30187 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30188 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30189 Likewise.
30190 (struct rtld_global_ro): Remove internal_function from the
30191 _dl_lookup_symbol_x member.
30192 (_dl_symbol_value): Remove. No longer defined anywhere.
30193 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30194 internal_function.
30195 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30196 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30197 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30198 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30199 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30200 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30201 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30202 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30203 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30204 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30205 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30206 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30207
8d2f9410
FW
302082017-08-31 Florian Weimer <fweimer@redhat.com>
30209
30210 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30211 Remove internal_function.
30212 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30213 Likewise.
30214 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30215 Likewise.
30216
86e4919f
FW
302172017-08-31 Florian Weimer <fweimer@redhat.com>
30218
30219 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30220 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30221 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30222
59bd52b0
FW
302232017-08-31 Florian Weimer <fweimer@redhat.com>
30224
30225 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30226 (__gai_enqueue_request): Remove internal_function.
30227 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30228 (__gai_remove_request, __gai_notify, __gai_notify_only)
30229 (__gai_sigqueue): Likewise.
30230 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30231 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30232 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30233 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30234 Likewise.
30235
fc3d9497
FW
302362017-08-31 Florian Weimer <fweimer@redhat.com>
30237
30238 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30239 * include/dirent.h (__opendirat, __getdents, __getdents64)
30240 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30241 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30242 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30243 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30244 Likewise.
30245 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30246
18c54fac
FW
302472017-08-31 Florian Weimer <fweimer@redhat.com>
30248
30249 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30250 internal_function.
30251 (GETCWD_RETURN_TYPE): Likewise.
30252
7e01f080
FW
302532017-08-31 Florian Weimer <fweimer@redhat.com>
30254
30255 * include/time.h (__tz_compute, __strptime_internal): Remove
30256 internal_function.
30257 * time/strptime_l.c (__strptime_internal): Likewise.
30258 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30259
d7ccc6c9
FW
302602017-08-31 Florian Weimer <fweimer@redhat.com>
30261
30262 * iconv/gconv.c (__gconv): Remove internal_function.
30263 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30264 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30265 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30266 (__gconv_release_cache): Likewise.
30267 * iconv/gconv_close.c (__gconv_close): Likewise.
30268 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30269 (read_conf_file, __gconv_get_path): Likewise.
30270 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30271 (__gconv_release_step, gen_steps, increment_counter)
30272 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30273 (__gconv_close_transform, free_modules_db): Likewise.
30274 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30275 Likewise.
30276 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30277 (__gconv_find_transform, __gconv_lookup_cache)
30278 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30279 (__gconv_close_transform, __gconv_release_cache)
30280 (__gconv_loaded_object, __gconv_release_shlib)
30281 (__gconv_compare_alias): Likewise.
30282 * iconv/gconv_open.c (__gconv_open): Likewise.
30283 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30284 * iconv/iconvconfig.c (add_module): Likewise.
30285 * intl/dcigettext.c (plural_lookup, guess_category_value)
30286 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30287 * intl/eval-plural.h (plural_eval): Likewise.
30288 * intl/finddomain.c (_nl_find_domain): Likewise.
30289 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30290 (_nl_load_domain, _nl_find_msg): Likewise.
30291 (internal_function): Remove definition.
30292 * intl/loadinfo.h (internal_function): Likewise.
30293 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30294 internal_function.
30295 * intl/localealias.c (internal_function): Remove definition.
30296 (read_alias_file): Remove internal_function.
30297 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30298 * intl/plural-exp.h (internal_function): Remove definition.
30299 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30300 internal_function.
30301 * intl/plural.c: Regenerate.
30302 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30303 * locale/coll-lookup.c (__collidx_table_lookup)
30304 (__collseq_table_lookup): Likewise.
30305 * locale/coll-lookup.h (__collidx_table_lookup)
30306 (__collseq_table_lookup): Likewise.
30307 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30308 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30309 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30310 (_nl_unload_locale): Likewise.
30311 * locale/localeinfo.h (struct __locale_data): Remove
30312 internal_function from cleanup member.
30313 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30314 (_nl_remove_locale, _nl_load_locale_from_archive)
30315 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30316 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30317 (_nl_cleanup_time): Remove internal_function.
30318 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30319 (_nl_parse_alt_digit): Likewise.
30320 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30321 (_nl_select_era_entry): Likewise.
30322 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30323 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30324 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
30325 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30326 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 30327
dab0eece
FW
303282017-08-31 Florian Weimer <fweimer@redhat.com>
30329
30330 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30331 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30332 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30333 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30334 Likewise.
30335 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30336 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30337 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30338 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30339 Likewise.
30340 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30341
ab5bf7cf
FW
303422017-08-31 Florian Weimer <fweimer@redhat.com>
30343
30344 * misc/getttyent.c (skip, value): Remove internal_function.
30345 * misc/syslog.c (openlog_internal): Likewise.
30346 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30347
75b3047e
FW
303482017-08-31 Florian Weimer <fweimer@redhat.com>
30349
30350 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30351 (__nss_rewrite_field): Remove internal_function.
30352 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30353 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30354 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30355 * nss/nsswitch.c (nss_parse_file, nss_getline)
30356 (nss_parse_service_list, nss_new_service): Likewise.
30357 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30358 * nss/valid_field.c (__nss_valid_field): Likewise.
30359 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30360
0c71122c
FW
303612017-08-31 Florian Weimer <fweimer@redhat.com>
30362
30363 * malloc/arena.c (__malloc_fork_lock_parent)
30364 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30365 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30366 internal_function from defintions.
30367 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30368 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30369 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30370 internal_function from declarations.
30371 * malloc/malloc.c (internal_function): Do not define.
30372 (mem2mem_check): Remove internal_function from declaration.
30373 (munmap_chunk, mremap_chunk): Remove internal_function.
30374 * malloc/mtrace.c (tr_where): Likewise.
30375
ca4ec803
FW
303762017-08-31 Florian Weimer <fweimer@redhat.com>
30377
30378 * include/rpc/pmap_clnt.h (__get_socket): Remove
30379 internal_function.
30380 * sunrpc/auth_des.c (synchronize): Likewise.
30381 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30382 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30383 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30384 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30385 (key_call): Likewise.
30386 * sunrpc/pm_getport.c (__get_socket): Likewise.
30387 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30388 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30389 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30390 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30391 (invalidate): Likewise.
30392 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30393 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30394 (set_input_fragment, get_input_bytes): Likewise.
30395
24cffce7
FW
303962017-08-31 Florian Weimer <fweimer@redhat.com>
30397
30398 * malloc/malloc.c (_int_free): Remove locked variable and related
30399 asserts.
30400
ecd0747d
L
304012017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30402
30403 [BZ #22051]
30404 * Makerules (build-module-helper-objlist): Filter out
30405 $(elf-objpfx)sofini.os.
30406 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30407 needed.
30408
5f0704b6
FW
304092017-08-31 Florian Weimer <fweimer@redhat.com>
30410
30411 * libio/fcloseall.c: Assume weak_alias is defined.
30412 * libio/feof.c: Likewise.
30413 * libio/fileno.c: Likewise.
30414 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30415 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30416 definitions.
30417 (_IO_file_open): Call __open directly.
30418 (_IO_new_file_sync): Assume ESPIPE is defined.
30419 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30420 (_IO_new_file_write): Call __write directly.
30421 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30422 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30423 * libio/genops.c: Assume _LIBC is defined.
30424 (save_for_backup): Remove internal_function.
30425 * libio/getc.c: Assume weak_alias is defined.
30426 * libio/getwc.c: Likewise.
30427 * libio/iofclose.c: Assume _LIBC is defined.
30428 * libio/iofdopen.c: Likewise.
30429 (_IO_fcntl): Remove macro definition.
30430 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30431 Call __fcntl directly.
30432 * libio/iofflush.c: Assume weak_alias is defined.
30433 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30434 defined.
30435 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30436 * libio/iofgets.c: Likewise.
30437 * libio/iofopen.c: Assume _LIBC is defined.
30438 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30439 * libio/iofputs.c: Assume weak_alias is defined.
30440 * libio/iofread.c: Likewise.
30441 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30442 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30443 * libio/ioftell.c: Assume weak_alias is defined.
30444 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30445 * libio/iofwide.c: Assume _LIBC is defined.
30446 (_IO_fwide): Drop SHARED conditional because it is implied by
30447 SHLIB_COMPAT.
30448 * libio/iofwrite.c: Assume weak_alias is defined.
30449 * libio/iogetdelim.c: Likewise.
30450 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30451 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30452 (_IO_getwline): Call __wmemcpy directly.
30453 * libio/iopopen.c: Assume _LIBC is defined.
30454 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30455 (_IO_close): Remove macro definitions.
30456 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30457 _exit directly.
30458 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30459 directly.
30460 * libio/ioputs.c: Assume weak_alias is defined.
30461 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30462 * libio/iosetbuffer.c: Assume weak_alias is defined.
30463 * libio/iosetvbuf.c: Likewise.
30464 * libio/ioungetc.c: Likewise.
30465 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30466 libc_hidden_def, libc_hidden_weak, NULL are defined.
30467 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30468 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30469 defined.
30470 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30471 definitions.
30472 (_IO_old_file_init_internal): Drop SHARED conditional because it
30473 is implied by SHLIB_COMPAT.
30474 (_IO_old_file_fopen): Call __open directly.
30475 (_IO_old_file_sync): Assume ESPIPE is defined.
30476 (_IO_old_file_write): Call __write directly.
30477 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30478 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30479 Call __fcntl directly.
30480 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30481 (_IO_old_fgetpos): Assume EIO is defined.
30482 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30483 (_IO_old_fgetpos64): Assume EIO is defined.
30484 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30485 (_IO_old_fsetpos): Assume EIO is defined.
30486 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30487 (_IO_old_fsetpos64): Assume EIO is defined.
30488 * libio/oldiopopen.c: Assume _LIBC is defined.
30489 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30490 (_IO_close): Remove macro definitions.
30491 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30492 directly.
30493 (_IO_old_proc_close): Call __close, __waitpid directly.
30494 * libio/put.c: Assume weak_alias is defined.
30495 * libio/stdfiles.c: Assume _LIBC is defined.
30496 * libio/stdio.c: Likewise.
30497 * libio/wfileops.c: Likewise.
30498 (_IO_wfile_sync): Assume ESPIPE is defined.
30499 * libio/wgenops.c: Assume _LIBC is defined.
30500 (save_for_wbackup): Remove internal_function.
30501
5129873a
FW
305022017-08-31 Florian Weimer <fweimer@redhat.com>
30503
30504 * malloc/malloc.c (top_check): Change return type to void. Remove
30505 internal_function.
30506 * malloc/hooks.c (top_check): Likewise.
30507 (malloc_check, realloc_check, memalign_check): Adjust.
30508
4fa9b3bf
JM
305092017-08-30 Joseph Myers <joseph@codesourcery.com>
30510
30511 [BZ #21457]
30512 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30513 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30514 sigcontext and namespace requirements.
30515 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30516 * sysdeps/m68k/sys/ucontext.h: Likewise.
30517 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30518 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30519 <bits/sigcontext.h>.
30520 (__ctx): Define earlier.
30521 (mcontext_t): Define structure contents rather than using struct
30522 sigcontext.
30523 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30524 __glibc_reserved1 instead of __reserved.
30525 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30526 <bits/sigcontext.h>.
30527 (__ctx): Define earlier.
30528 (mcontext_t): Define structure contents rather than using struct
30529 sigcontext.
30530 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30531 mcontext_t instead of struct sigcontext.
30532 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30533 <bits/sigcontext.h>.
30534 (__ctx): Define earlier.
30535 (mcontext_t): Define structure contents rather than using struct
30536 sigcontext.
30537 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30538 <bits/sigcontext.h>.
30539 (__ctx): Define earlier.
30540 (mcontext_t): Define structure contents rather than using struct
30541 sigcontext.
30542 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30543 mcontext_t instead of struct sigcontext.
30544 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30545 mcontext_t instead of struct sigcontext.
30546 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30547 <bits/sigcontext.h>.
30548 (__ctx): New macro.
30549 (struct __ia64_fpreg_mcontext): New type.
30550 (mcontext_t): Define structure contents rather than using struct
30551 sigcontext.
30552 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30553 (uc_sigmask): Define using __ctx.
30554 (uc_stack): Likewise.
30555 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30556 <bits/sigcontext.h>.
30557 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30558 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30559 <bits/sigcontext.h>.
30560 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30561 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30562 <bits/sigcontext.h>.
30563 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30564 <bits/sigcontext.h>.
30565 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30566 <bits/sigcontext.h>.
30567 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30568 <bits/sigcontext.h>.
30569 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30570 <bits/sigcontext.h>.
30571 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30572 <bits/sigcontext.h>.
30573 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30574 <bits/sigcontext.h>.
30575 (__ctx): Define earlier.
30576 (mcontext_t): Define structure contents rather than using struct
30577 sigcontext.
30578 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30579 <bits/sigcontext.h>. Include <bits/types.h>.
30580 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30581 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30582 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30583 (test-xfail-UNIX98/signal.h/conform): Likewise.
30584 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30585 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30586 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30587 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30588 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30589 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30590 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30591 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30592 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30593
5898f454
FW
305942017-08-30 Florian Weimer <fweimer@redhat.com>
30595
30596 * malloc/dynarray_emplace_enlarge.c
30597 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30598 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30599 * malloc/tst-dynarray.c (test_long_overflow): New function.
30600 (do_test): Call it.
30601
a9da0bb2
FW
306022017-08-30 Florian Weimer <fweimer@redhat.com>
30603
30604 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30605 (set_arena_corrupt): Remove definitions.
30606 (mtrim): Do not check for corrupt arena.
30607 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30608 Likewise.
30609
ac3ed168
FW
306102017-08-30 Florian Weimer <fweimer@redhat.com>
30611
30612 [BZ #21754]
30613 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30614 check_action.
30615 (ptmalloc_init): Do not set or use check_action.
30616 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30617 call to malloc_printerr. Remove return statement.
30618 (free_check): Likewise. Remove arena unlock.
30619 (top_check): Update comment. Adjust call to malloc_printerr.
30620 Remove heap repair code.
30621 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30622 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30623 (sysmalloc): Adjust call to malloc_printerr.
30624 (munmap_chunk, __libc_realloc): Likewise. Remove return
30625 statement.
30626 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30627 Remove errout label and corresponding gotos.
30628 (_int_free): Likewise. Remove arena unlock.
30629 (do_set_mallopt_check): Do not set check_action.
30630 (malloc_printerr): Adjust parameter list. Do not mark arena as
30631 corrupt.
30632 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30633 comment.
30634 * manual/probes.texi (Memory Allocation Probes): Remove
30635 memory_mallopt_check_action.
30636
44bcba80
SE
306372017-08-30 Steve Ellcey <sellcey@cavium.com>
30638
30639 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30640 Use pointer to uint64_t instead of long int for sp.
30641
ec2c1fce
FW
306422017-08-30 Florian Weimer <fweimer@redhat.com>
30643
30644 [BZ #21754]
30645 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30646 without printing a backtrace. Do not leak any information in the
30647 error message.
30648 * manual/memory.texi (Heap Consistency Checking): Update.
30649 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30650
9ce673b6
FW
306512017-08-30 Florian Weimer <fweimer@redhat.com>
30652
30653 Do not scale NPTL tests with available number of CPUs.
30654 * nptl/tst-cond16.c (count): Set to constant value of 8.
30655 * nptl/tst-cond18.c (count): Likewise.
30656
2f1aef19
JM
306572017-08-29 Joseph Myers <joseph@codesourcery.com>
30658
30659 [BZ #22035]
30660 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30661 Define to take a second argument that is a macro that
30662 concatentates a suffix, not the suffix itself.
30663 (__CONCAT_d): New macro.
30664 (__CONCAT_f): Likewise.
30665 (__CONCAT_l): Likewise.
30666
8325b477
PP
306672017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30668
30669 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30670 by child.
30671
319cbbf6
AZ
306722017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30673 Aurelien Jarno <aurelien@aurel32.net>
30674 Maciej W. Rozycki <macro@imgtec.com>
30675
30676 [BZ #21956]
30677 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30678 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30679 `mips16-syscall6' and `mips16-syscall7'.
30680 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30681 (CFLAGS-mips16-syscall7.c): Remove.
30682 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30683 Remove `__mips16_syscall5', `__mips16_syscall6' and
30684 `__mips16_syscall7'.
30685 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30686 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30687 `__mips_syscall_return'.
30688 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30689 (__mips16_syscall1): Likewise.
30690 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30691 (__mips16_syscall2): Likewise.
30692 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30693 (__mips16_syscall3): Likewise.
30694 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30695 (__mips16_syscall4): Likewise.
30696 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30697 Remove.
30698 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30699 Remove.
30700 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30701 Remove.
30702 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30703 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30704 `__mips16_syscall5'. Remove prototype.
30705 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30706 `__mips16_syscall6'. Remove prototype.
30707 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30708 `__mips16_syscall7'. Remove prototype.
30709 (__nomips16, __mips16_syscall_return): Move to...
30710 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30711 (__nomips16, __mips_syscall_return): ... here.
30712 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30713 `__mips16_syscall_return' to `__mips_syscall_return'.
30714 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30715 `internal_syscall##nr'.
30716 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30717 `internal_syscall##nr'.
30718 (FORCE_FRAME_POINTER): Remove.
30719 (__mips_syscall5): New prototype.
30720 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30721 (__mips_syscall6): New prototype.
30722 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30723 (__mips_syscall7): New prototype.
30724 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30725 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30726 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30727 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30728 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30729 (sysdep_routines): Add libc-do-syscall.
30730 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30731 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30732
01b87c65
AZ
307332017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30734
30735 [BZ #21672]
30736 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30737 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30738 (advise_stack_range): New function.
30739 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30740 stack non required to advise_stack_range at allocatestack.c
30741
16f138a4
SN
307422017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30743
30744 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30745
251bccfa
FW
307462017-08-29 Florian Weimer <fweimer@redhat.com>
30747
30748 [BZ #22026]
30749 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30750 __end_fct. Mangle __end_fct after setting it to NULL.
30751 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30752 (modules-names, modules-names-tests): Add
30753 tst-gconv-init-failure-mod.
30754 (gconv-modules): New target.
30755 (tst-gconv-init-failure-mod.so): Link against libsupport.
30756 (tst-gconv-init-failure): Depend on gconv-modules,
30757 tst-gconv-init-failure-mod.so.
30758 * iconv/tst-gconv-init-failure-mod.c: New file.
30759 * iconv/tst-gconv-init-failure.c: Likewise.
30760 * iconv/test-gconv-modules: Likewise.
30761
e7c18b9d
FW
307622017-08-29 Florian Weimer <fweimer@redhat.com>
30763
30764 [BZ #22025]
30765 * iconv/gconv_db.c (free_derivation): Remove redundant
30766 parentheses.
30767 (gen_steps): Unconditionally mangle __btowc_fct after
30768 initialization.
30769 (increment_counter): Likewise. Do not call init_fct for internal
30770 modules.
30771
7daada03
JM
307722017-08-29 Joseph Myers <joseph@codesourcery.com>
30773
30774 [BZ #22028]
30775 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30776 (_MSUF_): Remove macro.
30777 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30778 Likewise.
30779 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30780 (__REDIRFROM_X): New macro.
30781 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30782 Likewise.
30783 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30784 (__REDIRTO_X): Likewise.
30785 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30786 arguments.
30787 (__MATH_REDIRCALL_2): Likewise.
30788 (__MATH_REDIRCALL_INTERNAL): Likewise.
30789 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30790 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30791 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30792 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30793 * math/test-finite-macros.c: New file.
30794 * math/Makefile (tests): Add test-finite-macros.
30795 (CFLAGS-test-finite-macros.c): New variable.
30796
1cf1232c
PF
307972017-08-29 Patsy Franklin <pfrankli@redhat.com>
30798 Jeff Law <law@redhat.com>
30799
30800 [BZ #22025]
30801 Mangle NULL pointers in iconv/gconv.
30802 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30803 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30804 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30805 is non-NULL before demangling the end_fct. Check for NULL
30806 end_fct after demangling.
30807 (__gconv_release_step): Demangle the end_fct before checking
30808 it for NULL. Remove assert on __shlibc_handle != NULL.
30809 (gen_steps): Don't check btowc_fct for NULL before mangling.
30810 Demangle init_fct before checking for NULL.
30811 (increment_counter): Likewise.
30812 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30813 end_fct for NULL before mangling.
30814 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30815 for NULL.
30816
c207f7ce 308172017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
30818
30819 [BZ #21971]
30820 * locale/iso-639.def: add Morisyen.
30821
42496114
GG
308222017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30823
30824 [BZ #21930]
30825 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30826 (iszero): New C++ implementation that does not use
30827 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30828 signaling nans are enabled, since __builtin_types_compatible_p
30829 is a C-only feature.
30830 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30831 defined, include ieee754_float128.h for access to the union and
30832 member ieee854_float128.ieee.
30833 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30834 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30835 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30836 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30837 options of test-math-zero on powerpc64le.
30838
5e2bc4ff
L
308392017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30840
30841 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30842 Change double to float.
30843
a48c0fb4
JM
308442017-08-28 Joseph Myers <joseph@codesourcery.com>
30845
30846 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30847 unconditional.
30848 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30849 conditional code; define contents only for [LIBM_SVID_COMPAT].
30850
ee17d4e9
FW
308512017-08-28 Florian Weimer <fweimer@redhat.com>
30852
30853 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30854 (abi-lp64_be-options): Remove.
30855 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30856 (abi-hard-options): Likewise.
30857 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30858 (abi-o32_hard-options, abi-o32_soft_2008-options)
30859 (abi-o32_hard_2008-options, abi-n32_soft-options)
30860 (abi-n32_hard-options, abi-n32_soft_2008-options)
30861 (abi-n32_hard_2008-options, abi-n64_soft-options)
30862 (abi-n64_hard-options, abi-n64_soft_2008-options)
30863 (abi-n64_hard_2008-options): Likewise.
30864 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30865 (abi-64-v1-options, abi-64-v2-options): Likewise.
30866 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30867 (abi-64-options): Likewise.
30868 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30869 (abi-64-options): Likewise.
30870 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30871 (abi-64-options): Likewise.
30872 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30873 (abi-64-options, abi-x32-options): Likewise.
30874
2dba5ce7
FW
308752017-08-28 Florian Weimer <fweimer@redhat.com>
30876
30877 Store supported list of SYS_* system calls in the source tree.
30878 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30879 (bits/syscall.h): Generate from list file.
30880 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30881 [$(subdir) = misc] (tests): Add tst-syscall-list.
30882 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30883 [$(subdir) = misc] (tst-syscall-list-macros.list)
30884 [$(subdir) = misc] (tst-syscall-list-nr.list)
30885 (tst-syscall-list-sys.list): Helper targets for new
30886 tst-syscall-list test.
30887 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30888 tst-syscall-list.sh.
30889 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30890 target. Do not include bits/syscall.d.
30891 [$(subdir) = misc] (generated): Do not update.
30892 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30893 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30894 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30895 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30896
5f3b183d
PP
308972017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30898
30899 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30900 (tst-cxa_atexit, tst-on_exit): Likewise.
30901 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30902 tst-cxa_atexit, and tst-on_exit.
30903 * stdlib/tst-atexit-common.c: New file.
30904 * stdlib/tst-atexit.c: New file.
30905 * stdlib/tst-at_quick_exit.c: New file.
30906 * stdlib/tst-cxa_atexit.c: New file.
30907 * stdlib/tst-on_exit.c: New file.
30908
2ef8d469
ST
309092017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30910
30911 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
30912 * mach/stack_chk_fail_local.c: New file.
30913 * hurd/stack_chk_fail_local.c: New file.
30914 * mach/Machrules ($(interface-library)-routines): Add
30915 stack_chk_fail_local.
99ee4d26
ST
30916 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30917 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30918 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30919 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30920 * hurd/Makefile (CFLAGS-hurdstartup.o,
30921 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 30922
7ab70c98
L
309232017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30924
30925 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30926 (index_cpu_*, index_arch_*): Removed.
30927
39e7a5a6
SN
309282017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30929
30930 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30931 Use uint64_t instead of unsigned long.
30932
bba5c930
JM
309332017-08-25 Joseph Myers <joseph@codesourcery.com>
30934
a6ccdb08
JM
30935 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30936 [__HAVE_DISTINCT_FLOAT128].
30937
23761119
JM
30938 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30939 of <bits/math-finite.h>.
30940 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30941 inclusion of <bits/math-finite.h>.
30942 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30943 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30944 __NO_LONG_DOUBLE_MATH].
30945 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30946 (__MATH_REDIRCALL_2): Likewise.
30947 (__MATH_REDIRCALL_INTERNAL): Likewise.
30948 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30949 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30950 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30951
bba5c930
JM
30952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30953 Remove file.
30954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30955 Likewise.
30956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30957 Likewise.
30958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30959 Likewise.
30960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30961 Likewise.
30962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30963 Likewise.
30964 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30965 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30966 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30967 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30969 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30970 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30971 w_sqrtf_compat-ppc32.
30972
3d7b66f6
GG
309732017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30974
30975 * math/math.h [defined __cplusplus] (issignaling): In the long
30976 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30977 is not defined. Call __issignaling, otherwise.
30978
ebd6f007
AZ
309792017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30980
30981 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30982 syscall definitions and replace __builtin_expect with __glibc_likely.
30983 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30984 syscall.
30985 (SYSCALL_CANCELLABLE): Removedefinition
30986 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30987 definition.
30988 (PSEUDO_END): Likewise.
30989 [IS_IN (libpthread)] (CENABLE): Likewise.
30990 [IS_IN (libpthread)] (CDISABLE): Likewise.
30991 [IS_IN (libc)] (CENABLE): Likewise.
30992 [IS_IN (libc)] (CENABLE): Likewise.
30993 [IS_IN (librt)] (CDISABLE): Likewise.
30994 [IS_IN (librt)] (CDISABLE): Likewise.
30995 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30996 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30997 definition.
30998 (PSEUDO_END): Likewise.
30999 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31000 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31001 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31002 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31003 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31004 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31005 (CENABLE): Likewise.
31006 (CDISABLE): Likewise.
31007 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31008 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31009 defintion.
31010 (PSEUDO_END): Likewise.
31011 [IS_IN (libpthread)] (CENABLE): Likewise.
31012 [IS_IN (libpthread)] (CDISABLE): Likewise.
31013 [IS_IN (libc)] (CENABLE): Likewise.
31014 [IS_IN (libc)] (CENABLE): Likewise.
31015 [IS_IN (librt)] (CDISABLE): Likewise.
31016 [IS_IN (librt)] (CDISABLE): Likewise.
31017 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31018 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31019 definition.
31020 (PSEUDO_END): Likewise.
31021 [IS_IN (libpthread)] (CENABLE): Likewise.
31022 [IS_IN (libpthread)] (CDISABLE): Likewise.
31023 [IS_IN (libc)] (CENABLE): Likewise.
31024 [IS_IN (libc)] (CENABLE): Likewise.
31025 [IS_IN (librt)] (CDISABLE): Likewise.
31026 [IS_IN (librt)] (CDISABLE): Likewise.
31027 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31028 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31029 definition.
31030 (PSEUDO_END): Likewise.
31031 [IS_IN (libpthread)] (CENABLE): Likewise.
31032 [IS_IN (libpthread)] (CDISABLE): Likewise.
31033 [IS_IN (libc)] (CENABLE): Likewise.
31034 [IS_IN (libc)] (CENABLE): Likewise.
31035 [IS_IN (librt)] (CDISABLE): Likewise.
31036 [IS_IN (librt)] (CDISABLE): Likewise.
31037 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31038 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31039 definition.
31040 (PSEUDO_END): Likewise.
31041 [IS_IN (libpthread)] (CENABLE): Likewise.
31042 [IS_IN (libpthread)] (CDISABLE): Likewise.
31043 [IS_IN (libc)] (CENABLE): Likewise.
31044 [IS_IN (libc)] (CENABLE): Likewise.
31045 [IS_IN (librt)] (CDISABLE): Likewise.
31046 [IS_IN (librt)] (CDISABLE): Likewise.
31047 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31048 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31049 definition.
31050 (PSEUDO_END): Likewise.
31051 [IS_IN (libpthread)] (CENABLE): Likewise.
31052 [IS_IN (libpthread)] (CDISABLE): Likewise.
31053 [IS_IN (libc)] (CENABLE): Likewise.
31054 [IS_IN (libc)] (CENABLE): Likewise.
31055 [IS_IN (librt)] (CDISABLE): Likewise.
31056 [IS_IN (librt)] (CDISABLE): Likewise.
31057 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31058 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31059 definition.
31060 (PSEUDO_END): Likewise.
31061 [IS_IN (libpthread)] (CENABLE): Likewise.
31062 [IS_IN (libpthread)] (CDISABLE): Likewise.
31063 [IS_IN (libc)] (CENABLE): Likewise.
31064 [IS_IN (libc)] (CENABLE): Likewise.
31065 [IS_IN (librt)] (CDISABLE): Likewise.
31066 [IS_IN (librt)] (CDISABLE): Likewise.
31067 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31068 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31069 Remove definition.
31070 (PSEUDO_END): Likewise.
31071 [IS_IN (libpthread)] (CENABLE): Likewise.
31072 [IS_IN (libpthread)] (CDISABLE): Likewise.
31073 [IS_IN (libc)] (CENABLE): Likewise.
31074 [IS_IN (libc)] (CENABLE): Likewise.
31075 [IS_IN (librt)] (CDISABLE): Likewise.
31076 [IS_IN (librt)] (CDISABLE): Likewise.
31077 (SINGLE_THREAD_P): Likewise.
31078 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31079 definition.
31080 (PSEUDO_END): Likewise.
31081 [IS_IN (libpthread)] (CENABLE): Likewise.
31082 [IS_IN (libpthread)] (CDISABLE): Likewise.
31083 [IS_IN (libc)] (CENABLE): Likewise.
31084 [IS_IN (libc)] (CENABLE): Likewise.
31085 [IS_IN (librt)] (CDISABLE): Likewise.
31086 [IS_IN (librt)] (CDISABLE): Likewise.
31087 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31088 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31089 definition.
31090 (PSEUDO_END): Likewise.
31091 [IS_IN (libpthread)] (CENABLE): Likewise.
31092 [IS_IN (libpthread)] (CDISABLE): Likewise.
31093 [IS_IN (libc)] (CENABLE): Likewise.
31094 [IS_IN (libc)] (CENABLE): Likewise.
31095 [IS_IN (librt)] (CDISABLE): Likewise.
31096 [IS_IN (librt)] (CDISABLE): Likewise.
31097 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31098 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31099 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31100 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31101 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31102 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 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31111 * sysdeps/unix/sysv/linux/s390/s390-64/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/sh/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/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31132 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31133 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31134 * sysdeps/unix/sysv/linux/tile/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/x86_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
8aa48656
SN
311552017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31156
31157 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31158
fcaaca41
L
311592017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31160
31161 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31162
376b40a2
L
311632017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31164
31165 [BZ #21982]
31166 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31167 middle and outer with size_t instead of int. Repleace %d and
31168 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31169 "MAX (outer, nchars - 64)" to support unsigned outer and
31170 nchars. Also exit loop when outer == 0.
31171
2b0b9a1c
AZ
311722017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31173
31174 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31175 * include/signal.h (__sigsuspend_nocancel): Likewise.
31176 * include/time.h (__nanosleep_nocancel): Likewise.
31177 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31178 * login/utmp_file.c: Include non cancellable syscall header.
31179 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31180 prototype.
31181
b9eaca8f
L
311822017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31183
31184 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31185 .byte sequences with AVX512F instructions.
31186 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31187 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31188 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31189 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31190 Likewise.
31191 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31192 Likewise.
31193
5a706f64
SE
311942017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31195 Steve Ellcey <sellcey@cavium.com>
31196
31197 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31198 Use PTR_REG macro in cmp instruction.
31199
b513da7e
GG
312002017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31201
31202 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31203 Change the return type of the ifunc resolver to match the return
31204 type of the target function.
31205
78ca091c
AZ
312062017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31207
b70b6026
AZ
31208 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31209 (preadv64): Likewise.
31210 (pwrite64(: Likewise.
31211 (pwritev64): Likewise.
31212
78ca091c
AZ
31213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31214 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31215 (LOAD_ARGS_0): Likewise.
31216 (LOAD_ARGS_1): Likewise.
31217 (LOAD_ARGS_2): Likewise.
31218 (LOAD_ARGS_3): Likewise.
31219 (LOAD_ARGS_4): Likewise.
31220 (LOAD_ARGS_5): Likewise.
31221 (LOAD_ARGS_6): Likewise.
31222 (LOAD_REGS_0): Likewise.
31223 (LOAD_REGS_1): Likewise.
31224 (LOAD_REGS_2): Likewise.
31225 (LOAD_REGS_3): Likewise.
31226 (LOAD_REGS_4): Likewise.
31227 (LOAD_REGS_5): Likewise.
31228 (LOAD_REGS_6): Likewise.
31229 (ASM_ARGS_0): Likewise.
31230 (ASM_ARGS_1): Likewise.
31231 (ASM_ARGS_2): Likewise.
31232 (ASM_ARGS_3): Likewise.
31233 (ASM_ARGS_4): Likewise.
31234 (ASM_ARGS_5): Likewise.
31235 (ASM_ARGS_6): Likewise.
31236 (LOAD_ARGS_TYPES_1): Likewise.
31237 (LOAD_ARGS_TYPES_2): Likewise.
31238 (LOAD_ARGS_TYPES_3): Likewise.
31239 (LOAD_ARGS_TYPES_4): Likewise.
31240 (LOAD_ARGS_TYPES_5): Likewise.
31241 (LOAD_ARGS_TYPES_6): Likewise.
31242 (LOAD_REGS_TYPES_1): Likewise.
31243 (LOAD_REGS_TYPES_2): Likewise.
31244 (LOAD_REGS_TYPES_3): Likewise.
31245 (LOAD_REGS_TYPES_4): Likewise.
31246 (LOAD_REGS_TYPES_5): Likewise.
31247 (LOAD_REGS_TYPES_6): Likewise.
31248 (TYPEFY): New define.
31249 (ARGIFY): Likewise.
31250 (internal_syscall0): Likewise.
31251 (internal_syscall1): Likewise.
31252 (internal_syscall2): Likewise.
31253 (internal_syscall3): Likewise.
31254 (internal_syscall4): Likewise.
31255 (internal_syscall5): Likewise.
31256 (internal_syscall6): Likewise.
31257 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31258 (INTERNAL_SYSCALL_NCS): Remove define.
31259 (internal_syscall1): Add define.
31260
453a493d
GG
312612017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31262
31263 * math/w_remainder_compat.c: Remove duplicate inclusion of
31264 math-svid-compat.h.
31265 * math/w_remainderf_compat.c: Likewise.
31266 * math/w_remainderl_compat.c: Likewise.
31267
f2f048a5
GG
312682017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31269
31270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31271
d9bef9c0
JM
312722017-08-22 Joseph Myers <joseph@codesourcery.com>
31273
31274 [BZ #21684]
31275 * math/tgmath.h (__floating_type): Simplify definitions.
31276 (__real_integer_type): New macro.
31277 (__complex_integer_type): Likewise.
31278 (__expr_is_real): Likewise.
31279 (__tgmath_real_type_sub): Update comment to describe handling of
31280 complex types.
31281 (__tgmath_complex_type_sub): New macro.
31282 (__tgmath_complex_type): Likewise.
31283 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31284 (__TGMATH_CF128): Use __expr_is_real.
31285 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31286 __expr_is_real.
31287 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31288 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31289 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31290 integer types.
31291
08d6eb46
AZ
312922017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31293
988f991b
AZ
31294 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31295 macro.
31296 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31297 alias.
31298 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31299 Likewise.
31300
6f33fd04
AZ
31301 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31302 nanosleep_not_cancel with __nanosleep_nocancel.
31303 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31304 (__nanosleep_nocancel): New macro.
31305 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31306 function.
31307 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31308 macro.
31309 (__nanosleep_nocancel): New prototype.
31310
08d6eb46
AZ
31311 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31312 pause_not_cancel with __pause_nocancel.
31313 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31314 (__pause_nocancel): New macro.
31315 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31316 macro.
31317 (__pause_nocancel): New prototype.
31318 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31319
ee4e992e
MS
313202017-08-22 Martin Sebor <msebor@redhat.com>
31321
31322 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31323 to return a pointer to the same type as the target function.
31324
20962acb
L
313252017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31326
31327 [BZ #18822]
31328 [BZ #21986]
31329 * include/printf.h (__printf_fphex): Add attribute_hidden.
31330 (__guess_grouping): New prototype.
31331 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31332 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31333 libc_hidden_proto and libc_hidden_def.
31334 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31335 (__vstrfmon_l): Remove the third argument passed to
31336 __guess_grouping.
31337
a16e8bc0
GG
313382017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31339
31340 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31341 definition for issignaling that does not rely on __MATH_TG,
31342 since __MATH_TG uses __builtin_types_compatible_p, which is only
31343 available in C mode.
31344 (CFLAGS-test-math-issignaling.cc): New variable.
31345 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31346 * math/test-math-issignaling.cc: New test for C++ implementation
31347 of type-generic issignaling.
31348 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31349 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31350 options of test-math-issignaling on powerpc64le.
31351
8d2ec553
L
313522017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31353
31354 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31355 building libc.a.
31356 (hidden_proto): Likewise.
31357 (hidden_tls_proto): Likewise.
31358 (__hidden_proto): Likewise.
31359
a4d57b79
FW
313602017-08-22 Florian Weimer <fweimer@redhat.com>
31361
31362 math: Statically link tests of internal functionality.
31363 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31364 atest-exp2.
31365 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31366 (gmp-objs): Remove assignment.
31367 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31368
75dfe623
JM
313692017-08-22 Joseph Myers <joseph@codesourcery.com>
31370
80f91666
JM
31371 [BZ #21987]
31372 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31373 and copy to ...
31374 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31375 ... here.
31376 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31377 ... and here.
31378
75dfe623
JM
31379 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31380 variable definitions above inclusion of ../Rules.
31381
ea99fcd0
JM
313822017-08-21 Joseph Myers <joseph@codesourcery.com>
31383
31384 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31385 case calling __builtin_unreachable.
31386
19926de9
AZ
313872017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31388
a8410a5f
AZ
31389 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31390 __waitpid_nocancel.
31391 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31392 (__waitpid_nocancel): New macro.
31393 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31394 macro.
31395 (__waitpid_nocancel): Replace macro with a function.
31396 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31397 function.
31398
7369800c
AZ
31399 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31400 __fcntl_nocancel.
31401 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31402 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31403
19926de9
AZ
31404 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31405 __writev_nocancel_nostatus.
31406 (write_call_graph): Likewise.
31407 (write_bb_counts): Likewise.
31408 * resolv/herror.c (herror): Likewise.
31409 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31410 macro.
31411 (__writev_nocancel_nostatus): New macro.
31412 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31413 Remove macro.
31414 (__writev_nocancel_nostatus): New function.
31415
813378e9
JM
314162017-08-21 Joseph Myers <joseph@codesourcery.com>
31417
df1deda6
JM
31418 Revert:
31419 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31420
31421 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31422 building libc.a.
31423 (hidden_proto): Likewise.
31424 (hidden_tls_proto): Likewise.
31425 (__hidden_proto): Likewise.
31426
831bbd55
JM
31427 [BZ #21973]
31428 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31429 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31431 Likewise.
31432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31433 Likewise.
31434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31435 Likewise.
31436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31437 Likewise.
31438 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31439 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31440 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31441 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31442 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31443 GLIBC_2.0 sqrtl symbol.
31444
813378e9
JM
31445 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31446 [__USE_MISC] (_LIB_VERSION): Likewise.
31447 [__USE_MISC] (struct exception): Likewise.
31448 [__USE_MISC] (matherr): Likewise.
31449 [__USE_MISC] (DOMAIN): Likewise.
31450 [__USE_MISC] (SING): Likewise.
31451 [__USE_MISC] (OVERFLOW): Likewise.
31452 [__USE_MISC] (UNDERFLOW): Likewise.
31453 [__USE_MISC] (TLOSS): Likewise.
31454 [__USE_MISC] (PLOSS): Likewise.
31455 [__USE_MISC] (HUGE): Likewise.
31456 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31457 * math/math-svid-compat.h: New file.
31458 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31459 and matherrl.
31460 * include/math.h [!_ISOMAC] (__matherr): Remove.
31461 * manual/arith.texi (FP Exceptions): Do not document matherr.
31462 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31463 (tests-internal): New variable.
31464 (install-lib): Do not add libieee.a.
31465 (non-lib.a): Likewise.
31466 (extra-objs): Do not add libieee.a and ieee-math.o.
31467 (CPPFLAGS-s_lib_version.c): Remove variable.
31468 ($(objpfx)libieee.a): Remove rule.
31469 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31470 * math/ieee-math.c: Remove.
31471 * math/libm-test-support.c (matherr): Remove.
31472 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31473 and license notices. Include <math-svid-compat.h> and
31474 <shlib-compat.h>.
31475 (matherr): Undefine as macro. Use compat_symbol_reference.
31476 (_LIB_VERSION): Likewise.
31477 * math/test-matherr-2.c: New file.
31478 * math/test-matherr-3.c: Likewise.
31479 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31480 declaration.
31481 (__kernel_standard_f): Likewise.
31482 (__kernel_standard_l): Likewise.
31483 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31484 <math_private.h>. Include <math-svid-compat.h>.
31485 (_LIB_VERSION): Undefine as macro.
31486 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31487 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31488 [LIBM_SVID_COMPAT], use compat_symbol.
31489 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31490 <math_private.h>. Include <math-svid-compat.h>.
31491 (matherr): Undefine as macro.
31492 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31493 compat_symbol.
31494 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31495 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31496 compat_symbol_reference.
31497 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31498 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31499 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31500 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31501 (MATHERR_D): Remove declaration.
31502 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31503 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31504 [LIBM_BUILD] (pmatherrf): Likewise.
31505 [LIBM_BUILD] (pmatherr): Likewise.
31506 [LIBM_BUILD] (pmatherrl): Likewise.
31507 (DOMAIN): Likewise.
31508 (SING): Likewise.
31509 (OVERFLOW): Likewise.
31510 (UNDERFLOW): Likewise.
31511 (TLOSS): Likewise.
31512 (PLOSS): Likewise.
31513 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31514 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31515 compat_symbol.
31516 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31517 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31518 compat_symbol.
31519 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31520 * math/w_acos_compat.c: Likewise.
31521 * math/w_acosf_compat.c: Likewise.
31522 * math/w_acosh_compat.c: Likewise.
31523 * math/w_acoshf_compat.c: Likewise.
31524 * math/w_acoshl_compat.c: Likewise.
31525 * math/w_acosl_compat.c: Likewise.
31526 * math/w_asin_compat.c: Likewise.
31527 * math/w_asinf_compat.c: Likewise.
31528 * math/w_asinl_compat.c: Likewise.
31529 * math/w_atan2_compat.c: Likewise.
31530 * math/w_atan2f_compat.c: Likewise.
31531 * math/w_atan2l_compat.c: Likewise.
31532 * math/w_atanh_compat.c: Likewise.
31533 * math/w_atanhf_compat.c: Likewise.
31534 * math/w_atanhl_compat.c: Likewise.
31535 * math/w_cosh_compat.c: Likewise.
31536 * math/w_coshf_compat.c: Likewise.
31537 * math/w_coshl_compat.c: Likewise.
31538 * math/w_exp10_compat.c: Likewise.
31539 * math/w_exp10f_compat.c: Likewise.
31540 * math/w_exp10l_compat.c: Likewise.
31541 * math/w_exp2_compat.c: Likewise.
31542 * math/w_exp2f_compat.c: Likewise.
31543 * math/w_exp2l_compat.c: Likewise.
31544 * math/w_fmod_compat.c: Likewise.
31545 * math/w_fmodf_compat.c: Likewise.
31546 * math/w_fmodl_compat.c: Likewise.
31547 * math/w_hypot_compat.c: Likewise.
31548 * math/w_hypotf_compat.c: Likewise.
31549 * math/w_hypotl_compat.c: Likewise.
31550 * math/w_j0_compat.c: Likewise.
31551 * math/w_j0f_compat.c: Likewise.
31552 * math/w_j0l_compat.c: Likewise.
31553 * math/w_j1_compat.c: Likewise.
31554 * math/w_j1f_compat.c: Likewise.
31555 * math/w_j1l_compat.c: Likewise.
31556 * math/w_jn_compat.c: Likewise.
31557 * math/w_jnf_compat.c: Likewise.
31558 * math/w_jnl_compat.c: Likewise.
31559 * math/w_lgamma_main.c: Likewise.
31560 * math/w_lgamma_r_compat.c: Likewise.
31561 * math/w_lgammaf_main.c: Likewise.
31562 * math/w_lgammaf_r_compat.c: Likewise.
31563 * math/w_lgammal_main.c: Likewise.
31564 * math/w_lgammal_r_compat.c: Likewise.
31565 * math/w_log10_compat.c: Likewise.
31566 * math/w_log10f_compat.c: Likewise.
31567 * math/w_log10l_compat.c: Likewise.
31568 * math/w_log2_compat.c: Likewise.
31569 * math/w_log2f_compat.c: Likewise.
31570 * math/w_log2l_compat.c: Likewise.
31571 * math/w_log_compat.c: Likewise.
31572 * math/w_logf_compat.c: Likewise.
31573 * math/w_logl_compat.c: Likewise.
31574 * math/w_pow_compat.c: Likewise.
31575 * math/w_powf_compat.c: Likewise.
31576 * math/w_powl_compat.c: Likewise.
31577 * math/w_remainder_compat.c: Likewise.
31578 * math/w_remainderf_compat.c: Likewise.
31579 * math/w_remainderl_compat.c: Likewise.
31580 * math/w_scalb_compat.c: Likewise.
31581 * math/w_scalbf_compat.c: Likewise.
31582 * math/w_scalbl_compat.c: Likewise.
31583 * math/w_sinh_compat.c: Likewise.
31584 * math/w_sinhf_compat.c: Likewise.
31585 * math/w_sinhl_compat.c: Likewise.
31586 * math/w_sqrt_compat.c: Likewise.
31587 * math/w_sqrtf_compat.c: Likewise.
31588 * math/w_sqrtl_compat.c: Likewise.
31589 * math/w_tgamma_compat.c: Likewise.
31590 * math/w_tgammaf_compat.c: Likewise.
31591 * math/w_tgammal_compat.c: Likewise.
31592 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31593 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31594 * sysdeps/ieee754/k_standard.c: Likewise.
31595 * sysdeps/ieee754/k_standardf.c: Likewise.
31596 * sysdeps/ieee754/k_standardl.c: Likewise.
31597 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31598 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31599 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31600 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31601 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31602 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31603 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31604 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31605 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31607 Likewise.
31608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31609 Likewise.
31610 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31612 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31613 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31614
4504783c
FW
316152017-08-21 Florian Weimer <fweimer@redhat.com>
31616
31617 [BZ #21864]
31618 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31619 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31620 Move before inclusion of ../Rules.
31621
b5889d25
FW
316222017-08-21 Florian Weimer <fweimer@redhat.com>
31623
31624 [BZ #21972]
31625 * assert/assert.h (assert): Use static_cast (bool) for C++.
31626 Use the ternary operator in the warning branch for GNU C.
31627 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31628 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31629 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31630 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31631 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31632
41e673c1
L
316332017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31634
31635 [BZ #18822]
31636 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31637 (__syscall_clock_gettime): Add attribute_hidden.
31638 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31639 (__start_context): Likewise.
31640
568ff429
L
316412017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31642
31643 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31644 building libc.a.
31645 (hidden_proto): Likewise.
31646 (hidden_tls_proto): Likewise.
31647 (__hidden_proto): Likewise.
31648
7c41b4a1
L
316492017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31650
31651 * include/libc-symbols.h (attribute_hidden): Enable hidden
31652 visibility in libc.a compiled with PIE.
31653
483d7068
L
316542017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31655
31656 [BZ #18822]
31657 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31658 Add attribute_hidden.
31659
316602017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31661
31662 [BZ #21864]
31663 * Makerules (all-nonlib): Add $(others-extras).
31664 * catgets/Makefile (others-extras): New.
31665 * elf/Makefile (others-extras): Likewise.
31666 * nss/Makefile (others-extras): Likewise.
31667
54e4b8f2
L
316682017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31669
31670 [BZ #18822]
31671 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31672 * elf/dl-open.c: Include <libc-internal.h>.
31673 (__libc_multiple_libcs): Removed.
31674 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31675 <hp-timing.h>.
31676 * include/libc-internal.h (__libc_multiple_libcs): New.
31677 * misc/sbrk.c: Include <libc-internal.h>.
31678 (__libc_multiple_libcs): Removed.
31679
1dbbb1ec
L
316802017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31681
31682 [BZ #18822]
31683 * grp/initgroups.c (__nss_group_database): Removed.
31684 (__nss_initgroups_database): Likewise.
31685 * nscd/gai.c (__nss_hosts_database): Likewise.
31686 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31687 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31688 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31689 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31690 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31691 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31692 attribute_hidden.
31693 * nss/nsswitch.c (__nss_database_custom): Define only if
31694 USE_NSCD is defined.
31695 (__nss_configure_lookup): Use __nss_database_custom only if
31696 USE_NSCD is defined.
31697 * nss/nsswitch.h (__nss_database_custom): Declare only if
31698 USE_NSCD is defined. Add attribute_hidden.
31699 (__nss_setent): Add attribute_hidden.
31700 (__nss_endent): Likewise.
31701 (__nss_getent_r): Likewise.
31702 (__nss_getent): Likewise.
31703 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31704
2585d7b8
L
317052017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31706
31707 [BZ #18822]
31708 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31709 libc_hidden_proto and libc_hidden_def.
31710
c8dfa99c
L
317112017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31712
31713 [BZ #18822]
31714 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31715 Add libc_hidden_proto.
31716 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31717 Add libc_hidden_def.
31718
7ed87317
L
317192017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31720
31721 [BZ #21974]
31722 * gmon/Makefile (routines): Remove bb_init_func and
31723 bb_exit_func.
31724 (elide-routines.os): Removed.
9476b904
L
31725 * gmon/bb_exit_func.c: Likewise.
31726 * gmon/bb_init_func.c: Likewise.
7ed87317
L
31727 * include/sys/gmon.h (__bb): Likewise.
31728 (__bb_init_func): Likewise.
31729 (__bb_exit_func): Likewise.
91695eb1 31730 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 31731
94e6ba15
L
317322017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31733
31734 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31735 * include/setjmp.h (____longjmp_chk): Here. Add
31736 attribute_hidden.
31737
7550717e
L
317382017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31739
31740 [BZ #18822]
31741 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31742 attribute_hidden.
31743 (__strspn_sse2): Likewise.
31744
0bb2fabc
AZ
317452017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31746
c181840c
AZ
31747 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31748 (close_not_cancel_no_status): Likewise.
31749 (__close_nocancel): New macro.
31750 (__close_nocancel_nostatus): Likewise.
31751 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31752 macro.
31753 (close_not_cancel): Likewise.
31754 (close_not_cancel_no_status): Likewise.
31755 (__close_nocancel): New prototype.
31756 (__close_nocancel_nostatus): New function.
31757 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31758 * catgets/open_catalog.c (__open_catalog): Replace
31759 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31760 * gmon/gmon.c (write_gmon): Likewise.
31761 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31762 * intl/loadmsgcat.c (close): Likewise.
31763 * io/ftw.c (open_dir_stream): Likewise.
31764 (ftw_startup): Likewise.
31765 * libio/fileops.c (_IO_file_open): Likewise.
31766 (_IO_file_close_mmap): Likewise.
31767 (_IO_file_close): Likewise.
31768 * libio/iopopen.c (_IO_dup2): Likewise.
31769 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31770 * locale/loadlocale.c (_nl_load_locale): Likewise.
31771 * login/utmp_file.c (pututline_file): Likewise.
31772 (endutent_file): Likewise.
31773 * misc/daemon.c (daemon): Likewise.
31774 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31775 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31776 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31777 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31778 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31779 * nscd/nscd_helper.c (open_socket): Likewise.
31780 (__nscd_open_socket): Likewise.
31781 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31782 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31783 (__nscd_innetgr): Likewise.
31784 * nss/nss_db/db-open.c (internal_setent): Likewise.
31785 * resolv/res-close.c (__res_iclose): Likewise.
31786 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31787 * sysdeps/posix/closedir.c (__closedir): Likewise.
31788 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31789 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31790 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31791 (opendir_tail): Likewise.
31792 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31793 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31794 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31795 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31796 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31797 (gethostid): Likewise.
31798 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31799 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31800 Likewise.
31801 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31802 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31803 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31804 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31805 Likewise.
31806 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31807 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31808 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31809 Likewise.
31810 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31811 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31812 Likewise.
31813 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31814 Likewise.
31815 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31816 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31817 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31818 __close_nocancel.
31819
0bb2fabc
AZ
31820 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31821 (openat_not_cancel_3): Likewise.
31822 (openat64_not_cancel_3): Likewise).
31823 (openat_not_cancel_3): Likewise).
31824 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31825 macro.
31826 (openat_not_cancel_3): Likewise.
31827 (openat64_not_cancel): Likewise.
31828 (openat64_not_cancel_3): Likewise.
31829 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31830 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31831 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31832 __open{64}_nocancel.
31833 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31834 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31835 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31836
65a086db
L
318372017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31838
31839 [BZ #18822]
31840 * include/argz.h (__argz_create_sep): New function prototype.
31841 (__argz_append): Likewise.
31842 (__argz_add): Likewise.
31843 (__argz_add_sep): Likewise.
31844 (__argz_delete): Likewise.
31845 (__argz_insert): Likewise.
31846 (__argz_replace): Likewise.
31847 * string/argz.h (__argz_create_sep): Removed.
31848 (__argz_append): Likewise.
31849 (__argz_add): Likewise.
31850 (__argz_add_sep): Likewise.
31851 (__argz_delete): Likewise.
31852 (__argz_insert): Likewise.
31853 (__argz_replace): Likewise.
31854
62753d2c
L
318552017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31856
31857 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31858 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31859 (GNU_PROPERTY_STACK_SIZE): Likewie.
31860 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31861 (GNU_PROPERTY_LOPROC): Likewise.
31862 (GNU_PROPERTY_HIPROC): Likewise.
31863 (GNU_PROPERTY_LOUSER): Likewise.
31864 (GNU_PROPERTY_HIUSER): Likewise.
31865 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31866 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31867 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31868 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31869 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31870 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31871 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31872 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31873 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31874 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31875 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31876 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31877 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31878 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31879 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31880 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31881 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31882 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31883 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31884 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31885 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31886 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31887 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31888
6913ad65
GG
318892017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31890
31891 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31892 in C++ mode.
31893
47a67213
GG
318942017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31895
31896 [BZ #21930]
31897 * math/math.h (isinf): Check if in C or C++ mode before using
31898 __builtin_types_compatible_p, since this is a C mode feature.
31899
a748eb31
AZ
319002017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31901
c647fb88
AZ
31902 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31903 (__write_nocancel): New macro.
31904 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31905 Rewrite as a function prototype.
31906 (write_not_cancel): Remove macro.
31907 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31908 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31909 (write_gmon): Likewise.
31910 * libio/fileops.c (_IO_new_file_write): Likewise.
31911 * login/utmp_file.c (pututline_file): Likewise.
31912 (updwtmp_file): Likewise.
31913 * stdio-common/psiginfo.c (psiginfo): Likewise.
31914 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31915 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31916 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31917 Likewise.
31918 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31919 Likewise.
31920
a748eb31
AZ
31921 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31922 (__read_nocancel): New macro.
31923 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31924 __read_nocancel.
31925 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31926 macro.
31927 (__read_nocancel): New prototype.
31928 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31929 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31930 with __read_nocancel.
31931 * intl/loadmsgcat.c (read): Likewise.
31932 * libio/fileops.c (_IO_file_read): Likewise.
31933 * locale/loadlocale.c (_nl_load_locale): Likewise.
31934 * login/utmp_file.c (getutent_r_file): Likewise.
31935 (internal_getut_r): Likewise.
31936 (getutline_r_file): Likewise.
31937 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31938 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31939 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31940 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31941 Likewise.
31942 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31943 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31944 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31945 Likewise.
31946 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31947 Likewise.
31948 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31949 Likewise.
31950 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31951 Likewise.
31952 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31953
098b9dd4
L
319542017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31955
31956 [BZ #21966]
31957 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31958 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31959 usable.
31960
a3fe6a20
DD
319612017-08-17 DJ Delorie <dj@redhat.com>
31962
31963 * bug17079.c: Update to new test harness.
31964 * test-digits-dots.c: Likewise.
31965 * test-netdb.c: Likewise.
31966 * tst-field.c: Likewise.
31967 * tst-nss-getpwent.c: Likewise.
31968 * tst-nss-static.c: Likewise.
31969 * tst-nss-test1.c: Likewise.
31970 * tst-nss-test2.c: Likewise.
31971 * tst-nss-test3.c: Likewise.
31972 * tst-nss-test4.c: Likewise.
31973 * tst-nss-test5.c: Likewise.
31974
c2284574
AZ
319752017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31976
31977 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31978 (open_not_cancel_2): Likewise.
31979 (open_nocancel): New macro.
31980 (open64_nocancel): Likewise.
31981 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31982 (open_not_cancel_2): Likewise.
31983 (__open_nocancel): New prototype.
31984 (__open64_nocancel): Likewise.
31985 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31986 __open_nocancel.
31987 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31988 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31989 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31990 with __open_nocancel.
31991 * csu/check_fds.c (check_one_fd): Likewise.
31992 * gmon/gmon.c (write_gmon): Likewise.
31993 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31994 * intl/loadmsgcat.c (open): Likewise.
31995 * libio/fileops.c (_IO_file_open): Likewise.
31996 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31997 * locale/loadlocale.c (_nl_load_locale): Likewise.
31998 * login/utmp_file.c (setutent_file): Likewise.
31999 * misc/daemon.c (daemon): Likewise.
32000 * nss/nss_db/db-open.c (internal_setent): Likewise.
32001 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32002 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32003 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32004 (__opendir): Likewise.
32005 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32006 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32007 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32008 (gethostid): Likewise.
32009 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32011 Likewise.
32012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32013 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32014 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32015 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32016 Likewise.
32017 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32018 Likewise.
32019 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32020 Likewise.
32021 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32022 Likewise.
32023 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32024 Likewise.
32025 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32026 Likewise.
32027 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32028 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32029
d4505b89
WD
320302017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32031
32032 * benchtests/bench-skeleton.c (main): Add support for
32033 latency benchmarking.
32034 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32035
34d6a3cb
L
320362017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32037
32038 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32039 the startup object.
32040
038d1caf
FW
320412017-08-17 Florian Weimer <fweimer@redhat.com>
32042
32043 * include/sys/socket.h (__opensock): Remove internal_function.
32044 * socket/opensock.c (__opensock): Likewise.
32045 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32046
67f0aff0
JM
320472017-08-16 Joseph Myers <joseph@codesourcery.com>
32048
32049 [BZ #21944]
32050 * signal/bits/types/__sigval_t.h: New file.
32051 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32052 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32053 and define sigval_t using __sigval_t.
32054 * include/bits/types/__sigval_t.h: New file.
32055 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32056 instead of <bits/types/__sigval_t.h>.
32057 (struct sigevent): Use __sigval_t instead of sigval_t.
32058 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32059 instead of <bits/types/__sigval_t.h>.
32060 (siginfo_t): Use __sigval_t instead of sigval_t.
32061 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32062 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32063 (struct sigevent): Use __sigval_t instead of sigval_t.
32064 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32065 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32066 (siginfo_t): Use __sigval_t instead of sigval_t.
32067 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32068
87e7bf4d
L
320692017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32070
32071 * NEWS: Remove "[Add new features here]" for 2.27.
32072
5047057f
JM
320732017-08-16 Joseph Myers <joseph@codesourcery.com>
32074
32075 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32076 libc.so.
32077
20c7b195
L
320782017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32079
32080 * NEWS: Mention x86-64 FMA optimization.
32081
24a2e658
L
320822017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32083
32084 [BZ #21912]
32085 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32086 Add e_expf-fma.
32087 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32088 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32089 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32090
eedca977
AS
320912017-08-16 Andreas Schwab <schwab@suse.de>
32092
403143e1
FW
32093 [BZ #16750]
32094 CVE-2009-5064
eedca977
AS
32095 * elf/ldd.bash.in: Never run file directly.
32096
f59f7adb
L
320972017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32098
32099 [BZ #21955]
32100 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32101 (L(SP_INF_0)): Likewise.
32102
6b11a6ad
FW
321032017-08-15 Florian Weimer <fweimer@redhat.com>
32104
32105 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32106 run-built-tests.
32107
bbf5c438
FW
321082017-08-15 Florian Weimer <fweimer@redhat.com>
32109
32110 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32111 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32112 BROKEN_THREAD_SIGNALS code.
32113 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32114 request_list): Remove caller_pid member used for
32115 BROKEN_THREAD_SIGNALS.
32116 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32117 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32118 Remove BROKEN_THREAD_SIGNALS support.
32119 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32120 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32121
6014c65d
FW
321222017-08-15 Florian Weimer <fweimer@redhat.com>
32123
32124 * gmon/Makefile (tests): Add tst-gmon.
32125 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32126 Set.
32127 (tests-special): Add tst-gmon-prof.out.
32128 (tst-gmon.out): Depend on clean-tst-gmon-data.
32129 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32130 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32131 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32132 startup object.
32133 * aclocal.m4 (GPROF): Set and substitute.
32134 * config.amke.in (GPROF): Set.
32135 * configure: Regenerate.
32136
ee72219a
GR
321372017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32138
32139 * elf/elf.h A (NT_PPC_TAR): New macro.
32140 (NT_PPC_PPR): Likewise.
32141 (NT_PPC_DSCR): Likewise.
32142 (NT_PPC_EBB): Likewise.
32143 (NT_PPC_PMU): Likewise.
32144 (NT_PPC_TM_CGPR): Likewise.
32145 (NT_PPC_TM_CFPR): Likewise.
32146 (NT_PPC_TM_CVMX): Likewise.
32147 (NT_PPC_TM_CVSX): Likewise.
32148 (NT_PPC_TM_SPR): Likewise.
32149 (NT_PPC_TM_CTAR): Likewise.
32150 (NT_PPC_TM_CPPR): Likewise.
32151 (NT_PPC_TM_CDSCR): Likewise.
32152
4ebf934e
FW
321532017-08-15 Florian Weimer <fweimer@redhat.com>
32154
32155 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32156 regparm (2) instead of internal_function.
32157 (_MCOUNT_DECL): Adjust.
32158
e9f57484
SL
321592017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32160
32161 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32162 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32163
88ff4d55
JM
321642017-08-14 Joseph Myers <joseph@codesourcery.com>
32165
32166 * conform/data/sys/wait.h-data (si_value): Do not expect for
32167 XPG42.
32168
c88ffc23
FW
321692017-08-14 Florian Weimer <fweimer@redhat.com>
32170
32171 [BZ #21962]
32172 NSS: Create stubs for accidentally exported lookup functions.
32173 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32174 Remove declaration.
32175 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32176 (ether_hostton): Call __nss_ethers_lookup2 instead.
32177 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32178 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32179 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32180 (setup): Call __nss_netgroup_lookup2 instead.
32181 * nss/Makefile (routines): Add compat-lookup.
32182 * nss/Versions (GLIBC_2.27): Add symbol version.
32183 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32184 (DB_COMPAT_FCT): Remove.
32185 * nss/compat-lookup.c: New file.
32186 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32187 from databases.def.
32188 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32189 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32190 (netname2user): Call __nss_publickey_lookup2 instead.
32191 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32192 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32193 instead.
32194
35a29136 321952017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
32196 Sergei Trofimovich <slyfox@inbox.ru>
32197
32198 [BZ #21908]
32199 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32200 Rename to MMAP2_PAGE_UNIT.
32201 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32202 __OFF_T_MATCHES_OFF64_T is not defined.
32203 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32204 uint64_t.
32205 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32206 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32207
fbdc1e3e
FW
322082017-08-14 Florian Weimer <fweimer@redhat.com>
32209
32210 i386: Do not set internal_function.
32211 * config.h.in (USE_REGPARMS, internal_function): Remove.
32212 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32213 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32214
b3f85fd2
FW
322152017-08-14 Florian Weimer <fweimer@redhat.com>
32216
32217 * elf/dl-init.c (_dl_init): Remove internal_function.
32218 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32219 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32220
630bf491
FW
322212017-08-14 Florian Weimer <fweimer@redhat.com>
32222
32223 * elf/rtld.c (_dl_start): Remove internal_function.
32224 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32225 _dl_start.
32226
9fa7449b
FW
322272017-08-14 Florian Weimer <fweimer@redhat.com>
32228
32229 * elf/dl-fini.c (_dl_fini): Remove internal_function
32230 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32231
73322d5f
L
322322017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32233
d863cd71 32234 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
32235 (bit_cpu_SHSTK): Likewise.
32236 (index_cpu_IBT): Likewise.
32237 (index_cpu_SHSTK): Likewise.
32238 (reg_IBT): Likewise.
32239 (reg_SHSTK): Likewise.
32240 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32241 Handle index_cpu_IBT and index_cpu_SHSTK.
32242
dbc303ef
MF
322432017-08-14 Mike FABIAN <mfabian@redhat.com>
32244
32245 [BZ #19982]
32246 * po/fr.po: Fix spelling mistake.
32247
3012cfb0
FW
322482017-08-13 Florian Weimer <fweimer@redhat.com>
32249
32250 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32251 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32252 (_dl_catch_error, _dl_receive_error): Likewise.
32253 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32254 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32255 (_dl_deallocate_tls): Likewise.
32256 * include/dlfcn.h (_dl_addr): Likewise.
32257 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32258 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32259 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32260 Likewise.
32261
52bcdf26
FW
322622017-08-13 Florian Weimer <fweimer@redhat.com>
32263
32264 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32265 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32266 internal_function.
32267 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32268
e1d2ae8d
FW
322692017-08-13 Florian Weimer <fweimer@redhat.com>
32270
32271 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32272 internal_function.
32273 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32274 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32275 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32276 internal_function from _dl_make_stack_executable_hook member.
32277 (_dl_make_stack_executable): Remove internal_function.
32278 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32279 Likewise.
32280 * sysdeps/unix/sysv/linux/dl-execstack.c
32281 (_dl_make_stack_executable): Likewise.
32282
c4ce0382
FW
322832017-08-13 Florian Weimer <fweimer@redhat.com>
32284
32285 * sysdeps/unix/sysv/linux/netlinkaccess.h
32286 (__netlink_assert_response): Remove internal_function.
32287 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32288 (__netlink_assert_response): Likewise.
32289
c4d767f7
FW
322902017-08-13 Florian Weimer <fweimer@redhat.com>
32291
32292 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32293 internal_function.
32294 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32295
b2297409
FW
322962017-08-13 Florian Weimer <fweimer@redhat.com>
32297
32298 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32299 internal_function.
32300 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32301 * inet/netgroup.h (__internal_setnetgrent)
32302 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32303 * inet/getnetgrent_r.c (__internal_setnetgrent)
32304 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32305 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32306 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32307 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32308 * nss/nsswitch.h (db_lookup_function): Likewise.
32309
1b0bfc69
FW
323102017-08-13 Florian Weimer <fweimer@redhat.com>
32311
32312 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32313 Remove internal_function.
32314 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32315 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32316 message argument on the stack.
32317 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32318 Likeweise.
32319
a6bd8722
MF
323202017-08-12 Mike FABIAN <mfabian@redhat.com>
32321
32322 Adapt test case data to the changes in the thousands
32323 separators.
32324
32325 [BZ #20756]
32326 * localedata/tst-langinfo.sh: Adapt test case data.
32327 * stdlib/tst-strfmon_l.c: Likewise.
32328 * stdlib/tst-strtod4.c: Likewise.
32329 * stdlib/tst-strtod5i.c: Likewise.
32330
8b2c63e4
FW
323312017-08-11 Florian Weimer <fweimer@redhat.com>
32332
32333 [BZ #21242]
32334 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32335 Suppress pedantic warning resulting from statement expression.
32336 (__ASSERT_FUNCTION): Add missing __extension__.
32337
61c98291
SP
323382017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32339
86c6519e
SP
32340 * benchtests/bench-memmove-large.c: Print output in JSON
32341 format.
32342 * benchtests/bench-memmove.c: Likewise.
32343
61c98291
SP
32344 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32345 * benchtests/bench-memchr.c (do_one_test): Likewise.
32346 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32347 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32348 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32349 * benchtests/bench-memmove.c (do_one_test): Likewise.
32350 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32351 * benchtests/bench-memset.c (do_one_test): Likewise.
32352 * benchtests/bench-string.h (test_init): Remove memsets.
32353
925733a9
RJ
323542017-08-10 Rical Jasan <ricaljasan@pacific.net>
32355
32356 * manual/lang.texi
32357 (Computing the Width of an Integer Data Type): Rename section to
32358 "Width of an Integer Type". Remove inaccurate statement regarding
32359 lack of C language facilities for determining width of integer
32360 types, and reorder content to improve flow and context of
32361 discussion.
32362
4fcdfbfc
RJ
323632017-08-10 Rical Jasan <ricaljasan@pacific.net>
32364
32365 * lang.texi (va_copy): Change standard from ISO to C99.
32366 (__va_copy): Add standard and header annotation.
32367 Update description for clarity of origins and current use.
32368
4d98ace9
GG
323692017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32370
32371 [BZ #21941]
32372 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32373 xssqrtqp requires operands to be in Vector Registers
32374 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32375 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32376 (__ieee754_sqrtf128): Likewise.
32377
92236903
WD
323782017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32379
32380 * sysdeps/aarch64/memcmp.S (memcmp):
32381 Rewrite of optimized memcmp.
32382
2449ae7b
FW
323832017-08-10 Florian Weimer <fweimer@redhat.com>
32384
32385 Introduce ld.so exceptions.
32386 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32387 (_dl_exception_create, _dl_exception_create_format)
32388 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32389 (_dl_catch_exception): Declare.
32390 (_dl_catch_error): Update comment.
32391 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32392 errstring, malloced members with exception member.
32393 (_dl_out_of_memory): Remove.
32394 (fatal_error): New function, extracted from _dl_signal_error.
32395 (_dl_signal_exception, _dl_signal_cexception): New functions.
32396 (_dl_signal_error): Call _dl_exception_create to allocate an
32397 exception object.
32398 (_dl_catch_exception): New function, based on _dl_catch_error.
32399 (_dl_catch_error): Implement using _dl_catch_exception.
32400 * elf/dl-exception.c: New file.
32401 * elf/Makefile (dl-routines): Add dl-exception.
32402 (elide-routines.os): Likewise.
32403 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32404 _dl_exception_create_format, _dl_exception_free.
32405 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32406 _dl_signal_exception.
32407 * elf/dl-lookup.c (make_string): Remove.
32408 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32409 _dl_signal_cexception, _dl_exception_free.
32410 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32411 _dl_signal_exception.
32412 * elf/dl-sym.c (do_sym): Likewise.
32413 * elf/dl-version.c (make_string): Remove.
32414 (match_symbol): Use _dl_exception_create_format,
32415 _dl_signal_cexception, _dl_exception_free.
32416 (_dl_check_map_versions): Likewise.
32417 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32418 _dl_catch_exception.
32419 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32420 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32421 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32422 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32423 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32424 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32425 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32426 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32427 Likewise.
32428 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32430 (ld.so): Likewise.
32431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32432 (ld.so): Likewise.
32433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32434 Likewise.
32435 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32436 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32437 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32438 Likewise.
32439 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32440 Likewise.
32441 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32442
f87cc2bf
FW
324432017-08-10 Florian Weimer <fweimer@redhat.com>
32444
32445 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32446 attribute_hidden, internal_function.
32447 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32448 internal_function.
32449
eac43cbb
FW
324502017-08-10 Florian Weimer <fweimer@redhat.com>
32451
32452 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32453 function which calls __builtin_unreachable.
32454
bd80111e
MF
324552017-08-10 Mike FABIAN <mfabian@redhat.com>
32456
32457 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32458 Indian monetary formatting
32459 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32460 test cases.
32461
60e2846e
DL
324622017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32463
68dc02d1
DL
32464 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32465 Fix typo in comment.
32466
60e2846e
DL
32467 [BZ #21928]
32468 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32469 PTRACE_SEIZE_DEVEL): Remove.
32470 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32471 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32472 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32473 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32474 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32475
3d452dab
JM
324762017-08-09 Joseph Myers <joseph@codesourcery.com>
32477
24d9f53a
JM
32478 * posix/bits/types.h (__qaddr_t): Remove.
32479
3d452dab
JM
32480 [BZ #21457]
32481 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32482 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32483 __glibc_reserved1.
32484 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32485 (ucontext_t): Use __ctx with uc_flags.
32486 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32487 (__ctxt): Likewise.
32488 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32489 __glibc_reserved1.
32490 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32491 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32492 __glibc_reserved1.
32493 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32494 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32495 __glibc_reserved1.
32496 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32497 macro.
32498 (ucontext_t): Use __ctx with uc_flags.
32499 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32500 (ucontext_t): Use __ctx with uc_flags.
32501 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32502 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32503 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32504 (ucontext_t): Use __ctx with uc_flags.
32505 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32506 undefine further down.
32507 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32508 __glibc_reserved1.
32509 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32510 undefine further down.
32511 (ucontext_t): Use __ctx with uc_flags.
32512 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32513 undefine further down.
32514 (ucontext_t): Use __ctx with uc_flags.
32515 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32516 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32517 Rename uc_pad to __glibc_reserved1.
32518 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32519 undefine further down.
32520 (ucontext_t): Use __ctx with uc_flags.
32521 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32522 further down.
32523 (ucontext_t): Use __ctx with uc_flags.
32524 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32525 __ctx with uc_flags.
32526 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32527 (ucontext_t): Use __ctx with uc_flags.
32528 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32529 __ctx with uc_flags.
32530
30161498
FW
325312017-08-09 Florian Weimer <fweimer@redhat.com>
32532
32533 [BZ #21932]
32534 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32535 before early return.
32536
5797b410
AS
325372017-08-09 Andreas Schwab <schwab@suse.de>
32538
139237a4 32539 [BZ #21041]
5797b410
AS
32540 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32541 renamed alias.
32542
139237a4 32543 [BZ #21041]
40c06a3d
AS
32544 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32545 tst-compat-forwarder.
32546 (modules-names): Add tst-compat-forwarder-mod.
32547 ($(objpfx)tst-compat-forwarder): Depend on
32548 $(objpfx)tst-compat-forwarder-mod.so.
32549 * nptl/tst-compat-forwarder.c: New file.
32550 * nptl/tst-compat-forwarder-mod.c: New file.
32551
36ada5f6
SP
325522017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32553
0e02b510
SP
32554 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32555 comments.
32556
36ada5f6
SP
32557 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32558 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32559 memcpy_falkor.
32560 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32561 Bump.
32562 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32563 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32564 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32565 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32566 Add falkor.
32567 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32568 New macro.
32569
9995c839
AZ
325702017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32571
32572 [BZ #759]
32573 * manual/setjmp.texi (getcontex): Document uc_stack value
32574 compatibility differences.
32575
f17a4233
JM
325762017-08-08 Joseph Myers <joseph@codesourcery.com>
32577
32578 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32579 (old_malloc_hook): Likewise.
32580 (old_memalign_hook): Likewise.
32581 (old_realloc_hook): Likewise.
32582 (struct hdr): Likewise.
32583 (flood): Likewise.
32584 (freehook): Likewise.
32585 (mallochook): Likewise.
32586 (memalignhook): Likewise.
32587 (reallochook): Likewise.
32588 (mprobe): Likewise.
32589 * malloc/mtrace.c (mallwatch): Likewise.
32590 (tr_old_free_hook): Likewise.
32591 (tr_old_malloc_hook): Likewise.
32592 (tr_old_realloc_hook): Likewise.
32593 (tr_old_memalign_hook): Likewise.
32594 (tr_where): Likewise.
32595 (lock_and_info): Likewise.
32596 (tr_freehook): Likewise.
32597 (tr_mallochook): Likewise.
32598 (tr_reallochook): Likewise.
32599 (tr_memalignhook): Likewise.
32600 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32601 * misc/mmap.c (__mmap): Likewise.
32602 * misc/mmap64.c (__mmap64): Likewise.
32603 * misc/mprotect.c (__mprotect): Likewise.
32604 * misc/msync.c (msync): Likewise.
32605 * misc/munmap.c (__munmap): Likewise.
32606 * posix/posix_madvise.c (posix_madvise): Likewise.
32607 * socket/send.c (__send): Likewise.
32608 * socket/sendto.c (__sendto): Likewise.
32609 * socket/setsockopt.c (__setsockopt): Likewise.
32610 * string/memcmp.c (__ptr_t): Remove macro.
32611 (MEMCMP): Use void * instead of ptr_t.
32612 * string/memrchr.c (__ptr_t): Remove macro.
32613 (__memrchr): Use void * instead of ptr_t.
32614 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32615 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32616 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32617 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32618 * sysdeps/mach/msync.c (msync): Likewise.
32619 * sysdeps/mach/munmap.c (__munmap): Likewise.
32620 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32621 Likewise.
32622 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32623 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32624 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32625 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32626 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32627 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32628 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32629 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32630 Likewise.
32631 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32632 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32633 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32634 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32635 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32636 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32637 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32638 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32639 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32640 Likewise.
32641 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32642 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32643 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32644 (MEMCMP): Use void * instead of ptr_t.
32645 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32646 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32647
0df595b2
FW
326482017-08-08 Florian Weimer <fweimer@redhat.com>
32649
32650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32651 return statement.
32652
086df229
L
326532017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32654
32655 [BZ #21913]
32656 * csu/libc-tls.c: Include <startup.h> first.
32657 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32658 * elf/dl-tunables.c: Include <startup.h> first.
32659 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32660 * sysdeps/generic/startup.h: New file.
32661 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32662 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32663 (I386_USE_SYSENTER): New. Defined to 0.
32664
fc5ad702
AS
326652017-08-08 Andreas Schwab <schwab@suse.de>
32666
32667 [BZ #21041]
32668 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32669 * nptl/pt-system.c (system): Likewise.
32670
852d6312
AZ
326712017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32672
32673 [BZ #21780]
32674 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32675 EOPNOTSUPP.
32676 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32677 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32678 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32679 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32680 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32681 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32682 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32683
8b164787
JM
326842017-08-07 Joseph Myers <joseph@codesourcery.com>
32685
cd65836b
JM
32686 [BZ #21899]
32687 * bits/sigaction.h (struct sigaction): Define sa_handler and
32688 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32689 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32690 [__USE_XOPEN_EXTENDED].
32691 (SA_RESTART): Likewise.
32692 (SA_NODEFER): Likewise.
32693 (SA_RESETHAND): Likewise.
32694 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32695 (struct sigaction): Define sa_handler and sa_sigaction using union
32696 also for [__USE_XOPEN_EXTENDED].
32697 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32698 [__USE_XOPEN_EXTENDED].
32699 (SA_RESTART): Likewise.
32700 (SA_NODEFER): Likewise.
32701 (SA_RESETHAND): Likewise.
32702 * sysdeps/unix/sysv/linux/bits/sigaction.h
32703 (struct sigaction): Define sa_handler and sa_sigaction using union
32704 also for [__USE_XOPEN_EXTENDED].
32705 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32706 [__USE_XOPEN_EXTENDED].
32707 (SA_RESTART): Likewise.
32708 (SA_NODEFER): Likewise.
32709 (SA_RESETHAND): Likewise.
32710 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32711 (struct sigaction): Define sa_handler and sa_sigaction using union
32712 also for [__USE_XOPEN_EXTENDED].
32713 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32714 [__USE_XOPEN_EXTENDED].
32715 (SA_RESTART): Likewise.
32716 (SA_NODEFER): Likewise.
32717 (SA_RESETHAND): Likewise.
32718 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32719 (struct sigaction): Define sa_handler and sa_sigaction using union
32720 also for [__USE_XOPEN_EXTENDED].
32721 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32722 [__USE_XOPEN_EXTENDED].
32723 (SA_RESTART): Likewise.
32724 (SA_NODEFER): Likewise.
32725 (SA_RESETHAND): Likewise.
32726 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32727 (struct sigaction): Define sa_handler and sa_sigaction using union
32728 also for [__USE_XOPEN_EXTENDED].
32729 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32730 [__USE_XOPEN_EXTENDED].
32731 (SA_RESTART): Likewise.
32732 (SA_NODEFER): Likewise.
32733 (SA_RESETHAND): Likewise.
32734 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32735 (struct sigaction): Define sa_handler and sa_sigaction using union
32736 also for [__USE_XOPEN_EXTENDED].
32737 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32738 [__USE_XOPEN_EXTENDED].
32739 (SA_RESTART): Likewise.
32740 (SA_NODEFER): Likewise.
32741 (SA_RESETHAND): Likewise.
32742 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32743 (struct sigaction): Define sa_handler and sa_sigaction using union
32744 also for [__USE_XOPEN_EXTENDED].
32745 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32746 [__USE_XOPEN_EXTENDED].
32747 (SA_RESTART): Likewise.
32748 (SA_NODEFER): Likewise. Define directly rather than as alias.
32749 (SA_RESETHAND): Likewise.
32750 (SA_INTERRUPT): Define only for [__USE_MISC].
32751 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32752 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32753 [__USE_MISC].
32754 (SA_STACK): Define only for [__USE_MISC].
32755 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32756 (struct sigaction): Define sa_handler and sa_sigaction using union
32757 also for [__USE_XOPEN_EXTENDED].
32758 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32759 [__USE_XOPEN_EXTENDED].
32760 (SA_RESTART): Likewise.
32761 (SA_NODEFER): Likewise.
32762 (SA_RESETHAND): Likewise.
32763 (SA_NOPTRACE): Define only for [__USE_MISC].
32764
d9fee042
JM
32765 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32766 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32767 (struct catalog_info): Likewise.
32768 * inet/htontest.c (lo): Likewise.
32769 (foo): Likewise.
32770 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32771 * inet/inet_net.c (inet_network): Likewise.
32772 * inet/inet_netof.c (inet_netof): Likewise.
32773 * inet/rcmd.c (__ivaliduser): Likewise.
32774 (iruserok): Likewise.
32775 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32776 * locale/programs/locale-spec.c (locale_special): Likewise.
32777 * nis/nis_findserv.c (struct findserv_req): Likewise.
32778 (__nis_findfastest_with_timeout): Likewise.
32779 * nss/test-netdb.c (test_network): Likewise.
32780 * resolv/inet_neta.c (inet_neta): Likewise.
32781 * resolv/ns_date.c (ns_datetosecs): Likewise.
32782 (SECS_PER_DAY): Likewise.
32783 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32784 Likewise.
32785 * resolv/res_comp.c (__putlong): Likewise.
32786 (__putshort): Likewise.
32787 (_getlong): Likewise.
32788 (_getshort): Likewise.
32789 * resolv/res_debug.c (p_time): Likewise.
32790 (precsize_ntoa): Likewise.
32791 (precsize_aton): Likewise.
32792 (latlon2ul): Likewise.
32793 (loc_aton): Likewise.
32794 (loc_ntoa): Likewise.
32795 * resolv/res_hconf.c (struct netaddr): Likewise.
32796 (_res_hconf_reorder_addrs): Likewise.
32797 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32798 (clnttcp_control): Likewise.
32799 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32800 (clntudp_control): Likewise.
32801 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32802 (clntunix_control): Likewise.
32803 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32804 * sunrpc/rpc/auth.h (union des_block): Likewise.
32805 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32806 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32807 (xdrrec_create): Likewise.
32808 (xdrrec_endofrecord): Likewise.
32809 (flush_out): Likewise.
32810 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32811 (xdrstdio_putlong): Likewise.
32812 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32813 Likewise.
32814
8b164787
JM
32815 * misc/sys/cdefs.h (__long_double_t): Remove.
32816 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32817 instead of __long_double_t,
32818 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32819
7ee38e60
SP
328202017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32821
dd3e86ad
SP
32822 * benchtests/scripts/compare_strings.py: Avoid display error when
32823 running on a text terminal.
32824
b115e819
SP
32825 * benchtests/scripts/compare_strings.py (main): Add an
32826 optional -base option.
32827 (process_results): New argument base_func.
32828
7ee38e60
SP
32829 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32830 hardcoding memcpy.
32831 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32832 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32833
d5afb385
AS
328342017-08-07 Andreas Schwab <schwab@suse.de>
32835
32836 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32837 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32838 * intl/Makefile ($(objpfx)tst-gettext.out)
32839 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32840 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32841 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32842 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32843 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32844 * posix/Makefile ($(objpfx)globtest.out)
32845 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32846 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32847 ($(objpfx)tst-printf.out): Likewise.
32848 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32849 ($(objpfx)tst-setcontext3.out): Likewise.
32850
57a72fa3
L
328512017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32852
32853 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32854 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32855 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32856 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32857 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32858 and mptan-fma.
32859 (CFLAGS-doasin-fma.c): New.
32860 (CFLAGS-dosincos-fma.c): Likewise.
32861 (CFLAGS-e_asin-fma.c): Likewise.
32862 (CFLAGS-e_atan2-fma.c): Likewise.
32863 (CFLAGS-e_exp-fma.c): Likewise.
32864 (CFLAGS-e_log-fma.c): Likewise.
32865 (CFLAGS-e_pow-fma.c): Likewise.
32866 (CFLAGS-halfulp-fma.c): Likewise.
32867 (CFLAGS-mpa-fma.c): Likewise.
32868 (CFLAGS-mpatan-fma.c): Likewise.
32869 (CFLAGS-mpatan2-fma.c): Likewise.
32870 (CFLAGS-mpexp-fma.c): Likewise.
32871 (CFLAGS-mplog-fma.c): Likewise.
32872 (CFLAGS-mpsqrt-fma.c): Likewise.
32873 (CFLAGS-mptan-fma.c): Likewise.
32874 (CFLAGS-s_atan-fma.c): Likewise.
32875 (CFLAGS-sincos32-fma.c): Likewise.
32876 (CFLAGS-slowexp-fma.c): Likewise.
32877 (CFLAGS-slowpow-fma.c): Likewise.
32878 (CFLAGS-s_sin-fma.c): Likewise.
32879 (CFLAGS-s_tan-fma.c): Likewise.
32880 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32881 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32882 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32883 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32884 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32885 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32886 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32887 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32888 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32889 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32890 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32891 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32892 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32893 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32894 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32895 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32896 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32897 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32898 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32899 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32900 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32901 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32902 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32903 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32904 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32905 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32906 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32907 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32908 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32909 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32910 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32911
219dd320
JM
329122017-08-04 Joseph Myers <joseph@codesourcery.com>
32913
32914 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32915 (min_of_type_f): New macro.
32916 (min_of_type_): Likewise.
32917 (min_of_type_l): Likewise.
32918 (min_of_type_f128): Likewise.
32919 (min_of_type): Define using __MATH_TG and taking an expression
32920 argument.
32921 (math_check_force_underflow): Pass expression instead of type to
32922 min_of_type.
32923 (math_check_force_underflow_nonneg): Likewise.
32924
64d4dea6
L
329252017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32926
32927 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32928 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32929 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32930
973da22a
L
329312017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32932
32933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32934 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32935 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32936 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32937 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32938 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32939 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32940 memmove_chk-nonshared and memset_chk-nonshared
32941 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32942 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32943 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32944 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32945 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32946 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32947 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32948 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32949 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32950 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32951 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32952 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32953 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32954 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32955 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32956 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32957 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32958 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32959 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32960 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32961 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32962 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32963 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32964 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32965 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32966 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32967 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32968 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32969 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32970 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32971 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32972 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32973 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32974 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32975 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32976 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32977 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32978 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32979 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32980 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32981 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32982 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32983 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32984 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32985 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32986 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32987 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32988 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32989 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32990 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32991 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32992 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32993 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32994 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32995 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32996 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32997 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32998 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32999 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33000 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33001 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33002 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33003 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33004 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33005 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33006 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33007 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33008 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33009 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33010 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33011 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33012 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33013 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33014 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33015 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33016 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33017 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33018 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33019 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33020 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33021 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33022 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33023 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33024 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33025 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33026 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33028 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33029 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33030 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33031 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33032 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33033 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33034 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33035 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33036 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33037 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33038 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33039 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33040 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33041 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33042 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33043 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33044 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33045 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33046 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33047 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33048 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33049
8537e0f6
L
330502017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33051
33052 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33053 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33054 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33055 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33056 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33057 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33058 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33059 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33060 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33061 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33062 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33063 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33064 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33065 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33066 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33067 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33068 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33069 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33070 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33071 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33072 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33073 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33074 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33075 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33076 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33077 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33078 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33079 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33080 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33081 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33082 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33083 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33084 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33085 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33086 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33087 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33088 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33089 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33090 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33091 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33092 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33093 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33094 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33095 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33096 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33097 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33098 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33099 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33100 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33101 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33102 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33103 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33104 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33105 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33106 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33107 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33108 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33109 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33110 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33111 ...
33112 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33113 Don't include <sysdep.h> nor <init-arch.h>.
33114 (_ZGVbN2v_cos): Removed.
33115 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33116 ...
33117 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33118 Don't include <sysdep.h> nor <init-arch.h>.
33119 (_ZGVdN4v_cos): Removed.
33120 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33121 ...
33122 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33123 Don't include <sysdep.h> nor <init-arch.h>.
33124 (_ZGVeN8v_cos): Removed.
33125 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33126 ...
33127 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33128 Don't include <sysdep.h> nor <init-arch.h>.
33129 (_ZGVbN2v_exp): Removed.
33130 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33131 ...
33132 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33133 Don't include <sysdep.h> nor <init-arch.h>.
33134 (_ZGVdN4v_exp): Removed.
33135 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33136 ...
33137 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33138 Don't include <sysdep.h> nor <init-arch.h>.
33139 (_ZGVeN8v_exp): Removed.
33140 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33141 ...
33142 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33143 Don't include <sysdep.h> nor <init-arch.h>.
33144 (_ZGVbN2v_log): Removed.
33145 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33146 ...
33147 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33148 Don't include <sysdep.h> nor <init-arch.h>.
33149 (_ZGVdN4v_log): Removed.
33150 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33151 ...
33152 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33153 Don't include <sysdep.h> nor <init-arch.h>.
33154 (_ZGVeN8v_log): Removed.
33155 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33156 ...
33157 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33158 Don't include <sysdep.h> nor <init-arch.h>.
33159 (_ZGVbN2vv_pow): Removed.
33160 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33161 ...
33162 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33163 Don't include <sysdep.h> nor <init-arch.h>.
33164 (_ZGVdN4vv_pow): Removed.
33165 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33166 ...
33167 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33168 Don't include <sysdep.h> nor <init-arch.h>.
33169 (_ZGVeN8vv_pow): Removed.
33170 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33171 ...
33172 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33173 Don't include <sysdep.h> nor <init-arch.h>.
33174 (_ZGVbN2v_sin): Removed.
33175 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33176 ...
33177 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33178 Don't include <sysdep.h> nor <init-arch.h>.
33179 (_ZGVbN4v_sin): Removed.
33180 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33181 ...
33182 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33183 Don't include <sysdep.h> nor <init-arch.h>.
33184 (_ZGVbN8v_sin): Removed.
33185 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33186 ...
33187 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33188 Don't include <sysdep.h> nor <init-arch.h>.
33189 (_ZGVbN2vvv_sincos): Removed.
33190 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33191 ...
33192 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33193 Don't include <sysdep.h> nor <init-arch.h>.
33194 (_ZGVdN4vvv_sincos): Removed.
33195 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33196 ...
33197 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33198 Don't include <sysdep.h> nor <init-arch.h>.
33199 (_ZGVeN8vvv_sincos): Removed.
33200 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33201 ...
33202 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33203 Don't include <sysdep.h> nor <init-arch.h>.
33204 (_ZGVeN16v_cosf): Removed.
33205 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33206 ...
33207 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33208 Don't include <sysdep.h> nor <init-arch.h>.
33209 (_ZGVbN4v_cosf): Removed.
33210 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33211 ...
33212 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33213 Don't include <sysdep.h> nor <init-arch.h>.
33214 (_ZGVdN8v_cosf): Removed.
33215 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33216 ...
33217 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33218 Don't include <sysdep.h> nor <init-arch.h>.
33219 (_ZGVeN16v_expf): Removed.
33220 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33221 ...
33222 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33223 Don't include <sysdep.h> nor <init-arch.h>.
33224 (_ZGVbN4v_expf): Removed.
33225 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33226 ...
33227 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33228 Don't include <sysdep.h> nor <init-arch.h>.
33229 (_ZGVdN8v_expf): Removed.
33230 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33231 ...
33232 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33233 Don't include <sysdep.h> nor <init-arch.h>.
33234 (_ZGVeN16v_logf): Removed.
33235 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33236 ...
33237 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33238 Don't include <sysdep.h> nor <init-arch.h>.
33239 (_ZGVbN4v_logf): Removed.
33240 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33241 ...
33242 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33243 Don't include <sysdep.h> nor <init-arch.h>.
33244 (_ZGVdN8v_logf): Removed.
33245 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33246 ...
33247 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33248 Don't include <sysdep.h> nor <init-arch.h>.
33249 (_ZGVeN16vv_powf): Removed.
33250 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33251 ...
33252 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33253 Don't include <sysdep.h> nor <init-arch.h>.
33254 (_ZGVbN4vv_powf): Removed.
33255 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33256 ...
33257 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33258 Don't include <sysdep.h> nor <init-arch.h>.
33259 (_ZGVdN8vv_powf): Removed.
33260 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33261 ...
33262 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33263 Don't include <sysdep.h> nor <init-arch.h>.
33264 (_ZGVeN16vvv_sincosf): Removed.
33265 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33266 ...
33267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33268 Don't include <sysdep.h> nor <init-arch.h>.
33269 (_ZGVbN4vvv_sincosf): Removed.
33270 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33271 ...
33272 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33273 Don't include <sysdep.h> nor <init-arch.h>.
33274 (_ZGVdN8vvv_sincosf): Removed.
33275 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33276 ...
33277 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33278 Don't include <sysdep.h> nor <init-arch.h>.
33279 (_ZGVeN16v_sinf): Removed.
33280 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33281 ...
33282 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33283 Don't include <sysdep.h> nor <init-arch.h>.
33284 (_ZGVbN4v_sinf): Removed.
33285 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33286 ...
33287 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33288 Don't include <sysdep.h> nor <init-arch.h>.
33289 (_ZGVdN8v_sinf): Removed.
33290
10a87ca4
L
332912017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33292
33293 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33294 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33295 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33296 s_rint-sse4_1 and s_rintf-sse4_1.
33297 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33298 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33299 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33300 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33301 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33302 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33303 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33304 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33305 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33306 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33307 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33308 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33309 (__ceil): Removed.
33310 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33311 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33312 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33313 (__ceilf): Removed.
33314 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33315 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33316 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33317 (__floor): Removed.
33318 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33319 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33320 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33321 (__floorf): Removed.
33322 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33323 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33324 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33325 (__nearbyint): Removed.
33326 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33327 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33328 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33329 (__nearbyintf): Removed.
33330 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33331 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33332 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33333 (__rint): Removed.
33334 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33335 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33336 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33337 (__rintf): Removed.
33338
1e8e527d
L
333392017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33340
33341 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33342 SHARED. Avoid dynamic relocation against main in static PIE.
33343
e13daad7
L
333442017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33345
33346 [BZ #21815]
33347 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33348 (LDFLAGS-tst-prelink): Likewise.
33349
627c69c8
L
333502017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33351
33352 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33353 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33354 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33355 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33356 (INTERNAL_SYSCALL_NCS): Likewise.
33357 (LOADARGS_1): Likewise.
33358 (LOADARGS_5): Likewise.
33359 (RESTOREARGS_1): Likewise.
33360 (RESTOREARGS_5): Likewise.
33361
fc11ff8d
L
333622017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33363
33364 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33365 (MEMPCPY_SYMBOL): Likewise.
33366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33367 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33368 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33369 in libc.a.
33370 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33371 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33372 Likewise.
33373 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33374 (__hidden_ver1): Don't use in libc.a.
33375 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33376 (__mempcpy): Don't create a weak alias in libc.a.
33377 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33378 libc.a.
33379 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33380 (__hidden_ver1): Don't use in libc.a.
33381
19f1a11e
L
333822017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33383
33384 * config.make.in (have-insert): New.
33385 * configure.ac (libc_cv_insert): New. Set to yes if linker
33386 supports INSERT in linker script.
33387 (AC_SUBST(libc_cv_insert): New.
33388 * configure: Regenerated.
33389 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33390 if $(have-insert) == yes.
33391
3093fd5e
L
333922017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33393
33394 * elf/Makefile (tests): Add vismain only if
33395 $(have-protected-data) == yes.
33396 (tests-pie): Likewise.
33397
d2cf37c0
L
333982017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33399
33400 [BZ #21871]
33401 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33402 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33403
c8a0e6ec
L
334042017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33405
33406 [BZ #21790]
33407 * sysdeps/i386/i586/memset.S
33408 (__memset_zero_constant_len_parameter): Removed.
33409 * sysdeps/i386/i686/memset.S
33410 (__memset_zero_constant_len_parameter): Likewise.
33411 * sysdeps/i386/i686/multiarch/memset_chk.S
33412 (__memset_zero_constant_len_parameter): Likewise.
33413 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33414 Likewise.
33415
2b34e271
AJ
334162017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33417
33418 * stdlib/getentropy.c (getentropy): Change return type to int.
33419
144bdab0
AJ
334202017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33421
33422 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33423
24ab7723
JM
334242017-08-03 Joseph Myers <joseph@codesourcery.com>
33425
33426 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33427 u_intN_t.
33428 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33429 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33430 Likewise.
33431 (ieee_float_shape_type): Likewise.
33432 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33433 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33434 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33435 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33436 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33437 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33438 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33439 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33440 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33441 Likewise.
33442 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33443 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33444 (__ieee754_yn): Likewise.
33445 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33446 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33447 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33448 Likewise.
33449 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33450 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33451 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33452 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33453 (__erfc): Likewise.
33454 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33455 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33456 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33457 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33458 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33459 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33460 Likewise.
33461 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33462 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33463 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33464 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33465 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33466 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33467 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33468 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33469 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33470 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33471 (__issignaling): Likewise.
33472 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33473 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33474 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33475 Likewise.
33476 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33477 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33478 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33479 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33480 Likewise.
33481 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33482 Likewise.
33483 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33484 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33485 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33486 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33487 (__erfcf): Likewise.
33488 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33489 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33490 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33491 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33492 Likewise.
33493 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33494 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33495 Likewise.
33496 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33497 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33498 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33499 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33500 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33501 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33502 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33503 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33504 Likewise.
33505 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33506 Likewise.
33507 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33508 Likewise.
33509 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33510 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33511 Likewise.
33512 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33513 Likewise.
33514 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33515 (__ieee754_ynl): Likewise.
33516 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33517 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33518 Likewise.
33519 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33520 Likewise.
33521 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33522 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33523 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33524 Likewise.
33525 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33526 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33527 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33528 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33529 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33530 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33531 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33532 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33533 Likewise.
33534 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33535 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33536 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33537 Likewise.
33538 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33539 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33540 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33541 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33542 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33543 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33544 Likewise.
33545 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33546 Likewise.
33547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33548 Likewise.
33549 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33550 Likewise.
33551 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33552 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33553 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33554 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33555 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33556 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33557 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33558 Likewise.
33559 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33560 Likewise.
33561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33562 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33563 Likewise.
33564 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33565 (__ieee754_remainderl): Likewise.
33566 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33568 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33569 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33570 Likewise.
33571 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33572 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33573 Likewise.
33574 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33575 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33576 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33577 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33578 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33579 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33580 Likewise.
33581 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33582 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33583 (__ieee754_y0l): Likewise.
33584 (pzero): Likewise.
33585 (qzero): Likewise.
33586 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33587 (__ieee754_y1l): Likewise.
33588 (pone): Likewise.
33589 (qone): Likewise.
33590 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33591 (__ieee754_ynl): Likewise.
33592 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33593 (__ieee754_lgammal_r): Likewise.
33594 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33595 Likewise.
33596 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33597 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33598 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33599 (__erfcl): Likewise.
33600 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33601 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33602 Likewise.
33603 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33604 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33605 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33606 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33607 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33608 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33609 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33610 Likewise.
33611 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33612 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33613 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33614 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33615 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33616 Likewise.
33617 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33618 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33619 Likewise.
33620 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33621 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33622 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33623 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33624 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33625
964263bb
FW
336262017-08-03 Florian Weimer <fweimer@redhat.com>
33627
33628 [BZ #21885]
33629 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33630 on memory allocation failure.
33631
e98c925f
AM
336322017-08-03 Alan Modra <amodra@gmail.com>
33633
33634 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33635 tst-tlsopt-powerpc.c with function name change and no test harness.
33636 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33637 Call tls_get_addr_opt_test.
33638 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33639 (modules-names): Add mod-tlsopt-powerpc.
33640 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33641 (tst-tlsopt-powerpc): Depend on .so.
33642 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33643 define. Expand use in TLS_GD and TLS_LD.
33644
8ee1abdb
ST
336452017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33646
33647 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33648 function.
3da5756e 33649 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 33650
42df8d59
JM
336512017-08-02 Joseph Myers <joseph@codesourcery.com>
33652
33653 [BZ #21686]
33654 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33655 comparing size with that of double.
33656 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33657 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33658 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33659 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33660 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33661 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33662 unsigned __int128 types.
33663
b7f95f49
SE
336642017-08-02 Steve Ellcey <sellcey@cavium.com>
33665
33666 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33667 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33668 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33669 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33670 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33671
5b736bc9
L
336722017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33673
33674 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33675
dfc93c41
L
336762017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33677
33678 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33679 of SHARED.
33680 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33681 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33682 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33683 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33684 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33685 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33686 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33687
2fee621d
JM
336882017-08-02 Joseph Myers <joseph@codesourcery.com>
33689
33690 [BZ #21685]
33691 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33692 bit-field expressions passed to sizeof or typeof.
33693 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33694 (__TGMATH_F128): Likewise.
33695 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33696 (__TGMATH_CF128): Likewise.
33697 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33698 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33699 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33700 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33701 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33702 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33703 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33704 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33705 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33706 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33707 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33708 (__TGMATH_UNARY_IMAG): Likewise.
33709 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33710 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33711 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33712 type.
33713 (define_vars_for_type): Handle bit_field type specially.
33714 (Tests.__init__): Declare structure with bit-field element.
33715
b358255f
L
337162017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33717
33718 [BZ #21791]
33719 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33720 (MEMCPY_CHK): Define only if SHARED is defined.
33721 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33722 Likewise.
33723 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33724 Likewise.
edf66db1
SP
33725
33726See ChangeLog.18 for earlier changes.