]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
stdlib/tst-secure-getenv: handle >64 groups
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bae8cf0e
MG
12019-04-17 Mike Gerow <gerow@google.com>
2
3 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4 groups limit.
5
e3f454ba
FW
62019-04-11 Florian Weimer <fweimer@redhat.com>
7
8 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
9 domain with empty string.
10 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11
32d85c11
FW
122019-04-11 Florian Weimer <fweimer@redhat.com>
13
14 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
15 comment.
16 (alloc_buffer_next): Change return type to non-const. Update
17 comment.
18
221710af
FW
192019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
20
21 * manual/time.texi (Formatting Calendar Time): Add missing percent
22 sign to conversion specifier.
23
e621246e
CD
242019-04-09 Carlos O'Donell <carlos@redhat.com>
25 Kwok Cheung Yeung <kcy@codesourcery.com>
26
27 [BZ #16573]
28 * malloc/mtrace.c: Define prototypes for all hooks.
29 (set_default_hooks): New function.
30 (set_trace_hooks): Likewise.
31 (save_default_hooks): Likewise.
32 (tr_freehook): Use new s*_hooks functions.
33 (tr_mallochook): Likewise.
34 (tr_reallochook): Likewise.
35 (tr_memalignhook): Likewise.
36 (mtrace): Likewise.
37 (muntrace): Likewise.
38
648279f4
WD
392019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
40
41 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
42 (generic_stpcpy): New function.
43 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
44 (generic_stpncpy): New function.
45 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
46 (generic_strcat): New function.
47 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
48 (generic_strcpy): New function.
49 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
50 (STUPID_STRNCAT): Remove function.
51 (generic_strncat): New function.
52 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
53 (STUPID_STRNCPY): Remove function.
54 (generic_strncpy): New function.
55 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
56 (generic_strnlen): New function.
57 (memchr_strnlen): New function.
58 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
59 (memchr_strlen): Likewise.
60
93eebae5
WD
612019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
62
63 * benchtests/bench-strstr.c (input): Add realistic input text.
64 (stupid_strstr): Remove function.
65 (basic_strstr): Add function.
66 (twoway_strstr): Add function.
67 (do_one_test): Add result checking.
68 (do_test): Use new input text. Remove accidental early matches.
69 (test_main): Improve range of tests, reduce unaligned cases.
70
a173d09f
WD
712019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
72
73 * benchtests/bench-memmem.c (simple_memmem): Remove function.
74 (basic_memmem): Add function.
75 (twoway_memmem): Add function.
76
6103c0a8
WD
772019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
78
79 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
80 * benchtests/bench-malloc-thread.c: Likewise.
81 * benchtests/bench-skeleton.c: Likewise.
82 * benchtests/bench-strtod.c: Likewise.
83 * benchtests/bench-timing.h: Likewise.
84
33322186
FW
852019-04-08 Florian Weimer <fweimer@redhat.com>
86
87 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
88 definitions.
89 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
90 RES_INSECURE2 security checks.
91 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
92 RES_INSECURE2 handling.
93
3f8b44be
FW
942019-04-08 Florian Weimer <fweimer@redhat.com>
95
96 resolv: Remove support for RES_USE_INET6 and the inet6 option.
97 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
98 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
99 GETHOSTBYNAME.
100 * resolv/Makefile (tests): Remove tst-res_use_inet6.
101 (tests-internal): Update justification for tst-resolv-res_init,
102 tst-resolv-res_init-thread.
103 (tst-res_use_inet6): Remove target.
104 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
105 * resolv/res_debug.c (p_option): Remove "inet6" support.
106 * resolv/res_init.c (res_setoptions): Likewise.
107 * resolv/res_use_inet6.h: Remove file.
108 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
109 definition.
110 (res_use_inet6): Always return false.
111 * resolv/resolv.h (RES_USE_INET6): Remove definition.
112 * resolv/resolv_context.h: Adjust file comment.
113 (struct resolv_context): Update comment on __next field.
114 (__resolv_context_put): Update comment.
115 * resolv/tst-res_use_inet6.c: Remove file.
116 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
117 "inet6" support.
118 (test_cases): Adjust test case.
119 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
120 (thread_byname2_af_inet6): Use old byname_inet6 code.
121 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
122 (gai): Remove do_inet6 argument.
123 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
124 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
125 (thread_gai_unspec_inet6): Remove functions.
126 (do_test): Adjust thread_funcs.
127 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
128 RES_USE_INET6 flag.
129 (gaih_inet): Do not disable RES_USE_INET6 flag.
130
6b5c8607 1312019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
132
133 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
134 and remove redundant code.
135
e3fd0b0e
AZ
1362019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
137
f82ed45d
AZ
138 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
139 New rule.
140 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
142 Likewise.
143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
144 Likewise.
145 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
146 Likewise.
147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
148 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
149 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
150 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
151 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
152 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
153 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
154 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
155 wcsrchr-power7.
156 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
159 Remove wcsrchr optimizations.
160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
161
662c2cc4
AZ
162 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
163 the loop unroll.
164
421e3005
AZ
165 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
166 New rule.
167 * sysdeps/powerpc/power6/wcschr.c: Remove file.
168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
169 Likewise.
170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
171 Likewise.
172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
173 Likewise.
174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
175 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
176 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
177 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
178 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
179 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
181 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
182 wcschr-power7.
183 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
186 Remove wcschr optimizations.
187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
188
7ba0100c
AZ
189 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
190 the loop unroll.
191
447a1306
AZ
192 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
193 New rule.
194 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
195 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
196 Likewise.
197 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
198 Likewise.
199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
200 Likewise.
201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
202 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
203 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
204 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
205 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
206 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
208 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
209 wcscpy-power7.
210 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
213 Remove wcscpy optimizations.
214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
215
e3fd0b0e
AZ
216 * include/loop_unroll.h: New file.
217 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
218 besides generic implementation.
219
8260f236
DD
2202019-04-03 DJ Delorie <dj@redhat.com>
221
222 * time/tst-strftime3.c (tm_to_printed): Disable warning about
223 snprintf truncating output.
224
0bd545ee
DD
2252019-04-02 DJ Delorie <dj@redhat.com>
226
227 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
228 warning.
229
466afec3
TS
2302019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
231
232 [BZ #22964]
233 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
234 era.
235 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
236 (mkreftable): Add rules for the new Japanese era and the new dates.
237
2f1d6155
TS
2382019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
239 Rafal Luzynski <digitalfreak@lingonborough.com>
240
241 * time/tst-strftime2.c (date_t): Explicitly define the type.
242 (dates): Use natural month and year numbers to express a date.
243 (is_before): New function to compare dates.
244 (mkreftable): Minor improvements to simplify maintenance.
245 (do_test): Reflect the changes in dates array.
246
84aea169
TS
247 [BZ #24293]
248 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
249 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
250 * time/tst-strftime2.c (locales): Likewise.
251 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
252 2010-04-01, and 2011-04-01.
253 (mkreftable): Add rules for the new locales and the new dates.
254
62449176
CD
2552019-04-01 Carlos O'Donell <carlos@redhat.com>
256
257 * localedata/locales/ja_JP: Add comments to era entries.
258
e0e4c321
DD
2592019-04-01 DJ Delorie <dj@redhat.com>
260
261 [BZ #24394]
262 * time/strptime_l.c (%Ey): Fix fencepost error.
263 * time/tst-strftime3.c: New.
264 * time/Makefile (tests): Add tst-strftime3.
265
6b5c8607 2662019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
267
268 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
269 conditional branch to DIVBYZERO. Fix unwind info.
270 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
271 excb after conditional branch to $powerof2. Add missing unop
272 instructions and .align directives and reorder instructions to
273 match __divqu.
274
d5ecee82
RH
2752019-04-01 Richard Henderson <rth@twiddle.net>
276
277 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
278 Do not redefine.
279 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
280 Do not redefine.
281
656dd306
MR
2822019-03-30 Maciej W. Rozycki <macro@wdc.com>
283
284 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
285 $libc_cv_riscv_float_abi in `test' invocation.
286 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
287
10cce669
PC
2882019-03-29 Paul A. Clarke <pc@us.ibm.com>
289
290 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
291 asm with builtin.
292 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
293 Likewise.
294 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
295 (_GET_SI_FPSCR): Likewise.
296 (_SET_SI_FPSCR): Likewise.
297
5e67e4bf 2982019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
299
300 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
301 clang 2.8.
302 (signbit): Use builtin for clang 3.3.
303 (isinf): Use builtin for clang 3.7.
304
01963891
AZ
3052019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
306
307 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
308
67112f7a
AH
3092019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
310
311 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
312 quote in printf.
313
7a773abf
MC
3142019-03-25 Mike Crowe <mac@mcrowe.com>
315
82849fde
MC
316 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
317 pthread_rwlock_timedrdlock with calls to
318 pthread_rwlock_timedwrlock to ensure that the latter is tested
319 too. Use new function name in diagnostic messages too.
320
7a773abf
MC
321 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
322 (do_test) Use libsupport test macros rather than hand-coded
323 conditionals and error messages. Ensure that sem_init returns zero
324 rather than not -1. Use <support/test-driver.c> rather than
325 test-skeleton.c.
326
327 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
328 test macros rather than hand-coded conditionals and error messages.
329 Use <support/test-driver.c> rather than test-skeleton.c.
330
9ac2de69
JM
3312019-03-25 Joseph Myers <joseph@codesourcery.com>
332
d7563e62
JM
333 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
334
9ac2de69
JM
335 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
336 (NT_MIPS_MSA): Likewise.
337
38cc11da
AZ
3382019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
339
7621e38b
WD
340 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
341 * benchtests/README: Update description.
342 * benchtests/bench-timing.h: Default to hp-timing.
343 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
344 HP_TIMING_PRINT): Remove.
345 (HP_TIMING_NOW): Add generic implementation.
346 (hp_timing_t): Change to uint64_t.
347
1e372ded
AZ
348 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
349 HP_TIMING_INLINE.
350 * nptl/descr.h: Likewise.
351 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
352 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
353 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
354 Abstract hp-timing usage with RTLD_* macros.
355 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
356 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
357 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
358 HP_TIMING_NONAVAIL): Likewise.
359 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
360 Likewise.
361 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
362 HP_SMALL_TIMING_AVAIL): Likewise.
363 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
364 HP_SMALL_TIMING_AVAIL): Likewise.
365 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
366 HP_SMALL_TIMING_AVAIL): Likewise.
367 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
368 HP_SMALL_TIMING_AVAIL): Likewise.
369 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
370 Likewise.
371 * sysdeps/generic/hp-timing-common.h: Update comment with
372 HP_TIMING_AVAIL removal.
373
359653aa
AZ
374 * include/random-bits.h: New file.
375 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
376 (__res_context_mkquery): Remove usage hp-timing usage and replace with
377 random_bits.
378 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
379 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
380 Likewise.
381
6e8ba7fd
AZ
382 * include/libc-internal.h (__get_clockfreq): Remove prototype.
383 * rt/Makefile (clock-routines): Remove get_clockfreq.
384 * rt/get_clockfreq.c: Remove file.
385 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
386 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
387 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
388 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
389 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
390
77b6f553
AZ
391 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
392 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
393 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
394 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
395 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
396
38cc11da
AZ
397 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
398 pthread_clock_settime.
399 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
400 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
401 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
402 * elf/rtld.c (_dl_start_final): Likewise.
403 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
404 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
405 Remove.
406 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
407 (_dl_cpuclock_offset): Remove.
408 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
409 cpuclock_offset_ununsed.
410 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
411 cpuclock_offset set.
412 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
413 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
414 * nptl/pthread_clock_gettime.c: Remove file.
415 * nptl/pthread_clock_settime.c: Likewise.
416 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
417 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
418 and CLOCK_PROCESS_CPUTIME_ID support.
419 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
420 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
421 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
422 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
423 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
424 Likewise.
425 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
426
421749d6
SL
4272019-03-22 Stefan Liebler <stli@linux.ibm.com>
428
429 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
430 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
431 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
432 New defines.
433 * sysdeps/s390/memmem-arch13.S: New file.
434 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
435 if it is only used as fallback.
436 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
437 * sysdeps/s390/multiarch/ifunc-impl-list.c
438 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
439
6f47401b
SL
4402019-03-22 Stefan Liebler <stli@linux.ibm.com>
441
442 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
443 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
444 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
445 New defines.
446 * sysdeps/s390/multiarch/ifunc-impl-list.c
447 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
448 * sysdeps/s390/strstr-arch13.S: New file.
449 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
450 if it is only used as fallback.
451 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
452
96fbb9a3
SL
4532019-03-22 Stefan Liebler <stli@linux.ibm.com>
454
455 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
456 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
457 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
458 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
459 ifunc selector.
460 * sysdeps/s390/multiarch/ifunc-impl-list.c
461 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
462 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
463 S390_IS_ARCH13_MIE3): New defines.
464
a899a551
SL
4652019-03-22 Stefan Liebler <stli@linux.ibm.com>
466
467 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
468 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
469 * sysdeps/s390/configure.ac: Add checks for arch13 support.
470 * sysdeps/s390/configure: Regenerated.
471
1a7df49c
SL
4722019-03-22 Stefan Liebler <stli@linux.ibm.com>
473
474 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
475 Add vxe2, vxp, dflt, sort flags.
476 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
477 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
478 capabilities.
479 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
480 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
481 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
482 HWCAP_S390_DFLT): Define.
483
5e67e4bf 4842019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
485
486 [BZ #24372]
487 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
488 of compiler warning.
489 * locale/programs/ld-collate.c (collate_output): Likewise.
490
ac64195c
DD
4912019-03-21 DJ Delorie <dj@redhat.com>
492
493 [BZ #24372]
494 * iconv/iconvconfig.c (write_output): Replace floating point math
495 with integer math to avoid imprecise results.
496 * locale/programs/ld-collate.c (collate_output): Likewise.
497
61f5e947
SL
4982019-03-21 Stefan Liebler <stli@linux.ibm.com>
499
500 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
501 Add HWCAP_S390_VX and HWCAP_S390_VXE.
502
57ada43c 5032019-03-20 mansayk <6688000@gmail.com>
504
505 [BZ #24296]
506 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
507 (abday): Likewise, but remove the trailing dots.
508
a2e57f89
JM
5092019-03-19 Joseph Myers <joseph@codesourcery.com>
510
511 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
512 macro.
513 (HWCAP_PACA): Likewise.
514 (HWCAP_PACG): Likewise.
515 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
516 Increase to 32.
517 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
518
e87d8ada
ST
5192019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
520
521 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
522 should be handled.
523
477e739b
JM
5242019-03-15 Joseph Myers <joseph@codesourcery.com>
525
526 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
527 version to 5.0.
528 (old_getpagesize): New syscall.
529
238d60a1
FY
5302019-03-15 Felix Yan <felixonmars@archlinux.org>
531
532 [BZ #24293]
533 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
534 * localedata/locales/cmn_TW (era): Likewise.
535 * localedata/locales/hak_TW (era): Likewise.
536 * localedata/locales/lzh_TW (era): Likewise.
537 * localedata/locales/nan_TW (era): Likewise.
538
a0a0dc83
FW
5392019-03-14 Florian Weimer <fweimer@redhat.com>
540
541 Remove obsolete, never-implemented XSI STREAMS declarations.
542 * manual/terminal.texi (Allocation): Remove portability note and
543 adjust example.
544 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
545 _SC_STREAMS.
546 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
547 * sysdeps/unix/inet/Subdirs (streams): Remove.
548 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
549 (conformtest-headers-UNIX98): Likewise.
550 (conformtest-headers-XOPEN2K): Likewise.
551 (conformtest-headers-POSIX2008): Likewise.
552 * posix/compat-streams.c: New file.
553 * posix/Makefile (routines): Add it.
554 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
555 getpmsg, isastream, putmsg, putpmsg.
556 (GLIBC_2.30): New section.
557 * bits/stropts.h: Remove file.
558 * bits/xtitypes.h: Likewise.
559 * conform/data/stropts.h-data: Likewise.
560 * include/stropts.h: Likewise.
561 * include/sys/stropts.h: Likewise.
562 * include/xtitypes.h: Likewise.
563 * streams/Makefile: Likewise.
564 * streams/fattach.c: Likewise.
565 * streams/fdetach.c: Likewise.
566 * streams/getmsg.c: Likewise.
567 * streams/getpmsg.c: Likewise.
568 * streams/isastream.c: Likewise.
569 * streams/putmsg.c: Likewise.
570 * streams/putpmsg.c: Likewise.
571 * streams/stropts.h: Likewise.
572 * streams/sys/stropts.h: Likewise.
573 * sysdeps/ia64/bits/xtitypes.h: Likewise.
574 * sysdeps/s390/bits/xtitypes.h: Likewise.
575 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
576 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
577 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
578 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
579 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
580 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
581 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
582 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
583 * sysdeps/x86/bits/xtitypes.h: Likewise.
584
081bdf94
FW
5852019-03-14 Florian Weimer <fweimer@redhat.com>
586
587 * nss/tst-nss-files-alias-truncated.c (do_test): Load
588 libnss_files.
589 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
590 but not with libnss_files.
591 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
592
97f8225d
ZW
5932019-03-14 Zack Weinberg <zackw@panix.com>
594
595 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
596 Specify encoding="utf-8" when opening headers to check.
597
0c1041ee
JM
5982019-03-13 Joseph Myers <joseph@codesourcery.com>
599
600 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
601 version to 5.0.
602 (Context.checkout_tar): Handle variable major version for Linux
603 kernel.
604
043440e7
FW
6052019-03-13 Florian Weimer <fweimer@redhat.com>
606
607 [BZ #24047]
608 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
609
29218b26
ZW
6102019-03-13 Zack Weinberg <zackw@panix.com>
611
612 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
613 Move to stdlib.
614 * include/inttypes.h: Adjust to match.
615 * include/stdint.h: New wrapper.
616
711a322a
ZW
6172019-03-13 Zack Weinberg <zackw@panix.com>
618
619 * scripts/check-obsolete-constructs.py: New test script.
620 * scripts/check-installed-headers.sh: Remove tests for
621 obsolete typedefs, superseded by check-obsolete-constructs.py.
622 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
623 as a special test. Update commentary.
624 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
625 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
626 Update commentary.
627 * posix/sys/types.h (__u_intN_t): Remove.
628 (u_int8_t): Typedef using __uint8_t.
629 (u_int16_t): Typedef using __uint16_t.
630 (u_int32_t): Typedef using __uint32_t.
631 (u_int64_t): Typedef using __uint64_t.
632
7c651308
SL
6332019-03-13 Stefan Liebler <stli@linux.ibm.com>
634
635 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
636 call _dl_procinfo.
637 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
638 Ignore types other than AT_HWCAP.
639 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
640 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
641 Likewise.
642 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
643 in the case of falling back to generic output mechanism.
644 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
645 Likewise.
646
38b52865
FW
6472019-03-12 Florian Weimer <fweimer@redhat.com>
648
649 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
650
08504de7
FW
6512019-03-12 Florian Weimer <fweimer@redhat.com>
652
653 [BZ #24047]
654 resolv: Enable full ICMP errors for UDP DNS sockets
655 * resolv/res_enable_icmp.c: New file.
656 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
657 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
658 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
659 socket.
660
5fbcd763
MH
6612019-03-11 Mao Han <han_mao@c-sky.com>
662
663 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
664 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
665
c4e5f34b
MH
6662019-03-11 Mao Han <han_mao@c-sky.com>
667
668 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
669 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
670 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
671
827e30f3
MH
6722019-03-11 Mao Han <han_mao@c-sky.com>
673
674 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
675 directly.
676 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
677 definition.
678
6229c9bf
MH
6792019-03-11 Mao Han <han_mao@c-sky.com>
680
681 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
682 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
683 in mcontext_t
684
86bdd49d
MF
6852019-03-08 Mike FABIAN <mfabian@redhat.com>
686
687 [BZ #24307]
688 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
689 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
690 Unicode 12.0.0.
691 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
692 * localedata/unicode-gen/PropList.txt: Likewise.
693 * localedata/unicode-gen/UnicodeData.txt: Likewise.
694 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
695 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
696 * localedata/charmaps/UTF-8: Regenerate.
697 * localedata/locales/i18n_ctype: Likewise.
698 * localedata/locales/tr_TR: Likewise.
699 * localedata/locales/translit_circle: Likewise.
700 * localedata/locales/translit_cjk_compat: Likewise.
701 * localedata/locales/translit_combining: Likewise.
702 * localedata/locales/translit_compat: Likewise.
703 * localedata/locales/translit_font: Likewise.
704 * localedata/locales/translit_fraction: Likewise.
705
c5f65462
JM
7062019-03-07 Joseph Myers <joseph@codesourcery.com>
707
708 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
709 than after operators.
710 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
711 (setitimer_locked): Likewise.
712 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
713 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
714 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
715 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
716 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
717 (PPC_CPU_SUPPORTED): Likewise.
718 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
719 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
720 (stat_overflow): Likewise.
721 (statfs_overflow): Likewise.
722 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
723 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
724 (eq_ttyname_r): Likewise.
725 (run_chroot_tests): Likewise.
726
27a2f2f3
FW
7272019-03-07 Florian Weimer <fweimer@redhat.com>
728
729 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
730 header check.
731
ae514971 7322019-03-07 Martin Liska <mliska@suse.cz>
733
734 * math/Makefile: Change location where math-vector-fortran.h is
735 installed.
736 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
737 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
738 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
739 * scripts/check-installed-headers.sh: Skip Fortran header files.
740 * scripts/check-wrapper-headers.py: Likewise.
741
0ddb7ea8
AZ
7422019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
743
744 * nptl/nptl-init.c (__have_futex_clock_realtime,
745 __have_futex_clock_realtime): Remove definition.
746 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
747 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
748 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
749 __ASSUME_FUTEX_CLOCK_REALTIME support.
750 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
751 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
752 * sysdeps/unix/sysv/linux/kernel-features.h
753 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
754 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
755 Adjust comment.
756
590675c0
GG
7572019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
758
759 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
760 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
761 __GI___wcscpy and wcscpy.
762
de71ee7b
FW
7632019-03-04 Florian Weimer <fweimer@redhat.com>
764
765 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
766 declaration.
767 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
768 defined.
769
ce6ddae0
SL
7702019-03-04 Stefan Liebler <stli@linux.ibm.com>
771
772 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
773 * sysdeps/s390/s390-32/sysdep.h: Likewise.
774
31efface
TS
7752019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
776
777 [BZ #24162]
778 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
779 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
780
f0eaf862
GG
7812019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
782
783 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
784 tests.
785 (do_test): Likewise.
786 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
787 (do_test_call_varg): Likewise.
788 (do_test_call_rarg): Likewise.
789 * sysdeps/ieee754/ldbl-opt/Makefile
790 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
791 tst-nldbl-error.
792 ($(objpfx)tst-nldbl-warn.c): New rule.
793 ($(objpfx)tst-nldbl-error.c): Likewise.
794 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
795 New variables.
796
d11086a9
GG
7972019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
798
799 [BZ #23984]
800 * include/bits/error-ldbl.h: New file.
801 * include/error.h: Include stdarg.h. Declare internal functions
802 __error_internal and __error_at_line_internal.
803 * misc/Makefile (headers): Add bits/error-ldbl.h.
804 * misc/bits/error-ldbl.h: New file.
805 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
806 avoid the inclusion of bits/error.h.
807 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
808 and __nldbl_error_at_line.
809 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
810 (__nldbl_error, __ndlbl_error_at_line): New functions.
811 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
812 Redirect error and error_at_line.
813 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
815 Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
817 Likewise.
818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
819 Likewise.
820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
821 Likewise.
822 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
823 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
824 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
825
90188e7d
GG
8262019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
827
828 [BZ #23984]
829 * include/bits/err-ldbl.h: New file.
830 * include/err.h: Add prototypes for the internal functions:
831 __vwarnx_internal and __vwarn_internal.
832 * misc/Makefile (headers): Add bits/err-ldbl.h.
833 * misc/bits/err-ldbl.h: New file.
834 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
835 defined, i.e.: when -mlong-double-64 is in use.
836 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
837 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
838 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
839 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
840 (VA_CALL): New macro.
841 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
842 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
843 functions.
844 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
845 declare prototypes for the new functions.
846 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
848 Likewise.
849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
850 Likewise.
851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
852 Likewise.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
854 Likewise.
855 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
856 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
857 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
858
ea2d89d0
GG
8592019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
860
861 * sysdeps/ieee754/ldbl-opt/Makefile
862 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
863 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
864 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
865
6e1f6440
GG
8662019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
867
868 [BZ #23983]
869 * argp/Makefile (headers): Add bits/argp-ldbl.h.
870 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
871 * argp/bits/argp-ldbl.h: New file.
872 * include/argp.h: Include stdarg.h. Add prototypes for internal
873 functions: __argp_error_internal and __argp_failure_internal.
874 * include/bits/argp-ldbl.h: New file.
875 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
876 __nldbl_argp_error and __nldbl_argp_failure.
877 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
878 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
879 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
880 Redirect argp_error and argp_failure calls.
881 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
883 Likewise.
884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
885 Likewise.
886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
887 Likewise.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
889 Likewise.
890 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
891 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
892 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
893
c259196b
FW
8942019-03-01 Florian Weimer <fweimer@redhat.com>
895
896 [BZ #20419]
897 * elf/tst-big-note-lib.S: Create a syntactically valid note.
898 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
899 code, to avoid creating an ABI tag note.
900 (modules-names-nobuild): Add tst-big-note-lib.
901
928b305d
SL
9022019-03-01 Stefan Liebler <stli@linux.ibm.com>
903
904 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
905 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
906
36f30c10
FW
9072019-03-01 Florian Weimer <fweimer@redhat.com>
908
909 [BZ #20271]
910 * sysdeps/unix/sysv/linux/netlink_assert_response.c
911 (__netlink_assert_response): Add additional missing newlines.
912
462e83a4
JM
9132019-02-28 Joseph Myers <joseph@codesourcery.com>
914
915 * sysdeps/powerpc/powerpc32/dl-machine.c
916 (__elf_machine_fixup_plt): Use space before '('.
917 (__process_machine_rela): Likewise.
918 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
919 Likewise.
920 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
921 Likewise.
922 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
923 Likewise.
924 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
925 (pattern): Likewise.
926 (delta): Likewise.
927 (check_result): Likewise.
928 (check_excepts): Likewise.
929 (check_op): Likewise.
930 (fail_xr): Likewise.
931 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
932 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
933 (SCNHSZ): Likewise.
934 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
935 Likewise.
936 (ARGS): Likewise.
937 (__makecontext): Likewise.
938 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
939 Likewise.
940
cc3e573c
FW
9412019-02-28 Florian Weimer <fweimer@redhat.com>
942
943 [BZ #23937]
944 elf: Add test with a local IFUNC resolver.
945 * elf/ifuncmain9.c: New file.
946 * elf/ifuncmain9pic.c: Likewise.
947 * elf/ifuncmain9picstatic.c: Likewise.
948 * elf/ifuncmain9pie.c: Likewise.
949 * elf/ifuncmain9static.c: Likewise.
950 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
951 ifuncmain9static, ifuncmain9picstatic.
952 * elf/Makefile [multi-arch && build-shared] (tests-internal):
953 Add ifuncmain9, ifuncmain9pic.
954 * elf/Makefile [multi-arch && build-shared && have-fpie]
955 (ifunc-pie-tests): Add ifuncmain9pie.
956 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
957 (CFLAGS-ifuncmain9picstatic.c): Likewise.
958 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
959
92ad88fe
L
9602019-02-27 H.J. Lu <hongjiu.lu@intel.com>
961
962 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
963 * configure: Regenerated.
964 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
965
6bd4d02e
AZ
9662019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
967
968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
969 symbol as __wcspcy instead of wcscpy.
970
1b218417
ST
9712019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
972
973 * include/stdio.h (__renameat2): New hidden prototype.
974 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
975 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
976 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
977 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
978
c4f50205
JM
9792019-02-27 Joseph Myers <joseph@codesourcery.com>
980
f627dd4d
JM
981 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
982 if statement.
983
c4f50205
JM
984 * benchtests/bench-strcpy.c (do_test): Use space before '('.
985 * benchtests/bench-string.h (cmdline_process_function): Likewise.
986 * benchtests/bench-strlen.c (do_test): Likewise.
987 (test_main): Likewise.
988 * catgets/gencat.c (read_old): Likewise.
989 * elf/cache.c (load_aux_cache): Likewise.
990 * iconvdata/bug-iconv8.c (do_test): Likewise.
991 * math/test-tgmath-ret.c (do_test): Likewise.
992 * nis/nis_call.c (rec_dirsearch): Likewise.
993 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
994 * nptl/tst-audit-threads.c (do_test): Likewise.
995 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
996 * nss/nss_test1.c (init): Likewise.
997 * nss/test-netdb.c (test_hosts): Likewise.
998 * posix/execvpe.c (maybe_script_execute): Likewise.
999 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1000 * stdio-common/tst-printf.c (do_test): Likewise.
1001 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1002 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1003 * stdlib/qsort.c (STACK_SIZE): Likewise.
1004 * stdlib/test-canon.c (do_test): Likewise.
1005 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1006 * string/memcmp.c (OPSIZ): Likewise.
1007 * string/test-strcpy.c (do_test): Likewise.
1008 (do_random_tests): Likewise.
1009 * string/test-strlen.c (do_test): Likewise.
1010 (test_main): Likewise.
1011 * string/test-strrchr.c (do_test): Likewise.
1012 (do_random_tests): Likewise.
1013 * string/tester.c (test_memrchr): Likewise.
1014 (test_memchr): Likewise.
1015 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1016 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1017 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1018 (read_encoded_value_with_base): Likewise.
1019 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1020 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1021 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1022 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1023 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1024 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1025 Likewise.
1026 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1027 Likewise.
1028 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1029 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1030 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1031 Likewise.
1032 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1033 Likewise.
1034 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1035 Likewise.
1036 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1037 Likewise.
1038 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1039 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1040 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1041 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1042 * time/test_time.c (main): Likewise.
1043
7b3fb620
AZ
10442019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1045
457208b1
AZ
1046 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1047
30a7e208
AZ
1048 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1049 wmemcpy.
1050
ddf21ec7
AZ
1051 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1052 wmemcpy.
1053
4d801563
AZ
1054 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1055
81a14439
AZ
1056 * include/wchar.h (__wcscpy): New prototype.
1057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1058 (__wcscpy): Route internal symbol to generic implementation.
1059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1060 Add internal __wcscpy alias.
1061 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1062 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1063 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1064 * wcsmbs/wcscpy.c (wcscpy): Add
1065 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1066 use generic implementation.
1067 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1068
39ef0744
AZ
1069 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1070 wmemset.
1071
7b3fb620
AZ
1072 * sysdeps/m68k/wcpcpy.c: Remove file.
1073 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1074
e0cb7b61
JM
10752019-02-26 Joseph Myers <joseph@codesourcery.com>
1076
aa0e4663
JM
1077 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1078 than after operators.
1079 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1080 * sysdeps/mach/hurd/getcwd.c
1081 (__hurd_canonicalize_directory_name_internal): Likewise.
1082 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1083 (pthread_mutex_consistent): Likewise.
1084 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1085 Likewise.
1086 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1087 (__pthread_mutex_transfer_np): Likewise.
1088 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1089 (__pthread_mutex_unlock): Likewise.
1090 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1091 (mtx_owned_p): Likewise.
1092 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1093 (pthread_mutexattr_getrobust): Likewise.
1094 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1095 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1096 Likewise.
1097 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1098 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1099 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1100 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1101 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1103 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1104 Likewise.
1105 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1106 Likewise.
1107 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1108 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1109 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1110 (____longjmp_chk): Likewise.
1111 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1112 Likewise.
1113 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1114 (INTERNAL_SYSCALL): Likewise.
1115 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1116 (INTERNAL_SYSCALL): Likewise.
1117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1118 (__get_clockfreq_via_cpuinfo): Likewise.
1119
e0cb7b61
JM
1120 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1121 comments.
1122 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1123 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1124 (WORD_COPY_BWD): Likewise.
1125 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1126 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1127 Likewise.
1128 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1129 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1130 comment.
1131 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1132
a04549c1
JM
11332019-02-25 Joseph Myers <joseph@codesourcery.com>
1134
1135 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1136 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1137 rather than after operators.
1138 * elf/cache.c (print_cache): Likewise.
1139 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1140 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1141 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1142 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1143 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1144 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1145 (reauth_proc): Likewise.
1146 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1147 (__file_name_split_at): Likewise.
1148 (__directory_name_split_at): Likewise.
1149 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1150 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1151 * iconv/gconv_dl.c (do_print): Likewise.
1152 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1153 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1154 * locale/setlocale.c (new_composite_name): Likewise.
1155 * malloc/memusagestat.c (main): Likewise.
1156 * misc/fstab.c (fstab_convert): Likewise.
1157 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1158 Likewise.
1159 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1160 (getgrent_next_file): Likewise.
1161 (internal_getgrnam_r): Likewise.
1162 (internal_getgrgid_r): Likewise.
1163 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1164 Likewise.
1165 (internal_getgrent_r): Likewise.
1166 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1167 (getpwent_next_nss): Likewise.
1168 (getpwent_next_file): Likewise.
1169 (internal_getpwnam_r): Likewise.
1170 (internal_getpwuid_r): Likewise.
1171 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1172 Likewise.
1173 (getspent_next_nss): Likewise.
1174 (internal_getspnam_r): Likewise.
1175 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1176 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1177 * string/strchr.c (STRCHR): Likewise.
1178 * string/strchrnul.c (STRCHRNUL): Likewise.
1179 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1180 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1181 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1182 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1183 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1184 Likewise.
1185 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1186 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1187 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1188 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1189 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1190 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1191 (open_file): Likewise.
1192 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1193 (pthread_mutexattr_setprotocol): Likewise.
1194 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1195 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1196 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1197 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1198 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1199 Likewise.
1200 (elf_machine_rela): Likewise.
1201 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1202 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1203 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1204 * sysdeps/posix/rename.c (rename): Likewise.
1205 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1206 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1207 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1208 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1209 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1210 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1211 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1212 Likewise.
1213 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1214 Likewise.
1215 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1216 * time/tzfile.c (__tzfile_compute): Likewise.
1217
34a5a146
JM
12182019-02-22 Joseph Myers <joseph@codesourcery.com>
1219
1220 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1221 rather than after operators.
1222 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1223 * crypt/md5.c (md5_finish_ctx): Likewise.
1224 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1225 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1226 * elf/cache.c (load_aux_cache): Likewise.
1227 * elf/dl-load.c (open_verify): Likewise.
1228 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1229 * elf/readelflib.c (process_elf_file): Likewise.
1230 * elf/rtld.c (dl_main): Likewise.
1231 * elf/sprof.c (generate_call_graph): Likewise.
1232 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1233 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1234 * hurd/dtable.c (reauth_dtable): Likewise.
1235 * hurd/getdport.c (__getdport): Likewise.
1236 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1237 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1238 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1239 Likewise.
1240 * hurd/hurdioctl.c (fioctl): Likewise.
1241 * hurd/hurdselect.c (_hurd_select): Likewise.
1242 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1243 (STOPSIGS): Likewise.
1244 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1245 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1246 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1247 * hurd/msgportdemux.c (msgport_server): Likewise.
1248 * hurd/setauth.c (_hurd_setauth): Likewise.
1249 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1250 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1251 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1252 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1253 * login/tst-utmp.c (do_check): Likewise.
1254 (simulate_login): Likewise.
1255 * mach/lowlevellock.h (lll_lock): Likewise.
1256 (lll_trylock): Likewise.
1257 * math/test-fenv.c (ALL_EXC): Likewise.
1258 * math/test-fenvinline.c (ALL_EXC): Likewise.
1259 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1260 * nis/nis_call.c (__do_niscall3): Likewise.
1261 * nis/nis_callback.c (cb_prog_1): Likewise.
1262 * nis/nis_defaults.c (searchaccess): Likewise.
1263 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1264 * nis/nis_ismember.c (internal_ismember): Likewise.
1265 * nis/nis_local_names.c (nis_local_principal): Likewise.
1266 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1267 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1268 Likewise.
1269 * nis/ypclnt.c (yp_match): Likewise.
1270 (yp_first): Likewise.
1271 (yp_next): Likewise.
1272 (yp_master): Likewise.
1273 (yp_order): Likewise.
1274 * nscd/hstcache.c (cache_addhst): Likewise.
1275 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1276 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1277 (internal_getpwuid_r): Likewise.
1278 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1279 * posix/glob.h (__GLOB_FLAGS): Likewise.
1280 * posix/regcomp.c (peek_token): Likewise.
1281 (peek_token_bracket): Likewise.
1282 (parse_expression): Likewise.
1283 * posix/regexec.c (sift_states_iter_mb): Likewise.
1284 (check_node_accept_bytes): Likewise.
1285 * posix/tst-spawn3.c (do_test): Likewise.
1286 * posix/wordexp-test.c (testit): Likewise.
1287 * posix/wordexp.c (parse_tilde): Likewise.
1288 (exec_comm): Likewise.
1289 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1290 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1291 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1292 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1293 * stdio-common/tst-fileno.c (do_test): Likewise.
1294 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1295 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1296 * stdlib/strtod_l.c (round_and_return): Likewise.
1297 (____STRTOF_INTERNAL): Likewise.
1298 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1299 * string/strcspn.c (STRCSPN): Likewise.
1300 * string/test-memmem.c (simple_memmem): Likewise.
1301 * termios/tcsetattr.c (tcsetattr): Likewise.
1302 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1303 * time/asctime.c (asctime_internal): Likewise.
1304 * time/strptime_l.c (__strptime_internal): Likewise.
1305 * time/sys/time.h (timercmp): Likewise.
1306 * time/tzfile.c (__tzfile_compute): Likewise.
1307
b0b50fe0
PF
13082019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1309
b39d961c
TS
1310 [BZ #21915]
1311 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 1312
f43b8dd5
GG
13132019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1314
1315 * argp/argp-help.c (__argp_error_internal): New function,
1316 renamed from __argp_error, but that takes a 'mode_flags'
1317 parameter to control the format of long double parameters.
1318 (__argp_error): Converted into a call __argp_error_internal.
1319 (__argp_failure_internal): New function, renamed from
1320 __argp_failure, but that takes a 'mode_flags' parameter.
1321 (__argp_failure): Converted into a call __argp_failure_internal.
1322 * misc/err.c (__vwarnx_internal): New function, renamed from
1323 vwarnx, but that takes a 'mode_flags' parameter.
1324 (vwarnx): Converted into a call to __vwarnx_internal.
1325 (__vwarn_internal): New function, renamed from vwarn, but that
1326 takes a 'mode_flags' parameter.
1327 (vwarn): Converted into a call to __vwarn_internal.
1328 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1329 call to __vfxprintf with 'mode_flags'.
1330 (__error_internal): New function, renamed from error, but that
1331 takes a 'mode_flags' parameter.
1332 (error): Converted into a call to __error_internal.
1333 (__error_at_line_internal): New function, renamed from
1334 error_at_line, but that takes a 'mode_flags' parameter.
1335 (error_at_line): Converted into a call to
1336 __error_at_line_internal.
1337 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1338 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1339 Likewise.
1340
dc0afac3 13412019-02-20 Martin Liska <mliska@suse.cz>
1342
1343 * math/Makefile: Install math-vector-fortran.h.
1344 * bits/math-vector-fortran.h: New file.
1345 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1346
4a2dd41c
GG
13472019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1348
1349 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1350 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1351
04de9302
WS
13522019-02-19 Wolfram Sang <wsa@the-dreams.de>
1353
1354 * nptl/pthread_mutex_trylock.c: Fix comment.
1355
b026ce1e
CD
13562019-02-19 Carlos O'Donell <carlos@redhat.com>
1357
1358 * nptl/pthread_tryjoin.c: Fix comment.
1359
8c9289b6
JM
13602019-02-18 Joseph Myers <joseph@codesourcery.com>
1361
1362 [BZ #24231]
1363 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1364 after R_SPARC_H34 case.
1365
308e022f
FW
13662019-02-18 Florian Weimer <fweimer@redhat.com>
1367
1368 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1369 (getanswer): Do not call Dprintf.
1370 (res_gethostbyname2_context): Likewise.
1371 (res_gethostbyaddr_context): Likewise.
1372
a5406364
FW
13732019-02-18 Florian Weimer <fweimer@redhat.com>
1374
1375 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1376 declaration.
1377 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1378 Remove definitions.
1379 * libio/stdfiles.c: Update comment.
1380 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1381 set _IO_stdin, _IO_stdout, _IO_stderr.
1382 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1383 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1384 inline function.
1385 (_IO_deallocate_file): New inline function.
1386 * libio/iolibio.h (_IO_vprintf): Remove definition.
1387 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1388 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1389 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1390 _IO_legacy_file.
1391 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1392 __builtin_expect. Use _IO_legacy_file.
1393
6c29942c
SL
13942019-02-18 Stefan Liebler <stli@linux.ibm.com>
1395
1396 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1397 Initialize ctid with a known value and remove update of ctid
1398 after clone.
1399 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1400 as assumed current value of ctid_ptr.
1401
225d9445 14022019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
1403
1404 Check that non-sysdeps headers have wrapper headers.
1405 * scripts/check-wrapper-headers.py: New file.
1406 * Makefile (tests-special): Add check-wrapper-headers.out.
1407 (check-wrapper-headers.out): New target.
1408 * Rules (tests-special): Add check-wrapper-headers.out.
1409 (check-wrapper-headers.out): New target.
1410
225d9445 14112019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
1412
1413 Add missing header wrappers under include/.
1414 * include/ar.h: New file.
1415 * include/bits/mqueue2.h: Likewise.
1416 * include/bits/stdio.h: Likewise.
1417 * include/bits/stdio2.h: Likewise.
1418 * include/fstab.h: Likewise.
1419 * include/fts.h: Likewise.
1420 * include/lastlog.h: Likewise.
1421 * include/netinet/icmp6.h: Likewise.
1422 * include/netinet/igmp.h: Likewise.
1423 * include/netinet/ip6.h: Likewise.
1424 * include/re_comp.h: Likewise.
1425 * include/regexp.h: Likewise.
1426 * include/rpcsvc/bootparam.h: Likewise.
1427 * include/rpcsvc/yp_prot.h: Likewise.
1428 * include/sys/random.h: Likewise.
1429 * include/sys/stropts.h: Likewise.
1430 * include/sys/ttychars.h: Likewise.
1431 * include/sys/vfs.h: Likewise.
1432 * include/wait.h: Likewise.
1433
225d9445 14342019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
1435
1436 * nptl_db/proc_service.h: Move to ...
1437 * sysdeps/nptl/proc_service.h: ... here.
1438 * nptl_db/thread_db.h: Move to ...
1439 * sysdeps/nptl/thread_db.h: ... here.
1440 * nptl/descr.h: Include <thread_db.h>.
1441
e442e40d
AZ
14422019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1443
1444 * io/Makefile (tests): Add tst-lockf.
1445 * io/lockf.c (lockf): Use __fcntl and only define for
1446 !__OFF_T_MATCHES_OFF64_T.
1447 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1448 __OFF_T_MATCHES_OFF64_T case.
1449 * io/tst-lockf.c: New file.
1450 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1451 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1452 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1453 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1454 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1456 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1457 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1458 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1459
bc10e22c
FW
14602019-02-15 Florian Weimer <fweimer@redhat.com>
1461
1462 [BZ #24211]
1463 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1464 pd->result after the thread descriptor has been freed.
1465
365f05c7
JM
14662019-02-15 Joseph Myers <joseph@codesourcery.com>
1467
8a11f970
JM
1468 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1469 from function return type.
1470
365f05c7
JM
1471 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1472
6b5c8607 14732019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
1474
1475 * scripts/test_printers_common.py: Set TERM to a known harmless
1476 value.
1477
712182c8
JM
14782019-02-14 Joseph Myers <joseph@codesourcery.com>
1479
1480 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1481 (xdr_u_int): Likewise.
1482 (xdr_enum): Likewise.
1483 (xdr_bytes): Reword fall-through comment.
1484 (xdr_string): Likewise.
1485
eb76e5b4
AZ
14862019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1487
1488 [BZ #2421]
1489 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1490 (tests): Add tst-join8 tst-join9.
1491 * nptl/lll_timedwait_tid.c: Remove file.
1492 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1493 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1494 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1495 * nptl/pthread_join_common.c (timedwait_tid): New function.
1496 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1497 is set.
1498 * nptl/tst-join5.c (thread_join): New function.
1499 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1500 check.
1501 * nptl/tst-join8.c: New file.
1502 * nptl/tst-join9.c: Likewise.
1503 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1504 lll_futex_timed_wait_cancel): Add generic macros.
1505 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1506 Remove definitions.
1507 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1508 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1509 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1510 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1511 Remove function.
1512 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1513 Likewise.
1514 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1515 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1516 (lll_futex_timed_wait_cancel): New macro.
1517
3904fd85
WD
15182019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1519
1520 * benchtests/Makefile: Add malloc-simple benchmark.
1521 * benchtests/bench-malloc-simple.c: New benchmark.
1522
24ca04fe
SP
15232019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1524
1525 * benchtests/bench-memmove.c (do_one_test): Remove unused
1526 ORIG_SRC.
1527 (do_test): Adjust.
1528 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1529 ORIG_SRC.
1530 (do_test): Adjust.
1531
85bd1ddb
JW
15322019-01-13 Jim Wilson <jimw@sifive.com>
1533
1534 [BZ #24040]
1535 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1536 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1537 (func): New.
1538 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1539 call func directly.
1540 * nptl/Makefile (tests): Add tst-unwind-thread.
1541 (CFLAGS-tst-unwind-thread.c): Define.
1542 * nptl/tst-unwind-thread.c: New file.
1543 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1544 as undefined.
1545
86140c62
JM
15462019-02-13 Joseph Myers <joseph@codesourcery.com>
1547
10756268
JM
1548 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1549 comment wording.
1550 * nis/nis_call.c (__do_niscall3): Likewise.
1551
05383720
JM
1552 * catgets/gencat.c (normalize_line): Use braces around empty
1553 'else' body.
1554 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1555 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1556 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1557 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1558 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1559 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1560 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1561 definition.
1562
86140c62
JM
1563 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1564 execlp returns.
1565
16f87cfd
WD
15662019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1567
1568 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1569 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1570 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1571 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1572 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1573 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1574 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1575 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1576 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1577 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1578 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1579 * benchtests/bench-bcopy.c: Delete file.
1580 * benchtests/bench-bzero.c: Likewise.
1581 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1582 (simple_memccpy): Remove.
1583 (generic_memccpy): Add function.
1584 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1585 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1586 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1587 (generic_mempcpy): Add new function.
1588 * benchtests/bench-memset.c (simple_bzero): Remove.
1589 (builtin_bzero): Remove.
1590 (builtin_memset): Remove.
1591 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1592 (generic_rawmemchr): Add new function.
1593
0c6d82e9
FW
15942019-02-12 Florian Weimer <fweimer@redhat.com>
1595
1596 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1597
b3fbfe81
AZ
15982019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1599
1600 [BZ #24122]
1601 * elf/Makefile (tests): Add tst-audit13.
1602 (modules-names): Add tst-audit13mod1.
1603 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1604 rule.
1605 * elf/tst-audit13.c: New file.
1606 * elf/tst-audit13mod1.c: Likewise.
1607
3b856d09
FW
16082019-02-12 Florian Weimer <fweimer@redhat.com>
1609
1610 [BZ #24122]
1611 * elf/rtld.c (unload_audit_module): New function.
1612 (report_audit_module_load_error): Likewise.
1613 (load_audit_module): Likewise. Extracted from dl_main. Call
1614 _dl_close if the laversion symbol cannot be found. Use early
1615 returns for error handling. Add malloc error check. Check for a
1616 zero return value from la_version. Remove spurious comment about
1617 static TLS initialization. Remove useless casts.
1618 (notify_audit_modules_of_loaded_object): New function. Extracted
1619 from dl_main.
1620 (load_audit_module): Likewise.
1621 (dl_main): Call load_audit_modules.
1622
32db86d5
JM
16232019-02-12 Joseph Myers <joseph@codesourcery.com>
1624
1625 * elf/dl-exception.c (_dl_exception_create_format): Add
1626 fall-through comments.
1627 * elf/ldconfig.c (parse_conf_include): Likewise.
1628 * elf/rtld.c (print_statistics): Likewise.
1629 * locale/programs/charmap.c (parse_charmap): Likewise.
1630 * misc/mntent_r.c (__getmntent_r): Likewise.
1631 * posix/wordexp.c (parse_arith): Likewise.
1632 (parse_backtick): Likewise.
1633 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1634 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1636
a51bc4fe
PC
16372019-02-11 Paul A. Clarke <pc@us.ibm.com>
1638
1639 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1640 Use float instead of double.
1641
fb25b135
TS
16422019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1643
1644 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1645
32ea7299
JM
16462019-02-08 Joseph Myers <joseph@codesourcery.com>
1647
1648 * sysdeps/powerpc/bits/mathinline.h: Remove.
1649
eef4d4f8
FW
16502019-02-08 Florian Weimer <fweimer@redhat.com>
1651
1652 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1653 * math/bits/math-finite.h: Move to ...
1654 * bits/math-finite.h: ... here.
1655
fdfbd47d
FW
16562019-02-08 Florian Weimer <fweimer@redhat.com>
1657
1658 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1659 * bits/unistd_ext.h: here.
1660
11eb21c4
PF
16612019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1662
1663 [BZ #21915]
1664 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1665 * nss/tst-nss-files-hosts-long.c: New file.
1666 * nss/tst-nss-files-hosts-long.root: New directory.
1667 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1668 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1669
e47d82c9
FW
16702019-02-08 Florian Weimer <fweimer@redhat.com>
1671
1672 * include/bits/unistd_ext.h: Remove file.
1673 * posix/bits/unistd_ext.h: Move to ...
1674 * sysdeps/generic/bits/unistd_ext.h: ... here.
1675
8f89ab21
FW
16762019-02-08 Florian Weimer <fweimer@redhat.com>
1677
1678 * include/bits/unistd_ext.h: New file.
1679
144a794e
TS
16802019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1681
1682 * time/tst-strftime2.c: Use array_length macros instead of magic
1683 numbers.
1684
669ff911
FW
16852019-02-08 Florian Weimer <fweimer@redhat.com>
1686
1687 [BZ #24161]
1688 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1689 argument.
1690 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1691 locking if the new do_locking argument is true.
1692 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1693 __run_fork_handlers.
1694
d0bd87d4 16952019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
1696
1697 [BZ #6399]
1698 Linux: Add gettid system call wrapper.
1699 * posix/Makefile (headers): Add bits/unistd_ext.h.
1700 * posix/bits/unistd_ext.h: New file.
1701 * posix/unistd.h: Include it.
1702 * manual/process.texi (Process Identification): Document gettid.
1703 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1704 tst-gettid, tst-gettid-kill.
1705 (tst-gettid): Link with $(shared-thread-library).
1706 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1707 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1708 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1709 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1710 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1711 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1712 Add gettid.
1713 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1714 Likewise.
1715 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1716 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1717 Likewise.
1718 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1719 Likewise.
1720 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1721 Likewise.
1722 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1723 Likewise.
1724 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1725 Likewise.
1726 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1727 Likewise.
1728 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1729 Likewise.
1730 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1731 (GLIBC_2.30): Likewise.
1732 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1733 (GLIBC_2.30): Likewise.
1734 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1735 (GLIBC_2.30): Likewise.
1736 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1737 (GLIBC_2.30): Likewise.
1738 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1739 Likewise.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1741 (GLIBC_2.30): Likewise.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1743 (GLIBC_2.30): Likewise.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1745 (GLIBC_2.30): Likewise.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1747 (GLIBC_2.30): Likewise.
1748 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1749 Likewise.
1750 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1751 Likewise.
1752 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1753 Likewise.
1754 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1755 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1756 Likewise.
1757 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1758 Likewise.
1759 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1760 Likewise.
1761 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1762 Likewise.
1763 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1764
225d9445 17652019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
1766
1767 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1768 compatibility symbols.
1769
823624bd
SL
17702019-02-07 Stefan Liebler <stli@linux.ibm.com>
1771
1772 [BZ #24180]
1773 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1774 Add compiler barriers and comments.
1775
8311c83f
FW
17762019-02-07 Florian Weimer <fweimer@redhat.com>
1777
1778 * include/array_length.h (array_length): Do not use a statement
1779 expression and _Static_assert, so that array_length can be used at
1780 file scope and as a constant expression.
1781
94b63e66
FW
17822019-02-07 Florian Weimer <fweimer@redhat.com>
1783
1784 * support/xdlfcn.h (xdlmopen): Declare.
1785 * support/xdlmopen.c: New file.
1786 * support/Makefile (libsupport-routines): Add xdlmopen.
1787
c2d8f0b7
JM
17882019-02-06 Joseph Myers <joseph@codesourcery.com>
1789
1790 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1791 before return type, without separate inline.
1792 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1793 * elf/dl-tunables.h (tunable_is_name): Likewise.
1794 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1795 (do_set_top_pad): Likewise.
1796 (do_set_mmap_threshold): Likewise.
1797 (do_set_mmaps_max): Likewise.
1798 (do_set_mallopt_check): Likewise.
1799 (do_set_perturb_byte): Likewise.
1800 (do_set_arena_test): Likewise.
1801 (do_set_arena_max): Likewise.
1802 (do_set_tcache_max): Likewise.
1803 (do_set_tcache_count): Likewise.
1804 (do_set_tcache_unsorted_limit): Likewise.
1805 * nis/nis_subr.c (count_dots): Likewise.
1806 * nptl/allocatestack.c (advise_stack_range): Likewise.
1807 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1808 (do_sin): Likewise.
1809 (reduce_sincos): Likewise.
1810 (do_sincos): Likewise.
1811 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1812 (do_set_elision_enable): Likewise.
1813 (TUNABLE_CALLBACK_FNDECL): Likewise.
1814
3b935595
FW
18152019-02-06 Florian Weimer <fweimer@redhat.com>
1816
1817 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1818 (xdlsym): Use dlerror to detect a NULL symbol.
1819
b4333340
FW
18202019-02-06 Florian Weimer <fweimer@redhat.com>
1821
1822 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1823 <stap-probe.h>.
1824 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1825
b6d8a999
SL
18262019-02-06 Stefan Liebler <stli@linux.ibm.com>
1827
1828 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1829
94eeeec0
SL
18302019-02-06 Stefan Liebler <stli@linux.ibm.com>
1831
1832 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1833 __wmemcmp and weak alias to wmemcmp.
1834
bc79db3f
SL
18352019-02-06 Stefan Liebler <stli@linux.ibm.com>
1836
1837 [BZ #23403]
1838 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1839 TLS_TCB_AT_TP tls variant.
1840 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1841 Add alignment checks.
1842 * support/Makefile (libsupport-routines): Add xposix_memalign and
1843 xpthread_setstack.
1844 * support/support.h: Add xposix_memalign.
1845 * support/xthread.h: Add xpthread_attr_setstack.
1846 * support/xposix_memalign.c: New File.
1847 * support/xpthread_attr_setstack.c: Likewise.
1848
f1ac7455
FW
18492019-02-05 Florian Weimer <fweimer@redhat.com>
1850
1851 [BZ #24164]
1852 arm: Use "nr" constraint for Systemtap probes, to avoid the
1853 compiler using memory operands for constants, due to the "o"
1854 alternative in the default "nor" constraint.
1855 * include/stap-probe.h [USE_STAP_PROBE]: Include
1856 <stap-probe-machine.h>
1857 * sysdeps/generic/stap-probe-machine.h: New file.
1858 * sysdeps/arm/stap-probe-machine.h: Likewise.
1859
7a0dcfc6
JM
18602019-02-04 Joseph Myers <joseph@codesourcery.com>
1861
77dc0d86
JM
1862 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1863 with 0, not tcache->entries[tc_idx].
1864
7a0dcfc6
JM
1865 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1866 once.
1867
65f7767a
AS
18682019-02-04 Andreas Schwab <schwab@suse.de>
1869
1870 [BZ #16976]
1871 [BZ #17396]
1872 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1873 looking up collating elements match against (wide) character
1874 sequence instead of name. Correct alignment adjustment.
1875 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1876 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1877 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1878 (LOCALES): Add cs_CZ.ISO-8859-2.
1879 * posix/tst-fnmatch4.c: New file.
1880 * posix/tst-fnmatch5.c: New file.
1881 * include/wchar.h (__wmemcmp): Declare.
1882 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1883 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1884 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1885 * sysdeps/s390/wmemcmp.c: Likewise.
1886
3f635fb4
L
18872019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 [BZ #24155]
1890 CVE-2019-7309
1891 * NEWS: Updated for CVE-2019-7309.
1892 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1893 upper 32 bits of RDX register for x32. Use unsigned Jcc
1894 instructions, instead of signed.
1895 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1896 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1897
2ab5741b
FW
18982019-02-04 Florian Weimer <fweimer@redhat.com>
1899
1900 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1901 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1902 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1903 Likewise.
1904 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1905 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1906 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1907 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1908 Likewise.
1909 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1910 Likewise.
1911 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1912 Likewise.
1913 (posix_spawn_file_actions_addopen): Likewise.
1914 (posix_spawn_file_actions_addclose): Likewise.
1915 (posix_spawn_file_actions_adddup2): Likewise.
1916 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1917 qualifiers.
1918 (posix_spawn_file_actions_addfchdir_np): Likewise.
1919
8692ebdb
DN
19202019-02-04 David Newall <glibc@davidnewall.com>
1921
1922 elf: Implement --preload option for the dynamic linker.
1923 * elf/rtld.c (preloadarg): New variable.
1924 (handle_preload_list): Pass through “where” argument to
1925 do_preload.
1926 (dl_main): Handle "--preload" and add second call to
1927 handle_preload_list.
1928 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1929 (tst-rtld-preload-OBJS): Set variable.
1930 (tst-rtld-preload.out): New target.
1931 * elf/tst-rtld-preload.sh: New file.
1932
5e10136b
MM
19332019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1934
1935 * Makefile (testrun.sh): Exit in case of incorrect argument.
1936
221baae0
FW
19372019-02-04 Florian Weimer <fweimer@redhat.com>
1938
1939 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1940 alignment gaps.
1941
b8c72381
FW
19422019-02-03 Florian Weimer <fweimer@redhat.com>
1943
1944 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1945 implicit overflow checks.
1946
11f382ee
AJ
19472019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1948
1949 * stdlib/isomac.c: Include <unistd.h>.
1950
77c7d55e
FW
19512019-02-03 Florian Weimer <fweimer@redhat.com>
1952
1953 * include/time.h (__tzfile_default): Use int, not long int, for
1954 the GMT offsets.
1955 * time/tzfile.c (struct ttinfo): Change type of the offset member
1956 to int.
1957 (__tzfile_read): Remove useless cast.
1958 (__tzfile_default): Adjust prototype.
1959 * time/tzset.c (tz_rule): Change type of the offset member to int.
1960 (parse_offset): Change the type of the sign variable to int.
1961
ee9941f9
FW
19622019-02-03 Florian Weimer <fweimer@redhat.com>
1963
1964 [BZ #24153]
1965 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1966 * libio/getchar.c (getchar): Likewise.
1967 * libio/getchar_u.c (getchar_unlocked): Likewise.
1968 * libio/getwchar.c (getwchar): Likewise.
1969 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1970 * libio/iogets.c (_IO_gets): Likewise.
1971 * libio/vscanf.c (_IO_vscanf): Likewise.
1972 * libio/vwscanf.c (__vwscanf): Likewise.
1973 * libio/tst-bz24153.c: New file.
1974 * libio/Makefile (tests): Add it.
1975
c70824b9
FW
19762019-02-02 Florian Weimer <fweimer@redhat.com>
1977
1978 [BZ #14829]
1979 * manual/resource.texi (Basic Scheduling Functions): Add
1980 portability note. Change process to task throughout the section.
1981 Remove incorrect comment about sched_yield as it affects
1982 tasks/threads, not entire processes.
1983 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1984 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1985
4dcbbc3b
JM
19862019-02-01 Joseph Myers <joseph@codesourcery.com>
1987
1988 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1989 * configure: Regenerated.
1990 * manual/install.texi (Tools for Compilation): Update minimum GCC
1991 version.
1992 * INSTALL: Regenerated.
1993
6175507c
FW
19942019-02-01 Florian Weimer <fweimer@redhat.com>
1995
1996 * support/support_test_compare_string.c
1997 (support_test_compare_string): Use "string" in error message.
1998 * support/tst-test_compare_string.c (do_test): Adjust.
1999
baef1943
FW
20002019-02-01 Florian Weimer <fweimer@redhat.com>
2001
2002 * support/support_format_address_family.c
2003 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2004
395599f0
FW
20052019-02-01 Florian Weimer <fweimer@redhat.com>
2006
2007 * manual/socket.texi (Internet Address Formats): Clarify the byte
2008 order of struct sockaddr_in, struct sockaddr_in6. Document
2009 sin6_flowinfo and sin6_scope_id.
2010
b06f4c00
WD
20112019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2012
2013 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2014 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2015 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2016 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2017 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2018 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2019
83d1cc42
FX
20202019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2021
2022 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2023 [!MEMCHR](MEMCHR): Set to __memchr.
2024 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2025 Add memchr_generic and memchr_nosimd.
2026 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2027 (__libc_ifunc_impl_list): Add memchr ifuncs.
2028 * sysdeps/aarch64/multiarch/memchr.c: New file.
2029 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2030 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2031
c7d3890f
FX
20322019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2033
2034 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2035 Add memset_emag.
2036 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2037 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2038 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2039 Add IS_EMAG check for ifunc dispatch.
2040 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2041 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2042
07c3d1ec
FX
20432019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2044
2045 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2046 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2047 Add emag.
2048 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2049 New macro.
2050
114f792e
SL
20512019-02-01 Stefan Liebler <stli@linux.ibm.com>
2052
2053 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2054
d5627550
VG
20552019-01-31 Vineet Gupta <vgupta@synopsys.com>
2056
2057 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2058 syscall-template file.
2059
5fc9ed4c
CD
20602019-01-31 Carlos O'Donell <carlos@redhat.com>
2061 Torvald Riegel <triegel@redhat.com>
2062 Rik Prohaska <prohaska7@gmail.com>
2063
2064 [BZ# 23844]
2065 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2066 tst-rwlock-trywrlock-stall.
2067 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2068 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2069 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2070 Set __wrphase_fute to 1 only if we started the write phase.
2071 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2072 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2073 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2074 * support/xpthread_rwlock_destroy.c: New file.
2075 * support/xthread.h: Declare xpthread_rwlock_destroy.
2076
932329a5
JM
20772019-02-01 Joseph Myers <joseph@codesourcery.com>
2078
2079 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2080 version to 4.0.2.
2081
5f10701f
PP
20822019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2083
2084 [BZ #24051]
2085 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2086 * libio/fileops.c (_IO_new_file_underflow): Likewise
2087 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2088 * libio/putchar.c (putchar): Likewise.
2089 * libio/putchar_u.c (putchar_unlocked): Likewise.
2090 * libio/putwchar.c (putchar): Likewise.
2091 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2092 * libio/tst-bz24051.c: New test.
2093 * libio/Makefile (tests): Add tst-bz24051
2094
583dd860
PE
20952019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2096
b626c5aa 2097 CVE-2019-9169
583dd860
PE
2098 regex: fix read overrun [BZ #24114]
2099 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2100 https://debbugs.gnu.org/34140
2101 * posix/regexec.c (proceed_next_node):
2102 Do not read past end of input buffer.
2103
2bac7daa
FW
21042019-01-31 Florian Weimer <fweimer@redhat.com>
2105
2106 [BZ #24059]
2107 * nss/nss_files/files-alias.c (get_next_alias): Handle
2108 continuation line without newline at the end.
2109 * nss/tst-nss-files-alias-truncated.c: New file.
2110 * nss/Makefile [$(build-shared)] (tests): Add
2111 tst-nss-files-alias-truncated.
2112 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2113 * support/namespace.h (struct support_chroot_configuration): Add
2114 aliases member.
2115 (struct support_chroot): Add path_aliases member.
2116 * support/support_chroot.c (support_chroot_create): Handle
2117 aliases.
2118 (support_chroot_free): Free path_aliases.
2119
330c9d0d
SP
21202019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2121
de44ab67
SP
2122 * version.h (RELEASE): Set to "development".
2123 (VERSION): Set to "2.29.9000".
2124 * NEWS: Add section for 2.30.
2125
56c86f5d
SP
2126 * version.h (RELEASE): Set to "stable".
2127 (VERSION): Set to "2.29".
2128 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2129
330c9d0d
SP
2130 * NEWS: Add the list of bugs fixed in 2.29.
2131 * manual/contrib.texi: Update contributors list with some more
2132 names.
2133 * manual/install.texi: Update latest versions of packages
2134 tested.
2135 * INSTALL: Regenerated.
2136
e1e47c91
SP
21372019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2138
2139 * po/be.po: Update translations.
2140 * po/bg.po: Likewise.
2141 * po/ca.po: Likewise.
2142 * po/cs.po: Likewise.
2143 * po/da.po: Likewise.
2144 * po/de.po: Likewise.
2145 * po/el.po: Likewise.
2146 * po/eo.po: Likewise.
2147 * po/es.po: Likewise.
2148 * po/fi.po: Likewise.
2149 * po/fr.po: Likewise.
2150 * po/gl.po: Likewise.
2151 * po/hr.po: Likewise.
2152 * po/hu.po: Likewise.
2153 * po/ia.po: Likewise.
2154 * po/id.po: Likewise.
2155 * po/it.po: Likewise.
2156 * po/ja.po: Likewise.
2157 * po/ko.po: Likewise.
2158 * po/lt.po: Likewise.
2159 * po/nb.po: Likewise.
2160 * po/nl.po: Likewise.
2161 * po/pl.po: Likewise.
2162 * po/pt_BR.po: Likewise.
2163 * po/ru.po: Likewise.
2164 * po/rw.po: Likewise.
2165 * po/sk.po: Likewise.
2166 * po/sl.po: Likewise.
2167 * po/sv.po: Likewise.
2168 * po/tr.po: Likewise.
2169 * po/uk.po: Likewise.
2170 * po/vi.po: Likewise.
2171 * po/zh_CN.po: Likewise.
2172 * po/zh_TW.po: Likewise.
2173
8d016826
UB
21742019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2175
2176 [BZ #24130]
2177 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2178 of $f3 register on $y_is_neg path.
2179
a0bb5abd
ST
21802019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2181
b96e22d0 2182 [BZ #24110]
a0bb5abd
ST
2183 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2184 sigaltstack.ss_flags.
2185
b22eed37
TS
21862019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2187
2188 [BZ #23758]
2189 * manual/time.texi (strftime): Document "%Ey".
2190 * time/strftime_l.c (__strftime_internal): Set the default width
2191 padding with zero of "%Ey" to 2.
2192
32f600a2
TS
2193 [BZ #24096]
2194 * manual/time.texi (strftime): Document "%EC" and "%EY".
2195 * time/Makefile (tests): Add tst-strftime2.
2196 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2197 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2198 override padding for "%Ey".
2199 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2200 "%Ey" in the subformat as if decorated with that flag.
2201 * time/tst-strftime2.c: New file.
2202
8e889c5d
AZ
22032019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2204
3367acdb
AZ
2205 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2206 are not defined.
2207
8e889c5d
AZ
2208 [BZ #24122]
2209 * elf/Makefile (tests): Add tst-audit13.
2210 (modules-names): Add tst-audit13mod1.
2211 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2212 rule.
2213 * elf/rtld.c (dl_main): Handle invalid audit module version.
2214 * elf/tst-audit13.c: New file.
2215 * elf/tst-audit13mod1.c: Likewise.
2216
a95dc01c
ST
22172019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2218
2219 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2220 returned by __hurd_at_flags.
ee4d7902
ST
2221 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2222 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2223 directly instead of __hurd_file_name_lookup.
a95dc01c 2224
712f1167
JM
22252019-01-21 Joseph Myers <joseph@codesourcery.com>
2226
2227 * scripts/build-many-glibcs.py (Context.checkout): Default
2228 binutils version to 2.32 branch.
2229
108bc404
FW
22302019-01-21 Florian Weimer <fweimer@redhat.com>
2231
2232 [BZ #20018]
2233 CVE-2016-10739
2234 resolv: Reject trailing characters in host names
2235 * include/arpa/inet.h (__inet_aton_exact): Declare.
2236 (inet_aton): Remove hidden prototype. No longer used internally.
2237 * nscd/gai.c (__inet_aton): Do not define.
2238 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2239 * nss/digits_dots.c (__inet_aton): Likewise.
2240 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2241 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2242 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2243 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2244 (tst-resolv-trailing): Likewise.
2245 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2246 libc.
2247 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2248 Make static. Add endp parameter.
2249 (__inet_aton_exact): New function.
2250 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2251 (__inet_addr): Call inet_aton_end.
2252 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2253 not just IPv6. Call __inet_aton_exact.
2254 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2255 (tests): Make const. Add additional test cases with trailing
2256 characters.
2257 (do_test): Use array_length.
2258 * resolv/tst-inet_aton_exact.c: New file.
2259 * resolv/tst-resolv-trailing.c: Likewise.
2260 * resolv/tst-resolv-nondecimal.c: Likewise.
2261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2262
5165de69
L
22632019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2264
2265 [BZ# 24097]
2266 CVE-2019-6488
2267 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2268 Clear the upper 32 bits of RSI register.
2269 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2270 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2271 and tst-size_t-wcsnlen.
2272 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2273 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2274
c7c54f65
L
22752019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2276
2277 [BZ# 24097]
2278 CVE-2019-6488
2279 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2280 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2281 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2282 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2283 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2284
ee915088
L
22852019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2286
2287 [BZ# 24097]
2288 CVE-2019-6488
2289 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2290 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2291 * sysdeps/x86_64/strcmp.S: Likewise.
2292 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2293 tst-size_t-strncmp and tst-size_t-wcsncmp.
2294 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2295 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2296 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2297
82d0b4a4
L
22982019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2299
2300 [BZ# 24097]
2301 CVE-2019-6488
2302 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2303 RDX_LP for length. Clear the upper 32 bits of RDX register.
2304 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2305 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2306 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2307 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2308
ecd8b842
L
23092019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2310
2311 [BZ# 24097]
2312 CVE-2019-6488
2313 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2314 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2315 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2316 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2317
231c5676
L
23182019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2319
2320 [BZ# 24097]
2321 CVE-2019-6488
2322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2323 length. Clear the upper 32 bits of RDX register.
2324 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2325 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2326 Likewise.
2327 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2328 Likewise.
2329 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2330 tst-size_t-wmemchr.
2331 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2332
b304fc20
L
23332019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2334
2335 [BZ# 24097]
2336 CVE-2019-6488
2337 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2338 length. Clear the upper 32 bits of RDX register.
2339 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2340 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2341 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2342 tst-size_t-wmemcmp.
2343 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2344 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2345
97700a34
L
23462019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2347
2348 [BZ# 24097]
2349 CVE-2019-6488
2350 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2351 upper 32 bits of RDX register.
2352 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2353 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2354 tst-size_t-wmemchr.
2355 * sysdeps/x86_64/x32/test-size_t.h: New file.
2356 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2357 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2358
6ca53a24
FW
23592019-01-18 Florian Weimer <fweimer@redhat.com>
2360
2361 [BZ #24112]
2362 resolv: Do not send queries for non-host-names in nss_dns.
2363 * resolv/nss_dns/dns-host.c (check_name): New function.
2364 (_nss_dns_gethostbyname2_r): Use it.
2365 (_nss_dns_gethostbyname_r): Likewise.
2366 (_nss_dns_gethostbyname4_r): Likewise.
2367
5e30b8ef
FW
23682019-01-21 Florian Weimer <fweimer@redhat.com>
2369
2370 * resolv/inet_addr.c: Reformat to GNU style.
2371 (__inet_addr, __inet_aton): Update comment.
2372
71effcea
FW
23732019-01-18 Florian Weimer <fweimer@redhat.com>
2374
2375 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2376 ("malloc: Use current (C11-style) atomics for fastbin access").
2377 This commit introduces a substantial performance regression on
2378 POWER and Aarch64.
2379 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2380 (REMOVE_FB): Define.
2381 (_int_malloc): Use it and reindent.
2382 (_int_free): Use CAS loop with
2383 catomic_compare_and_exchange_val_rel.
2384 (malloc_consolidate): Use atomic_exchange_acq.
2385
2386
562f4362
L
23872019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2388
2389 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2390 -Wl,-z,now.
2391 (LDFLAGS-tst-minsigstksz-2): Likewise.
2392 (LDFLAGS-tst-minsigstksz-3): Likewise.
2393 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2394 (LDFLAGS-tst-minsigstksz-4): Likewise.
2395
80dfa298
TS
23962019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2397
2398 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2399 than "alternate".
2400
008b598e
PC
24012019-01-16 Paul A. Clarke <pc@us.ibm.com>
2402
2403 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2404
fbbc9a4e
ZW
24052019-01-16 Zack Weinberg <zackw@panix.com>
2406
6b5c8607
TS
2407 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2408 (xget_sigstack_location): New test support functions.
2409 * support/xsigstack.c: New file, implementing them.
2410 * support/tst-xsigstack.c: New test for them.
2411 * support/Makefile: Update.
fbbc9a4e 2412
6b5c8607
TS
2413 * signal/tst-minsigstksz-1.c
2414 * signal/tst-minsigstksz-2.c
2415 * signal/tst-minsigstksz-3.c
2416 * signal/tst-minsigstksz-3a.c
2417 * signal/tst-minsigstksz-4.c: New tests.
2418 * signal/Makefile: Run them.
fbbc9a4e 2419
5f1135e4
SP
24202019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2421
2422 * po/libc.pot: Regenerate.
2423
ecdacd34
TMQMF
24242019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2425
2426 * math/libm-test-fma.inc (fma_test_data): Set
2427 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2428
56054664
RA
24292019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2430
2431 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2432 (do_test): Changed __vector __int128_t to __vector unsigned int.
2433
1a153e47
LS
24342019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2435
2436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2437 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2438 stpcpy-avx2 and stpncpy-avx2.
2439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2440 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2441 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2442 and __stpncpy_avx2.
2443 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2444 ifunc-strcpy.h}: rename header for a more generic name.
2445 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2446 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2447 AVX unaligned load is fast and vzeroupper is preferred.
2448 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2449 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2450 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2451 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2452 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2453 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2454
a1b02ae7
DL
24552019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2456
2457 * argp/argp-help.c: Fix typo in comment.
2458 * misc/sys/cdefs.h: Likewise.
2459 * posix/regexec.c (sift_states_iter_mb): Likewise.
2460 * socket/sockatmark.c: Likewise.
2461 * socket/sys/socket.h: Likewise.
2462 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2463 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2464 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2466 * sysdeps/unix/sockatmark.c: Likewise.
2467 * time/strptime_l.c: Likewise.
2468
5cbbf01e
TS
24692019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2470
2471 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2472 missing space after the cast of "_NL_CURRENT".
2473
0bc9bdf1
RA
24742019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2475
2476 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2477 ifdef to fix read of VSCR.
2478 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2479 tst-ucontext-ppc64-vscr.c to test list.
2480 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2481
5494af04
AH
24822019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2483
2484 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2485 fall-through.
2486
e17f63ff
JW
24872019-01-09 Jim Wilson <jimw@sifive.com>
2488
2489 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2490
02f440c1
WD
24912019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2492
2493 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2494 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2495 __memcpy_falkor for ares.
2496 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2497 Add new define.
2498 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2499 Add ares cpu.
2500
69da3c9e
L
25012019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2502
2503 [BZ #24066]
2504 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2505 4_FP_W_TYPEs are used for IEEE quad precision.
2506 * soft-fp/extendhftf2.c: Likewise.
2507 * soft-fp/extendsftf2.c: Likewise.
2508 * soft-fp/extendxftf2.c: Likewise.
2509 * soft-fp/trunctfdf2.c: Likewise.
2510 * soft-fp/trunctfhf2.c: Likewise.
2511 * soft-fp/trunctfsf2.c: Likewise.
2512 * soft-fp/trunctfxf2.c: Likewise.
2513 * sysdeps/alpha/ots_cvttx.c: Likewise.
2514 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2515 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2516 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2517 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2518 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2519 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2520 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2521 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2522 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2523 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2524 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2525 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2526 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2527 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2528 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2529 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2530 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2531
2ef42716
AJ
25322019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2533
2534 [BZ #24024]
2535 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2536 code with -fmath-errno.
2537 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2538 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2539 * string/test-strerror-errno.c: New file.
2540
7395f3a0
AJ
25412019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2542
2543 [BZ #24046]
2544 * localedata/locales/en_US (date_fmt): Add, set to
2545 "%a %d %b %Y %r %Z".
2546
010fe231
FW
25472019-01-07 Florian Weimer <fweimer@redhat.com>
2548
2549 [BZ #24063]
2550 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2551 instead of @var{errno}.
2552 (Parsing of Integers): Likewise.
2553 (Parsing of Floats): Likewise.
2554 * manual/filesys.texi (Working with Directory Trees): Likewise.
2555 (Temporary Files): Likewise.
2556 * manual/job.texi (Terminal Access Functions): Likewise.
2557 * manual/llio.texi (Synchronizing I/O): Likewise.
2558 * manual/math.texi (SVID Random): Likewise.
2559 * manual/message.texi (The catgets Functions): Likewise.
2560 (Translation with gettext): Likewise.
2561 (Locating gettext catalog): Likewise.
2562 (Charset conversion in gettext): Likewise.
2563 * manual/nss.texi (NSS Module Function Internals): Likewise.
2564 * manual/search.texi (Hash Search Function): Likewise.
2565 * manual/setjmp.texi (System V contexts): Likewise.
2566 * manual/time.texi (Sleeping): Likewise.
2567 * manual/users.texi (Lookup User): Likewise.
2568 (Lookup Group): Likewise.
2569
b79dc8d0
AZ
25702019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2571
2572 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2573 fix typo.
2574
890461fe 25752019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
2576
2577 [BZ #19444]
2578 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2579 __builtin_unreachable for default case in switch.
2580 (__ieee754_yn): Likewise.
2581 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2582 (__ieee754_ynl): Likewise.
2583 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2584 (__ieee754_ynl): Likewise.
2585 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2586 (__ieee754_ynl): Likewise.
2587
8b18d418
SN
25882019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2589
2590 * manual/maint.texi: Use @{ and @}.
2591
4392898d
FW
25922019-01-04 Florian Weimer <fweimer@redhat.com>
2593
2594 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2595 function.
2596 (do_in_chroot_1): Call it.
2597 (run_chroot_tests):
2598 Improve error reporting in case it is not possible to create a
2599 collision for the PTY name required by the test.
2600
17cc27d5
AZ
26012019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2602
ce7eb0e9
AZ
2603 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2604 lll_wait_tid with timeout.
2605 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2606 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2607 futex_reltimed_wait_cancelable for cancelabla mode.
2608 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2609 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2610 macros.
2611 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2612 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2613 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2614 SYSCALL_CANCEL_NCS): New macro.
2615 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2616 (lll_timedwait_tid): Remove macro.
2617 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2618 Likewise.
2619 (lll_timedwait_tid): Likewise.
2620 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2621 Likewise.
2622 (lll_timedwait_tid): Likewise.
2623 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2624 Likewise.
2625 (lll_timedwait_tid): Likewise.
2626 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2627 Use INTERNAL_SYSCALL_CANCEL.
2628 * sysdeps/unix/sysv/linux/futex-internal.h
2629 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2630 instead of __pthread_{enable,disable}_asynccancel.
2631 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2632 (lll_futex_wait_cancel): New macro.
2633
0b13e255
AZ
2634 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2635 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2636
85c828a4
AZ
2637 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2638 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2639
d0d7f85f
AZ
2640 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2641 in backtrace analysis.
2642 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2643 side-effects.
2644 (tf_send): Likewise.
2645
17cc27d5
AZ
2646 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2647 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2648 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2649 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2650 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2651 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2652 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2653 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2654 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2655 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2656 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2657 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2658 Likewise.
2659 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2660 tst-cancel-wrappers.sh.
2661 (generated): Remove tst-cancel-wrappers.out.
2662 (tst-cancel-wrappers.out): Remove rule.
2663 * nptl/tst-cancel-wrappers.sh: Remove file.
2664
7d7af8f1
SN
26652019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2666
2667 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2668 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2669 Update.
2670
805334b2
AZ
26712019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2672
2673 [BZ #23640]
2674 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2675 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2676 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2677 close-on-exec reset for adddup2 file action.
2678 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2679
03992356
ZW
26802019-01-03 Zack Weinberg <zackw@panix.com>
2681
2682 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2683 parameter. Only use deprecated scanf when __USE_GNU is defined
2684 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2685 than 201103L, whichever is relevant for the language being compiled.
2686
2687 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2688 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2689 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2690 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2691 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2692
2693 * libio/iovsscanf.c
2694 * libio/fwscanf.c
2695 * libio/iovswscanf.c
2696 * libio/swscanf.c
2697 * libio/vscanf.c
2698 * libio/vwscanf.c
2699 * libio/wscanf.c
2700 * stdio-common/fscanf.c
2701 * stdio-common/scanf.c
2702 * stdio-common/vfscanf.c
2703 * stdio-common/vfwscanf.c
2704 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2705 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2706 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2707 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2708 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2709 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2710 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2711 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2712 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2713 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2714 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2715 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2716 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2717 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2718 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2719
2720 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2721 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2722 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2723 not sscanf.
2724 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2725 with a preprocessor macro.
2726
2727 * stdio-common/bug21.c, stdio-common/scanf14.c:
2728 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2729 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2730 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2731 to xscanf, xfscanf, xsscanf.
2732
2733 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2734 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2735 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2736 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2737 xfscanf, xsscanf.
2738 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2739 override feature selection macros or provide definitions of u_char etc.
2740 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2741 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2742 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2743 with -std=gnu89.
2744
8083afa5
AZ
27452019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2746
6f343c1f
AZ
2747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2748 bits/termios-misc.h.
2749 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2750 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2751 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2752 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2753 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2754 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2755
51f4beb0
AZ
2756 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2757 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2758 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2759 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2760 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2761 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2762 termios-misc.h.
2763 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2764 (sysdep_headers): Add termios-misc.h.
2765
f69c5cb2
AZ
2766 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2767 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2768 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2769
3aa4a07e
AZ
2770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2771 termios-tcflow.h.
2772 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2773 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2774 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2775 TCSAFLUSH): Move to termios-tcflow.h.
2776 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2777 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2779 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2780
22679ddf
AZ
2781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2782 termios-c_lflag.h.
2783 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2784 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2785 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2786 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2787 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2788 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2789 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2790 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2791 Likewise.
2792 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2793 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2794 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2795 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2796
72eb6ecc
AZ
2797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2798 termios-c_cflag.h.
2799 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2800 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2801 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2802 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2803 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2804 termios-c_cflag.h.
2805 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2806 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2807 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2808 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2809
9c5d0d02
AZ
2810 [BZ #23783]
2811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2812 termios-baud.h.
2813 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2814 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2815 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2816 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2817 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2818 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2819 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2820 __MAX_BAUD): Move to termios-baud.h.
2821 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2822 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2823 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2824 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2825 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2826
7b832018
AZ
2827 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2828 termios-c_oflag.h.
2829 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2830 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2831 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2832 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2833 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2834 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2835 termios-c_oflag.h.
2836 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2837 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2838 FFR1): Likewise.
2839 [USE_MISC] (XTABS): Likewise.
2840 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2841 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2842 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2843 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2844
3127003e
AZ
2845 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2846 termios-c_iflag.h.
2847 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2848 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2849 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2850 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2851 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2852 IUTF8): Move to termios-c_iflag.h.
2853 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2854 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2855 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2856 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2857
48c1dd96
AZ
2858 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2859 termios-cc.h.
2860 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2861 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2862 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2863 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2864 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2865 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2866 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2867 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2868 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2869 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2870 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2871 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2872
e5a50db3
AZ
2873 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2874 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2875 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2876 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2878 termios-struct.h.
2879 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2880 termios-struct.h.
2881 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2882 Likewise.
2883 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2884 Likewise.
2885 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2886 Likewise.
2887 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2888 Likewise.
2889 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2890 _HAVE_C_OSPEED): Define.
2891 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2892 _HAVE_C_OSPEED): Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2894 _HAVE_C_OSPEED): Likewise.
2895 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2896 (cfsetospeed): Check for define value instead of existence.
2897 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2898 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2899 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2900 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2901 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2902
8083afa5
AZ
2903 [BZ #17783]
2904 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2905 Define.
2906 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2907 (TIOCSER_TEMT): Likewise.
2908 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2909 (TEOCSER_TEMT): Likewise.
2910
4d7d7dc6
P
29112019-01-02 PanderMusubi <pander@users.sourceforge.net>
2912
2913 [BZ #24011]
2914 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2915
8e291a29
JM
29162019-01-02 Joseph Myers <joseph@codesourcery.com>
2917
2918 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2919
55137f7d
ST
29202019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2921
2922 * sysdeps/htl/pt-barrierattr-setpshared.c
2923 (pthread_barrierattr_setpshared): Add stub warning.
2924 * sysdeps/htl/pt-condattr-setpshared.c
2925 (pthread_condattr_setpshared): Likewise.
2926 * sysdeps/htl/pt-mutexattr-setpshared.c
2927 (pthread_mutexattr_setpshared): Likewise.
2928 * sysdeps/htl/pt-rwlockattr-setpshared.c
2929 (pthread_rwlockattr_setpshared): Likewise.
2930 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2931 (pthread_mutexattr_setpshared): Likewise.
2932
2ce09e01
JM
29332019-01-02 Joseph Myers <joseph@codesourcery.com>
2934
acb55dcb
JM
2935 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2936 constants to match with Linux 4.20.
2937
2ce09e01
JM
2938 * sysdeps/mips/mips32/libm-test-ulps: Update.
2939 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2940
fe20bb1d
AJ
29412019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2942
2943 [BZ #24034]
2944 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2945 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2946 than __typeof (...) for the a_ptr variable.
2947
2d9837c1
GG
29482019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2949
2950 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2951 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2952 * libio/Makefile (tests): Add tst-sprintf-ub and
2953 tst-sprintf-chk-ub.
2954 (CFLAGS-tst-sprintf-ub.c): New variable.
2955 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2956 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2957 destination buffer and check for overflows in fortified mode.
2958 * libio/libioP.h (PRINTF_CHK): New macro.
2959 * libio/tst-sprintf-chk-ub.c: New file.
2960 * libio/tst-sprintf-ub.c: Likewise.
2961
d5c6df0b 29622019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
2963
2964 [BZ #24018]
2965 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2966 failure.
2967
66081e38
FW
29682019-01-02 Florian Weimer <fweimer@redhat.com>
2969
2970 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2971
04277e02
JM
29722019-01-01 Joseph Myers <joseph@codesourcery.com>
2973
6ef3d225
JM
2974 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2975 macro.
2976
e3d4e292
JM
2977 * sysdeps/unix/sysv/linux/netpacket/packet.h
2978 (PACKET_IGNORE_OUTGOING): New macro.
2979
f4507797
JM
2980 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2981 macro.
2982
47ad5e1a
JM
2983 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2984 version to 4.20.
2985 (riscv_flush_icache): New syscall.
2986
7628a1b0
JM
2987 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2988 trailing whitespace removed.
2989 * scripts/config.guess: Update to version 2019-01-01.
2990 * scripts/config.sub: Update to version 2019-01-01.
2991 * scripts/move-if-change: Update from gnulib.
2992
c9123888
JM
2993 * NEWS: Update copyright dates.
2994 * catgets/gencat.c (print_version): Likewise.
2995 * csu/version.c (banner): Likewise.
2996 * debug/catchsegv.sh: Likewise.
2997 * debug/pcprofiledump.c (print_version): Likewise.
2998 * debug/xtrace.sh (do_version): Likewise.
2999 * elf/ldconfig.c (print_version): Likewise.
3000 * elf/ldd.bash.in: Likewise.
3001 * elf/pldd.c (print_version): Likewise.
3002 * elf/sotruss.sh: Likewise.
3003 * elf/sprof.c (print_version): Likewise.
3004 * iconv/iconv_prog.c (print_version): Likewise.
3005 * iconv/iconvconfig.c (print_version): Likewise.
3006 * locale/programs/locale.c (print_version): Likewise.
3007 * locale/programs/localedef.c (print_version): Likewise.
3008 * login/programs/pt_chown.c (print_version): Likewise.
3009 * malloc/memusage.sh (do_version): Likewise.
3010 * malloc/memusagestat.c (print_version): Likewise.
3011 * malloc/mtrace.pl: Likewise.
3012 * manual/libc.texinfo: Likewise.
3013 * nptl/version.c (banner): Likewise.
3014 * nscd/nscd.c (print_version): Likewise.
3015 * nss/getent.c (print_version): Likewise.
3016 * nss/makedb.c (print_version): Likewise.
3017 * posix/getconf.c (main): Likewise.
3018 * scripts/test-installation.pl: Likewise.
3019 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3020
04277e02
JM
3021 * All files with FSF copyright notices: Update copyright dates
3022 using scripts/update-copyrights.
3023 * locale/programs/charmap-kw.h: Regenerated.
3024 * locale/programs/locfile-kw.h: Likewise.
3025
e740e5b1
JM
30262018-12-31 Joseph Myers <joseph@codesourcery.com>
3027
3028 * timezone/zdump.c: Update from tzcode 2018i.
3029 * timezone/zic.c: Likewise.
3030
9b7f98b3
PE
30312018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3032
3033 regex: improve Gnulib port to AIX
3034 From the glibc point of view, this removes duplicate macro
3035 definitions and is obviously safe.
3036 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3037 * posix/regex_internal.h:
3038 (__attribute__, __attribute_warn_unused_result__):
3039 Remove; already defined elsewhere.
3040
b50dd3bc
FW
30412018-12-31 Florian Weimer <fw@deneb.enyo.de>
3042
3043 [BZ #24027]
3044 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3045 copying operation. (ncopies had the wrong type, resulting in an
3046 integer wraparound and too few elements being copied.)
3047
0b9c8490
L
30482018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3049
3050 [BZ #24022]
3051 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3052 <asm/syscalls.h> exists with __has_include__ before including it.
3053
01047fa6
JM
30542018-12-31 Joseph Myers <joseph@codesourcery.com>
3055
3056 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3057 version to 4.20.
3058
6b5c8607 30592018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
3060
3061 * hurd/lookup-retry: Include <unistd.h>.
3062 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3063 Release it on return. Handle "pid" magical lookup retry.
3064
989182c4
RL
30652018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3066
3067 [BZ #10496]
3068 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3069 (t_fmt_ampm): Likewise.
3070 * localedata/locales/aa_ER (t_fmt): Likewise.
3071 (t_fmt_ampm): Likewise.
3072 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3073 (t_fmt_ampm): Likewise.
3074 * localedata/locales/aa_ET (t_fmt): Likewise.
3075 (t_fmt_ampm): Likewise.
3076 * localedata/locales/am_ET (t_fmt): Likewise.
3077 (t_fmt_ampm): Likewise.
3078 * localedata/locales/byn_ER (t_fmt): Likewise.
3079 (t_fmt_ampm): Likewise.
3080 * localedata/locales/om_ET (t_fmt): Likewise.
3081 (t_fmt_ampm): Likewise.
3082 * localedata/locales/sid_ET (t_fmt): Likewise.
3083 (t_fmt_ampm): Likewise.
3084 * localedata/locales/so_DJ (t_fmt): Likewise.
3085 (t_fmt_ampm): Likewise.
3086 * localedata/locales/so_ET (t_fmt): Likewise.
3087 (t_fmt_ampm): Likewise.
3088 * localedata/locales/so_SO (t_fmt): Likewise.
3089 (t_fmt_ampm): Likewise.
3090 * localedata/locales/ti_ER (t_fmt): Likewise.
3091 (t_fmt_ampm): Likewise.
3092 * localedata/locales/ti_ET (t_fmt): Likewise.
3093 (t_fmt_ampm): Likewise.
3094 * localedata/locales/tig_ER (t_fmt): Likewise.
3095 (t_fmt_ampm): Likewise.
3096 * localedata/locales/wal_ET (t_fmt): Likewise.
3097 (t_fmt_ampm): Likewise.
3098
3099 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3100 * localedata/locales/ar_IN (t_fmt): Likewise.
3101 * localedata/locales/bhb_IN (t_fmt): Likewise.
3102 * localedata/locales/bho_IN (t_fmt): Likewise.
3103 * localedata/locales/bi_VU (t_fmt): Likewise.
3104 * localedata/locales/bn_BD (t_fmt): Likewise.
3105 * localedata/locales/bn_IN (t_fmt): Likewise.
3106 * localedata/locales/brx_IN (t_fmt): Likewise.
3107 * localedata/locales/doi_IN (t_fmt): Likewise.
3108 * localedata/locales/en_HK (t_fmt): Likewise.
3109 (t_fmt_ampm): Likewise.
3110 * localedata/locales/en_IN (t_fmt): Likewise.
3111 * localedata/locales/en_PH (t_fmt): Likewise.
3112 * localedata/locales/gu_IN (t_fmt): Likewise.
3113 * localedata/locales/hi_IN (t_fmt): Likewise.
3114 * localedata/locales/hif_FJ (t_fmt): Likewise.
3115 * localedata/locales/hne_IN (t_fmt): Likewise.
3116 * localedata/locales/kn_IN (t_fmt): Likewise.
3117 * localedata/locales/kok_IN (t_fmt): Likewise.
3118 * localedata/locales/ks_IN (t_fmt): Likewise.
3119 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3120 * localedata/locales/mag_IN (t_fmt): Likewise.
3121 * localedata/locales/mai_IN (t_fmt): Likewise.
3122 * localedata/locales/mjw_IN (t_fmt): Likewise.
3123 * localedata/locales/ml_IN (t_fmt): Likewise.
3124 * localedata/locales/mni_IN (t_fmt): Likewise.
3125 * localedata/locales/mr_IN (t_fmt): Likewise.
3126 * localedata/locales/ms_MY (t_fmt): Likewise.
3127 * localedata/locales/pa_IN (t_fmt): Likewise.
3128 * localedata/locales/raj_IN (t_fmt): Likewise.
3129 * localedata/locales/sa_IN (t_fmt): Likewise.
3130 * localedata/locales/sat_IN (t_fmt): Likewise.
3131 * localedata/locales/sd_IN (t_fmt): Likewise.
3132 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3133 * localedata/locales/tcy_IN (t_fmt): Likewise.
3134 * localedata/locales/the_NP (t_fmt): Likewise.
3135 * localedata/locales/to_TO (t_fmt): Likewise.
3136 * localedata/locales/ur_IN (t_fmt): Likewise.
3137
3138 * localedata/locales/hif_FJ (d_t_fmt): Set to
3139 "%A %d %b %Y %I:%M:%S %p".
3140 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3141
3142 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3143 * localedata/locales/ar_BH (t_fmt): Likewise.
3144 * localedata/locales/ar_DZ (t_fmt): Likewise.
3145 * localedata/locales/ar_EG (t_fmt): Likewise.
3146 * localedata/locales/ar_IQ (t_fmt): Likewise.
3147 * localedata/locales/ar_JO (t_fmt): Likewise.
3148 * localedata/locales/ar_KW (t_fmt): Likewise.
3149 * localedata/locales/ar_LB (t_fmt): Likewise.
3150 * localedata/locales/ar_LY (t_fmt): Likewise.
3151 * localedata/locales/ar_OM (t_fmt): Likewise.
3152 * localedata/locales/ar_QA (t_fmt): Likewise.
3153 * localedata/locales/ar_SD (t_fmt): Likewise.
3154 * localedata/locales/ar_SS (t_fmt): Likewise.
3155 * localedata/locales/ar_SY (t_fmt): Likewise.
3156 * localedata/locales/ar_TN (t_fmt): Likewise.
3157 * localedata/locales/ar_YE (t_fmt): Likewise.
3158
3159 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3160 (t_fmt_ampm): Likewise.
3161 * localedata/locales/gez_ET (t_fmt): Likewise.
3162 (t_fmt_ampm): Likewise.
3163
3164 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3165 (t_fmt_ampm): Likewise.
3166 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3167
3168 * localedata/locales/zh_HK (t_fmt):
3169 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3170
3171 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3172 because this locale does not use the 12-hour clock.
3173 (t_fmt): Set to "%Z %H:%M:%S".
3174 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3175
3176 * localedata/locales/mt_MT (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 ta %b, %Y %H:%M:%S %Z".
3180
3181 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3182 because this locale does not use the 12-hour clock.
3183 (t_fmt): Set to "%T".
3184 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3185 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3186
3187 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3188 because this locale does not use the 12-hour clock.
3189 (t_fmt): Set to "%H:%M:%S %Z".
3190 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3191
3192 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3193 because this locale does not use the 12-hour clock.
3194 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3195 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3196
27841a7d
RL
31972018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3198
3199 [BZ #10496]
3200 [BZ #23724]
3201 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3202 (t_fmt_ampm): Likewise.
3203 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3204 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3205 (d_fmt): Set to "%-d.%-m.%y".
3206
0253580a
AZ
32072018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3208
3209 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3210 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3211 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3212 Likewise.
3213 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3214 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3215 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3216 function.
3217 * support/blob_repeat.c (check_mul_overflow_size_t,
3218 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3219
09104e5b
AJ
32202018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3221
3222 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3223
c0feb731
PE
32242018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3225
3226 regex: simplify Gnulib port
3227 This simplifies the code, by removing stuff intended for porting
3228 to Gnulib but no longer needed there.
3229 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3230 uses of libc_hidden_def, weak_alias.
3231 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3232 _Restrict_ except for public-facing headers.
3233 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3234 Remove; already defined elsewhere.
3235 * posix/regex.c, posix/regex_internal.h:
3236 Use __GNUC_PREREQ instead of rolling our own.
3237 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3238
5289f1f5
WD
32392018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3240
3241 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 3242 (memchr_strlen): New function.
5289f1f5 3243
ba4b8fab
L
32442018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3245
3246 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3247 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3248 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3249
9412979a
L
32502018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3251
3252 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3253
8700a785
L
32542018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3255
3256 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3257 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3258 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3259 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3260 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3261 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3262 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3263
57b3ff8e
JM
32642018-12-21 Joseph Myers <joseph@codesourcery.com>
3265
3266 [BZ #24023]
3267 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3268 PLT reference in libc.so.
3269 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3270 _Q_lltoq and _Q_qtod PLT references in libc.so.
3271
90d3320d
WD
32722018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3273
3274 * benchtests/bench-memchr.c: Cleanup defines.
3275 * benchtests/bench-memcmp.c: Likewise.
3276 * benchtests/bench-memset.c: Likewise.
3277 * benchtests/bench-memset-large.c: Likewise.
3278 * benchtests/bench-memset-walk.c: Likewise.
3279 * benchtests/bench-stpcpy.c: Likewise.
3280 * benchtests/bench-stpncpy.c: Likewise.
3281 * benchtests/bench-strcat.c: Likewise.
3282 * benchtests/bench-strchr.c: Likewise.
3283 * benchtests/bench-strcmp.c: Likewise.
3284 * benchtests/bench-strcpy.c: Likewise.
3285 * benchtests/bench-strcspn.c: Likewise.
3286 * benchtests/bench-string.h: Likewise.
3287 * benchtests/bench-strlen.c: Likewise.
3288 * benchtests/bench-strncat.c: Likewise.
3289 * benchtests/bench-strncmp.c: Likewise.
3290 * benchtests/bench-strncpy.c: Likewise.
3291 * benchtests/bench-strnlen.c: Likewise.
3292 * benchtests/bench-strpbrk.c: Likewise.
3293 * benchtests/bench-strrchr.c: Likewise.
3294 * benchtests/bench-strspn.c: Likewise.
3295
192963be
JM
32962018-12-21 Joseph Myers <joseph@codesourcery.com>
3297
5d025ea6
JM
3298 * stdlib/longlong.h: Update from GCC.
3299
192963be
JM
3300 [BZ #23993]
3301 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3302 * configure: Regenerated.
3303 * manual/install.texi (Tools for Compilation): Update minimum GCC
3304 version.
3305 * INSTALL: Regenerated.
3306
6b5c8607 33072018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
3308
3309 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3310
6b5c8607 33112018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
3312
3313 * malloc/malloc.c (mremap_chunk): Additional checks.
3314
5f72b005
MH
33152018-12-21 Mao Han <han_mao@c-sky.com>
3316
3317 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3318 * scripts/build-many-glibcs.py: Add C-SKY targets.
3319 * sysdeps/csky/Implies: New file.
3320 * sysdeps/csky/Makefile: Likewise.
3321 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3322 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3323 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3324 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3325 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3326 * sysdeps/csky/abiv2/memmove.S: Likewise.
3327 * sysdeps/csky/abiv2/memset.S: Likewise.
3328 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3329 * sysdeps/csky/abiv2/start.S: Likewise.
3330 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3331 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3332 * sysdeps/csky/abiv2/strlen.S: Likewise.
3333 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3334 * sysdeps/csky/abort-instr.h: Likewise.
3335 * sysdeps/csky/atomic-machine.h: Likewise.
3336 * sysdeps/csky/bits/endian.h: Likewise.
3337 * sysdeps/csky/bits/fenv.h: Likewise.
3338 * sysdeps/csky/bits/link.h: Likewise.
3339 * sysdeps/csky/bits/setjmp.h: Likewise.
3340 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3341 * sysdeps/csky/bsd-setjmp.S: Likewise.
3342 * sysdeps/csky/configure: Likewise.
3343 * sysdeps/csky/configure.ac: Likewise.
3344 * sysdeps/csky/dl-machine.h: Likewise.
3345 * sysdeps/csky/dl-procinfo.c: Likewise.
3346 * sysdeps/csky/dl-procinfo.h: Likewise.
3347 * sysdeps/csky/dl-sysdep.h: Likewise.
3348 * sysdeps/csky/dl-tls.h: Likewise.
3349 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3350 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3351 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3352 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3353 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3354 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3355 * sysdeps/csky/fpu/fegetround.c: Likewise.
3356 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3357 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3358 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3359 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3360 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3361 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3362 * sysdeps/csky/fpu/fesetround.c: Likewise.
3363 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3364 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3365 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3366 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3367 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3368 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3369 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3370 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3371 * sysdeps/csky/fpu_control.h: Likewise.
3372 * sysdeps/csky/gccframe.h: Likewise.
3373 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3374 * sysdeps/csky/ldsodefs.h: Likewise.
3375 * sysdeps/csky/libc-tls.c: Likewise.
3376 * sysdeps/csky/linkmap.h: Likewise.
3377 * sysdeps/csky/machine-gmon.h: Likewise.
3378 * sysdeps/csky/memusage.h: Likewise.
3379 * sysdeps/csky/nofpu/Implies: Likewise.
3380 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3381 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3382 * sysdeps/csky/nptl/Makefile: Likewise.
3383 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3384 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3385 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3386 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3387 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3388 * sysdeps/csky/nptl/tls.h: Likewise.
3389 * sysdeps/csky/preconfigure: Likewise.
3390 * sysdeps/csky/sfp-machine.h: Likewise.
3391 * sysdeps/csky/sotruss-lib.c: Likewise.
3392 * sysdeps/csky/stackinfo.h: Likewise.
3393 * sysdeps/csky/sysdep.h: Likewise.
3394 * sysdeps/csky/tininess.h: Likewise.
3395 * sysdeps/csky/tst-audit.h: Likewise.
3396 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3397 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3398 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3399 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3400 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3401 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3402 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3403 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3404 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3405 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3406 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3407 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3408 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3409 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3410 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3411 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3412 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3413 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3414 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3415 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3416 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3417 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3418 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3419 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3420 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3421 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3422 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3423 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3424 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3425 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3426 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3427 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3428 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3429 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3430 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3431 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3432 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3433 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3434 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3435 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3436 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3437 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3438 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3439 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3440
6b5c8607 34412018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
3442
3443 * include/time.h (__difftime64): Add.
3444 * time/difftime.c (subtract): convert to 64-bit time.
3445 * time/difftime.c (__difftime64): Add.
3446 * time/difftime.c (__difftime): Wrap around __difftime64.
3447
ab416931
L
34482018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3449
3450 * manual/examples/add.c: Remove redundant "if not".
3451 * manual/examples/argp-ex1.c: Likewise.
3452 * manual/examples/argp-ex2.c: Likewise.
3453 * manual/examples/argp-ex3.c: Likewise.
3454 * manual/examples/argp-ex4.c: Likewise.
3455 * manual/examples/atexit.c: Likewise.
3456 * manual/examples/db.c: Likewise.
3457 * manual/examples/dir.c: Likewise.
3458 * manual/examples/dir2.c: Likewise.
3459 * manual/examples/execinfo.c: Likewise.
3460 * manual/examples/filecli.c: Likewise.
3461 * manual/examples/filesrv.c: Likewise.
3462 * manual/examples/fmtmsgexpl.c: Likewise.
3463 * manual/examples/genpass.c: Likewise.
3464 * manual/examples/inetcli.c: Likewise.
3465 * manual/examples/inetsrv.c: Likewise.
3466 * manual/examples/isockad.c: Likewise.
3467 * manual/examples/longopt.c: Likewise.
3468 * manual/examples/memopen.c: Likewise.
3469 * manual/examples/memstrm.c: Likewise.
3470 * manual/examples/mkdirent.c: Likewise.
3471 * manual/examples/mkfsock.c: Likewise.
3472 * manual/examples/mkisock.c: Likewise.
3473 * manual/examples/mygetpass.c: Likewise.
3474 * manual/examples/pipe.c: Likewise.
3475 * manual/examples/popen.c: Likewise.
3476 * manual/examples/rprintf.c: Likewise.
3477 * manual/examples/search.c: Likewise.
3478 * manual/examples/select.c: Likewise.
3479 * manual/examples/setjmp.c: Likewise.
3480 * manual/examples/sigh1.c: Likewise.
3481 * manual/examples/sigusr.c: Likewise.
3482 * manual/examples/stpcpy.c: Likewise.
3483 * manual/examples/strdupa.c: Likewise.
3484 * manual/examples/strftim.c: Likewise.
3485 * manual/examples/subopt.c: Likewise.
3486 * manual/examples/swapcontext.c: Likewise.
3487 * manual/examples/termios.c: Likewise.
3488 * manual/examples/testopt.c: Likewise.
3489 * manual/examples/testpass.c: Likewise.
3490 * manual/examples/timeval_subtract.c: Likewise.
3491
515f463f
JM
34922018-12-19 Joseph Myers <joseph@codesourcery.com>
3493
da75c1b1
JM
3494 * sysdeps/x86/fpu/math_private.h: New file.
3495 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3496
515f463f
JM
3497 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3498 definition.
3499 (cosh): Likewise.
3500 (tanh): Likewise.
3501
1616d034
TMQMF
35022018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3503
3504 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3505 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3506 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3507 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3508 fields.
3509 (_dl_show_auxv): Give a special treatment to
3510 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3511 and AT_L3_CACHEGEOMETRY.
3512 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3513 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3514 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3515 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3516
61595e3d
AS
35172018-12-19 Andreas Schwab <schwab@suse.de>
3518
3519 * nscd/connections.c (check_use): Don't abort on invalid len.
3520
bbb7dc84
ST
35212018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3522
3523 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3524 values in the 64bit value cases.
3525
6b5c8607 35262018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 3527
c4c2836a
AA
3528 * include/time.h
3529 (__ctime64_r): Add.
3530 * time/ctime_r.c
3531 (__ctime64_r): Add.
3532 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3533
7755e504
AA
3534 * include/time.h
3535 (__ctime64): Add.
3536 * time/gmtime.c
3537 (__ctime64): Add.
3538 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3539
a1d346ce
AA
3540 * include/time.h
3541 (__gmtime64_r): Add.
3542 * time/gmtime.c
3543 (__gmtime64_r): Add.
3544 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3545
131db8b0
AA
3546 * include/time.h
3547 (__gmtime64): Add.
3548 * time/gmtime.c
3549 (__gmtime64): Add.
3550 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3551
64c2277d
AA
3552 * include/time.h
3553 (__localtime64_r): Add.
3554 * time/localtime.c
3555 (__localtime64_r): Add.
3556 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3557
56b98bf1
AZ
35582018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3559
64dd7a16
AZ
3560 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3561 kernel_sigction definition.
3562
8b1d5da5
AZ
3563 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3564
f9eabb19
AZ
3565 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3566
56b98bf1
AZ
3567 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3568 __syscall_rt_sigaction.
3569 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3570 (kernel_sigaction): Use Linux generic defintion.
3571 (STUB): Define.
3572 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3573 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3574 (__syscall_rt_sigaction): Remove implementation.
3575 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3576 hidden.
3577 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3578 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3579 INTERNAL_SYSCALL): Remove definitions.
3580 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3581 action and signal set size.
3582 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3583 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3584
43a45c2d
AZ
35852018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3586 James Clarke <jrtc27@jrtc27.com>
3587
dfa6216f 3588 [BZ #23967]
43a45c2d
AZ
3589 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3590 Define if SA_RESTORER is defined.
3591 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3592 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3593 already defined.
3594 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3595 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3596 definitions.
3597 (HAS_SA_RESTORER): Define.
3598 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3599 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3600 (HAS_SA_RESTORER): Define.
3601 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3602 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3603 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3604 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3605 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3606
646ce7e0
JM
36072018-12-18 Joseph Myers <joseph@codesourcery.com>
3608
3609 * sysdeps/unix/sysv/linux/kernel-features.h
3610 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3611 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3612 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3613 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3614 (__ASSUME_ST_INO_64_BIT): Likewise.
3615 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3616 <kernel-features.h>.
3617 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3618 Remove conditional code.
3619 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3620 <kernel-features.h>.
3621 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3622 Remove conditional code.
3623 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3624 <kernel-features.h>.
3625 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3626 Remove conditional code.
3627 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3628 <kernel-features.h>.
3629 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3630 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3631
80190d2b
SL
36322018-12-18 Stefan Liebler <stli@linux.ibm.com>
3633
3634 * sysdeps/s390/multiarch/ifunc-resolve.h
3635 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3636 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3637 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3638 Delete macro definition.
3639 (s390_libc_ifunc_init): Rename to
3640 s390_libc_ifunc_expr_stfle_init.
3641 * sysdeps/s390/bzero: Use
3642 s390_libc_ifunc_expr_stfle_init instead of
3643 s390_libc_ifunc_init.
3644 * sysdeps/s390/memcmp.c: Likewise.
3645 * sysdeps/s390/memcpy.c: Likewise.
3646 * sysdeps/s390/mempcpy.c: Likewise.
3647 * sysdeps/s390/memset.c: Likewise.
3648
12f0dcb8
SL
36492018-12-18 Stefan Liebler <stli@linux.ibm.com>
3650
3651 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3652 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3653
25654a8c
SL
36542018-12-18 Stefan Liebler <stli@linux.ibm.com>
3655
3656 * sysdeps/s390/multiarch/Makefile
3657 (sysdep_routines): Remove wmemcmp variants.
3658 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3659 * sysdeps/s390/multiarch/ifunc-impl-list.c
3660 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3661 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3662 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3663 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3664 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3665 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3666 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3667 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3668
d2a7436c
SL
36692018-12-18 Stefan Liebler <stli@linux.ibm.com>
3670
3671 * sysdeps/s390/multiarch/Makefile
3672 (sysdep_routines): Remove wmemset variants.
3673 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3674 * sysdeps/s390/multiarch/ifunc-impl-list.c
3675 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3676 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3677 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3678 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3679 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3680 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3681 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3682 * sysdeps/s390/ifunc-wmemset.h: New file.
3683
c62534ae
SL
36842018-12-18 Stefan Liebler <stli@linux.ibm.com>
3685
3686 * sysdeps/s390/multiarch/Makefile
3687 (sysdep_routines): Remove wmemchr variants.
3688 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3689 * sysdeps/s390/multiarch/ifunc-impl-list.c
3690 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3691 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3692 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3693 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3694 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3695 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3696 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3697 * sysdeps/s390/ifunc-wmemchr.h: New file.
3698
79b44cf6
SL
36992018-12-18 Stefan Liebler <stli@linux.ibm.com>
3700
3701 * sysdeps/s390/multiarch/Makefile
3702 (sysdep_routines): Remove wcscspn variants.
3703 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3704 * sysdeps/s390/multiarch/ifunc-impl-list.c
3705 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3706 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3707 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3708 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3709 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3710 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3711 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3712 * sysdeps/s390/ifunc-wcscspn.h: New file.
3713
8e87c1f6
SL
37142018-12-18 Stefan Liebler <stli@linux.ibm.com>
3715
3716 * sysdeps/s390/multiarch/Makefile
3717 (sysdep_routines): Remove wcspbrk variants.
3718 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3719 * sysdeps/s390/multiarch/ifunc-impl-list.c
3720 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3721 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3722 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3723 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3724 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3725 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3726 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3727 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3728
8507e831
SL
37292018-12-18 Stefan Liebler <stli@linux.ibm.com>
3730
3731 * sysdeps/s390/multiarch/Makefile
3732 (sysdep_routines): Remove wcsspn variants.
3733 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3734 * sysdeps/s390/multiarch/ifunc-impl-list.c
3735 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3736 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3737 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3738 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3739 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3740 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3741 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3742 * sysdeps/s390/ifunc-wcsspn.h: New file.
3743
4753713a
SL
37442018-12-18 Stefan Liebler <stli@linux.ibm.com>
3745
3746 * sysdeps/s390/multiarch/Makefile
3747 (sysdep_routines): Remove wcsrchr variants.
3748 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3749 * sysdeps/s390/multiarch/ifunc-impl-list.c
3750 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3751 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3752 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3753 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3754 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3755 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3756 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3757 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3758
c09c1b6f
SL
37592018-12-18 Stefan Liebler <stli@linux.ibm.com>
3760
3761 * sysdeps/s390/multiarch/Makefile
3762 (sysdep_routines): Remove wcschrnul variants.
3763 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3764 * sysdeps/s390/multiarch/ifunc-impl-list.c
3765 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3766 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3767 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3768 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3769 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3770 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3771 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3772 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3773
cf3ccc31
SL
37742018-12-18 Stefan Liebler <stli@linux.ibm.com>
3775
3776 * sysdeps/s390/multiarch/Makefile
3777 (sysdep_routines): Remove wcschr variants.
3778 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3779 * sysdeps/s390/multiarch/ifunc-impl-list.c
3780 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3781 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3782 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3783 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3784 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3785 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3786 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3787 * sysdeps/s390/ifunc-wcschr.h: New file.
3788
e9873e1d
SL
37892018-12-18 Stefan Liebler <stli@linux.ibm.com>
3790
3791 * sysdeps/s390/multiarch/Makefile
3792 (sysdep_routines): Remove wcsncmp variants.
3793 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3794 * sysdeps/s390/multiarch/ifunc-impl-list.c
3795 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3796 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3797 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3798 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3799 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3800 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3801 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3802 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3803
3459e23d
SL
38042018-12-18 Stefan Liebler <stli@linux.ibm.com>
3805
3806 * sysdeps/s390/multiarch/Makefile
3807 (sysdep_routines): Remove wcscmp variants.
3808 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3809 * sysdeps/s390/multiarch/ifunc-impl-list.c
3810 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3811 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3812 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3813 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3814 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3815 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3816 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3817 * sysdeps/s390/ifunc-wcscmp.h: New file.
3818
814a76e1
SL
38192018-12-18 Stefan Liebler <stli@linux.ibm.com>
3820
3821 * sysdeps/s390/multiarch/Makefile
3822 (sysdep_routines): Remove wcsncat variants.
3823 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3824 * sysdeps/s390/multiarch/ifunc-impl-list.c
3825 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3826 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3827 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3828 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3829 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3830 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3831 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3832 * sysdeps/s390/ifunc-wcsncat.h: New file.
3833
3389cae4
SL
38342018-12-18 Stefan Liebler <stli@linux.ibm.com>
3835
3836 * sysdeps/s390/multiarch/Makefile
3837 (sysdep_routines): Remove wcscat variants.
3838 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3839 * sysdeps/s390/multiarch/ifunc-impl-list.c
3840 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3841 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3842 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3843 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3844 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3845 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3846 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3847 * sysdeps/s390/ifunc-wcscat.h: New file.
3848
c3081bcb
SL
38492018-12-18 Stefan Liebler <stli@linux.ibm.com>
3850
3851 * sysdeps/s390/multiarch/Makefile
3852 (sysdep_routines): Remove wcpncpy variants.
3853 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3854 * sysdeps/s390/multiarch/ifunc-impl-list.c
3855 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3856 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3857 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3858 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3859 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3860 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3861 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3862 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3863
0966dd86
SL
38642018-12-18 Stefan Liebler <stli@linux.ibm.com>
3865
3866 * sysdeps/s390/multiarch/Makefile
3867 (sysdep_routines): Remove wcsncpy variants.
3868 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3869 * sysdeps/s390/multiarch/ifunc-impl-list.c
3870 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3871 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3872 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3873 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3874 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3875 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3876 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3877 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3878
0582e428
SL
38792018-12-18 Stefan Liebler <stli@linux.ibm.com>
3880
3881 * sysdeps/s390/multiarch/Makefile
3882 (sysdep_routines): Remove wcpcpy variants.
3883 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3884 * sysdeps/s390/multiarch/ifunc-impl-list.c
3885 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3886 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3887 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3888 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3889 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3890 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3891 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3892 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3893
804f2e5c
SL
38942018-12-18 Stefan Liebler <stli@linux.ibm.com>
3895
3896 * sysdeps/s390/multiarch/Makefile
3897 (sysdep_routines): Remove wcscpy variants.
3898 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3899 * sysdeps/s390/multiarch/ifunc-impl-list.c
3900 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3901 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3902 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3903 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3904 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3905 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3906 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3907 * sysdeps/s390/ifunc-wcscpy.h: New file.
3908
c7e7cd26
SL
39092018-12-18 Stefan Liebler <stli@linux.ibm.com>
3910
3911 * sysdeps/s390/multiarch/Makefile
3912 (sysdep_routines): Remove wcsnlen variants.
3913 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3914 * sysdeps/s390/multiarch/ifunc-impl-list.c
3915 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3916 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3917 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3918 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3919 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3920 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3921 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3922 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3923
2e02d0b7
SL
39242018-12-18 Stefan Liebler <stli@linux.ibm.com>
3925
3926 * sysdeps/s390/multiarch/Makefile
3927 (sysdep_routines): Remove wcslen variants.
3928 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3929 * sysdeps/s390/multiarch/ifunc-impl-list.c
3930 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3931 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3932 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3933 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3934 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3935 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3936 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3937 * sysdeps/s390/ifunc-wcslen.h: New file.
3938
89bfcbdf
SL
39392018-12-18 Stefan Liebler <stli@linux.ibm.com>
3940
3941 * sysdeps/s390/multiarch/Makefile
3942 (sysdep_routines): Remove memrchr variants.
3943 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3944 * sysdeps/s390/multiarch/ifunc-impl-list.c
3945 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3946 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3947 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3948 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3949 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3950 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3951 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3952 * sysdeps/s390/ifunc-memrchr.h: New file.
3953
196655ba
SL
39542018-12-18 Stefan Liebler <stli@linux.ibm.com>
3955
3956 * sysdeps/s390/multiarch/Makefile
3957 (sysdep_routines): Remove memccpy variants.
3958 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3959 * sysdeps/s390/multiarch/ifunc-impl-list.c
3960 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3961 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3962 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3963 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3964 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3965 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3966 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3967 * sysdeps/s390/ifunc-memccpy.h: New file.
3968
4c7b3cec
SL
39692018-12-18 Stefan Liebler <stli@linux.ibm.com>
3970
3971 * sysdeps/s390/multiarch/Makefile
3972 (sysdep_routines): Remove rawmemchr variants.
3973 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3974 * sysdeps/s390/multiarch/ifunc-impl-list.c
3975 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3976 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3977 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3978 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3979 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3980 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3981 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3982 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3983
581a051c
SL
39842018-12-18 Stefan Liebler <stli@linux.ibm.com>
3985
3986 * sysdeps/s390/multiarch/Makefile
3987 (sysdep_routines): Remove memchr variants.
3988 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3989 * sysdeps/s390/multiarch/ifunc-impl-list.c
3990 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3991 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3992 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3993 * sysdeps/s390/multiarch/memchr.c: Move to ...
3994 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3995 * sysdeps/s390/ifunc-memchr.h: New file.
3996 * sysdeps/s390/s390-64/memchr.S: Move to ...
3997 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3998 for 31/64bit and ifunc handling.
3999 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4000 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4001 * sysdeps/s390/s390-32/memchr.S: Likewise.
4002
5d2ec20a
SL
40032018-12-18 Stefan Liebler <stli@linux.ibm.com>
4004
4005 * sysdeps/s390/multiarch/Makefile
4006 (sysdep_routines): Remove strcspn variants.
4007 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4008 * sysdeps/s390/multiarch/ifunc-impl-list.c
4009 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4010 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4011 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4012 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4013 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4014 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4015 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4016 * sysdeps/s390/ifunc-strcspn.h: New file.
4017
572cca93
SL
40182018-12-18 Stefan Liebler <stli@linux.ibm.com>
4019
4020 * sysdeps/s390/multiarch/Makefile
4021 (sysdep_routines): Remove strpbrk variants.
4022 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4023 * sysdeps/s390/multiarch/ifunc-impl-list.c
4024 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4025 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4026 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4027 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4028 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4029 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4030 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4031 * sysdeps/s390/ifunc-strpbrk.h: New file.
4032
483fc569
SL
40332018-12-18 Stefan Liebler <stli@linux.ibm.com>
4034
4035 * sysdeps/s390/multiarch/Makefile
4036 (sysdep_routines): Remove strspn variants.
4037 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4038 * sysdeps/s390/multiarch/ifunc-impl-list.c
4039 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4040 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4041 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4042 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4043 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4044 * sysdeps/s390/multiarch/strspn.c: Move to ...
4045 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4046 * sysdeps/s390/ifunc-strspn.h: New file.
4047
26ea8760
SL
40482018-12-18 Stefan Liebler <stli@linux.ibm.com>
4049
4050 * sysdeps/s390/multiarch/Makefile
4051 (sysdep_routines): Remove strrchr variants.
4052 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4053 * sysdeps/s390/multiarch/ifunc-impl-list.c
4054 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4055 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4056 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4057 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4058 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4059 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4060 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4061 * sysdeps/s390/ifunc-strrchr.h: New file.
4062
a1361e65
SL
40632018-12-18 Stefan Liebler <stli@linux.ibm.com>
4064
4065 * sysdeps/s390/multiarch/Makefile
4066 (sysdep_routines): Remove strchrnul variants.
4067 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4068 * sysdeps/s390/multiarch/ifunc-impl-list.c
4069 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4070 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4071 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4072 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4073 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4074 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4075 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4076 * sysdeps/s390/ifunc-strchrnul.h: New file.
4077
32f12653
SL
40782018-12-18 Stefan Liebler <stli@linux.ibm.com>
4079
4080 * sysdeps/s390/multiarch/Makefile
4081 (sysdep_routines): Remove strchr variants.
4082 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4083 * sysdeps/s390/multiarch/ifunc-impl-list.c
4084 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4085 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4086 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4087 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4088 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4089 * sysdeps/s390/multiarch/strchr.c: Move to ...
4090 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4091 * sysdeps/s390/ifunc-strchr.h: New file.
4092
316b8842
SL
40932018-12-18 Stefan Liebler <stli@linux.ibm.com>
4094
4095 * sysdeps/s390/multiarch/Makefile
4096 (sysdep_routines): Remove strncmp variants.
4097 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4098 * sysdeps/s390/multiarch/ifunc-impl-list.c
4099 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4100 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4101 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4102 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4103 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4104 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4105 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4106 * sysdeps/s390/ifunc-strncmp.h: New file.
4107
cdab85fe
SL
41082018-12-18 Stefan Liebler <stli@linux.ibm.com>
4109
4110 * sysdeps/s390/multiarch/Makefile
4111 (sysdep_routines): Remove strcmp variants.
4112 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4113 * sysdeps/s390/multiarch/ifunc-impl-list.c
4114 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4115 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4116 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4117 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4118 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4119 * sysdeps/s390/ifunc-strcmp.h: New file.
4120 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4121 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4122 for 31/64bit and ifunc handling.
4123 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4124 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4125 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4126
b9353351
SL
41272018-12-18 Stefan Liebler <stli@linux.ibm.com>
4128
4129 * sysdeps/s390/multiarch/Makefile
4130 (sysdep_routines): Remove strncat variants.
4131 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4132 * sysdeps/s390/multiarch/ifunc-impl-list.c
4133 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4134 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4135 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4136 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4137 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4138 * sysdeps/s390/multiarch/strncat.c: Move to ...
4139 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4140 * sysdeps/s390/ifunc-strncat.h: New file.
4141
8e5a0afb
SL
41422018-12-18 Stefan Liebler <stli@linux.ibm.com>
4143
4144 * sysdeps/s390/multiarch/Makefile
4145 (sysdep_routines): Remove strcat variants.
4146 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4147 * sysdeps/s390/multiarch/ifunc-impl-list.c
4148 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4149 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4150 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4151 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4152 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4153 * sysdeps/s390/multiarch/strcat.c: Move to ...
4154 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4155 * sysdeps/s390/ifunc-strcat.h: New file.
4156
25218822
SL
41572018-12-18 Stefan Liebler <stli@linux.ibm.com>
4158
4159 * sysdeps/s390/multiarch/Makefile
4160 (sysdep_routines): Remove stpncpy variants.
4161 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4162 * sysdeps/s390/multiarch/ifunc-impl-list.c
4163 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4164 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4165 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4166 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4167 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4168 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4169 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4170 * sysdeps/s390/ifunc-stpncpy.h: New file.
4171
d1bdbf38
SL
41722018-12-18 Stefan Liebler <stli@linux.ibm.com>
4173
4174 * sysdeps/s390/multiarch/Makefile
4175 (sysdep_routines): Remove strncpy variants.
4176 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4177 * sysdeps/s390/multiarch/ifunc-impl-list.c
4178 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4179 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4180 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4181 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4182 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4183 * sysdeps/s390/ifunc-strncpy.h: New file.
4184 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4185 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4186 and adjust ifunc handling.
4187 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4188 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4189 and adjust ifunc handling.
4190 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4191 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4192
97044931
SL
41932018-12-18 Stefan Liebler <stli@linux.ibm.com>
4194
4195 * sysdeps/s390/multiarch/Makefile
4196 (sysdep_routines): Remove stpcpy variants.
4197 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4198 * sysdeps/s390/multiarch/ifunc-impl-list.c
4199 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4200 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4201 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4202 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4203 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4204 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4205 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4206 * sysdeps/s390/ifunc-stpcpy.h: New file.
4207
914a4e05
SL
42082018-12-18 Stefan Liebler <stli@linux.ibm.com>
4209
4210 * sysdeps/s390/multiarch/Makefile
4211 (sysdep_routines): Remove strcpy variants.
4212 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4213 * sysdeps/s390/multiarch/ifunc-impl-list.c
4214 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4215 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4216 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4217 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4218 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4219 * sysdeps/s390/ifunc-strcpy.h: New file.
4220 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4221 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4222 for 31/64bit and ifunc handling.
4223 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4224 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4225 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4226
de10e44d
SL
42272018-12-18 Stefan Liebler <stli@linux.ibm.com>
4228
4229 * sysdeps/s390/multiarch/Makefile
4230 (sysdep_routines): Remove strnlen variants.
4231 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4232 * sysdeps/s390/multiarch/ifunc-impl-list.c
4233 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4234 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4235 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4236 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4237 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4238 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4239 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4240 * sysdeps/s390/ifunc-strnlen.h: New file.
4241
ff3ca374
SL
42422018-12-18 Stefan Liebler <stli@linux.ibm.com>
4243
4244 * sysdeps/s390/multiarch/Makefile
4245 (sysdep_routines): Remove strlen variants.
4246 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4247 * sysdeps/s390/multiarch/ifunc-impl-list.c
4248 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4249 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4250 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4251 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4252 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4253 * sysdeps/s390/multiarch/strlen.c: Move to ...
4254 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4255 * sysdeps/s390/ifunc-strlen.h: New file.
4256
d2c4c403
SL
42572018-12-18 Stefan Liebler <stli@linux.ibm.com>
4258
4259 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4260 * sysdeps/s390/multiarch/ifunc-impl-list.c
4261 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4262 * sysdeps/s390/ifunc-memmem.h: New file.
4263 * sysdeps/s390/memmem.c: Likewise.
4264 * sysdeps/s390/memmem-c.c: Likewise.
4265 * sysdeps/s390/memmem-vx.c: Likewise.
4266
8c25dddd
SL
42672018-12-18 Stefan Liebler <stli@linux.ibm.com>
4268
4269 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4270 * sysdeps/s390/multiarch/ifunc-impl-list.c
4271 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4272 * sysdeps/s390/ifunc-strstr.h: New file.
4273 * sysdeps/s390/strstr.c: Likewise.
4274 * sysdeps/s390/strstr-c.c: Likewise.
4275 * sysdeps/s390/strstr-vx.c: Likewise.
4276
cdd927d9
SL
42772018-12-18 Stefan Liebler <stli@linux.ibm.com>
4278
4279 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4280 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4281 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4282 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4283 New defines.
4284 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4285 * sysdeps/s390/memmove-c.c: New file.
4286 * sysdeps/s390/memmove.c: Likewise.
4287 * sysdeps/s390/multiarch/ifunc-impl-list.c
4288 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4289
2ee1bc57
SL
42902018-12-18 Stefan Liebler <stli@linux.ibm.com>
4291
4292 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4293 * sysdeps/s390/configure.ac: Add check for z13 support.
4294 * sysdeps/s390/configure: Regenerated.
4295
d097d976
SL
42962018-12-18 Stefan Liebler <stli@linux.ibm.com>
4297
4298 * sysdeps/s390/memcopy.h: New file.
4299
e099aab0
SL
43002018-12-18 Stefan Liebler <stli@linux.ibm.com>
4301
4302 * sysdeps/s390/s390-32/bcopy.S: Remove.
4303 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4304
18eb862d
SL
43052018-12-18 Stefan Liebler <stli@linux.ibm.com>
4306
4307 * sysdeps/s390/ifunc-memcpy.h: New File.
4308 * sysdeps/s390/memcpy.S: Move to ...
4309 * sysdeps/s390/memcpy-z900.S ... here.
4310 Move implementations from memcpy-s390x.s to here.
4311 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4312 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4313 Remove memcpy/mempcpy variants.
4314 * sysdeps/s390/Makefile (sysdep_routines):
4315 Add memcpy/mempcpy variants.
4316 * sysdeps/s390/multiarch/ifunc-impl-list.c
4317 (__libc_ifunc_impl_list): Adjust ifunc variants for
4318 memcpy and mempcpy.
4319 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4320 to ...
4321 * sysdeps/s390/memcpy.c: ... here.
4322 Adjust ifunc variants for memcpy.
4323 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4324 * sysdeps/s390/mempcpy.c: ... here.
4325 Adjust ifunc variants for mempcpy.
4326 * sysdeps/s390/mempcpy.S: Delete file.
4327
df3eb8de
SL
43282018-12-18 Stefan Liebler <stli@linux.ibm.com>
4329
4330 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4331 * sysdeps/s390/memcpy.S: ... here.
4332 Adjust to be usable for 31/64bit.
4333 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4334 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4335 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4336 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4337 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4338 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4339 Adjust to be usable for 31/64bit.
4340 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4341 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4342 * sysdeps/s390/multiarch/memcpy.c: ... here.
4343 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4344
b7e024a8
SL
43452018-12-18 Stefan Liebler <stli@linux.ibm.com>
4346
4347 * sysdeps/s390/ifunc-memcmp.h: New File.
4348 * sysdeps/s390/memcmp.S: Move to ...
4349 * sysdeps/s390/memcmp-z900.S ... here.
4350 Move implementations from memcmp-s390x.s to here.
4351 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4352 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4353 Remove memcmp variants.
4354 * sysdeps/s390/Makefile (sysdep_routines):
4355 Add memcmp variants.
4356 * sysdeps/s390/multiarch/ifunc-impl-list.c
4357 (__libc_ifunc_impl_list): Adjust ifunc variants for
4358 memcmp.
4359 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4360 to ...
4361 * sysdeps/s390/memcmp.c: ... here.
4362 Adjust ifunc variants for memcmp.
4363
6c6b8c74
SL
43642018-12-18 Stefan Liebler <stli@linux.ibm.com>
4365
4366 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4367 * sysdeps/s390/memcmp.S: ... here.
4368 Adjust to be usable for 31/64bit.
4369 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4370 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4371 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4372 Remove memcmp.
4373 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4374 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4375 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4376 Adjust to be usable for 31/64bit.
4377 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4378 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4379 * sysdeps/s390/multiarch/memcmp.c: ... here.
4380 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4381
07be3928
SL
43822018-12-18 Stefan Liebler <stli@linux.ibm.com>
4383
4384 * sysdeps/s390/s390-32/bzero.S: Delete file.
4385 * sysdeps/s390/s390-64/bzero.S: Likewise.
4386 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4387 * sysdeps/s390/bzero.c: New file.
4388 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4389 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4390 * sysdeps/s390/multiarch/ifunc-impl-list.c
4391 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4392
712a254a
SL
43932018-12-18 Stefan Liebler <stli@linux.ibm.com>
4394
4395 * sysdeps/s390/ifunc-memset.h: New File.
4396 * sysdeps/s390/memset.S: Move to ...
4397 * sysdeps/s390/memset-z900.S ... here.
4398 Move implementations from memset-s390x.s to here.
4399 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4400 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4401 Remove memset variants.
4402 * sysdeps/s390/Makefile (sysdep_routines):
4403 Add memset variants.
4404 * sysdeps/s390/multiarch/ifunc-impl-list.c
4405 (__libc_ifunc_impl_list): Adjust ifunc variants for
4406 memset.
4407 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4408 to ...
4409 * sysdeps/s390/memset.c: ... here.
4410 Adjust ifunc variants for memset.
4411
5f1743d1
SL
44122018-12-18 Stefan Liebler <stli@linux.ibm.com>
4413
4414 * sysdeps/s390/s390-64/memset.S: Move to ...
4415 * sysdeps/s390/memset.S: ... here.
4416 Adjust to be usable for 31/64bit.
4417 * sysdeps/s390/s390-32/memset.S: Delete File.
4418 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4419 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4420 Remove memset.
4421 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4422 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4423 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4424 Adjust to be usable for 31/64bit.
4425 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4426 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4427 * sysdeps/s390/multiarch/memset.c: ... here.
4428 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4429
e8023f26
SL
44302018-12-18 Stefan Liebler <stli@linux.ibm.com>
4431
4432 * sysdeps/s390/multiarch/ifunc-resolve.h
4433 (s390_libc_ifunc_init, s390_libc_ifunc,
4434 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4435
b8686c0d
SL
44362018-12-18 Stefan Liebler <stli@linux.ibm.com>
4437
4438 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4439 * sysdeps/s390/configure.ac: Add check for z10 support.
4440 * sysdeps/s390/configure: Regenerated.
4441
cd815050
L
44422018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4443
4444 * sysdeps/i386/atomic-machine.h: Merged with ...
4445 * sysdeps/x86_64/atomic-machine.h: To ...
4446 * sysdeps/x86/atomic-machine.h: This. New file.
4447
053c52b1
FW
44482018-12-18 Florian Weimer <fweimer@redhat.com>
4449
4450 Rewrite locale/gen-translit.pl in Python.
4451 * locale/Makefile (generated): Add C-translit.h.
4452 (before-compile): Add $(objpfx)C-translit.h.
4453 (C-translit.h): Move to $(objpfx). Create target directory.
4454 Build using Python script.
4455 * locale/gen-translit.py: New file.
4456 * locale/gen-translit.pl: Remove file.
4457 * locale/C-translit.h.in: Change comment character to '#' for
4458 easier parsing without a C preprocessor.
4459 * locale/C-translit.h: Remove generated file.
4460 * manual/install.texi (Tools for Compilation): Do not mention
4461 C-translit.h.
4462 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4463 Remove locale/C-translit.h.
4464 * scripts/update-copyrights: Likewise.
4465 * INSTALL: Regenerate.
4466
40e6c1ec
FW
44672018-12-18 Florian Weimer <fweimer@redhat.com>
4468
4469 [BZ #23995]
4470 * localedata/locales/bi_VU: Remove executable bit from file.
4471
6b5c8607 44722018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
4473
4474 * include/time.h
4475 (__localtime64): Add.
4476 * manual/maint.texi: Document Y2038 symbol handling.
4477 * time/localtime.c
4478 (__localtime64): Add.
bfb79db4 4479 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 4480
df648905
JM
44812018-12-17 Joseph Myers <joseph@codesourcery.com>
4482
551e81d9
JM
4483 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4484 Do not clobber r12.
4485
df648905
JM
4486 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4487 to allow extra macros from first or second sources.
4488 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4489 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4490 (tests-special): Add $(objpfx)tst-mman-consts.out.
4491 ($(objpfx)tst-mman-consts.out): New makefile target.
4492
6bbfc5c0
MH
44932018-12-17 Mao Han <han_mao@c-sky.com>
4494
4495 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4496 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4497 without stat64 system call support.
4498 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4499 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4500 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4501 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4502 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4503 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4504 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4505 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4506 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4507 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4508 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4509
ef202e53
PE
45102018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4511
4512 regex: fix storage-exhaustion error
4513 [BZ #18040]
4514 * posix/regexec.c (get_subexp):
4515 Do not continue if storage is exhausted.
4516
077caf61
AG
45172018-12-15 Assaf Gordon <assafgordon@gmail.com>
4518
4519 regex: fix heap-use-after-free error
4520 [BZ #18040]
4521 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4522 https://debbugs.gnu.org/32592
4523 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4524 call extend_buffers which reallocates the re_string_t internal buffer.
4525 Local variable 'buf' was not updated in such case, resulting in
4526 use-after-free.
4527 * posix/regexec.c (get_subexp): Update 'buf' after call to
4528 get_subexp_sub.
4529
0c1719e6
FW
45302018-12-15 Florian Weimer <fweimer@redhat.com>
4531
4532 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4533 (minimum_stride_size): Use it.
4534 (support_blob_repeat_allocate): Likewise.
4535
033a2c0a
JM
45362018-12-14 Joseph Myers <joseph@codesourcery.com>
4537
4538 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4539 definition.
4540 (acosh): Likewise.
4541 (atanh): Likewise.
4542
e361dc04
FW
45432018-12-14 Florian Weimer <fweimer@redhat.com>
4544
4545 * manual/process.texi (Process Creation Concepts): Remove
4546 documentation of process (ID) lifetime. List more process
4547 creation functions. Reference Process Identification section.
4548 (Process Identification): Add information about process ID
4549 lifetime. Describe Linux thread/task IDs.
4550 * manual/signal.texi (Signaling Another Process): Mention that the
4551 signal is always sent to the process.
4552
bd51ff5e
GG
45532018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4554
4555 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4556 and tst-ldbl-efgcvt.
4557 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4558 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4559 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4560 (fcvt_tests, output_error, output_r_error, do_test): Use the
4561 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4562 select the type of floating-point variables and arguments; to
4563 produce extra tests for double and conversion specifiers for
4564 printf; and to set the names of called functions.
4565 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4566 in tst-efgcvt-template.c.
4567 * misc/tst-ldbl-efgcvt.c: Likewise.
4568
268bb71e
SL
45692018-12-14 Stefan Liebler <stli@linux.ibm.com>
4570
4571 * nss/Makefile (tst-nss-test3.out): New rule.
4572
db6df070
JM
45732018-12-13 Joseph Myers <joseph@codesourcery.com>
4574
4575 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4576 clobber sp.
4577
ade8b817
CD
45782018-12-13 fanjinke <fanjinke@hygon.cn>
4579
4580 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4581 "HygonGenuine".
4582
3d265911
AS
45832018-12-13 Andreas Schwab <schwab@suse.de>
4584
f21e8f8c 4585 [BZ #23861]
3d265911 4586 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
4587 (__pthread_rwlock_rdlock_full): Update expected value for
4588 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4589 * nptl/tst-rwlock-pwn.c: New file.
4590 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 4591
bf8ae8c0
JM
45922018-12-12 Joseph Myers <joseph@codesourcery.com>
4593
4594 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4595 definition.
4596
de099757
LS
45972018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4598
4599 * benchtests/scripts/compare_bench.py (do_compare): write to
4600 stderr in casestat is not present.
4601 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4602 stderr in case timings field is not present. Also string showing
4603 the output filename goes into the stderr.
4604
1990185f
LS
46052018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4606
4607 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4608 and ZeroDivisorError exceptions.
4609 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4610 argument to loop through user provided statistics.
4611 * benchtests/scripts/compare_bench.py (main): Include the --stats
4612 argument.
4613
587426d4
LS
46142018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4615
4616 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4617 instead of return.
4618
46703efa
FW
46192018-12-12 Florian Weimer <fweimer@redhat.com>
4620
4621 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4622 clause to copyright header.
4623
1d880d4a
TMQMF
46242018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4625
4626 [BZ #23614]
4627 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4628 registers saved in the stack frame.
4629 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4630 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4631
1a502f52
GG
46322018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4633
4634 * include/bits/monetary-ldbl.h: New file.
4635 * include/bits/printf-ldbl.h: Likewise.
4636 * include/bits/stdio-ldbl.h: Likewise.
4637 * include/bits/stdlib-ldbl.h: Likewise.
4638 * include/bits/syslog-ldbl.h: Likewise.
4639 * include/bits/wchar-ldbl.h: Likewise.
4640
df682d1d
GG
46412018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4642
4643 * libio/libio.h: Remove redirection for _IO_vfprintf.
4644
c2c082c1
AS
46452018-12-11 Andreas Schwab <schwab@suse.de>
4646
4647 * Makerules: Remove all references to abilist-pattern.
4648 (update-all-abi): Simplify find expression.
4649
505b5b29
SN
46502018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4651
4652 [BZ #23961]
4653 * math/auto-libm-test-in: Add new test case.
4654 * math/auto-libm-test-out-pow: Regenerated.
4655 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4656
304c61a2
DD
46572018-12-10 DJ Delorie <dj@redhat.com>
4658
4659 [BZ #23948]
4660 * support/test-container.c: Move postclean step to before we
4661 change namespaces.
4662
a8110b72
JM
46632018-12-10 Joseph Myers <joseph@codesourcery.com>
4664
cb7be159
JM
4665 * scripts/gen-as-const.py (main): Handle --python option.
4666 * scripts/gen-py-const.awk: Remove.
4667 * Makerules (py-const-script): Use gen-as-const.py.
4668 ($(py-const)): Likewise.
4669 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4670 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4671 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4672 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4673 ~PTHREAD_MUTEX_NO_ELISION_NP.
4674 * manual/README.pretty-printers: Update reference to
4675 gen-py-const.awk.
4676
a8110b72
JM
4677 * scripts/glibcextract.py: New file.
4678 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4679 or tempfile. Import glibcexctract.
4680 (compute_c_consts): Remove. Moved to glibcextract.py.
4681 (gen_test): Update reference to compute_c_consts.
4682 (main): Likewise.
4683 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4684 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4685 * sysdeps/unix/sysv/linux/Makefile
4686 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4687 Redirect stderr as well as stdout.
4688
f9ba9eb8
RÁE
46892018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4690
4691 [BZ #19767]
4692 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
4693 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4694 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 4695 ALWAYS_USE_VSYSCALL.
b39d961c 4696 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
4697 ALWAYS_USE_VSYSCALL.
4698 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4699 ALWAYS_USE_VSYSCALL.
4700
8d20a2f4
FW
47012018-12-10 Florian Weimer <fweimer@redhat.com>
4702
4703 [BZ #23972]
4704 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4705 offset instead of count for clarity. Fix typo in comment.
4706 (__old_getdents64): Keep track of previous offset. Use it to call
4707 handle_overflow.
4708 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4709 that d_off is never zero.
4710
80472e2f
AS
47112018-12-10 Andreas Schwab <schwab@suse.de>
4712
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4714 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4716 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4717 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4718
0afcb29d
JM
47192018-12-10 Joseph Myers <joseph@codesourcery.com>
4720
4721 * timezone/private.h: Update from tzcode 2018g.
4722 * timezone/tzfile.h: Likewise.
4723 * timezone/tzselect.ksh: Likewise.
4724 * timezone/zdump.c: Likewise.
4725 * timezone/zic.c: Likewise.
4726
b93f4052
PP
47272018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4728
4729 [BZ #23490]
4730 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4731 (do_test): Adjust buffer size and fix format.
4732
7c9a7c68
DD
47332018-12-07 DJ Delorie <dj@redhat.com>
4734
4735 [BZ #23907]
4736 * malloc/tst-tcfree3.c: New.
4737 * malloc/Makefile: Add it.
4738
37caec3a
L
47392018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4740
4741 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4742
10446f5d
GG
47432018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4744
4745 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4746 used as a mask for the mode argument of __vfscanf_internal and
4747 __vfwscanf_internal.
4748 * stdio-common/vfscanf-internal.c
4749 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4750 (__strtof128_internal): Define to __wcstof128_internal.
4751 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4752 __strtof128_internal or __wcstof128_internal when the format of
4753 long double is the same as _Float128.
4754
45f33aac
ST
47552018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4756
4757 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4758 * posix/confstr.c (confstr): Rename to __confstr.
4759 (__confstr): Add hidden def.
4760 (confstr): Add weak alias for __confstr.
4761 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4762 confstr.
4763
a092ca94
L
47642018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4765
4766 * NEWS: Mention getcpu.
4767 * include/sched.h (__getcpu): New libc_hidden_proto.
4768 * manual/resource.texi: Document getcpu.
4769 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4770 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4771 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4772 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4773 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4774 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4775 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4776 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4777 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4778 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4779 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4780 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4781 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4782 Likewise.
4783 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4784 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4785 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4787 Likewise.
4788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4789 Likewise.
4790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4791 Likewise.
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4793 Likewise.
4794 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4795 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4796 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4797 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4798 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4799 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4800 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4802 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4803 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4804 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4805 Also check getcpu.
4806
7c857b6f
ST
48072018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4808
4809 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4810 functions.
4811 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4812
3a3fb755
FW
48132018-12-07 Florian Weimer <fweimer@redhat.com>
4814
4815 [BZ #17405]
4816 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4817 * posix/Versions (GLIBC_2.29): Export
4818 posix_spawn_file_actions_addfchdir_np.
4819 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4820 * posix/spawn_faction_destroy.c
4821 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4822 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4823 and the field action.fchdir_action.
4824 * posix/tst-spawn-chdir.c (add_chdir): New function.
4825 (do_test): Add do_fchdir loop. Call add_chdir.
4826 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4827 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4828 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4829 posix_spawn_file_actions_addfchdir_np.
4830 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4831 Likewise.
4832 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4833 Likewise.
4834 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4835 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4836 Likewise.
4837 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4838 Likewise.
4839 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4840 Likewise.
4841 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4842 Likewise.
4843 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4844 Likewise.
4845 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4846 Likewise.
4847 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4848 (GLIBC_2.29): Likewise.
4849 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4850 (GLIBC_2.29): Likewise.
4851 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4852 (GLIBC_2.29): Likewise.
4853 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4854 (GLIBC_2.29): Likewise.
4855 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4856 Likewise.
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4858 (GLIBC_2.29): Likewise.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4860 (GLIBC_2.29): Likewise.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4862 (GLIBC_2.29): Likewise.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4864 (GLIBC_2.29): Likewise.
4865 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4866 Likewise.
4867 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4868 Likewise.
4869 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4870 Likewise.
4871 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4872 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4873 Likewise.
4874 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4875 Likewise.
4876 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4877 Likewise.
4878 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4879 Likewise.
4880
c37cd439
JM
48812018-12-06 Joseph Myers <joseph@codesourcery.com>
4882
4883 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4884 trailing whitespace removed.
4885 * scripts/config.guess: Update to version 2018-11-28.
4886 * scripts/config.sub: Update to version 2018-11-28.
4887 * scripts/install-sh: Update to version 2018-03-11.20.
4888 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4889 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4890
899478c2
FW
48912018-12-07 Florian Weimer <fweimer@redhat.com>
4892
4893 [BZ #23927]
4894 CVE-2018-19591
4895 * inet/tst-if_index-long.c: New file.
4896 * inet/Makefile (tests): Add tst-if_index-long.
4897
f255336a
FW
48982018-12-07 Florian Weimer <fweimer@redhat.com>
4899
4900 * support/check.h (support_record_failure_is_failed): Declare.
4901 * support/descriptors.h: New file.
4902 * support/support_descriptors.c: Likewise.
4903 * support/tst-support_descriptors.c: Likewise.
4904 * support/support_record_failure.c
4905 (support_record_failure_is_failed): New function.
4906 * support/Makefile (libsupport-routines): Add support_descriptors.
4907 (tests): Add tst-support_descriptors.
4908
35caceb1
ZW
49092018-12-05 Zack Weinberg <zackw@panix.com>
4910 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4911
4912 * stdio-common/vfprintf-internal.c
4913 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4914 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4915 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4916 and __no_long_double.
4917 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4918 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4919 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4920 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4921 and __nldbl_*syslog* functions.
4922 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4923 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4924 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4925 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4926 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4927 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4928 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4929 (__nldbl_vwprintf, __nldbl_wprintf):
4930 Directly call the appropriate __v*printf_internal routine, passing
4931 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4932 variable names.
4933 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4934 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4935 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4936 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4937 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4938 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4939 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4940 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4941 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4942 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4943 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4944 (__nldbl_syslog, __nldbl_vsyslog):
4945 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4946 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4947 appropriate.
4948 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4949 appropriate.
4950
4e2f43f8
ZW
49512018-12-05 Zack Weinberg <zackw@panix.com>
4952 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4953
4954 [BZ #11319]
4955 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4956 Moved here from debug/vsprintf_chk.c.
4957 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4958 and completion logic for the strfile to match exactly what
4959 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4960 _IO_str_init_static_internal instead of maxlen-1.
4961 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4962 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4963 __vsprintf_internal.
4964
4965 * debug/vsprintf_chk.c (__vsprintf_chk)
4966 * debug/sprintf_chk.c (__sprintf_chk):
4967 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4968 'flags' argument is positive, and slen as maxlen. No need to lock
4969 the FILE and/or construct a temporary FILE. Minimize and normalize
4970 header inclusions and variable names. Do not libc_hidden_def anything.
4971
4972 * debug/asprintf_chk.c (__asprintf_chk)
4973 * debug/dprintf_chk.c (__dprintf_chk)
4974 * debug/fprintf_chk.c (__fprintf_chk)
4975 * debug/fwprintf_chk.c (__fwprintf_chk)
4976 * debug/printf_chk.c (__printf_chk)
4977 * debug/snprintf_chk.c (__snprintf_chk)
4978 * debug/swprintf_chk.c (__swprintf_chk)
4979 * debug/vasprintf_chk.c (__vasprintf_chk)
4980 * debug/vdprintf_chk.c (__vdprintf_chk)
4981 * debug/vfprintf_chk.c (__vfprintf_chk)
4982 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4983 * debug/vprintf_chk.c (__vprintf_chk)
4984 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4985 * debug/vswprintf_chk.c (__vswprintf_chk)
4986 * debug/vwprintf_chk.c (__vwprintf_chk)
4987 * debug/wprintf_chk.c (__wprintf_chk):
4988 Directly call the corresponding vxxprintf_internal function, passing
4989 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4990 the FILE and/or construct a temporary FILE. Minimize and normalize
4991 header inclusions and variable names. Do not libc_hidden_def anything.
4992
4993 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4994 __obstack_vprintf_internal.
4995 (__obstack_vprintf_chk): Convert into a wrapper that calls
4996 __obstack_vprintf_internal (these two functions already had the
4997 same code) and move to new file...
4998 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4999 file.
5000 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5001 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5002 * debug/Makefile (routines): Add vobprintf_chk.
5003
5004 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5005 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5006 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5007 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5008 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5009 (__nldbl___obstack_vfprintf_chk):
5010 Directly call the corresponding vxxprintf_internal function,
5011 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5012 duplicate comparison of slen with 0 or maxlen from the corresponding
5013 non-__nldbl function.
5014
5015 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5016 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5017 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5018 Remove libc_hidden_proto.
5019
5020 * stdio-common/vfprintf-internal.c
5021 (__vfprintf_internal, __vfwprintf_internal):
5022 Do not check _IO_FLAGS2_FORTIFY.
5023 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5024 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5025 a comment explaining why it has the maxlen argument.
5026 (_IO_acquire_lock_clear_flags2_fct): Remove.
5027 (_IO_acquire_lock_clear_flags2): Remove.
5028 (_IO_release_lock): Remove conditional statement which will
5029 now never execute.
5030 (_IO_acquire_lock): Remove variable which is now unused.
5031 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5032 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5033
5034 * stdio-common/Makefile (tests): Add tst-bz11319 and
5035 tst-bz11319-fortify2.
5036 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5037 * stdio-common/tst-bz11319-fortify2.c: New file.
5038 * stdio-common/tst-bz11319.c: Likewise.
5039
124fc732
ZW
50402018-12-05 Zack Weinberg <zackw@panix.com>
5041 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5042
5043 * misc/syslog.c: Include libioP.h, not iolibio.h.
5044 (__vsyslog_internal): New function with the former body of
5045 __vsyslog_chk; takes mode_flags argument same as
5046 __v*printf_internal. Call __vfprintf_internal directly.
5047
5048 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5049 Remove libc_hidden_def.
5050 (__syslog, __syslog_chk): Use __vsyslog_internal.
5051 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5052
5053 * include/sys/syslog.h: Add multiple inclusion guard.
5054 Add prototype for __vsyslog_internal.
5055 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5056
5057 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5058 Use __vsyslog_internal.
5059
698fb75b
ZW
50602018-12-05 Zack Weinberg <zackw@panix.com>
5061 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5062
5063 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5064 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5065 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5066 New functions.
5067 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5068 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5069
5070 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5071 Include wctype.h here if COMPILE_WPRINTF is defined.
5072 Define __vfprintf_internal or __vfwprintf_internal, depending
5073 on COMPILE_WPRINTF.
5074 Temporarily, on entry to this function, update mode_flags
5075 according to the environmental settings corresponding to
5076 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5077 Throughout, check mode_flags instead of __ldbl_is_dbl and
5078 _IO_FLAGS2_FORTIFY on the destination FILE.
5079 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5080 Include vfprintf-internal.c. Don't include wctype.h.
5081 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5082 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5083 and vfprintf.
5084 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5085 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5086 and vfwprintf.
5087 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5088
5089 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5090 and add mode_flags argument; use __vfprintf_internal.
5091 (__vdprintf): New function. Alias vdprintf to this.
5092 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5093 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5094 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5095 (__obstack_printf): Use __obstack_printf_internal.
5096 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5097 public aliases __vsnprintf and vsnprintf.
5098 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5099 called internally.
5100 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5101 public aliases _IO_vsprintf and vsprintf.
5102 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5103 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5104 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5105 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5106 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5107
5108 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5109 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5110 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5111 * stdio-common/printf.c: Use __vfprintf_internal.
5112
5113 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5114 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5115 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5116
5117 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5118 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5119 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5120 __vfwprintf_internal.
5121
5122 * libio/libio.h: Remove libc_hidden_proto and declaration for
5123 _IO_vfprintf.
5124 Remove declaration of _IO_vfwprintf.
5125 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5126 _IO_vsprintf.
5127 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5128 _IO_obstack_printf.
5129 * include/stdio.h: Add prototype for __vasprintf.
5130 (__vsnprintf): Remove declaration, because there are no more
5131 internal calls.
5132 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5133 declaration, because there are no more internal calls.
5134
5135 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5136 __vsnprintf_internal, instead of _IO_vsnprintf.
5137 * argp/argp-help.c (__argp_error, __argp_failure): Use
5138 __vasprintf_internal, instead of _IO_vasprintf.
5139 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5140 redefine, because there are no more internal calls.
5141
d91798b3
ZW
51422018-12-05 Zack Weinberg <zackw@panix.com>
5143 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5144
5145 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5146 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5147 Include libio/strfile.h instead of libioP.h.
5148 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5149 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5150 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5151 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5152 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5153 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5154 necessary. Do not set __no_long_double. Normalize variable names.
5155 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5156 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5157 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5158 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5159 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5160 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5161 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5162 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5163 Do not set __no_long_double. Normalize variable names.
5164
b87eb3f8
ZW
51652018-12-05 Zack Weinberg <zackw@panix.com>
5166 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5167
5168 * stdio-common/isoc99_scanf.c
5169 * stdio-common/isoc99_fscanf.c
5170 * stdio-common/isoc99_sscanf.c
5171 * stdio-common/isoc99_vscanf.c
5172 * stdio-common/isoc99_vfscanf.c
5173 * stdio-common/isoc99_vsscanf.c
5174 * wcsmbs/isoc99_wscanf.c
5175 * wcsmbs/isoc99_fwscanf.c
5176 * wcsmbs/isoc99_swscanf.c
5177 * wcsmbs/isoc99_vwscanf.c
5178 * wcsmbs/isoc99_vfwscanf.c
5179 * wcsmbs/isoc99_vswscanf.c:
5180 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5181 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5182 No need to lock and unlock the FILE passed to that function.
5183
5184 * stdio-common/vfscanf-internal.c
5185 (__vfscanf_internal, __vfwscanf_internal):
5186 Don't look at _IO_FLAGS2_SCANF_STD.
5187 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5188 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5189 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5190
349718d4
ZW
51912018-12-05 Zack Weinberg <zackw@panix.com>
5192 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5193
5194 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5195 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5196 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5197 * libio/strfile.h: Add multiple inclusion guard.
5198 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5199
5200 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5201 consistency with the other version of this file.
5202 (ldbl_compat_symbol): New macro.
5203 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5204 New macro.
5205
5206 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5207 Define __vfscanf_internal or __vfwscanf_internal, depending on
5208 COMPILE_WSCANF; don't define any other public symbols.
5209 Remove errval and code to set errp.
5210 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5211 as the mode_flags argument.
5212 (encode_error, conv_error, input_error): Don't set errval.
5213 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5214 Include vfscanf-internal.c.
5215 * stdio-common/vfscanf.c: New file defining the public entry
5216 point vfscanf, which calls __vfscanf_internal.
5217 * stdio-common/vfwscanf.c: New file defining the public entry
5218 point vfwscanf, which calls __vfwscanf_internal.
5219
5220 * stdio-common/iovfscanf.c: New file.
5221 * stdio-common/iovfwscanf.c: Likewise.
5222
5223 * stdio-common/Makefile (routines): Add vfscanf-internal,
5224 vfwscanf-internal, iovfscanf, iovfwscanf.
5225 * stdio-common/Versions: Mention GLIBC_2.29, so that
5226 it can be used in SHLIB_COMPAT expressions.
5227 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5228 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5229 Call __vfscanf_internal, instead of _IO_vfscanf.
5230 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5231 _IO_vfscanf.
5232 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5233 _IO_vfwscanf.
5234
5235 * libio/iovsscanf.c: Clean up includes, when possible. Use
5236 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5237 __vfscanf_internal or __vfwscanf_internal directly.
5238 * libio/iovswscanf.c: Likewise.
5239 * libio/swscanf.c: Likewise.
5240 * libio/vscanf.c: Likewise.
5241 * libio/vwscanf.c: Likewise.
5242 * libio/wscanf.c: Likewise.
5243 * stdio-common/isoc99_fscanf.c: Likewise.
5244 * stdio-common/isoc99_scanf.c: Likewise.
5245 * stdio-common/isoc99_sscanf.c: Likewise.
5246 * stdio-common/isoc99_vfscanf.c: Likewise.
5247 * stdio-common/isoc99_vscanf.c: Likewise.
5248 * stdio-common/isoc99_vsscanf.c: Likewise.
5249 * stdio-common/scanf.c: Likewise.
5250 * stdio-common/sscanf.c: Likewise.
5251 * wcsmbs/isoc99_fwscanf.c: Likewise.
5252 * wcsmbs/isoc99_swscanf.c: Likewise.
5253 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5254 * wcsmbs/isoc99_vswscanf.c: Likewise.
5255 * wcsmbs/isoc99_vwscanf.c: Likewise.
5256 * wcsmbs/isoc99_wscanf.c: Likewise.
5257
6b5c8607 52582018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
5259
5260 * include/time.h
5261 (__tz_compute): Replace time_t with __time64_t.
5262 (__tz_convert): Replace time_t* with __time64_t.
5263 (__offtime): Replace time_t* with __time64_t.
5264 * time/gmtime.c
5265 (__gmtime_r): Adjust call to __tz_convert.
5266 (gmtime): Likewise.
5267 * time/localtime.c
5268 (__localtime_r): Likewise.
5269 (localtime): Likewise.
5270 * time/offtime.c: Replace time_t with __time64_t.
5271 * time/tzset.c: Likewise.
5272
bd598da9
JM
52732018-12-04 Joseph Myers <joseph@codesourcery.com>
5274
5275 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5276 dynamic linker unless [$(run-built-tests) = yes].
5277
b2e93de0
DD
52782018-12-03 DJ Delorie <dj@delorie.com>
5279
5280 * support/test-container.c (check_for_unshare_hints): New.
5281 (main): Call it if unshare fails. Add support for "su" scriptlet
5282 command.
5283
477a02f6
JM
52842018-12-03 Joseph Myers <joseph@codesourcery.com>
5285
5286 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5287 'START' to indicate that start text should be output.
5288 (gen_test): Likewise.
5289 (main): Generate 'START' for first symbol or '--' line, or at end
5290 of input if not previously generated.
5291
6af956e5
RÁE
52922018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5293
5294 [BZ #19767]
5295 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5296 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5297 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5298 ALWAYS_USE_VSYSCALL.
5299
f5ec0ea9
AZ
53002018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5301
5302 [BZ #23913]
5303 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5304 new_argv by one.
5305
8cebd4ff
CD
53062018-12-03 Carlos O'Donell <carlos@redhat.com>
5307
5308 [BZ #23923]
5309 * locale/programs/localedef.c: Declare boolean hard_links default true.
5310 (options): Add --no-hard-links option.
5311 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5312 * locale/programs/localedef.h: Declare prototype for hard_links.
5313 * locale/programs/locfile.c (write_locale_data): Don't use hard
5314 links if hard_links is false.
5315
c22e4c2a
L
53162018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5317
5318 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5319 cpu_features_basic.
5320 (__cache_sysconf): Likewise.
5321 (init_cacheinfo): Likewise.
5322 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5323 populate COMMON_CPUID_INDEX_80000007 and
5324 COMMON_CPUID_INDEX_80000008.
5325 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5326 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5327 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5328 (init_cpu_features): Use _Static_assert on
5329 index_arch_Fast_Unaligned_Load.
5330 __get_cpuid_registers and __get_arch_feature. Updated for
5331 cpu_features_basic. Set stepping in cpu_features.
5332 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5333 (FEATURE_INDEX_2): New.
5334 (FEATURE_INDEX_MAX): Changed to enum.
5335 (COMMON_CPUID_INDEX_D_ECX_1): New.
5336 (COMMON_CPUID_INDEX_80000007): Likewise.
5337 (COMMON_CPUID_INDEX_80000008): Likewise.
5338 (cpuid_registers): Likewise.
5339 (cpu_features_basic): Likewise.
5340 (CPU_FEATURE_USABLE): Likewise.
5341 (bit_arch_XXX_Usable): Likewise.
5342 (cpu_features): Use cpuid_registers and cpu_features_basic.
5343 (bit_arch_XXX): Reweritten.
5344 (bit_cpu_XXX): Likewise.
5345 (index_cpu_XXX): Likewise.
5346 (reg_XXX): Likewise.
5347 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5348 <support/check.h>.
5349 (CHECK_CPU_FEATURE): New.
5350 (CHECK_CPU_FEATURE_USABLE): Likewise.
5351 (cpu_kinds): Likewise.
5352 (do_test): Print vendor, family, model and stepping. Check
5353 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5354 (TEST_FUNCTION): Removed.
5355 Include <support/test-driver.c> instead of
5356 "../../test-skeleton.c".
5357 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5358 Check POPCNT instead of POPCOUNT.
5359 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5360
7b36d26b
ST
53612018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5362
5363 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5364 there is no element in `consts'.
5365
02cd5c1a
FW
53662018-12-01 Florian Weimer <fweimer@redhat.com>
5367
5368 * support/support_capture_subprocess.c
5369 (support_capture_subprocess): Check that pipe descriptors have
5370 expected values. Close original pipe descriptors in subprocess.
5371
fc493bc9
ST
53722018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5373
5374 [BZ #23032]
5375 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5376 attr with __pthread_default_barrierattr.
5377 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5378 attr with __pthread_default_condattr.
5379 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5380 attr with __pthread_default_mutexattr.
5381 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5382 attr with __pthread_default_rwlockattr.
5383
6310e6be
KW
53842018-12-01 Kemi Wang <kemi.wang@intel.com>
5385
5386 * manual/tunables.texi (POSIX Thread Tunables): New node.
5387 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5388 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5389 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5390 __pthread_tunables_init.
5391 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5392 (max_adaptive_count): Define.
5393 * nptl/pthread_mutex_conf.c: New file.
5394 * nptl/pthread_mutex_conf.h: New file.
5395 * sysdeps/generic/adaptive_spin_count.h: New file.
5396 * sysdeps/nptl/dl-tunables.list: New file.
5397 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5398 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5399 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5400 Likewise.
5401
8e67b39e
PP
54022018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5403
5404 [BZ #20544]
5405 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5406 * stdlib/on_exit.c (__on_exit): Likewise.
5407 * stdlib/Makefile (tests): Add tst-bz20544.
5408 * stdlib/tst-bz20544.c: New test.
5409
15b8d67e
RÁE
54102018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5411
5412 [BZ #19767]
5413 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5414 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5415 New.
5416
5e63c240
FW
54172018-11-30 Florian Weimer <fweimer@redhat.com>
5418
5419 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5420 Extend error logging.
5421 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5422 symbol.
5423
71058602 54242018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 5425
5fb7fc96
AZ
5426 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5427 __sigismember instead of sigismember.
5428 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5429 cancel_handler): New definitions.
5430 (do_system): Use posix_spawn instead of fork and execl and remove
5431 reentracy code.
5432 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5433 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5434 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5435 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5437 * sysdeps/unix/sysv/linux/system.c: Likewise.
5438
14d0e87d
AZ
5439 [BZ #22834]
5440 [BZ #17490]
5441 * NEWS: Add new semantic for atfork with popen and system.
5442 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5443 fork and execl.
5444
e5d262ef
TMQMF
54452018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5446
5447 [BZ #23690]
5448 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5449 modification order when accessing reloc_result->addr.
5450 * include/link.h (reloc_result): Add field init.
5451 * nptl/Makefile (tests): Add tst-audit-threads.
5452 (modules-names): Add tst-audit-threads-mod1 and
5453 tst-audit-threads-mod2.
5454 Add rules to build tst-audit-threads.
5455 * nptl/tst-audit-threads-mod1.c: New file.
5456 * nptl/tst-audit-threads-mod2.c: Likewise.
5457 * nptl/tst-audit-threads.c: Likewise.
5458 * nptl/tst-audit-threads.h: Likewise.
5459
7e1d4240
JM
54602018-11-30 Joseph Myers <joseph@codesourcery.com>
5461
5462 * scripts/gen-as-const.py: New file.
5463 * scripts/gen-as-const.awk: Remove.
5464 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5465 gen-as-const.py.
5466 ($(objpfx)test-as-const-%.c): Likewise.
5467
ce7387cc
L
54682018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5469
5470 * elf/dl-exception.c: Include <_itoa.h>.
5471
c6a5bdc1
ST
54722018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5473
5474 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5475 returned by __f_setlk.
5476
a5275ba5
L
54772018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5478 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5479
5480 * elf/Makefile (tests-internal): Add tst-create_format1.
5481 * elf/dl-exception.c (_dl_exception_create_format): Support
5482 %x, %lx and %zx.
5483 * elf/tst-create_format1.c: New file.
5484
3a67e81d
CAC
54852018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5486
5487 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5488 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5489 gnulib.)
5490 * argp/argp-help.c (__argp_failure): Likewise.
5491
4975f0c3
MH
54922018-11-29 Mao Han <han_mao@c-sky.com>
5493
5494 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5495 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5496 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5497 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5498 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5499 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5500 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5501 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5502 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5503 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5504 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5505 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5506 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5507 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5508 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5509 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5510 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5511 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5512 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5513 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5514 (R_CKCORE_TLS_TPOFF32): New defines.
5515
250102c8
FW
55162018-11-29 Florian Weimer <fweimer@redhat.com>
5517
5518 * posix/Makefile (before-compile): Remove testcases.h and
5519 ptestcases.h.
5520 (generated): Add testcases.h and ptestcases.h.
5521 (testcases.h, ptestcases.h): Move to $(objpfx).
5522 (runtests.o): Add dependency on testcases.h.
5523 (runptests.o): Add dependency on ptestcases.h.
5524 * posix/testcases.h, posix/ptestcases.h: Remove files.
5525 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5526 not touch posix/testcases.h and posix/ptestcases.h.
5527
96cd0558
FW
55282018-11-28 Florian Weimer <fweimer@redhat.com>
5529
5530 support: Add signal support to support_capture_subprocess_check.
5531 * support/capture_subprocess.h (support_capture_subprocess_check):
5532 Adjust comment and rename parameter.
5533 * support/support_capture_subprocess_check.c
5534 (print_actual_status): New function.
5535 (support_capture_subprocess_check): Support negative
5536 status_or_signal. Call print_actual_status.
5537 * support/tst-support_capture_subprocess.c (do_test): Call
5538 support_capture_subprocess_check.
5539 * libio/tst-vtables-common.c (termination_status)
5540 (init_termination_status): Remove.
5541 (check_for_termination): Adjust support_capture_subprocess_check
5542 call.
5543 (do_test): Remove call to init_termination_status.
5544
530504e3
JM
55452018-11-28 Joseph Myers <joseph@codesourcery.com>
5546
5547 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5548 source directory instead of a copy.
5549 (CommandList.create_copy_dir): Remove.
5550
9a0b6970
SL
55512018-11-28 Stefan Liebler <stli@linux.ibm.com>
5552
5553 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5554
47d8d9a2
FW
55552018-11-28 Florian Weimer <fweimer@redhat.com>
5556
5557 * support/support.h (support_quote_string): Do not use str
5558 parameter name.
5559
b473b7d8
JM
55602018-11-27 Joseph Myers <joseph@codesourcery.com>
5561
5562 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5563 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5564
c74a91de
FW
55652018-11-27 Florian Weimer <fweimer@redhat.com>
5566
5567 * support/support.h (support_quote_string): Declare.
5568 * support/support_quote_string.c: New file.
5569 * support/tst-support_quote_string.c: Likewise.
5570 * support/Makefile (libsupport-routines): Add
5571 support_quote_string.
5572 (tests): Add tst-support_quote_string.
5573
d527c860
FW
55742018-11-27 Florian Weimer <fweimer@redhat.com>
5575
5576 [BZ #23927]
5577 CVE-2018-19591
5578 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5579 descriptor leak in case of ENODEV error.
5580
979cfed0
RÁE
55812018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5582
5583 [BZ #19767]
5584 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5585 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5586 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5587
ce035c6e
CD
55882018-11-26 Carlos O'Donell <carlos@redhat.com>
5589
5590 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5591 Error for unknown lines.
5592
2bd0bfcc
JM
55932018-11-26 Joseph Myers <joseph@codesourcery.com>
5594
5595 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5596 Touch additional files.
5597
affec03b
FW
55982018-11-26 Florian Weimer <fweimer@redhat.com>
5599
5600 [BZ #23907]
5601 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5602 double-frees.
5603
8ae74ead
RÁE
56042018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5605
5606 [BZ #19767]
5607 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5608 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5609 SHARED. Include sysdep.h.
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5611 ALWAYS_USE_VSYSCALL.
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5613 ALWAYS_USE_VSYSCALL.
5614
1e8bdc3a
RÁE
56152018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5616
5617 [BZ #19767]
5618 * nptl/Makefile (tests-static): Add tst-cond11-static.
5619 (tests): Likewise.
5620 * nptl/tst-cond11-static.c: New File.
5621 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5622 tst-affinity-static.
5623 (tests): Likewise.
5624 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5625 instead of SHARED.
5626 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5627 (USE_VSYSCALL): Likewise.
5628 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5629 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5630 instead of SHARED.
5631 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5632 SHARED.
5633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5634 New.
5635
1283c478
JM
56362018-11-23 Joseph Myers <joseph@codesourcery.com>
5637
5638 [BZ #23915]
5639 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5640 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5641 Undefine.
5642
c089fd80
L
56432018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5644
5645 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5646 (tst-cet-legacy-1a-ARGS): New.
5647 ($(objpfx)tst-cet-legacy-1a): New target.
5648 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5649
cc6c89fa
JM
56502018-11-22 Joseph Myers <joseph@codesourcery.com>
5651
95edd05c
JM
5652 * conform/conformtest.py (CompileSubTest.__init__): Set
5653 self.run_early to False.
5654 (ExecuteSubTest.__init__): Likewise.
5655 (HeaderTests.run): Try running all non-optional, non-XFAILed
5656 compilation tests in a single execution of the compiler.
5657
cc6c89fa
JM
5658 * conform/conformtest.py (CompileSubTest): New class.
5659 (ExecuteSubTest): Likewise.
5660 (ElementTest.run): Rename to gen_subtests. Append tests to
5661 self.subtests instead of running them.
5662 (ConstantTest.run): Likewise.
5663 (SymbolTest.run): Likewise.
5664 (TypeTest.run): Likewise.
5665 (TagTest.run): Likewise.
5666 (FunctionTest.run): Likewise.
5667 (VariableTest.run): Likewise.
5668 (MacroFunctionTest.run): Likewise.
5669 (MacroStrTest.run): Likewise.
5670 (HeaderTests.handle_test_line): Generate subtests for tests.
5671 (HeaderTests.run): Run subtests for tests.
5672
a502c529
SN
56732018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5674
5675 * math/Versions (GLIBC_2.29): Add pow.
5676 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5677 symbol.
5678 * math/w_pow.c: New file.
5679 * sysdeps/i386/fpu/w_pow.c: New file.
5680 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5682 and add necessary aliases.
5683 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5684 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5685 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5686 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5687 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5688 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5689 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5690 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5691 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5692 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5693 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5694 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5695 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5696 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5697 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5702 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5703 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5704 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5705 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5706 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5707 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5708 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5709 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5710 __pow.
5711 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5712 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5713 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5714
718d6542
SN
57152018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5716
5717 * math/Versions (GLIBC_2.29): Add log2.
5718 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5719 symbol.
5720 * math/w_log2.c: New file.
5721 * sysdeps/i386/fpu/w_log2.c: New file.
5722 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5723 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5724 and add necessary aliases.
5725 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5726 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5727 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5728 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5729 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5730 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5731 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5732 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5733 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5734 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5735 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5736 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5737 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5738 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5739 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5744 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5745 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5746 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5747 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5748 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5749 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5750 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5751
f29b7c49
SN
57522018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5753
5754 * math/Versions (GLIBC_2.29): Add log.
5755 * math/w_log_compat.c (__log_compat): Change to versioned compat
5756 symbol.
5757 * math/w_log.c: New file.
5758 * sysdeps/i386/fpu/w_log.c: New file.
5759 * sysdeps/ia64/fpu/e_log.S: Update.
5760 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5761 and add necessary aliases.
5762 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5763 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5764 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5765 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5766 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5767 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5768 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5769 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5770 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5771 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5772 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5773 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5774 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5775 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5776 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5781 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5782 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5783 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5784 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5785 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5786 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5787 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5788 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5789 __log.
5790 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5791 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5792 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5793 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5794
c20a1056
SN
57952018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5796
5797 * math/Versions (GLIBC_2.29): Add exp and exp2.
5798 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5799 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5800 * math/w_exp_compat.c (__exp_compat): Likewise.
5801 * math/w_exp.c: New file.
5802 * math/w_exp2.c: New file.
5803 * sysdeps/i386/fpu/w_exp.c: New file.
5804 * sysdeps/i386/fpu/w_exp2.c: New file.
5805 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5806 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5807 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5808 and add necessary aliases.
5809 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5810 and add necessary aliases.
5811 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5812 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5813 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5814 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5815 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5816 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5817 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5818 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5819 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5820 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5821 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5822 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5823 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5824 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5825 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5826 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5827 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5832 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5833 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5834 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5835 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5836 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5837 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5838 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5839 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5840 (__ieee754_exp): Rename to __exp.
5841 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5842 (__ieee754_exp): Rename to __exp.
5843 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5844 (__ieee754_exp): Rename to __exp.
5845 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5846 __exp.
5847 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5848
bcdaad21
DD
58492018-11-20 DJ Delorie <dj@redhat.com>
5850
5851 * malloc/malloc.c (tcache_entry): Add key field.
5852 (tcache_put): Set it.
5853 (tcache_get): Likewise.
5854 (_int_free): Check for double free in tcache.
5855 * malloc/tst-tcfree1.c: New.
5856 * malloc/tst-tcfree2.c: New.
5857 * malloc/Makefile: Run the new tests.
5858 * manual/probes.texi: Document memory_tcache_double_free probe.
5859
5860 * dlfcn/dlerror.c (check_free): Prevent double frees.
5861
5770c0ad
WD
58622018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5863
5864 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5865
9a62a939
JM
58662018-11-20 Joseph Myers <joseph@codesourcery.com>
5867
5868 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5869 in tests. Use names for format arguments.
5870 (ConstantTest.run): Likewise.
5871 (SymbolTest.run): Likewise.
5872 (TypeTest.run): Likewise.
5873 (TagTest.run): Likewise.
5874 (FunctionTest.run): Likewise.
5875 (VariableTest.run): Likewise.
5876 (MacroFunctionTest.run): Likewise.
5877 (MacroStrTest.run): Likewise.
5878 (HeaderTests.__init__): Set self.num_tests.
5879 (HeaderTests.handle_test_line): Set test.num. Increment
5880 self.num_tests.
5881
b15b1a95
ST
58822018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5883
5884 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5885 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5886 SEEK_SET.
5887
0c7f97ae
MH
58882018-11-19 Mao Han <han_mao@c-sky.com>
5889
5890 * scripts/config.guess: Update to version 2018-08-29.
5891 * scripts/config.sub: Update to version 2018-08-29.
5892
35e3fbc4
FW
58932018-11-19 Florian Weimer <fweimer@redhat.com>
5894
5895 support: Print timestamps in timeout handler.
5896 * support/support_test_main.c (print_timestamp): New function.
5897 (signal_handler): Use it to print the termination time and the
5898 time of the last write to standard output.
5899
c75772e3
ZW
59002018-11-16 Zack Weinberg <zackw@panix.com>
5901 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5902
5903 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5904 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5905 argument.
5906 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5907 and add flags argument. Check flags instead of __ldbl_is_dbl when
5908 deciding whether to set is_long_double.
5909 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5910 passing zero for flags argument.
5911 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5912
5913 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5914 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5915 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5916 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5917 variable names. Remove libc_hidden_def/libc_hidden_proto from
5918 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5919 longer called from within the library.
5920 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5921 for __nldbl___vstrfmon_l, declare it explicitly.
5922
5923 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5924
346ef23f
ST
59252018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5926
5927 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5928 macros
5929 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5930 F_SETLK64, F_SETLKW64, respectively.
5931 * sysdeps/mach/hurd/f_setlk.c: New file.
5932 * sysdeps/mach/hurd/f_setlk.h: New file.
5933 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5934 f_setlk.
5935 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5936 (__libc_fcntl): Move non-flock operations to...
5937 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5938 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5939
de20b81a
PE
59402018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5941
5d8af156
PE
5942 mktime: DEBUG_MKTIME cleanup
5943 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5944 And it’s no longer needed now that glibc and Gnulib both have
5945 their own testing mechanisms for mktime.
5946 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5947
86aece3b
PE
5948 mktime: fix non-EOVERFLOW errno handling
5949 [BZ#23789]
5950 mktime was not properly reporting failures when the underlying
5951 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5952 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5953 The problem could happen on non-glibc platforms, with Gnulib.
5954 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5955 (tm_diff): ... this simpler function, which does not change errno.
5956 All callers changed to deal with errno themselves.
5957 (ranged_convert, __mktime_internal): Return failure immediately if
5958 the underlying function reports any failure other than EOVERFLOW.
5959 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5960 gap code fails.
5961
f6b3331b
PE
5962 mktime: fix bug with Y2038 DST transition
5963 [BZ#23789]
5964 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5965 mishandle a DST transition that jumps over the Y2038 boundary.
5966 No such DST transitions are known so this is only a theoretical
5967 bug, but we might as well do things right.
5968
efbdddc3
PE
5969 mktime: make more room for overflow
5970 [BZ#23789]
5971 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5972 This is so that we can add tm_diff results to a previous guess,
5973 which will be useful in a later patch.
5974
6c90d759
PE
5975 mktime: simplify offset guess
5976 [BZ#23789]
5977 * time/mktime.c (__mktime_internal): Omit excess precision.
5978
32c12f3f
PE
5979 mktime: new test for mktime failure
5980 [BZ#23789]
5981 Based on a test suggested by Albert Aribaud in:
5982 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5983 * time/Makefile (tests): Add bug-mktime4.
5984 * time/bug-mktime4.c: New file.
5985
de20b81a
PE
5986 mktime: fix EOVERFLOW bug
5987 [BZ#23789]
5988 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5989 Include libc-config.h, not config.h, for __set_errno.
5990 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5991
8c6c3fb0
ST
59922018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5993
5994 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5995 __attribute_copy__ to copy attributes from name. Drop static qualifier
5996 to avoid warnings about leaf attribute not having effect on static
5997 functions.
5998
6923f6db
FW
59992018-11-13 Florian Weimer <fweimer@redhat.com>
6000
6001 * malloc/malloc.c (fastbin_push_entry): New function.
6002 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6003 (REMOVE_FB): Remove macro.
6004 (_int_malloc): Use fastbin_pop_entry and reindent.
6005 (_int_free): Use fastbin_push_entry.
6006 (malloc_consolidate): Use atomic_exchange_acquire.
6007
53f5c659
JM
60082018-11-13 Joseph Myers <joseph@codesourcery.com>
6009
0c096dcf
JM
6010 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6011 alias attribute, not with strong_alias.
6012
9c4b457e
JM
6013 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6014 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6015 with additional parameter thread.
6016 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6017 in terms of __hidden_ver2.
6018 (hidden_tls_def): New macro.
6019 (libc_hidden_tls_def): Likewise.
6020 (rtld_hidden_tls_def): Likewise.
6021 (libm_hidden_tls_def): Likewise.
6022 (libmvec_hidden_tls_def): Likewise.
6023 (libresolv_hidden_tls_def): Likewise.
6024 (librt_hidden_tls_def): Likewise.
6025 (libdl_hidden_tls_def): Likewise.
6026 (libnss_files_hidden_tls_def): Likewise.
6027 (libnsl_hidden_tls_def): Likewise.
6028 (libnss_nisplus_hidden_tls_def): Likewise.
6029 (libutil_hidden_tls_def): Likewise.
6030 (libutil_hidden_tls_def): Likweise.
6031 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6032 libc_hidden_tls_def.
6033 (__sim_disabled_exceptions_thread): Likewise.
6034 (__sim_round_mode_thread): Likewise.
6035
53f5c659
JM
6036 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6037 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6038 copy attributes from name.
6039
092dfde6
JM
60402018-11-12 Joseph Myers <joseph@codesourcery.com>
6041
f578f97b
JM
6042 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6043 Use __attribute_copy__ to copy attributes from name.
6044
9a7c643a
JM
6045 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6046 with __hidden_ver1 call.
6047 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6048 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6049 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6050 (__cosf): Do not declare here.
6051 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6052 (__sincosf): Do not declare here.
6053 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6054 (__sinf): Do not declare here.
6055
092dfde6
JM
6056 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6057 (__BIG_ENDIAN): Likewise.
6058 (__BYTE_ORDER): Likewise.
6059 (strong_alias): Likewise.
6060 (_strong_alias): Likewise.
6061
1ecba1fa
FW
60622018-11-12 Florian Weimer <fweimer@redhat.com>
6063
6064 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6065 function. Move after the definition of in_smallbin_range. Do not
6066 use __builtin_expect for paths that lead to a noreturn function.
6067 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6068 because it is unclear whether this is in fact an unlikely
6069 condition.
6070 (_int_malloc, _int_free): Adjust.
6071 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6072 variables.
6073 * malloc/arena.c (heap_trim): Likewise.
6074
434c34bd
ST
60752018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6076
6077 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6078 it, free it if needed.
6079 (reauthenticate): Test and use ccwdir.
6080 (child_init_port): In non-resetids case, test and use ccwdir.
6081 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
6082 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6083 * hurd/hurd/port.h (_hurd_port_move): New function.
6084 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6085 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
6086 * hurd/Versions (_hurd_port_move): Export function.
6087 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6088 symbol.
58bb655a
ST
6089 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6090 of dtablesize for allocating dtable_cloexec.
434c34bd 6091
1626a1cf
MS
60922018-11-09 Martin Sebor <msebor@redhat.com>
6093
6094 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6095 it's already defined.
6096 (_strong_alias): Use __attribute_copy__.
6097 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6098 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6099 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6100 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6101 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6102 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6103 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6104 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6105 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6106 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6107 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6108 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6109 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6110 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6111 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6112 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6113 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6114 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6115 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6116
968ed530
GG
61172018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6118
6119 * misc/tst-efgcvt.c: Include support/check.h and
6120 support/test-driver.c. Do not include test-skeleton.c.
6121 (error_count): Remove.
6122 (output_error): Replace increments to error_count with calls to
6123 support_record_failure.
6124 (output_r_error): Likewise.
6125 (special): Likewise.
6126 (do_test): Unconditionally return zero.
6127 (TEST_FUNCTION): Remove.
6128
c3ec0972
JM
61292018-11-09 Joseph Myers <joseph@codesourcery.com>
6130
91faaa93
JM
6131 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6132 not $(@D)/scratch.
6133 ($(linknamespace-header-tests)): Likewise.
6134
c3ec0972
JM
6135 * conform/conformtest.py: New file.
6136 * conform/conformtest.pl: Remove.
6137 * conform/GlibcConform.pm: Likewise.
6138 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6139 (KEYWORDS_C99): Likewise.
6140 (KEYWORDS): Likewise.
6141 * conform/Makefile ($(conformtest-header-tests)): Use
6142 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6143 option. Use --header instead of --headers.
6144 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6145 function entries.
6146 * conform/data/spawn.h-data: Likewise.
6147 * conform/data/fcntl.h-data (openat): Add space after function
6148 name.
6149 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6150 (wcscasecmp_l): Likewise.
6151 * conform/data/termios.h-data (c_cc): Add space after element
6152 name.
6153
43257c33
GG
61542018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6155
6156 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6157 instead of manually comparing and reporting mismatching strings.
6158 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6159 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6160
e5de3b5b
JM
61612018-11-08 Joseph Myers <joseph@codesourcery.com>
6162
6163 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6164 __ASSUME_SOCKETCALL.
6165 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6166 (__ASSUME_SOCKETCALL): Remove.
6167 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6168 (__ASSUME_SOCKETCALL): Likewise.
6169 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6170 (__ASSUME_SOCKETCALL): Likewise.
6171 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6172 (__ASSUME_SOCKETCALL): Likewise.
6173 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6174 (__ASSUME_SOCKETCALL): Likewise.
6175 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6176 (__ASSUME_SOCKETCALL): Likewise.
6177 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6178 (__ASSUME_SOCKETCALL): Likewise.
6179
d524fa6c
L
61802018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6181
6182 [BZ #23509]
6183 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6184 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6185 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6186 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6187 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6188 lc_unknown.
6189
ac806026
AH
61902018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6191
6192 [BZ #17630]
6193 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6194
596cc360
JM
61952018-11-07 Joseph Myers <joseph@codesourcery.com>
6196
6197 [BZ #23867]
6198 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6199 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6200 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6201 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6202
00c86a37
AZ
62032018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6204
6205 * support/support_test_compare_string.c
6206 (support_test_compare_string): Fix printf format.
6207
1df872fd
FW
62082018-11-07 Florian Weimer <fweimer@redhat.com>
6209
6210 Implement TEST_COMPARE_STRING.
6211 * support/check.h (TEST_COMPARE_STRING): Define.
6212 (support_test_compare_string): Declare.
6213 * support/Makefile (libsupport-routines): Add
6214 support_test_compare_string.
6215 (tests): Add tst-test_compare_string.
6216 * support/support_test_compare_string.c: New file.
6217 * support/tst-test_compare_string.c: Likewise.
6218
295132ff
AS
62192018-11-07 Andreas Schwab <schwab@suse.de>
6220
6221 [BZ #23864]
6222 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6223 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6224 Undef.
6225
e143ceba
JM
62262018-11-06 Joseph Myers <joseph@codesourcery.com>
6227
6228 [BZ #23862]
6229 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6230 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6231 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6232 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6233 Likewise.
6234
4a938cb2
FW
62352018-11-06 Florian Weimer <fweimer@redhat.com>
6236
6237 [BZ #17405]
6238 * posix/Makefile (routines): Add spawn_faction_addchdir.
6239 (tests): Add tst-spawn-chdir.
6240 * posix/Versions (GLIBC_2.29): Add
6241 posix_spawn_file_actions_addchdir_np.
6242 * posix/spawn_faction_addchdir.c: New file.
6243 * posix/spawn_faction_destroy.c
6244 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6245 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6246 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6247 chdir_action.
6248 * posix/tst-spawn-chdir.c: New file.
6249 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6250 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6251 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6252 posix_spawn_file_actions_addchdir_np.
6253 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6254 Likewise.
6255 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6256 Likewise.
6257 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6258 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6259 Likewise.
6260 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6261 Likewise.
6262 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6263 Likewise.
6264 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6265 Likewise.
6266 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6267 Likewise.
6268 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6269 Likewise.
6270 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6271 (GLIBC_2.29): Likewise.
6272 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6273 (GLIBC_2.29): Likewise.
6274 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6275 (GLIBC_2.29): Likewise.
6276 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6277 (GLIBC_2.29): Likewise.
6278 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6279 Likewise.
6280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6281 (GLIBC_2.29): Likewise.
6282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6283 (GLIBC_2.29): Likewise.
6284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6285 (GLIBC_2.29): Likewise.
6286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6287 (GLIBC_2.29): Likewise.
6288 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6289 Likewise.
6290 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6291 Likewise.
6292 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6293 Likewise.
6294 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6295 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6296 Likewise.
6297 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6298 Likewise.
6299 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6300 Likewise.
6301 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6302 Likewise.
6303
7597b0c7
GG
63042018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6305
6306 * misc/Makefile (tests): Add tst-ldbl-error.
6307 * misc/tst-ldbl-error.c: New file.
6308
9771e6cb
GG
63092018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6310
6311 * misc/Makefile (tests): Add tst-ldbl-warn.
6312 * misc/tst-ldbl-warn.c: New file.
6313
2c03961f
GG
63142018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6315
6316 * argp/Makefile (tests): Add tst-ldbl-argp.
6317 * argp/tst-ldbl-argp.c: New file.
6318
6d6ee046
AS
63192018-11-05 Arjun Shankar <arjun@redhat.com>
6320
6321 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6322 __gconv_path_elem and call __gconv_get_path unconditionally.
6323
bd3b0fba
AS
63242018-11-05 Andreas Schwab <schwab@suse.de>
6325
6326 [BZ #22927]
6327 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6328 creating the first helper thread failed.
6329
2e96e980
ST
63302018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6331
6332 * sysdeps/mach/hurd/msync.c: New file.
6333
6e36266c
FW
63342018-11-02 Florian Weimer <fweimer@redhat.com>
6335
6336 * support/shell-container.c (copy_func): Call
6337 support_copy_file_range instead of copy_file_range to support
6338 cross-device copies.
6339
599f7bee
FW
63402018-11-02 Florian Weimer <fweimer@redhat.com>
6341
6342 * support/test-container.c: Include <libc-pointer-arith.h> for
6343 ALIGN_UP.
6344
ff48ea67
ZL
63452018-11-01 Zong Li <zong@andestech.com>
6346
af1d5782
ZL
6347 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6348 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6349 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6350 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6351
ff48ea67
ZL
6352 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6353 variable to avoid overlap arguments.
6354
daea71c2
JM
63552018-11-01 Joseph Myers <joseph@codesourcery.com>
6356
eac4405a
JM
6357 * posix/bug-regex22.c (main): Use puts with distinct error
6358 messages for unexpected success of re_compile_pattern, not printf
6359 with NULL argument to %s.
6360
6f30e59f
JM
6361 * stdio-common/bug22.c: Include <libc-diag.h>.
6362 (do_test): Disable -Wformat-overflow= warnings around fprintf
6363 calls outputting more than INT_MAX characters.
6364 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6365 around printf call with NULL %s argument.
6366
daea71c2
JM
6367 [BZ #23848]
6368 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6369 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6370 Undefine.
6371 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6372 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6373 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6374 (__ASSUME_SENDTO_SYSCALL): Likewise.
6375 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6376 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6377 [!__arch64__].
6378 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6379 (__ASSUME_CONNECT_SYSCALL): Likewise.
6380 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6381 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6382 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6383 Define.
6384 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6385 Likewise.
6386 [__LINUX_KERNEL_VERSION >= 0x040400]
6387 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6388 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6389 Remove.
6390 (listen): Likewise.
6391 (setsockopt): Likewise.
6392
8e3c00db
FN
63932018-11-01 Fredrik Noring <noring@nocrew.org>
6394
6395 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6396 with the ISA override.
6397
9c3dbdbe
RAE
63982018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6399
6400 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6401 #endif.
6402
e3a88b3e
ST
64032018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6404
a67377e7 6405 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 6406 translate the error message.
a67377e7
ST
6407 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6408 printing trailing whitespaces refused by git.
6409 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6410 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 6411 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 6412
3ca235ed
JM
64132018-10-30 Joseph Myers <joseph@codesourcery.com>
6414
6415 * conform/linknamespace.py: New file.
6416 * conform/linknamespace.pl: Remove file.
6417 * conform/Makefile ($(linknamespace-header-tests)): Use
6418 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6419 option.
6420
60708030
FW
64212018-10-30 Florian Weimer <fweimer@redhat.com>
6422
6423 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6424 memory leaks.
6425
a91e9301
FW
64262018-10-30 Florian Weimer <fweimer@redhat.com>
6427
6428 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6429
07da99aa
FW
64302018-10-30 Florian Weimer <fweimer@redhat.com>
6431
6432 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6433 support_blob_repeat.
6434
f5e7e959
FW
64352018-10-30 Florian Weimer <fweimer@redhat.com>
6436
6437 Avoid spurious test failures in stdlib/test-bz22786.
6438 * support/Makefile (libsupport-routines): Add blob_repeat.
6439 (tests): Add tst-support_blob_repeat.
6440 * support/blob_repeat.h: New file.
6441 * support/blob_repeat.c: Likewise.
6442 * support/tst-support_blob_repeat.c: Likewise.
6443 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6444 support_blob_repeat_allocate.
6445
2dd12baa
AS
64462018-10-30 Andreas Schwab <schwab@suse.de>
6447
6448 [BZ #23125]
6449 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6450 Don't use tail call.
6451 * elf/tst-unwind-main.c: New file.
6452 * elf/Makefile (tests): Add tst-unwind-main.
6453 (CFLAGS-tst-unwind-main.c): Define.
6454
6b5c8607 64552018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
6456
6457 [BZ #23791]
6458 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6459 n_cs_precedes to 0.
6460 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6461
c6982f7e
JM
64622018-10-29 Joseph Myers <joseph@codesourcery.com>
6463
954cf3c2
JM
6464 * conform/glibcconform.py: Do not import shutil.
6465 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6466 of mkdtemp.
6467
c6982f7e
JM
6468 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6469 critic_missing for versions before 3.4.
6470 * configure: Regenerated.
6471 * manual/install.texi (Tools for Compilation): Document
6472 requirement for Python to build glibc.
6473 * INSTALL: Regenerated.
6474 * Rules [PYTHON]: Make code unconditional.
6475 * benchtests/Makefile [PYTHON]: Likewise.
6476 * conform/Makefile [PYTHON]: Likewise.
6477 * manual/Makefile [PYTHON]: Likewise.
6478 * math/Makefile [PYTHON]: Likewise.
6479
46a7f24c
ST
64802018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6481
6482 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 6483 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 6484 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
6485 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6486 _hurd_intr_rpc_msg_about_to global point to start of controlled
6487 assembly snippet. Make it check canceled flag.
6488 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6489 the _hurd_intr_rpc_msg_about_to point.
6490 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6491 issue, remove cancel flag check.
46a7f24c 6492
e5b8756d
JM
64932018-10-26 Joseph Myers <joseph@codesourcery.com>
6494
6495 * scripts/build-many-glibcs.py: Remove compatibility for missing
6496 os.cpu_count and re.fullmatch.
6497
ba5b14c7
SN
64982018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6499
6500 [BZ #23822]
6501 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6502 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6503 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6504
fe61f17c
JM
65052018-10-25 Joseph Myers <joseph@codesourcery.com>
6506
6507 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6508 macro.
6509
7c5e34d7
FW
65102018-10-25 Florian Weimer <fweimer@redhat.com>
6511
6512 [BZ #23562]
6513 [BZ #23821]
6514 XFAIL siginfo_t si_band conform test on sparc64.
6515 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6516 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6517 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6518 (conformtest-xfail-conds): Add sparc64-linux.
6519 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6520 sparc64.
6521 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6522
5b784e88
JM
65232018-10-25 Joseph Myers <joseph@codesourcery.com>
6524
6525 * elf/elf.h (NT_MIPS_DSP): New macro.
6526 (NT_MIPS_FP_MODE): Likewise.
6527
41432ebe
ZL
65282018-10-25 Zong Li <zong@andestech.com>
6529
6530 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6531 name by adding the file extension (.so).
6532
d026efea
ST
65332018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6534
6535 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6536 (test-xfail-ISO11/threads.h/linknamespace,
6537 test-xfail-ISO11/threads.h/conform): Add.
6538
b71ac2b9
JM
65392018-10-24 Joseph Myers <joseph@codesourcery.com>
6540
6541 * math/gen-libm-test.py: Import os.
6542 (ALL_FLOATS_MANUAL): New constant.
6543 (ALL_FLOATS_SUFFIX): Likewise.
6544 (Ulps.all_functions): New function.
6545 (real_all_ulps): Likewise.
6546 (generate_err_table_sub): Likewise.
6547 (generate_err_table): Likewise.
6548 (main): Handle -s and -m options.
6549 * manual/libm-err-tab.pl: Remove.
6550 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6551 instead of libm-err-tab.pl.
6552 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6553 != no].
6554 * manual/install.texi (Tools for Compilation): Document
6555 requirement for Python to build manual.
6556 * INSTALL: Regenerated.
6557
6b5c8607 65582018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
6559
6560 * bits/time64.h: New file.
6561 * include/time.h: Replace internal_time_t with __time64_t.
6562 * posix/bits/types (__time64_t): Add.
6563 * stdlib/Makefile: Add bits/time64.h to includes.
6564 * time/tzfile.c: Replace internal_time_t with __time64_t.
6565
97d91fcc 65662018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
6567
6568 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6569 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6570 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6571 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6572 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6573 prototype.
6574 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6575 * posix/spawn_faction_addclose.c
6576 (__posix_spawn_file_actions_addclose): Add hidden definition.
6577 * posix/spawn_faction_adddup2.c
6578 (__posix_spawn_file_actions_adddup2): Likewise.
6579 * posix/spawn_faction_destroy.c
6580 (__posix_spawn_file_actions_destroy): Likewise.
6581 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6582 Likewise.
6583 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6584 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6585 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6586 Likewise.
6587 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6588 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6589 Likewise.
6590
2954daf0
AS
65912018-10-24 Andreas Schwab <schwab@suse.de>
6592
6593 [BZ #18093]
6594 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6595 format cache.
6596 * elf/cache.c (print_cache): Likewise.
6597
6b5c8607 65982018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
6599
6600 * bits/timesize.h: New file.
6601 * stdlib/Makefile (headers): Add bits/timesize.h.
6602 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6603 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6604 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6605 (__SEM_PAD_AFTER_TIME): Likewise.
6606 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6607 (__SHM_PAD_AFTER_TIME): Likewise.
6608 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6609 (__MSQ_PAD_BEFORE_TIME): Likewise.
6610 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6611 (__SEM_PAD_BEFORE_TIME): Likewise.
6612 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6613 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6614 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
6615 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6616 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6617 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
6618 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6619 (__SEM_PAD_BEFORE_TIME): Likewise.
6620 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6621 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6622 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6623 (__MSQ_PAD_BEFORE_TIME): Likewise.
6624 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6625 (__SEM_PAD_BEFORE_TIME): Likewise.
6626 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6627 (__SHM_PAD_BEFORE_TIME): Likewise.
6628 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6629 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6630 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6631
7cc65773
L
66322018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6633
6634 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6635 USE_RDTSCP is defined.
6636 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6637 USE_RDTSCP is defined.
6638
c3d8dc45
AZ
66392018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6640
18ad0de6
AZ
6641 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6642 defined.
6643
c3d8dc45
AZ
6644 [BZ #23709]
6645 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6646 independently of other flags.
6647
f1034472
FW
66482018-10-23 Florian Weimer <fweimer@redhat.com>
6649
6650 * time/tst-mktime2.c (N_STRINGS): Remove.
6651 (set_timezone): New function.
6652 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6653 (mktime_test1): Report localtime failure and check errno value.
6654 Use TEST_COMPARE.
6655 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6656 (do_test): Remove alarm call. Use set_timezone and array_length.
6657
367d7cc2
AS
66582018-10-23 Andreas Schwab <schwab@suse.de>
6659
6660 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6661 (__start_context): Use END instead of PSEUDO_END.
6662
be8ff03f
JM
66632018-10-22 Joseph Myers <joseph@codesourcery.com>
6664
029ad711
JM
6665 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6666 version to 4.19.
6667
8190520f
JM
6668 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6669 version to 4.19.
6670
be8ff03f
JM
6671 [BZ #23793]
6672 * wcsmbs/c32rtomb.c: New file.
6673 * wcsmbs/mbrtoc32.c: Likewise.
6674 * wcsmbs/tst-c32-state.c: Likewise.
6675 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6676 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6677 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6678 (tests): Add tst-c32-state.
6679 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6680 $(gen-locales).
6681
2dd8e58c
L
66822018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6683
6684 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6685 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6686
d0a74159
JM
66872018-10-19 Joseph Myers <joseph@codesourcery.com>
6688
6689 [BZ #23794]
6690 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6691 pair and return 0 in that case, and use saved character to
6692 interpret following character.
6693 * wcsmbs/tst-c16-surrogate.c: New file.
6694 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6695 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6696 Depend on $(gen-locales)
6697
f997b4be
IYM
66982018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6699
6700 [BZ #23562]
6701 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6702 (struct siginfo_t): Use correct type for si_band.
6703
53b2bb87
FW
67042018-10-19 Florian Weimer <fweimer@redhat.com>
6705
6706 [BZ #23689]
6707 * resource/bits/types/struct_rusage.h (struct rusage): Update
6708 comment on struct. Remove extraneous field comment.
6709
0a271c8f
DM
67102018-10-18 David S. Miller <davem@davemloft.net>
6711
94a3a27f
DM
6712 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6713 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6714 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6715 sysdep_routines in subdir elf.
6716 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6717 version for __vdso_clock_gettime.
6718 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6719 Define.
6720 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6721 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6722
0a271c8f
DM
6723 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6724
72771e53
L
67252018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6726
6727 * sysdeps/i386/init-arch.h: Removed.
6728 * sysdeps/i386/i586/init-arch.h: Likewise.
6729 * sysdeps/i386/i686/init-arch.h: Likewise.
6730 * sysdeps/i386/i686/hp-timing.h: Likewise.
6731 * sysdeps/x86_64/hp-timing.h: Likewise.
6732 * sysdeps/i386/isa.h: New file.
6733 * sysdeps/i386/i586/isa.h: Likewise.
6734 * sysdeps/i386/i686/isa.h: Likewise.
6735 * sysdeps/x86_64/isa.h: Likewise.
6736 * sysdeps/x86/hp-timing.h: New file.
6737 * sysdeps/x86/init-arch.h: Include <isa.h>.
6738
c2b7ccad
JM
67392018-10-17 Joseph Myers <joseph@codesourcery.com>
6740
6741 * math/libm-test-pow.inc (pow_test_data): Do not allow
6742 divide-by-zero exception for pow(+/- 0, -Inf).
6743
26756e57
ZW
67442018-10-17 Zack Weinberg <zackw@panix.com>
6745
6746 * manual/job.texi (Job Control is Optional): Remove node, as
6747 job control has not been optional in quite some time.
6748 (Job Control): Mention briefly that systems older than
6749 POSIX.1-2001 might not support job control.
6750 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6751 defined on systems conforming to POSIX.1-2001.
6752
c5288d37
AS
67532018-10-17 Arjun Shankar <arjun@redhat.com>
6754
6755 [BZ #22062]
6756 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6757 indentation.
6758 * (__gconv_read_conf): Mark function static.
6759 * (once): New static variable.
6760 * (__gconv_load_conf): New function.
6761 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6762 * iconv/gconv_db.c (once): Remove static variable.
6763 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6764 __gconv_read_conf.
6765 * (__gconv_find_transform): Likewise.
6766 * iconv/tst-iconv-mt.c: New test.
6767 * iconv/Makefile: Add tst-iconv_mt.
6768
8c8d2a8a
JM
67692018-10-17 Joseph Myers <joseph@codesourcery.com>
6770
6771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
6772 bits/shm-pad.h.
6773 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6774 (shmatt_t): Define as __syscall_ulong_t.
6775 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6776 and [__SHM_PAD_AFTER_TIME].
6777 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6778 Define shm_segsz and associated padding based on
6779 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6780 Use __syscall_ulong_t instead of unsigned long int.
6781 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6782 unsigned long int.
6783 [__USE_MISC] (struct shm_info): Likewise.
6784 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6785 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6786 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6787 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6788 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6789 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6790 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6791 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6792 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6793 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6794 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6795
6796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
6797 bits/shmlba.h.
6798 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6799 (SHMLBA): Remove macro.
6800 (__getpagesize): Remove function declaration.
6801 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6802 <bits/shmlba.h>.
6803 (SHMLBA): Remove macro.
6804 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6805 <bits/shmlba.h>.
6806 (SHMLBA): Remove macro.
6807 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6808 <bits/shmlba.h>.
6809 (SHMLBA): Remove macro.
6810 (__getpagesize): Remove function declaration.
6811 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6812 <bits/shmlba.h>.
6813 (SHMLBA): Remove macro.
6814 (__getshmlba): Remove function declaration.
6815 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6816 (SHMLBA): Remove macro.
6817 (__getpagesize): Remove function declaration.
6818 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6819 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6820 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6821 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6822 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6823 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6824 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6825 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6826 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6827 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6828
403b4feb
SL
68292018-10-17 Stefan Liebler <stli@linux.ibm.com>
6830
6831 [BZ #23275]
6832 * nptl/tst-mutex10.c: New File.
6833 * nptl/Makefile (tests): Add tst-mutex10.
6834 (tst-mutex10-ENV): New variable.
6835 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6836 Ensure that elision path is used if elision is available.
6837 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6838 Likewise.
6839 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6840 Likewise.
6841 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6842 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6843 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6844 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6845 Likewise.
6846 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6847 (__pthread_mutex_cond_lock_adjust): Likewise.
6848 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6849 Likewise.
6850 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6851 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6852 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6853 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6854 Add comments.
6855 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6856 Use atomic_load_relaxed and atomic_store_relaxed.
6857 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6858 Use atomic_store_relaxed.
6859
ce5a7de6
AS
68602018-10-17 Andreas Schwab <schwab@suse.de>
6861
6862 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6863 * crypt/badsalttest.c (TIMEOUT): Likewise.
6864 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6865 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6866 * io/test-lfs.c (TIMEOUT): Likewise.
6867 * libio/tst-atime.c (TIMEOUT): Likewise.
6868 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6869 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6870 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6871 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6872 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6873 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6874 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6875 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6876 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6877 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6878 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6879 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6880 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6881 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6882 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6883 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6884 * nptl/tst-once2.c (TIMEOUT): Likewise.
6885 * nptl/tst-once3.c (TIMEOUT): Likewise.
6886 * nptl/tst-once4.c (TIMEOUT): Likewise.
6887 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6888 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6889 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6890 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6891 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6892 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6893 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6894 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6895 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6896 * posix/tst-chmod.c (TIMEOUT): Likewise.
6897 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6898 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6899 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6900 * posix/tst-regex2.c (TIMEOUT): Likewise.
6901 * posix/tst-waitid.c (TIMEOUT): Likewise.
6902 * rt/tst-aio.c (TIMEOUT): Likewise.
6903 * rt/tst-aio10.c (TIMEOUT): Likewise.
6904 * rt/tst-aio4.c (TIMEOUT): Likewise.
6905 * rt/tst-aio5.c (TIMEOUT): Likewise.
6906 * rt/tst-aio6.c (TIMEOUT): Likewise.
6907 * rt/tst-aio64.c (TIMEOUT): Likewise.
6908 * rt/tst-aio7.c (TIMEOUT): Likewise.
6909 * rt/tst-aio9.c (TIMEOUT): Likewise.
6910 * rt/tst-clock.c (TIMEOUT): Likewise.
6911 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6912 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6913 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6914 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6915 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6916 * rt/tst-timer4.c (TIMEOUT): Likewise.
6917 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6918 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6919 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6920 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6921 * time/tst-ftime.c (TIMEOUT): Likewise.
6922 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6923
6b5c8607 69242018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
6925
6926 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6927 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6928 for thunderX2.
6929
bcdb1bfa
JM
69302018-10-15 Joseph Myers <joseph@codesourcery.com>
6931
6932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6933 bits/sem-pad.h.
6934 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6935 instead of <bits/wordsize.h>.
6936 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6937 and [__SEM_PAD_AFTER_TIME].
6938 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6939 __syscall_ulong_t instead of unsigned long int.
6940 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6941 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6942 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6943 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6944 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6945 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6946 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6947 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6948 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6949 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6950 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6951
f4efbdfb
PE
69522018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6953
620a5d4c
PE
6954 regex: simplify by using intprops.h
6955 [BZ#23744]
6956 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6957 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6958 intprops.h defines them.
6959
f4efbdfb
PE
6960 regex: __builtin_expect → __glibc_unlikely
6961 [BZ#23744]
6962 This refactoring was prompted by a problem when the regex code is
6963 used as part of Gnulib and when the builder’s compiler does not grok
6964 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6965 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6966 Although this refactoring does not fix the problem directly,
6967 we might as well have Gawk use the now-preferred glibc style for when
6968 __builtin_expect is unavailable.
6969 * posix/regex_internal.h (BE): Remove.
6970 All uses replaced by __glibc_unlikely or __glibc_likely.
6971
9f9feb6d
JM
69722018-10-11 Joseph Myers <joseph@codesourcery.com>
6973
6974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6975 bits/msq-pad.h.
6976 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6977 instead of <bits/wordsize.h>.
6978 (msgqnum_t): Define as __syscall_ulong_t.
6979 (msglen_t): Likewise.
6980 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6981 and [__MSQ_PAD_AFTER_TIME].
6982 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6983 __syscall_ulong_t instead of unsigned long int.
6984 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6985 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6986 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6987 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6988 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6989 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6990 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6991 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6992 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6993 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6994 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6995
b9c0f6c1
JM
69962018-10-10 Joseph Myers <joseph@codesourcery.com>
6997
2a4b25fa
JM
6998 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6999 (struct shmid_ds): Condition padding after time fields on
7000 [__WORDSIZE == 32].
7001 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7002 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7003 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7004
19e62f26
JM
7005 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7006 (struct semid_ds): Condition padding after time fields on
7007 [__WORDSIZE == 32].
7008 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7009 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7010 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7011 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7012
b9c0f6c1
JM
7013 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7014 (struct msqid_ds): Condition padding after time fields on
7015 [__WORDSIZE == 32].
7016 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7017 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7018 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7019 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7020
97785a61
SN
70212018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7022
7023 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7024
ed643089
SN
70252018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7026
7027 * libio/tst-readline.c (TIMEOUT): Define.
7028
5a580643
PE
70292018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7030
7031 mktime fix for Gnulib + coreutils
7032 [BZ#23745]
7033 This fix affects only Gnulib. Problem discovered when
7034 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7035 * time/mktime.c:
7036 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7037 Do not define since it is not used. Defining an unused static
7038 function prompts a warning from GCC when Coreutils is configured
7039 with --enable-gcc-warnings.
7040
c892ae04
LS
70412018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7042
7043 * benchtests/scripts/compare_bench.py (main): set float type on
7044 threshold argument.
7045
a68ec8ea
RL
70462018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7047
7048 [BZ #23740]
7049 * localedata/locales/kl_GL (mon): Update, the relative case.
7050 (alt_mon): Add, fill with month names in the nominative case.
7051 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7052 (d_fmt): Set to "%b %d %Y".
7053
a1987621
JM
70542018-10-04 Joseph Myers <joseph@codesourcery.com>
7055
47c49251
JM
7056 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7057 <bits/mman-linux.h>.
7058 (PROT_READ): Don't define here.
7059 (PROT_WRITE): Likewise.
7060 (PROT_EXEC): Likewise.
7061 (PROT_NONE): Likewise.
7062 (PROT_GROWSDOWN): Likewise.
7063 (PROT_GROWSUP): Likewise.
7064 (MAP_SHARED): Likewise.
7065 (MAP_PRIVATE): Likewise.
7066 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7067 [__USE_MISC] (MAP_FILE): Likewise.
7068 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7069 [__USE_MISC] (MAP_ANON): Likewise.
7070 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7071 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7072 (MCL_CURRENT): Likewise.
7073 (MCL_FUTURE): Likewise.
7074 (MCL_ONFAULT): Likewise.
7075 [__USE_MISC] (MADV_NORMAL): Likewise.
7076 [__USE_MISC] (MADV_RANDOM): Likewise.
7077 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7078 [__USE_MISC] (MADV_WILLNEED): Likewise.
7079 [__USE_MISC] (MADV_DONTNEED): Likewise.
7080 [__USE_MISC] (MADV_FREE): Likewise.
7081 [__USE_MISC] (MADV_REMOVE): Likewise.
7082 [__USE_MISC] (MADV_DONTFORK): Likewise.
7083 [__USE_MISC] (MADV_DOFORK): Likewise.
7084 [__USE_MISC] (MADV_HWPOISON): Likewise.
7085 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7086 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7087 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7088 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7089 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7090 (__MAP_ANONYMOUS): New macro.
7091 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7092 <bits/mman-linux.h> inclusion.
7093 (MAP_FIXED): Likewise.
7094 (MS_SYNC): Likewise.
7095 (MS_ASYNC): Likewise.
7096 (MS_INVALIDATE): Likewise.
7097 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7098 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7099 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7100 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7101 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7102 [__USE_MISC] (MADV_DODUMP): Likewise.
7103 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7104 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7105
a1987621
JM
7106 [BZ #23735]
7107 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7108 Define.
7109 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7110 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7111 Add test-nldbl-redirect.
7112 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7113 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7114 $(objpfx)libnldbl_nonshared.a.
7115
e7624d70
SL
71162018-10-04 Stefan Liebler <stli@linux.ibm.com>
7117
7118 * support/support.h (support_objdir_elf_ldso): New variable.
7119 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7120 * support/Makefile (CFLAGS-support_paths.c): Add definition
7121 for OBJDIR_ELF_LDSO_PATH.
7122 * support/test-container.c (main): Search for the ld.so
7123 which is also used by the testsuite.
7124
dae3ed95
RL
71252018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7126
7127 [BZ #20209]
7128 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7129 should be "sap" rather than "sab".
7130 (day): Fix spelling of Sunday, should be "sapaat" rather than
7131 "sabaat".
7132
f346b5b3
JM
71332018-10-02 Joseph Myers <joseph@codesourcery.com>
7134
7135 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7136
4a06ceea
MJ
71372018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7138
7139 [BZ #19444]
7140 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7141 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7142 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7143
a06fc4a5
AZ
71442018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7145
7146 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7147
a1ccc065
L
71482018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7149
7150 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7151 Add -mrtm.
7152 (CFLAGS-elision-unlock.c): Likewise.
7153 (CFLAGS-elision-timed.c): Likewise.
7154 (CFLAGS-elision-trylock.c): Likewise.
7155 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7156
0b727ed4
AZ
71572018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7158
7159 [BZ #21037]
7160 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7161 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7162 new fd_to_filename interface.
7163 * libio/freopen64.c (freopen64): Likewise.
7164 * libio/tst-memstream.h: New file.
7165 * libio/tst-memstream4.c: Likewise.
7166 * libio/tst-wmemstream4.c: Likewise.
7167 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7168 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7169 and remove internal dynamic allocation.
7170
d0e91e8c
JM
71712018-10-01 Joseph Myers <joseph@codesourcery.com>
7172
7173 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7174 (MREMAP_MAYMOVE): Do not define here.
7175 [__USE_GNU] (MREMAP_FIXED): Likewise.
7176 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7177 (MREMAP_MAYMOVE): Define here instead.
7178 [__USE_GNU] (MREMAP_FIXED): Likewise.
7179 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7180 (MREMAP_MAYMOVE): Remove.
7181 [__USE_GNU] (MREMAP_FIXED): Likewise.
7182
c52944e8
JM
71832018-09-28 Joseph Myers <joseph@codesourcery.com>
7184
7185 * math/fromfp.h: Do not include <math_private.h>.
7186 * math/s_cacosh_template.c: Likewise.
7187 * math/s_casin_template.c: Likewise.
7188 * math/s_casinh_template.c: Likewise.
7189 * math/s_ccos_template.c: Likewise.
7190 * math/s_cproj_template.c: Likewise.
7191 * math/s_fdim_template.c: Likewise.
7192 * math/s_fmaxmag_template.c: Likewise.
7193 * math/s_fminmag_template.c: Likewise.
7194 * math/s_iseqsig_template.c: Likewise.
7195 * math/s_ldexp_template.c: Likewise.
7196 * math/s_nextdown_template.c: Likewise.
7197 * math/w_log1p_template.c: Likewise.
7198 * math/w_scalbln_template.c: Likewise.
7199 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7200 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7201 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7202 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7203 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7204 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7205 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7206 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7207 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7208 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7209 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7210 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7211 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7212 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7213 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7214 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7215 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7216 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7217 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7218 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7219 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7220 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7221 * sysdeps/ieee754/k_standardf.c: Likewise.
7222 * sysdeps/ieee754/k_standardl.c: Likewise.
7223 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7225 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7227 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7228 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7231 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7232 * sysdeps/ieee754/s_signgam.c: Likewise.
7233 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7234 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7235 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7236 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7237 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7238 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7239 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7240 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7241 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7242 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7243 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7244 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7245 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7246 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7247 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7248 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7249 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7250 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7251 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7252 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7253 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7254 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7255 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7256 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7257 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7258 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7259 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7260 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7261 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7262 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7263 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7264 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7265 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7266 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7267 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7268 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7269 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7270 <math_private.h>.
7271 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7272
7b1f9406
L
72732018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7274
7275 [BZ #23716]
7276 * sysdeps/i386/dl-cet.c: Removed.
7277 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7278 prototype.
7279 (_dl_runtime_profile_shstk): Likewise.
7280 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7281 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7282
7a16bdbb
AZ
72832018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7284
7285 [BZ #23579]
7286 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7287 do_test_with_invalid_iov): New tests.
7288 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7289 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7290 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7291 errno is ENOSYS.
7292 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7293 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7294 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7295
9755bc46
JM
72962018-09-27 Joseph Myers <joseph@codesourcery.com>
7297
81dca813
JM
7298 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7299 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7300 (MATH_REDIRECT_BINARY_ARGS): New macro.
7301 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7302 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7303 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7304 header inclusion.
7305 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7306 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7307 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7308 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7313 Likewise.
7314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7315 Likewise.
7316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7318 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7319 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7321 Likewise.
7322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7323 Likewise.
7324 * sysdeps/generic/math_private_calls.h
7325 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7326 Do not declare and define as an inline function.
7327 * math/divtc3.c (__divtc3): Use copysign functions instead of
7328 __copysign variants.
7329 * math/multc3.c (__multc3): Likewise.
7330 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7331 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7332 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7333 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7334 Likewise.
7335 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7336 (__ieee754_yn): Likewise.
7337 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7338 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7339 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7340 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7341 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7342 (__sin): Likewise.
7343 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7344 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7345 Likewise.
7346 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7347 Likewise.
7348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7349 Likewise.
7350 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7351 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7352 Likewise.
7353 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7354 (__ieee754_ynf): Likewise.
7355 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7356 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7357 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7358 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7359 Likewise.
7360 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7361 (__ieee754_ynl): Likewise.
7362 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7363 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7364 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7365 Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7367 (__ieee754_ynl): Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7371 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7372 Likewise.
7373 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7374 (__ieee754_ynl)
7375 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7376 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7377 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7378 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7379 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7380
9755bc46
JM
7381 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7382 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7383 using MATH_REDIRECT.
7384 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7385 header inclusion.
7386 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7388 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7389 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7390 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7397 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7398 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7400 (round): Redirect to __round.
7401 (__roundl): Call round instead of __round.
7402 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7403 Remove macro.
7404 [_ARCH_PWR5X] (__roundf): Likewise.
7405 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7406 functions instead of __round variants.
7407 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7408 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7409 Likewise.
7410 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7411 Likewise.
7412 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7413 Likewise.
7414 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7415 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7416 __lroundl.
7417 (__ieee754_expl): Call roundl instead of __roundl.
7418
f841c97e
AS
74192018-09-27 Andreas Schwab <schwab@suse.de>
7420
7421 [BZ #23717]
7422 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7423 (do_test): Make st1 static.
7424
6ca8284e
AS
74252018-09-26 Andreas Schwab <schwab@suse.de>
7426
7427 [BZ #23707]
7428 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7429 * elf/Makefile (tests): Add tst-unwind-ctor.
7430 (modules-names): Add tst-unwind-ctor-lib.
7431 ($(objpfx)tst-unwind-ctor): Depend on
7432 $(objpfx)tst-unwind-ctor-lib.so.
7433
61d8b5fe
JM
74342018-09-26 Joseph Myers <joseph@codesourcery.com>
7435
7436 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7437 file. Most contents moved from ....
7438 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7439 and include <bits/mman-map-flags-generic.h>.
7440 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7441 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7442 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7443 <bits/mman-map-flags-generic.h>.
7444 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7445 macros defined in <bits/mman-map-flags-generic.h>.
7446 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7447 <bits/mman-map-flags-generic.h>.
7448 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7449 defined in <bits/mman-map-flags-generic.h>.
7450
46341286
AS
74512018-09-26 Andreas Schwab <schwab@suse.de>
7452
7453 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7454 output.
7455
b5c45e83
AZ
74562018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7457 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7458 Fangrui Song <maskray@google.com>
7459
7460 [BZ #20480]
7461 * config.make.in (have-textrel_ifunc): New define.
7462 * configure.ac: Add check if linker supports textrel relocation with
7463 ifunc.
7464 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7465 tst-ifunc-textrel.
7466 (CFLAGS-tst-ifunc-textrel.c): New rule.
7467 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7468 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7469 * elf/tst-ifunc-textrel.c: New file.
7470
8ea4d2b7
JM
74712018-09-25 Joseph Myers <joseph@codesourcery.com>
7472
d62f9ec0
JM
7473 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7474 <bits/procfs-prregset.h>.
7475 (prgregset_t): Define using __prgregset_t.
7476 (prfpregset_t): Define using __prfpregset_t.
7477 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7478 (sysdep_headers): Add bits/procfs-prregset.h.
7479 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7480 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7481 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7482 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7483
d0d8eb43
JM
7484 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7485 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7486 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7487 pr_uid and pr_gid.
7488 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7489 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7490 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7491 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7492 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7493 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7494 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7495 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7496 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7497 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7498 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7499 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7500 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7501 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7502 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7503 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7504 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7505 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7506 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7507 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7508 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7509 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7510 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7511 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7512
8ea4d2b7
JM
7513 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7514 AArch64 version. Include <bits/procfs.h>.
7515 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7516 (sysdep_headers): Add bits/procfs.h.
7517 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7518 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7519 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7520 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7521 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7522 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7523 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7524 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7525 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7526 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7527 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7528 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7529 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7530 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7531 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7532 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7533 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7534
c7027166
AZ
75352018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7536
7537 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7538 Use libsupport.
7539
335a3b0a
AS
75402018-09-25 Arjun Shankar <arjun@redhat.com>
7541
7542 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7543 (__gconv_max_path_elem_len): Likewise.
7544 (__gconv_nmodules): Likewise.
7545 (__gconv_get_path): Likewise.
7546 (path_elem): Move to ...
7547 * iconv/gconv_conf.c: ... here.
7548 (__gconv_get_path): Mark function static.
7549 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7550 * iconv/gconv_open.c: ... here.
7551
462d348c
AS
75522018-09-24 Andreas Schwab <schwab@suse.de>
7553
7554 * scripts/haveversions.awk: New file.
7555 * Makerules ($(common-objpfx)Versions.def)
7556 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7557 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7558 Move rules ...
7559 * Makeconfig ($(common-objpfx)Versions.def)
7560 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7561 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7562 ... here.
7563 ($(common-objpfx)Versions.mk): New rule. Include it.
7564 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7565 Emit error if build-obsolete-nsl = yes.
7566 * manual/install.texi (Configuring and compiling): Describe
7567 --enable-obsolete-nsl as unavaiable after version 2.28.
7568 * INSTALL: Regenerate.
7569
f0458cf4
AZ
75702018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7571
7572 * NEWS: Add note about new TLE support on powerpc64le.
7573 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7574 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7575 __ununsed1.
7576 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7577 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7578 * sysdeps/powerpc/powerpc32/sysdep.h,
7579 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7580 ABORT_TRANSACTION): Remove macros.
7581 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7582 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7583 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7585 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7586 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7587 usage.
7588 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7589
434d45fd
RL
75902018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7591
7592 [BZ #10425]
7593 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7594 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7595 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7596 which is the same as in it_IT.
7597 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7598 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7599
d90c9b1a
JM
76002018-09-20 Joseph Myers <joseph@codesourcery.com>
7601
7abf97be
JM
7602 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7603 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7604 using MATH_REDIRECT.
7605 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7606 header inclusion.
7607 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7608 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7609 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7610 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7611 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7617 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7618 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7619 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7620 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7621 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7622 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7623 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7625 (ceil): Redirect to __ceil.
7626 (floor): Redirect to __floor.
7627 (trunc): Redirect to __trunc.
7628 (__truncl): Call trunc instead of __trunc.
7629 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7630 Remove macro.
7631 [_ARCH_PWR5X] (__truncf): Likewise.
7632 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7633 trunc functions instead of __trunc variants.
7634 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7635 Likewise.
7636 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7637 Likewise.
7638 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7639 Likewise.
7640 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7641 Likewise.
7642
d90c9b1a
JM
7643 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7644 [__i586__ || __pentium__].
7645 [__i486__]: Handle explicitly.
7646 (HAS_CPUID): Define to 1 if above macros are undefined.
7647 (HAS_I586): Likewise.
7648 (HAS_I686): Likewise.
7649
db9a8ad4
FW
76502018-09-20 Florian Weimer <fweimer@redhat.com>
7651
7652 * misc/tst-gethostid.c: New file.
7653 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7654 (tst-gethostid): Link with -ldl.
7655
1214ba06
MY
76562018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7657
7658 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7659 value from gethostbyname_r.
7660
791b350d
CD
76612018-09-19 Carlos O'Donell <carlos@redhat.com>
7662
7663 * stdlib/tst-setcontext9.c (f1): Rename to...
7664 (f1a): ... this.
7665 (f1b): New function implementing lower half of f1 in alternate stack.
7666
8e6fd2bd
PE
76672018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7668
e1080e7e
PE
7669 Fix mktime localtime offset confusion
7670 [BZ #23603]
7671 * include/time.h (__mktime_internal): The localtime offset is now
7672 of type long int instead of time_t. This is the longstanding type
7673 in glibc, and it is more than enough to represent difference
7674 between localtime and gmtime even if it is 32 bits and time_t is
7675 64. Changing it now will let us avoid an unnecessary change when
7676 time_t is widened to 64 bits on 32-bit platforms.
7677 * time/mktime-internal.h (mktime_offset_t): Now long int.
7678
8e6fd2bd
PE
7679 Merge mktime, timegm from upstream Gnulib
7680 [BZ #23603][BZ #16346]
7681 This fixes some obscure problems with integer overflow.
7682 Although it looks scary, it is almost all a byte-for-byte copy
7683 from Gnulib, and the Gnulib code has been tested reasonably well.
7684 * include/intprops.h: New file, copied from Gnulib.
7685 * include/verify.h, time/mktime-internal.h:
7686 New tiny files, simplified from Gnulib.
7687 * time/mktime.c: Copy from Gnulib. This has the following changes:
7688 Do not include config.h if DEBUG_MKTIME is nonzero.
7689 Include stdbool.h, intprops.h, verify.h.
7690 Include string.h only if needed.
7691 Include stdlib.h on MS-Windows.
7692 Include mktime-internal.h.
7693 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7694 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7695 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7696 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7697 simplify later conditionals; default the others to zero. Use
7698 these conditionals to express only the code needed on the current
7699 platform. In uses of these conditionals, explicitly spell out how
7700 _LIBC affects things, so it’s easier to review from a glibc
7701 viewpoint.
7702 (WRAPV): Remove; no longer needed now that we have
7703 systematic overflow checking.
7704 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7705 compartmentalize tzset issues. Move system-dependent tzsettish
7706 code here from mktime.
7707 (verify): Remove; now done by verify.h. All uses changed.
7708 (long_int): Use a more-conservative definition, to avoid
7709 integer overflow.
7710 (SHR): Remove, replacing with ...
7711 (shr): New function, which means we needn’t worry about side
7712 effects in args, and conversion analysis is simpler.
7713 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7714 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7715 (time_t_avg, time_t_add_ok): Remove.
7716 (mktime_min, mktime_max): New constants.
7717 (leapyear, isdst_differ): Use bool for booleans.
7718 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7719 Use long_int, not time_t, for mktime differences.
7720 (long_int_avg): New function, replacing time_t_avg.
7721 INT_ADD_WRAPV replaces time_t_add_ok.
7722 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7723 All uses changed.
7724 (convert_time): New function.
7725 (ranged_convert): Use it.
7726 (__mktime_internal): Last arg now points to mktime_offset_t, not
7727 time_t. All uses changed. This is a no-op on glibc, where
7728 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7729 offset guess. Directly check for integer overflow instead of
7730 using a heuristic that works only 99.9...% of the time.
7731 Access *OFFSET only once, to avoid an unlikely race if the
7732 compiler delays a load and if this cascades into a signed integer
7733 overflow.
7734 (mktime): Move tzsettish code to my_tzset, and move
7735 localtime_offset to within mktime so that it doesn’t
7736 need a separate ifdef.
7737 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7738 instead of localtime.
7739 * time/timegm.c: Copy from Gnulib. This has the following changes:
7740 Include mktime-internal.h.
7741 [!_LIBC]: Include config.h and time.h. Do not include
7742 timegm.h or time_r.h. Make __mktime_internal a macro,
7743 and include mktime-internal.h to get its declaration.
7744 (timegm): Temporary is now mktime_offset_t, not time_t.
7745 This affects only Gnulib.
7746
83a552b0
WD
77472018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7748
7749 [BZ #23637]
7750 * string/test-strstr.c (pr23637): New function.
7751 (test_main): Add tests with longer needles.
7752 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7753 * string/strstr.c (AVAILABLE): Likewise.
7754
d7347278
SN
77552018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7756
7757 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7758
424c4f60
SN
77592018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7760
7761 * NEWS: Mention pow improvements.
7762 * math/Makefile (type-double-routines): Add e_pow_log_data.
7763 * sysdeps/generic/math_private.h (__exp1): Remove.
7764 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7765 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7766 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7767 contraction.
7768 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7769 (exp_inline): Remove.
7770 (__ieee754_exp): Only single double input is handled.
7771 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7772 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7773 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7774 (__pow_log_data): Define.
7775 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7776 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7777 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7778 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7779 contraction.
7780 (CFLAGS-e_pow-fma4.c): Likewise.
7781
e4e4fde5
PE
77822018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7783
dab9c348
PE
7784 Simplify tzfile fstat failure code
7785 [BZ #21716]
7786 * time/tzfile.c (__tzfile_read): Simplify slightly.
7787
e4e4fde5
PE
7788 Fix tzfile low-memory assertion failure
7789 [BZ #21716]
7790 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7791 when registering time zone abbreviations.
7792
50bc59ca
JM
77932018-09-18 Joseph Myers <joseph@codesourcery.com>
7794
d3a43e49
JM
7795 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7796 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7797 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7798 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7799 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7800 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7801 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7802 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7803 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7804
50bc59ca
JM
7805 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7806 __ceil.
7807 (__ceill): Call ceil instead of __ceil.
7808 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7809 __floor.
7810 (__floorl): Call floor instead of __floor.
7811
89983cb3
JM
78122018-09-17 Joseph Myers <joseph@codesourcery.com>
7813
71223ef9
JM
7814 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7815 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7816 using MATH_REDIRECT.
7817 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7818 header inclusion.
7819 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7820 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7821 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7822 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7823 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7826 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7831 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7832 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7835 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7836 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7837 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7838 Remove macro.
7839 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7840 functions instead of __ceil variants.
7841 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7842 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7843 Likewise.
7844 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7845 Likewise.
7846 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7847 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7848 Likewise.
7849 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7850 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7851
89983cb3
JM
7852 [BZ #21286]
7853 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7854 constant.
7855 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7856 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7857 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7858 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7859 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7860 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7861 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7862 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7863 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7864 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7865 (ILL_BADIADDR): Remove constant.
7866 (TRAP_BRANCH): Likewise.
7867 (TRAP_HWBKPT): Likewise.
7868
e44acb20
JM
78692018-09-14 Joseph Myers <joseph@codesourcery.com>
7870
3f7f1d18
JM
7871 [BZ #23656]
7872 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7873 Remove [_MIPS_SIM = _ABIN32] conditional case.
7874 (struct elf_prpsinfo): Likewise.
7875
d59f3e5e
JM
7876 [BZ #23649]
7877 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7878 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7879 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7880 Likewise.
7881 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7882 elf_prpsinfo): Likewise.
7883 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7884 elf_prpsinfo): Likewise.
7885 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7886 Likewise.
7887
f29b6f17
JM
7888 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7889 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7890 using MATH_REDIRECT.
7891 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7892 header inclusion.
7893 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7894 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7895 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7896 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7897 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7898 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7899 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7900 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7901 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7903 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7904 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7905 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7906 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7907 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7908 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7909 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7910 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7911 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7916 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7917 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7918 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7919 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7920 __rint variants.
7921 * math/e_scalbf.c (invalid_fn): Likewise.
7922 * math/e_scalbl.c (invalid_fn): Likewise.
7923 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7924 Likewise.
7925 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7926 Likewise.
7927 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7928 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7929 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7930 Likewise.
7931 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7932 Likewise.
7933 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7934 Likewise.
7935 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7936 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7937
e44acb20
JM
7938 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7939 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7940 New macro.
7941 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7942 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7943 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7944 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7945 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7946 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7947 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7948 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7949 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7950 && !NO_MATH_REDIRECT] (floor): Likewise.
7951 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7952 header inclusion.
7953 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7954 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7955 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7956 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7957 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7958 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7959 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7960 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7965 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7966 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7969 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7970 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7971 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7972 Remove macro.
7973 [_ARCH_PWR5X] (__floorf): Likewise.
7974 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7975 inline function.
7976 [__SSE4_1__] (__floorf): Likewise.
7977 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7978 instead of __floor variants.
7979 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7980 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7981 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7982 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7983 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7984 * math/w_tgamma_compat.c (__tgamma): Likewise.
7985 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7986 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7987 * math/w_tgammal_compat.c (__tgammal): Likewise.
7988 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7990 Likewise.
7991 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7992 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7993 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7994 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7995 Likewise.
7996 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7997 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7998 Likewise.
7999 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8000 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8001 Likewise.
8002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8003 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8004 Likewise.
8005 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8006 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8007 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8008 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8009 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8010 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8011
221e4bab
JM
80122018-09-12 Joseph Myers <joseph@codesourcery.com>
8013
8014 * elf/Makefile (modules-names-tests): New variable.
8015
3e08ff54
SN
80162018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8017
8018 * NEWS: Mention log2 improvements.
8019 * math/Makefile (type-double-routines): Add e_log2_data.
8020 * sysdeps/i386/fpu/e_log2_data.c: New file.
8021 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8022 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8023 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8024 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8025 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8026 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8027
f41b0a43
SN
80282018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8029
8030 * NEWS: Mention log improvement.
8031 * math/Makefile (type-double-routines): Add e_log_data.
8032 * sysdeps/i386/fpu/e_log_data.c: New file.
8033 * sysdeps/ia64/fpu/e_log_data.c: New file.
8034 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8035 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8036 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8037 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8038 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8039 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8040
5a274db4
L
80412018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8042 Xuepeng Guo <xuepeng.guo@intel.com>
8043
8044 [BZ #23606]
8045 * sysdeps/i386/start.S: Include <sysdep.h>
8046 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8047 enabled. Add cfi_undefined (eip).
8048
b1176270
JM
80492018-09-11 Joseph Myers <joseph@codesourcery.com>
8050
4e7fbdd7
JM
8051 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8052 (MOVQ): Likewise.
8053 (EXTRACT_WORDS64): Likewise.
8054 (INSERT_WORDS64): Likewise.
8055 (GET_FLOAT_WORD): Likewise.
8056 (SET_FLOAT_WORD): Likewise.
8057
b1176270
JM
8058 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8059 argument.
8060 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8061 build, but not for second build if --full-gcc. Use
8062 --enable-languages=all for second build if --full-gcc.
8063 (get_parser): Add --full-gcc option.
8064 (main): Update call to Context.
8065
527f355e
RL
80662018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8067
8068 [BZ #10797]
8069 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8070 Single Quotation Mark).
8071 (thousands_sep): Likewise.
8072 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8073 * localedata/locales/it_IT (thousands_sep): Use ".".
8074 (grouping): Use "3;3".
8075
7244f13d
JM
80762018-09-10 Joseph Myers <joseph@codesourcery.com>
8077
8078 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8079 x86_64 and i686 configs using --enable-obsolete-rpc
8080 --enable-obsolete-nsl.
8081
38245425
SL
80822018-09-06 Stefan Liebler <stli@linux.ibm.com>
8083
8084 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8085
28669f86
SL
80862018-09-06 Stefan Liebler <stli@linux.ibm.com>
8087
8088 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8089 Increment size of new_argv by one.
8090
a33650d1
RL
80912018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8092
8093 [BZ #17426]
8094 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8095 * localedata/locales/ar_IN (d_fmt): Likewise.
8096 * localedata/locales/bhb_IN (d_fmt): Likewise.
8097 * localedata/locales/bho_IN (d_fmt): Likewise.
8098 * localedata/locales/bn_BD (d_fmt): Likewise.
8099 * localedata/locales/bn_IN (d_fmt): Likewise.
8100 * localedata/locales/doi_IN (d_fmt): Likewise.
8101 * localedata/locales/gu_IN (d_fmt): Likewise.
8102 * localedata/locales/hi_IN (d_fmt): Likewise.
8103 * localedata/locales/hne_IN (d_fmt): Likewise.
8104 * localedata/locales/kn_IN (d_fmt): Likewise.
8105 * localedata/locales/mag_IN (d_fmt): Likewise.
8106 * localedata/locales/mai_IN (d_fmt): Likewise.
8107 * localedata/locales/mjw_IN (d_fmt): Likewise.
8108 * localedata/locales/ml_IN (d_fmt): Likewise.
8109 * localedata/locales/mni_IN (d_fmt): Likewise.
8110 * localedata/locales/mr_IN (d_fmt): Likewise.
8111 * localedata/locales/pa_IN (d_fmt): Likewise.
8112 * localedata/locales/raj_IN (d_fmt): Likewise.
8113 * localedata/locales/sat_IN (d_fmt): Likewise.
8114 * localedata/locales/sd_IN (d_fmt): Likewise.
8115 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8116 * localedata/locales/ta_IN (d_fmt): Likewise.
8117 * localedata/locales/ta_LK (d_fmt): Likewise.
8118 * localedata/locales/tcy_IN (d_fmt): Likewise.
8119 * localedata/locales/ur_IN (d_fmt): Likewise.
8120
8121 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8122 * localedata/locales/ks_IN (d_fmt): Likewise.
8123 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8124
8125 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8126 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8127 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8128 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8129
d114e6a7
SN
81302018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8131
8132 * NEWS: Mention exp and exp2 improvements.
8133 * math/Makefile (libm-support): Remove t_exp.
8134 (type-double-routines): Add math_err and e_exp_data.
8135 * sysdeps/aarch64/libm-test-ulps: Update.
8136 * sysdeps/arm/libm-test-ulps: Update.
8137 * sysdeps/i386/fpu/e_exp_data.c: New file.
8138 * sysdeps/i386/fpu/math_err.c: New file.
8139 * sysdeps/i386/fpu/t_exp.c: Remove.
8140 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8141 * sysdeps/ia64/fpu/math_err.c: New file.
8142 * sysdeps/ia64/fpu/t_exp.c: Remove.
8143 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8144 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8145 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8146 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8147 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8148 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8149 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8150 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8151 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8152 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8153 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8154 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8155 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8156 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8159
b9d8c474
JM
81602018-09-05 Joseph Myers <joseph@codesourcery.com>
8161
b7cdc2ae
JM
8162 * sysdeps/alpha/fpu/math_private.h: Remove.
8163
b9d8c474
JM
8164 * sysdeps/generic/math_private.h
8165 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8166 Move this inline function ....
8167 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8168 * include/math.h [!_ISOMAC]: To here....
8169
418d99e6
JM
81702018-09-04 Joseph Myers <joseph@codesourcery.com>
8171
8172 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8173 code ....
8174 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8175 * include/fenv.h [!_ISOMAC]: ... to here.
8176 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8177 (feraiseexcept): Likewise.
8178 * math/fromfp.h: Do not include <fenv_private.h>.
8179 * math/s_cexp_template.c: Likewise.
8180 * math/s_csin_template.c: Likewise.
8181 * math/s_csinh_template.c: Likewise.
8182 * math/s_ctan_template.c: Likewise.
8183 * math/s_ctanh_template.c: Likewise.
8184 * math/s_iseqsig_template.c: Likewise.
8185 * math/w_acos_compat.c: Likewise.
8186 * math/w_acosf_compat.c: Likewise.
8187 * math/w_acosl_compat.c: Likewise.
8188 * math/w_asin_compat.c: Likewise.
8189 * math/w_asinf_compat.c: Likewise.
8190 * math/w_asinl_compat.c: Likewise.
8191 * math/w_j0_compat.c: Likewise.
8192 * math/w_j0f_compat.c: Likewise.
8193 * math/w_j0l_compat.c: Likewise.
8194 * math/w_j1_compat.c: Likewise.
8195 * math/w_j1f_compat.c: Likewise.
8196 * math/w_j1l_compat.c: Likewise.
8197 * math/w_jn_compat.c: Likewise.
8198 * math/w_jnf_compat.c: Likewise.
8199 * math/w_log10_compat.c: Likewise.
8200 * math/w_log10f_compat.c: Likewise.
8201 * math/w_log10l_compat.c: Likewise.
8202 * math/w_log2_compat.c: Likewise.
8203 * math/w_log2f_compat.c: Likewise.
8204 * math/w_log2l_compat.c: Likewise.
8205 * math/w_log_compat.c: Likewise.
8206 * math/w_logf_compat.c: Likewise.
8207 * math/w_logl_compat.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8209 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8213 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8214 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8215 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8216 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8217 * sysdeps/ieee754/k_standardl.c: Likewise.
8218 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8219 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8220 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8221 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8222 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8223 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8224 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8225 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8226 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8229 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8230 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8231 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8232 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8233 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8234 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8235 * math/w_ilogb_template.c: Include <fenv.h> instead of
8236 <fenv_private.h>.
8237 * math/w_llogb_template.c: Likewise.
8238 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8239 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8240
70e2ba33
JM
82412018-09-03 Joseph Myers <joseph@codesourcery.com>
8242
8243 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8244 * math/fromfp.h: Include <fenv_private.h>.
8245 * math/math-narrow.h: Likewise.
8246 * math/s_cexp_template.c: Likewise.
8247 * math/s_csin_template.c: Likewise.
8248 * math/s_csinh_template.c: Likewise.
8249 * math/s_ctan_template.c: Likewise.
8250 * math/s_ctanh_template.c: Likewise.
8251 * math/s_iseqsig_template.c: Likewise.
8252 * math/w_acos_compat.c: Likewise.
8253 * math/w_acosf_compat.c: Likewise.
8254 * math/w_acosl_compat.c: Likewise.
8255 * math/w_asin_compat.c: Likewise.
8256 * math/w_asinf_compat.c: Likewise.
8257 * math/w_asinl_compat.c: Likewise.
8258 * math/w_ilogb_template.c: Likewise.
8259 * math/w_j0_compat.c: Likewise.
8260 * math/w_j0f_compat.c: Likewise.
8261 * math/w_j0l_compat.c: Likewise.
8262 * math/w_j1_compat.c: Likewise.
8263 * math/w_j1f_compat.c: Likewise.
8264 * math/w_j1l_compat.c: Likewise.
8265 * math/w_jn_compat.c: Likewise.
8266 * math/w_jnf_compat.c: Likewise.
8267 * math/w_llogb_template.c: Likewise.
8268 * math/w_log10_compat.c: Likewise.
8269 * math/w_log10f_compat.c: Likewise.
8270 * math/w_log10l_compat.c: Likewise.
8271 * math/w_log2_compat.c: Likewise.
8272 * math/w_log2f_compat.c: Likewise.
8273 * math/w_log2l_compat.c: Likewise.
8274 * math/w_log_compat.c: Likewise.
8275 * math/w_logf_compat.c: Likewise.
8276 * math/w_logl_compat.c: Likewise.
8277 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8278 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8279 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8280 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8305 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8306 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8307 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8308 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8309 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8310 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8311 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8312 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8313 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8314 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8315 * sysdeps/ieee754/k_standardl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8318 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8341 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8342 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8346 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8347 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8348 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8352 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8353 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8354 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8355 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8356 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8357 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8358 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8359 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8360 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8361 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8362 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8363 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8364 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8365 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8366 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8367 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8368 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8369 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8370 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8371 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8372 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8373 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8374 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8375 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8376 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8377 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8378 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8379 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8380 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8381 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8382 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8383 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8384 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8385 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8386 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8387
a6e8926f
PP
83882018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8389
8390 [BZ #20271]
8391 * include/stdio.h (__libc_fatal): Mention newline in comment.
8392 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8393 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8394 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8395 * nss/nsswitch.c (__nss_next2): Likewise.
8396 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8397 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8398 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8399 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8400 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8401 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8402 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8403 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8404 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8405 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8406 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8407 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8408 (__netlink_assert_response): Likewise.
8409
2bbd06bc
JM
84102018-08-31 Joseph Myers <joseph@codesourcery.com>
8411
8412 * conform/glibcconform.py: New file.
8413 * conform/list-header-symbols.py: Likewise.
8414 * conform/list-header-symbols.pl: Remove.
8415 * conform/Makefile (tests-special): Only add linknamespace tests
8416 if [PYTHON].
8417 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8418
81b9d87b
L
84192018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8420
8421 [BZ #23597]
8422 * support/Makefile (libsupport-routines): Add
8423 support_copy_file_range and xcopy_file_range.
8424 * support/support.h: Include <sys/types.h>.
8425 (support_copy_file_range): New prototype.
8426 * support/support_copy_file_range.c: New file. Copied and
8427 modified from io/copy_file_range-compat.c.
8428 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8429 instead of copy_file_range.
8430 * support/xcopy_file_range.c: New file.
8431 * support/xunistd.h (xcopy_file_range): New prototype.
8432
d330f31a
CD
84332018-08-30 Carlos O'Donell <carlos@redhat.com>
8434
8435 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8436 xpthread_create and xpthread_join.
8437
2bda273a
FW
84382018-08-30 Florian Weimer <fweimer@redhat.com>
8439
8440 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8441
3bad2358
SL
84422018-08-30 Stefan Liebler <stli@linux.ibm.com>
8443
8444 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8445 if malloc fails.
8446
09c12efc
JM
84472018-08-29 Joseph Myers <joseph@codesourcery.com>
8448
8449 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8450 and minus_oflow as non-finite.
8451
ff6b2450
JM
84522018-08-28 Joseph Myers <joseph@codesourcery.com>
8453
8454 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8455 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8456 moved to fenv_private.h except for ...
8457 (TOINT_INTRINSICS): Kept in math_private.h.
8458 (roundtoint): Likewise.
8459 (converttoint): Likewise.
8460 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8461 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8462 * sysdeps/arm/math_private.h: Remove.
8463 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8464 ....
8465 * sysdeps/generic/math_private.h: ... this file. Include
8466 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8467 Include <fenv_private.h>. Remove functions and macros moved to
8468 fenv_private.h.
8469 * sysdeps/i386/fpu/math_private.h: Remove.
8470 * sysdeps/mips/math_private.h: Move to ....
8471 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8472 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8473 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8474 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8475 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8476 * sysdeps/powerpc/fpu/math_private.h: Do not include
8477 <fenv_private.h>.
8478 * sysdeps/riscv/rvf/math_private.h: Move to ....
8479 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8480 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8481 <fenv_private.h>.
8482 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8483 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8484 * sysdeps/sparc/fpu/math_private.h: Remove.
8485 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8486 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8487 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8488 <fenv_private.h>.
8489 * sysdeps/x86_64/fpu/math_private.h: Do not include
8490 <sysdeps/i386/fpu/fenv_private.h>.
8491
761404b7
FW
84922018-08-28 Florian Weimer <fweimer@redhat.com>
8493
8494 [BZ #23578]
8495 * posix/tst-regcomp-truncated.c: New file.
8496 * posix/Makefile (tests): Add it.
8497 (tst-regcomp-truncated.out): Depend on generated locales.
8498
d6c44c3d
FW
84992018-08-28 Florian Weimer <fweimer@redhat.com>
8500
8501 * support/test-container.c (main): Treat unshare failure with
8502 EPERM as an unsupported test.
8503
745664bd
FW
85042018-08-28 Florian Weimer <fweimer@redhat.com>
8505
8506 [BZ #23520]
8507 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8508 * nscd/netgroupcache.c
8509 (addgetnetgrentX): Add tofreep parameter. Do not free
8510 heap-allocated buffer.
8511 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8512 (addgetnetgrentX_ignore): New function.
8513 (addgetnetgrent): Call it.
8514 (readdgetnetgrent): Likewise.
8515
c8dd67e7
RS
85162018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8517
8518 * string/memmem.c: Use memcmp for first match.
8519
5abedf97
RL
85202018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8521
8522 [BZ #17426]
8523 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8524
86de0499
DD
85252018-08-27 DJ Delorie <dj@redhat.com>
8526
8527 * support/Makefile (others): Don't list programs explicitly as a
8528 dependency of "others".
8529
c3ab2110
JM
85302018-08-27 Joseph Myers <joseph@codesourcery.com>
8531
8532 * sysdeps/generic/math-tests-trap-force.h: New file.
8533 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8534 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8535 * sysdeps/powerpc/math-tests.h: Remove file.
8536 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8537
6b5c8607
TS
85382018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8539 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
8540
8541 [BZ #23538]
8542 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8543 Update r to include the set wake-request flag if waiters are
8544 remaining after spinning.
8545
4061791f
JM
85462018-08-27 Joseph Myers <joseph@codesourcery.com>
8547
8548 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8549
bc680b33
PE
85502018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8551
761404b7 8552 [BZ #23578]
bc680b33
PE
8553 regex: fix uninitialized memory access
8554 I introduced this bug into gnulib in commit
8555 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8556 eventually it was merged into glibc. The bug was found by
8557 project-repo <bugs@feusi.co> and reported here:
8558 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8559 Diagnosis and draft fix reported by Assaf Gordon here:
8560 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8561 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8562 * posix/regex_internal.c (build_wcs_upper_buffer):
8563 Fix bug when mbrtowc returns 0.
8564
02458a52
CD
85652018-08-24 Carlos O'Donell <carlos@redhat.com>
8566
8567 * po/be.po: Update translation.
8568
acc2842a
DD
85692018-08-24 DJ Delorie <dj@delorie.com>
8570
8571 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8572 $(libunwind).
8573
6c3a8a9d
PP
85742018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8575
b39d961c
TS
8576 [BZ #23400]
8577 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8578 create temporary files in source tree.
6c3a8a9d 8579
895ef79e
JM
85802018-08-24 Joseph Myers <joseph@codesourcery.com>
8581
8582 * sysdeps/generic/math-tests-trap.h: New file.
8583 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8584 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8585 * sysdeps/aarch64/math-tests.h: Remove file.
8586 * sysdeps/arm/math-tests.h: Likewise.
8587 * sysdeps/riscv/math-tests.h: Likewise.
8588 * sysdeps/aarch64/math-tests-trap.h: New file.
8589 * sysdeps/arm/math-tests-trap.h: Likewise.
8590 * sysdeps/riscv/math-tests-trap.h: Likewise.
8591
ca3aac57
WD
85922018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8593
8594 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8595 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8596 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8597 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8598 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8599 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8604 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8607 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8608 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8609 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8610 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8611 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8612
60bcac09
JM
86132018-08-23 Joseph Myers <joseph@codesourcery.com>
8614
8615 * sysdeps/generic/math-tests-exceptions.h: New file.
8616 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8617 (EXCEPTION_TESTS_float): Do not define here.
8618 (EXCEPTION_TESTS_double): Likewise.
8619 (EXCEPTION_TESTS_long_double): Likewise.
8620 (EXCEPTION_TESTS_float128): Likewise.
8621 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8622 Likewise.
8623 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8624 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8625 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8626 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8627 * sysdeps/mips/math-tests.h: Likewise.
8628 * sysdeps/nios2/math-tests.h: Likewise.
8629 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8630 (EXCEPTION_TESTS_float): Do not define here.
8631 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8632 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8633 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8634
3bded567
WD
86352018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8636
8637 * NEWS: Move optimized sinf entry to 2.29.
8638
900fb446
WD
86392018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8640
8641 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8642
561b0bec
DD
86432018-08-22 DJ Delorie <dj@redhat.com>
8644
8645 * Makefile (testroot.pristine): New rules to initialize the
8646 test-in-container "testroot".
8647 * Makerules (all-testsuite): Add tests-container.
8648 * Rules (tests-expected): Add tests-container.
8649 (binaries-all-tests): Likewise.
8650 (tests-container): New, run these tests in the testroot container.
8651 * support/Makefile (others): Add *-container, support_paths.c,
8652 xmkdirp, and links-dso-program.
8653 * support/links-dso-program-c.c: New.
8654 * support/links-dso-program.cc: New.
8655 * support/test-container.c: New.
8656 * support/shell-container.c: New.
8657 * support/echo-container.c: New.
8658 * support/true-container.c: New.
8659 * support/xmkdirp.c: New.
8660 * support/xsymlink.c: New.
8661 * support/support_paths.c: New.
8662 * support/support.h: Add support paths prototypes.
8663 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8664
8665 * nss/tst-nss-test3.c: Convert to test-in-container.
8666 * nss/tst-nss-test3.root/: New.
8667
b35d3509
PE
86682018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8669
8670 regex: port Gnulib code to z/OS POSIX environment
8671 Problem reported by Arnold Robbins in:
8672 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8673 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8674 Undef.
8675
16a25138
JM
86762018-08-22 Joseph Myers <joseph@codesourcery.com>
8677
debc4c98
JM
8678 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8679 (ROUNDING_TESTS_double): Remove.
8680 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8681 (ROUNDING_TESTS_double): Remove.
8682 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8683 (ROUNDING_TESTS_double): Remove.
8684 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8685 (ROUNDING_TESTS_float): Remove.
8686 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8687 (ROUNDING_TESTS_float): Remove.
8688 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8689 (ROUNDING_TESTS_float): Remove.
8690 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8691 !TEST_MATHVEC here.
8692 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8693 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8694
16a25138
JM
8695 * sysdeps/generic/math-tests-rounding.h: New file.
8696 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8697 (ROUNDING_TESTS_float): Do not define here.
8698 (ROUNDING_TESTS_double): Likewise.
8699 (ROUNDING_TESTS_long_double): Likewise.
8700 (ROUNDING_TESTS_float128): Likewise.
8701 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8702 (ROUNDING_TESTS_double): Undefine before defining.
8703 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8704 (ROUNDING_TESTS_double): Undefine before defining.
8705 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8706 (ROUNDING_TESTS_double): Undefine before defining.
8707 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8708 (ROUNDING_TESTS_float): Undefine before defining.
8709 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8710 (ROUNDING_TESTS_float): Undefine before defining.
8711 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8712 (ROUNDING_TESTS_float): Undefine before defining.
8713 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8714 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8715 not define here.
8716 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8717 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8718 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8719 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8720 (ROUNDING_TESTS_float): Do not define here.
8721 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8722 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8723 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8724 (ROUNDING_TESTS_float): Likewise.
8725 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8726 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8727 * sysdeps/mips/math-tests.h [__mips_soft_float]
8728 (ROUNDING_TESTS_float): Likewise.
8729 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8730 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8731 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8732 (ROUNDING_TESTS_double): Likewise.
8733 (ROUNDING_TESTS_long_double): Likewise.
8734
38b0593e
TK
87352018-08-21 Tobias Klauser <tklauser@distanz.ch>
8736
8737 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8738 (PF_XDP): New macro.
8739 (AF_XDP): New macro.
8740 (SOL_XDP): New macro.
8741
5cd7dbde
JM
87422018-08-21 Joseph Myers <joseph@codesourcery.com>
8743
8744 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8745 (TCP_INQ): Likewise.
8746 (TCP_CM_INQ): Likewise.
8747 (TCP_REPAIR_ON): Likewise.
8748 (TCP_REPAIR_OFF): Likewise.
8749 (TCP_REPAIR_OFF_NO_WP): Likewise.
8750 (struct tcp_zerocopy_receive): New type.
8751
aa42b3db
FW
87522018-08-21 Florian Weimer <fweimer@redhat.com>
8753
8754 * support/support.h (support_descriptor_supports_holes): Declare.
8755 * support/Makefile (libsupport-routines): Add
8756 support_descriptor_supports_holes.
8757 * support/support_descriptor_supports_holes.c: New file.
8758 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8759 and stop testing if holes are not supported.
8760 * io/test-lfs.c (do_prepare): Likewise.
8761 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8762 Likewise.
8763 * timezone/tst-tzset.c (create_tz_file): Likewise.
8764 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8765 variable.
8766 (do_prepare): Set it.
8767 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8768
c7627f41
FW
87692018-08-21 Florian Weimer <fweimer@redhat.com>
8770
8771 [BZ #17248]
8772 * Makeconfig (+cflags): Do not sort (and deduplicate).
8773
ef939d92
FW
87742018-08-21 Florian Weimer <fweimer@redhat.com>
8775
8776 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8777 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8778
88ffb39d
FW
87792018-08-20 Florian Weimer <fweimer@redhat.com>
8780
8781 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8782 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8783
17419540
JM
87842018-08-20 Joseph Myers <joseph@codesourcery.com>
8785
e6edd40d
JM
8786 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8787 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8788 and ssi_arch members.
8789
17419540
JM
8790 * elf/elf.c (NT_VMCOREDD): New macro.
8791 (AT_MINSIGSTKSZ): Likewise.
8792
fa78896b
RS
87932018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8794
8795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8796 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8797 s_cosf-ppc64 and s_cosf-power8.
8798 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8799 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8800 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8801 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8808 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8809 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8810
86a6c75a
FW
88112018-08-17 Florian Weimer <fweimer@redhat.com>
8812
8813 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8814
35cfefd9
FW
88152018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8816
8817 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8818
6413fcde
FW
88192018-08-16 Florian Weimer <fweimer@redhat.com>
8820
8821 * configure.ac: Add --with-nonshared-cflags option.
8822 * config.make.in (extra-nonshared-cflags): Set variable.
8823 * Makeconfig (CFLAGS-.oS): Use it.
8824 * manual/install.texi (Configuring and compiling): Document
8825 --with-nonshared-cflags.
8826 * configure: Regenerate.
8827 * INSTALL: Likewise.
8828
93a2584c
FW
88292018-08-16 Florian Weimer <fweimer@redhat.com>
8830
8831 * Makeconfig (ASFLAGS): Always append required assembler flags.
8832
f6f275d2 88332018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
8834
8835 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8836 (malloc_consolidate): Likewise.
8837
30a17d8c
PC
88382018-08-16 Pochang Chen <johnchen902@gmail.com>
8839
8840 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8841
953a5a4a
SP
88422018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8843
34f86d61
SP
8844 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8845 every strlen call.
8846
953a5a4a
SP
8847 * benchtests/bench-strlen.c: Print performance numbers in json.
8848
7793ad7a
RS
88492018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8850
8851 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8852 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8853 only for little endian.
8854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8855 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8856 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8857 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8858 Add check for little endian.
8859 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8860 (__strcmp_power9): Add check for little endian.
8861 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8862 Add check for little endian.
8863 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8864 (__strncmp_power9): Add check for little endian.
8865 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8866 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8867 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8868 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8869 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8870
436e4d5b
SP
88712018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8872
8873 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8874 [!STRLEN](STRLEN): Set to __strlen.
8875 * sysdeps/aarch64/multiarch/strlen.c: New file.
8876 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8877 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8878 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8879 (__libc_ifunc_impl_list): Add strlen.
8880 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8881 strlen_generic and strlen_asimd.
8882
126c4e3f
WD
88832018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8884
8885 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8886 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8887 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8888
49acec17
WD
88892018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8890
8891 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8892
fdb16de3
FW
88932018-08-14 Florian Weimer <fweimer@redhat.com>
8894
8895 [BZ #23519]
8896 * include/stdio.h (__vfxprintf): Declare.
8897 * stdio-common/fxprintf.c (__vfxprintf): New function.
8898 (__fxprintf): Call it.
8899 * misc/err.c (convert_and_print): Remove function.
8900 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8901 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8902 * misc/Makefile (tests): Add tst-warn-wide.
8903 * misc/tst-warn-wide.c: New file.
8904
599cf397
WD
89052018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8906 Szabolcs Nagy <szabolcs.nagy@arm.com>
8907
8908 * NEWS: Mention sinf, cosf, sincosf.
8909 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8910 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8911 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8912 constants rather than including generic sincosf.h.
8913 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8914 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8915 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8916 (reduced_cos): Remove.
8917 (sinf_poly): New function.
8918 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8919
e95c6f61
FW
89202018-08-14 Florian Weimer <fweimer@redhat.com>
8921
8922 [BZ #23521]
8923 [BZ #23522]
8924 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8925 processing, bail out if no room, and close the stream before
8926 returning ERANGE.
8927 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8928 (tst-nss-files-alias-leak): Link with libdl.
8929 (tst-nss-files-alias-leak.out): Depend on nss_files.
8930
8931 * nss/tst-nss-files-alias-leak.c: New file.
8932
2d7acfac
FW
89332018-08-14 Florian Weimer <fweimer@redhat.com>
8934
8935 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8936 server_user, stat_user.
8937
f3cd0904
JM
89382018-08-13 Joseph Myers <joseph@codesourcery.com>
8939
17b26500
JM
8940 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8941 version to 4.18.
8942 (io_pgetevents): New syscall.
8943 (rseq): Likewise.
8944
3c1622eb
JM
8945 * manual/install.texi (Configuring and compiling): Do not list
8946 tools used for testing pretty printers here.
8947 (Tools for Compilation): List Python, PExpect and GDB here.
8948 Update descriptions of uses of Perl and Python.
8949 * INSTALL: Regenerate.
8950
f3cd0904
JM
8951 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8952 version to 4.18.
8953
b7b52b9d
FW
89542018-08-13 Florian Weimer <fweimer@redhat.com>
8955
8956 * misc/error.c (error): Add missing va_end call.
8957 (error_at_line): Likewise.
8958
01780188
FW
89592018-08-13 Florian Weimer <fweimer@redhat.com>
8960
8961 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8962
44727aec
SP
89632018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8964
8cac1f26
SP
8965 * benchtests/scripts/benchout.schema.json (properties): Add
8966 new properties.
8967
44727aec
SP
8968 * benchtests/bench-skeleton.c (main): Add duration and
8969 iterations attributes.
8970
c77bf91b
PE
89712018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8972
8973 regex: Gnulib unibyte RRI uses bytes not chars
8974 Adjust the non-glibc code to agree with what Gawk needs for
8975 rational range interpretation (RRI) for regular expression ranges.
8976 In unibyte locales, Gawk wants ranges to use the underlying byte
8977 rather than the character code point. This change does not affect
8978 glibc proper.
8979 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8980 In unibyte locales, use the byte value rather than
8981 running it through btowc.
8982
2ce7ba7d
JM
89832018-08-10 Joseph Myers <joseph@codesourcery.com>
8984
8985 * sysdeps/generic/math-tests-snan.h: New file.
8986 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8987 (SNAN_TESTS_float): Do not define here.
8988 (SNAN_TESTS_double): Likewise.
8989 (SNAN_TESTS_long_double): Likewise.
8990 (SNAN_TESTS_float128): Likewise.
8991 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8992 * sysdeps/i386/fpu/math-tests.h: Remove file.
8993 * sysdeps/ia64/math-tests-snan.h: New file.
8994 * sysdeps/ia64/math-tests.h: Remove file.
8995 * sysdeps/x86/math-tests.h: Likewise.
8996 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8997
ea5c662c
WD
89982018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8999 Szabolcs Nagy <szabolcs.nagy@arm.com>
9000
9001 * math/Makefile: Add s_sincosf_data.c.
9002 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9003 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9004 (sincosf_poly): Likewise.
9005 (reduce_small): Likewise.
9006 (reduce_large): Likewise.
9007 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9008 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9009 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9010 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9011
43cfdf8f
SN
90122018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9013 Szabolcs Nagy <szabolcs.nagy@arm.com>
9014
9015 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9016 (converttoint): Use lround.
9017 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9018 document the semantics when TOINT_INTRINSICS is set.
9019 (converttoint): Likewise.
9020 (TOINT_RINT): Remove.
9021 (TOINT_SHIFT): Remove.
9022 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9023 path.
9024
69065288
FW
90252018-08-10 Florian Weimer <fweimer@redhat.com>
9026
9027 [BZ #23497]
9028 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9029 function.
9030 (__old_getdents64): Use getdents64. Convert entries without
9031 moving them.
9032 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9033 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9034 tst-readdir64-compat.
9035
8f135efc
IL
90362018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9037
9038 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9039 Fix unwind.
9040
71c01af5
IL
90412018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9042
9043 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9044 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9045 code to s390x-mcount.h and #include it.
9046 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9047 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9048 (__fentry__): Add.
9049
8d997d22
IL
90502018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9051
9052 * stdlib/Versions: Remove __fentry__.
9053 * sysdeps/i386/Versions: Add __fentry__.
9054 * sysdeps/x86_64/Versions: Add __fentry__.
9055
69e2444a
IL
90562018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9057
9058 * sysdeps/s390/Makefile: Register the new tests.
9059 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9060 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9061 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9062 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9063 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9064 * sysdeps/s390/tst-dl-runtime.c: New file.
9065
bde6320f
IL
90662018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9067
9068 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9069 Do not clobber R0.
9070
5755f5e4
IL
90712018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9072
9073 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9074 Do not clobber R0.
9075
c8ad8522
IL
90762018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9077
9078 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9079 Do not clobber R0.
9080
b215eee1
IL
90812018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9082
9083 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9084 Do not clobber R0.
9085
329c6fec
IL
90862018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9087
9088 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9089 Use symbolic offsets for stack variables.
9090
0fb7afa2
IL
90912018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9092
9093 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9094 Use symbolic offsets for stack variables.
9095
6954059a
IL
90962018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9097
9098 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9099 Use symbolic offsets for stack variables.
9100
c7099673
IL
91012018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9102
9103 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9104 Use symbolic offsets for stack variables.
9105
2813e41e
JM
91062018-08-09 Joseph Myers <joseph@codesourcery.com>
9107
9108 * math/gen-libm-test.py: New file.
9109 * math/gen-libm-test.pl: Remove.
9110 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9111 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9112 gen-libm-test.pl.
9113 ($(libm-test-c-noauto-obj)): Likewise.
9114 ($(libm-test-c-auto-obj)): Likewise.
9115 ($(libm-test-c-narrow-obj)): Likewise.
9116 (regen-ulps): Likewise.
9117 * math/README.libm-test: Update references to gen-libm-test.pl.
9118 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9119 referencing gen-libm-test.pl.
9120 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9121 * math/libm-test-support.c: Likewise.
9122 * math/libm-test-support.h: Likewise.
9123 * sysdeps/generic/libm-test-ulps: Likewise.
9124
be64b194
SP
91252018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9126
9127 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9128 Fix value.
9129
140137fb
JM
91302018-08-08 Joseph Myers <joseph@codesourcery.com>
9131
9132 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9133 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9134
b5403eca
ST
91352018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9136
9137 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9138 symbols.
8ac0f9e6
ST
9139 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9140 __pthread_setspecific): Add hidden proto.
9141 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9142 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 9143
014efdd7
SP
91442018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9145
9146 * benchtests/bench-string.h (buf1_size, buf2_size): New
9147 variables.
9148 (init_sizes): New function.
9149 (test_init): Use it.
9150 (alloc_buf, exit_error): New functions.
9151 (alloc_bufs): Use ALLOC_BUF.
9152 (realloc_bufs): Remove.
9153 * benchtests/bench-memcmp.c (do_test): Adjust.
9154 * benchtests/bench-memset-large.c (do_test): Likewise.
9155 * benchtests/bench-memset-walk.c (do_test): Likewise.
9156 * benchtests/bench-memset.c (do_test): Likewise.
9157 * benchtests/bench-strncmp.c (do_test): Likewise.
9158
92a4cba7
AS
91592018-08-06 Andreas Schwab <schwab@suse.de>
9160
9161 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9162 of CONST_THREAD_AREA.
9163
fb4c32ae
L
91642018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9165
9166 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9167 (STATE_SAVE_MASK): Likewise.
9168 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9169 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9170 (STATE_SAVE_MASK): Likewise.
9171 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9172 instead of <cpu-features.h>.
9173
bf418187
DD
91742018-08-03 DJ Delorie <dj@redhat.com>
9175
9176 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 9177 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 9178
bb17621a
DD
9179 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9180
ea705eb5
JM
91812018-08-03 Joseph Myers <joseph@codesourcery.com>
9182
9183 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9184 after TEST_* calls.
9185 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9186 * math/libm-test-logb.inc (logb_test_data): Likewise.
9187
284f42bc
WD
91882018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9189
9190 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9191 * string/strstr.c (AVAILABLE): Likewise.
9192
430388d5
L
91932018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9194
9195 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9196 <init-arch.h>.
9197 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9198 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9199 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9200
c5760aa9
CD
92012018-08-03 Carlos O'Donell <carlos@redhat.com>
9202
9203 * po/be.po: Update translation.
9204
6b535b84
CD
9205 * po/be.po: Update translation.
9206
ae67f2e5
L
92072018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9208
9209 * sysdeps/x86/cpu-features-offsets.sym
9210 (rtld_global_ro_offsetof): Removed.
9211 (CPU_FEATURES_SIZE): Likewise.
9212 (CPUID_OFFSET): Likewise.
9213 (CPUID_SIZE): Likewise.
9214 (CPUID_EAX_OFFSET): Likewise.
9215 (CPUID_EBX_OFFSET): Likewise.
9216 (CPUID_ECX_OFFSET): Likewise.
9217 (CPUID_EDX_OFFSET): Likewise.
9218 (FAMILY_OFFSET): Likewise.
9219 (MODEL_OFFSET): Likewise.
9220 (FEATURE_OFFSET): Likewise.
9221 (FEATURE_SIZ): Likewise.
9222 (COMMON_CPUID_INDEX_1): Likewise.
9223 (COMMON_CPUID_INDEX_7): Likewise.
9224 (FEATURE_INDEX_1): Likewise.
9225 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9226
6b5c8607 92272018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
9228
9229 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9230 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9231 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9232 (install-locales): Depend on install-locale-archive.
9233 (install-locale-archive): Define.
7b7adbd8 9234 (install-locale-files): Define.
08a5ee14
CD
9235 (build-one-locale): Define macro.
9236 * manual/install.texi (Running make install): Document.
9237 * manual/INSTALL: Regenerate.
9238
525691bd
SP
92392018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9240
d67d634b
SP
9241 * benchtests/scripts/compare_strings.py: Import traceback.
9242 (parse_file): Pretty-print error.
9243
525691bd
SP
9244 * NEWS: Mention the change.
9245 * elf/dl-tunables.list: Rename tune namespace to cpu.
9246 * sysdeps/powerpc/dl-tunables.list: Likewise.
9247 * sysdeps/x86/dl-tunables.list: Likewise.
9248 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9249 cpu.name.
9250 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9251 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9252 * manual/README.tunables: Likewise.
9253 * manual/tunables.texi: Likewise.
9254 * sysdeps/powerpc/cpu-features.c: Likewise.
9255 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9256 (init_cpu_features): Likewise.
9257 * sysdeps/x86/cpu-features.c: Likewise.
9258 * sysdeps/x86/cpu-features.h: Likewise.
9259 * sysdeps/x86/cpu-tunables.c: Likewise.
9260 * sysdeps/x86_64/Makefile: Likewise.
9261 * sysdeps/x86/dl-cet.c: Likewise.
9262
506d7fb1
JM
92632018-08-02 Joseph Myers <joseph@codesourcery.com>
9264
9265 [BZ #23479]
9266 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9267 [__mips_hard_float].
9268 (FE_UNDERFLOW): Likewise.
9269 (FE_OVERFLOW): Likewise.
9270 (FE_DIVBYZERO): Likewise.
9271 (FE_INVALID): Likewise.
9272 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9273 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9274 (FE_UPWARD): Likewise.
9275 (FE_DOWNWARD): Likewise.
9276 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9277 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9278 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9279 [__mips_hard_float].
9280 (FP_ROUNDMODE): Likewise.
9281 (FP_RND_NEAREST): Likewise.
9282 (FP_RND_ZERO): Likewise.
9283 (FP_RND_PINF): Likewise.
9284 (FP_RND_MINF): Likewise.
9285 (FP_EX_INVALID): Likewise.
9286 (FP_EX_OVERFLOW): Likewise.
9287 (FP_EX_UNDERFLOW): Likewise.
9288 (FP_EX_DIVZERO): Likewise.
9289 (FP_EX_INEXACT): Likewise.
9290 (FP_INIT_ROUNDMODE): Likewise.
9291 * sysdeps/mips/nofpu/fesetenv.c: New file.
9292 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9293
f6dcefbe
JM
92942018-08-01 Joseph Myers <joseph@codesourcery.com>
9295
9296 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9297 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9298 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9299 conditional on [FE_UPWARD].
9300
fa67ba06
PE
93012018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9302
9303 regex: fix memory leak in Gnulib
9304 Problem and fix reported by Assaf Gordon in:
9305 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9306 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9307 range_ends members too, as they are defined in 'struct
9308 re_charset_t' even if not _LIBC. This affects only Gnulib.
9309
82c80ac2
L
93102018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9311
9312 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9313 ...
9314 (get_common_indices): This.
9315 (init_cpu_features): Updated.
9316
c0e7e2c1
JM
93172018-08-01 Joseph Myers <joseph@codesourcery.com>
9318
46f8cf57
JM
9319 * sysdeps/generic/math-tests-snan-payload.h: New file.
9320 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9321 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9322 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9323 * sysdeps/generic/math-tests.h: Include
9324 <math-tests-snan-payload.h>.
9325 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9326 * sysdeps/hppa/math-tests.h: Remove file.
9327 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9328 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9329 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9330 Likewise.
9331
c0e7e2c1
JM
9332 * sysdeps/generic/math-tests-snan-cast.h: New file.
9333 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9334 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9335 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9336 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9337
74939c83
CD
93382018-08-01 Carlos O'Donel <carlos@redhat.com>
9339
b029723b
CD
9340 * version.h (RELEASE): Set to "development".
9341 (VERSION): Set to "2.28.9000".
9342 * NEWS (2.29): New section.
9343
3c03baca
CD
9344 * version.h (RELEASE): Set to "stable".
9345 (VERSION): Set to "2.28".
9346 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9347 * NEWS: Add the list of bugs fixed in 2.28.
9348
74939c83
CD
9349 * po/ca.po: Update to latest version.
9350 * po/cs.po: Likewise
9351 * po/da.po: Likewise
9352 * po/el.po: Likewise
9353 * po/eo.po: Likewise
9354 * po/es.po: Likewise
9355 * po/fi.po: Likewise
9356 * po/fr.po: Likewise
9357 * po/gl.po: Likewise
9358 * po/hu.po: Likewise
9359 * po/ia.po: Likewise
9360 * po/id.po: Likewise
9361 * po/it.po: Likewise
9362 * po/ja.po: Likewise
9363 * po/ko.po: Likewise
9364 * po/lt.po: Likewise
9365 * po/nb.po: Likewise
9366 * po/nl.po: Likewise
9367 * po/pt_BR.po: Likewise
9368 * po/ru.po: Likewise
9369 * po/rw.po: Likewise
9370 * po/sk.po: Likewise
9371 * po/sl.po: Likewise
9372 * po/tr.po: Likewise
9373 * po/zh_CN.po: Likewise
9374 * po/zh_TW.po: Likewise
9375
d4b54bdf
ST
93762018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9377
9378 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9379 initialization...
9380 (init): ... before initializing libpthread.
9381
42fc12ef
ST
9382 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9383 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9384 (__mach_setup_tls): ... new function.
9385 (mach_setup_tls): New alias.
9386 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9387 __mach_setup_thread.
9388 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9389 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9390 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9391 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9392
6cca855e
CD
93932018-07-31 Carlos O'Donell <carlos@redhat.com>
9394
f650932b
CD
9395 * manual/install.texi: Update versions.
9396 * INSTALL: Regenerate.
9397
6cca855e
CD
9398 * manual/contrib.texi (Contributors): Update contributions.
9399
07fdea47
CD
94002018-07-31 Carlos O'Donell <carlos@redhat.com>
9401
9402 * po/be.po: Update translations.
9403
63d5fad4
AZ
94042018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9405
9406 * sysdeps/sh/libm-test-ulps: Update.
9407
1ff712a6
CD
94082018-07-30 Carlos O'Donell <carlos@redhat.com>
9409
9410 * po/bg.po: Update translations.
9411 * po/de.po: Likewise.
9412 * po/hr.po: Likewise.
9413 * po/pt_BR.po: Likewise.
9414 * po/sv.po: Likewise.
9415 * po/vi.po: Likewise.
9416
98864ed0
L
94172018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9418
9419 [BZ #23467]
9420 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9421 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9422 (CFLAGS-tst-cet-property-1.o): New.
9423 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9424 ($(objpfx)tst-cet-property-2): Likewise.
9425 ($(objpfx)tst-cet-property-2.out): Likewise.
9426 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9427 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9428 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9429 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9430 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9431
c92a00d8
L
94322018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9433
9434 [BZ #23458]
9435 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9436
99bc6241
ST
94372018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9438
9439 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9440 __sbrk): Do not set attribute_hidden.
af86087f 9441 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
9442 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9443 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9444
bcb1c4af
CD
94452018-07-27 Carlos O'Donell <carlos@redhat.com>
9446
9447 * po/uk.po: Update translations.
9448 * po/cs.po: Likewise.
9449 * po/pl.po: Likewise.
9450
4591b7db
L
94512018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9452
9453 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9454 parse beyond the note end.
9455
2c6da2f4
AZ
94562018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9457
9458 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9459 kernel does not support OFD locks.
9460 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9461
20365a31
ST
94622018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9463
9464 * sysdeps/mach/hurd/Versions (libc): Make __access and
9465 __access_noerrno external so they can override the ld symbols.
9466 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9467 __writev, __open64, __access_noerrno extern so they can be overrided.
9468 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9469 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9470
cb1a43db
CD
94712018-07-26 Carlos O'Donell <carlos@redhat.com>
9472
9473 * po/libc.pot: Regenerate.
9474
74759ae5
JM
94752018-07-26 Joseph Myers <joseph@codesourcery.com>
9476
9477 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9478
da80612d
L
94792018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9480
9481 [BZ #23459]
9482 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9483 function.
9484 (init_cpu_features): Call get_extended_indices for both Intel
9485 and AMD CPUs.
9486 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9487 Remove "for AMD" comment.
9488
65d87ade
L
94892018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9490
9491 [BZ # 23456]
9492 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9493 COMMON_CPUID_INDEX_80000001.
9494
c9dc4d51
SL
94952018-07-26 Stefan Liebler <stli@linux.ibm.com>
9496
9497 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9498 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9499
cfba5dbb
FW
95002018-07-26 Florian Weimer <fweimer@redhat.com>
9501
9502 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9503 aliases for symbols not in the implementation namespace.
9504
6b5c8607 95052018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
9506
9507 [BZ #23393]
9508 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9509 lowercase in LATIN script.
9510 * localedata/Makefile (test-input): Add en_US.UTF-8.
9511 * localedata/en_US.UTF-8.in: New file.
9512 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9513 and restore old tests.
9514 * posix/tst-regexloc.c (do_test): Add back range expression test.
9515
3fb455b3
L
95162018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9517
9518 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9519
d6499b70
AZ
95202018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9521
9522 * nptl/threads.h: Move to ...
9523 * sysdeps/nptl/threads.h: ... here.
9524 * sysdeps/hurd/stdc-predef.h: New file.
9525
08ac6bed
L
95262018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9527
9528 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9529 tst-cet-setcontext-1 if CET is enabled.
9530 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9531 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9532
9faaf938
AZ
95332018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9534
9535 * include/threads.h: Move to ...
9536 * sysdeps/nptl/threads.h: ... here.
9537 * sysdeps/htl/threads.h: New file.
9538 * conform/Makefile (linknamespace-libs-ISO11): Use
9539 static-thread-library instead of linking libpthread.
9540 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9541
d6b8f847
FW
95422018-07-25 Florian Weimer <fweimer@redhat.com>
9543
9544 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9545 nanoseconds into seconds.
9546 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9547 (do_test): Likewise.
9548 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9549 (do_test): Likewise. Avoid nanosecond overflow and spurious
9550 timeouts due to system load.
9551 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9552 (child_wait): Increment it.
9553 (do_test): Wait as long as necessary until all expected threads
9554 have arrived.
9555
25123a1c
L
95562018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9557 H.J. Lu <hongjiu.lu@intel.com>
9558
9559 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9560 __ssp.
9561 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9562 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9563 (__push___start_context): New.
9564 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9565 <asm/prctl.h>.
9566 (__getcontext): Record the current shadow stack base. Save the
9567 caller's shadow stack pointer and base.
9568 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9569 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9570 (__push___start_context): New prototype.
9571 (__makecontext): Call __push___start_context to allocate a new
9572 shadow stack, push __start_context onto the new stack as well
9573 as the new shadow stack.
9574 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9575 <asm/prctl.h>.
9576 (__setcontext): Restore the target shadow stack.
9577 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9578 <asm/prctl.h>.
9579 (__swapcontext): Record the current shadow stack base. Save
9580 the caller's shadow stack pointer and base. Restore the target
9581 shadow stack.
9582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9583 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9584 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9585
375a4844
L
95862018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9587
9588 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9589 tst-setcontext8 and tst-setcontext9.
9590 * stdlib/tst-setcontext6.c: New file.
9591 * stdlib/tst-setcontext7.c: Likewise.
9592 * stdlib/tst-setcontext8.c: Likewise.
9593 * stdlib/tst-setcontext9.c: Likewise.
9594
bd4f7903
L
95952018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9596
9597 * stdlib/Makefile ((tests): Add tst-setcontext5.
9598 * stdlib/tst-setcontext5.c: New file.
9599
7e28f203
L
96002018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9601
9602 * stdlib/Makefile (tests): Add tst-setcontext4.
9603 * stdlib/tst-setcontext4.c: New file.
9604
8516ad2d
L
96052018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9606
9607 * stdlib/Makefile (tests): Add tst-swapcontext1.
9608 * stdlib/tst-swapcontext1.c: New test.
9609
fddcd003
L
96102018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9611
9612 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9613 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9614 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9615 and tst-cet-legacy-4c.
9616 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9617 and tst-cet-legacy-mod-4.
9618 (CFLAGS-tst-cet-legacy-2.c): New.
9619 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9620 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9621 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9622 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9623 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9624 ($(objpfx)tst-cet-legacy-1): Likewise.
9625 ($(objpfx)tst-cet-legacy-2): Likewise.
9626 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9627 ($(objpfx)tst-cet-legacy-2a): Likewise.
9628 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9629 ($(objpfx)tst-cet-legacy-4): Likewise.
9630 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9631 ($(objpfx)tst-cet-legacy-4a): Likewise.
9632 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9633 (tst-cet-legacy-4a-ENV): Likewise.
9634 ($(objpfx)tst-cet-legacy-4b): Likewise.
9635 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9636 (tst-cet-legacy-4b-ENV): Likewise.
9637 ($(objpfx)tst-cet-legacy-4c): Likewise.
9638 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9639 (tst-cet-legacy-4c-ENV): Likewise.
9640 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9641 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9642 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9643 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9644 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9645 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9646 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9647 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9648 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9649 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9650 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9651
9aa3113a
L
96522018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9653
9654 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9655 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9656 with ssp_base.
9657 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9658 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9659 with ssp_base.
9660
9c79cec8
AS
96612018-07-25 Andreas Schwab <schwab@suse.de>
9662
9663 [BZ #23442]
9664 * locale/weightwc.h (findidx): Handle the case where usrc is a
9665 prefix of cp but one character too short.
9666
969c3355
AZ
96672018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9668
9669 * NEWS: Add ISO C threads addition.
9670
e0f9c462
FW
96712018-07-24 Florian Weimer <fweimer@redhat.com>
9672
9673 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9674 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9675 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9676 4.13.
9677
394df381
L
96782018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9679
9680 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9681 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9682 <sys/prctl.h> and <asm/prctl.h>.
9683 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9684 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9685 and <asm/prctl.h>.
9686 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9687 ARCH_CET_LEGACY_BITMAP.
9688 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9689 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9690 * sysdeps/x86/libc-start.c: Include <startup.h>.
9691
46545530
FW
96922018-07-24 Florian Weimer <fweimer@redhat.com>
9693
9694 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9695 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9696
6b5c8607 96972018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 9698 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
9699 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9700
9701 [BZ #14092]
9d0a979e
RJ
9702 * manual/debug.texi: Update adjacent chapter name.
9703 * manual/probes.texi: Likewise.
9704 * manual/threads.texi (ISO C Threads): New section.
9705 (POSIX Threads): Convert to a section.
9706
97072018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9708 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9709
9710 [BZ# 14092]
0a07288b
AZ
9711 * nptl/Makefile (tests): Add new test files.
9712 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9713 * nptl/tst-cnd-basic.c: Likewise.
9714 * nptl/tst-cnd-broadcast.c: Likewise.
9715 * nptl/tst-cnd-timedwait.c: Likewise.
9716 * nptl/tst-mtx-basic.c: Likewise.
9717 * nptl/tst-mtx-recursive.c: Likewise.
9718 * nptl/tst-mtx-timedlock.c: Likewise.
9719 * nptl/tst-mtx-trylock.c: Likewise.
9720 * nptl/tst-thrd-basic.c: Likewise.
9721 * nptl/tst-thrd-detach.c: Likewise.
9722 * nptl/tst-thrd-sleep.c: Likewise.
9723 * nptl/tst-tss-basic.c: Likewise.
9724
ce7528f6
AZ
97252018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9726
c6dd669b
AZ
9727 [BZ #14092]
9728 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9729 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9730 symbols.
9731 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9732 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9733 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9734 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9735 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9736 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9737 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9738 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9739 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9740 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9741 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9742 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9744 Likewise.
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9746 Likewise.
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9748 Likewise.
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9750 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9751 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9752 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9753 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9754 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9755 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9756 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9757 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9758 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9759 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9760 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9761 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9762 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9763 Likewise.
9764 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9765 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9766 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9767 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9768 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9769 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9770 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9771 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9772 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9773 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9774 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9775 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9776 ikewise.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9779 Likewise.
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9781 Likewise.
9782 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9783 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9784 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9785 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9786 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9787 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9788 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9789 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9790
78d40132
AZ
9791 [BZ #14092]
9792 * conform/data/threads.h-data (thread_local): New macro.
9793 (TSS_DTOR_ITERATIONS): Likewise.
9794 (tss_t): New type.
9795 (tss_dtor_t): Likewise.
9796 (tss_create): New function.
9797 (tss_get): Likewise.
9798 (tss_set): Likewise.
9799 (tss_delete): Likewise.
9800 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9801 tss_get, and tss_set objects.
9802 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9803 * nptl/tss_create.c: New file.
9804 * nptl/tss_delete.c: Likewise.
9805 * nptl/tss_get.c: Likewise.
9806 * nptl/tss_set.c: Likewise.
9807 * sysdeps/nptl/threads.h (thread_local): New define.
9808 (TSS_DTOR_ITERATIONS): Likewise.
9809 (tss_t): New typedef.
9810 (tss_dtor_t): Likewise.
9811 (tss_create): New prototype.
9812 (tss_get): Likewise.
9813 (tss_set): Likewise.
9814 (tss_delete): Likewise.
9815
918311a3
AZ
9816 [BZ #14092]
9817 * conform/data/threads.h-data (cnd_t): New type.
9818 (cnd_init): New function.
9819 (cnd_signal): Likewise.
9820 (cnd_broadcast): Likewise.
9821 (cnd_wait): Likewise.
9822 (cnd_timedwait): Likewise.
9823 (cnd_destroy): Likewise.
9824 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9825 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9826 object.
9827 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9828 * nptl/cnd_broadcast.c: New file.
9829 * nptl/cnd_destroy.c: Likewise.
9830 * nptl/cnd_init.c: Likewise.
9831 * nptl/cnd_signal.c: Likewise.
9832 * nptl/cnd_timedwait.c: Likewise.
9833 * nptl/cnd_wait.c: Likewise.
9834 * sysdeps/nptl/threads.h (cnd_t): New type.
9835 (cnd_init): New prototype.
9836 (cnd_signa): Likewise.
9837 (cnd_broadcast): Likewise.
9838 (cnd_wait): Likewise.
9839 (cnd_timedwait): Likewise.
9840 (cnd_destroy): Likewise.
9841
3c20a679
AZ
9842 [BZ #14092]
9843 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9844 (once_flag): New type.
9845 (call_once): New function.
9846 * nptl/Makefile (libpthread-routines): Add call_once object.
9847 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9848 * nptl/call_once.c: New file.
9849 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9850 (once_flag): New type.
9851 (call_once): New prototype.
9852
18d59c1b
AZ
9853 [BZ #14092]
9854 * conform/data/threads.h-data (mtx_plain): New constant.
9855 (mtx_recursive): Likewise.
9856 (mtx_timed): Likewise.
9857 (mtx_t): New type.
9858 (mtx_init): New function.
9859 (mtx_lock): Likewise.
9860 (mtx_timedlock): Likewise.
9861 (mtx_trylock): Likewise.
9862 (mtx_unlock): Likewise.
9863 (mtx_destroy): Likewise.
9864 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9865 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9866 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9867 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9868 * nptl/mtx_destroy.c: New file.
9869 * nptl/mtx_init.c: Likewise.
9870 * nptl/mtx_lock.c: Likewise.
9871 * nptl/mtx_timedlock.c: Likewise.
9872 * nptl/mtx_trylock.c: Likewise.
9873 * nptl/mtx_unlock.c: Likewise.
9874 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9875 (mtx_recursive): Likewise.
9876 (mtx_timed): Likewise.
9877 (mtx_t): New type.
9878 (mtx_init): New prototype.
9879 (mtx_lock): Likewise.
9880 (mtx_timedlock): Likewise.
9881 (mtx_trylock): Likewise.
9882 (mtx_unlock): Likewise.
9883 (mtx_destroy): Likewise.
9884
ce7528f6
AZ
9885 [BZ #14092]
9886 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9887 (linknamespace-libs-ISO11): Add libpthread.a.
9888 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9889 functions.
9890 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9891 * nptl/Makefile (headers): Add threads.h.
9892 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9893 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9894 thrd_yield.
9895 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9896 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9897 thrd_join, thrd_sleep, and thrd_yield symbols.
9898 * nptl/descr.h (struct pthread): Add c11 field.
9899 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9900 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9901 routine with expected function prototype.
9902 (__pthread_create_2_1): Add C11 threads check based on attribute
9903 value.
9904 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9905 * nptl/thrd_create.c: New file.
9906 * nptl/thrd_current.c: Likewise.
9907 * nptl/thrd_detach.c: Likewise.
9908 * nptl/thrd_equal.c: Likewise.
9909 * nptl/thrd_exit.c: Likewise.
9910 * nptl/thrd_join.c: Likewise.
9911 * nptl/thrd_priv.h: Likewise.
9912 * nptl/thrd_sleep.c: Likewise.
9913 * nptl/thrd_yield.c: Likewise.
9914 * include/threads.h: Likewise.
9915
e27f41ba
L
99162018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9917
9918 * bits/indirect-return.h: New file.
9919 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9920 * sysdeps/x86/bits/indirect-return.h: Likewise.
9921 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9922 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9923 (swapcontext): Add __INDIRECT_RETURN.
9924 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9925 (prepare_test_buffer): Use it.
9926
21526a50
AS
99272018-07-24 Andreas Schwab <schwab@suse.de>
9928
9929 [BZ #23448]
9930 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9931 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9932
3650e1d9
L
99332018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9934
9935 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9936 Redefine if shadow stack is enabled.
9937 (SYSCALL_ERROR_LABEL): Likewise.
9938 (__vfork): Pop shadow stack and jump back to to caller directly
9939 when shadow stack is in use.
9940 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9941 Redefine if shadow stack is enabled.
9942 (SYSCALL_ERROR_LABEL): Likewise.
9943 (__vfork): Pop shadow stack and jump back to to caller directly
9944 when shadow stack is in use.
9945
ca027e0f
L
99462018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9947
9948 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9949 enabled.
9950 (foo): Likewise.
9951 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9952 (foo): Likewise.
9953
b99f1c95
JM
99542018-07-20 Joseph Myers <joseph@codesourcery.com>
9955
9956 * scripts/build-many-glibcs.py (Context.checkout): Default
9957 binutils version to 2.31 branch.
9958
c8fabb84
ZL
99592018-07-20 Zong Li <zong@andestech.com>
9960
9961 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9962 URL of gcc's tarball.
9963
786658a0
FW
99642018-07-20 Florian Weimer <fweimer@redhat.com>
9965
9966 [BZ #23396]
9967 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9968 not compare an extra byte after the end of the weights.
9969
46f2474e
ST
99702018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9971
9972 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9973 to 1.
8ba1520e
ST
9974 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9975 hidden prototypes.
9976 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9977 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
9978 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9979 list of libraries whose stack executability is expected.
9980 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9981 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9982 variable.
9983 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9984 libc.so libpthread.so.
46f2474e 9985
60088242
TS
99862018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9987
9988 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9989 SOCK_NONBLOCK.
75d5e4a0
TS
9990 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9991 and SOCK_NONBLOCK.
de195be0
TS
9992 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9993 implement __pipe2.
9994 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 9995
1cf4ae7f
LS
99962018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9997
9998 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9999 library to improve command line parsing.
10000 (__main__): make schema file as optional parameter (--schema),
10001 defaulting to benchtests/scripts/benchout.schema.json.
10002 (main): move out of the parsing stuff to __main_  and leave it
10003 only as caller of main comparison functions.
10004
e84bd851
L
100052018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10006
10007 * NEWS: Add a note for Intel CET status.
10008 * manual/install.texi: Likewise.
10009 * INSTALL: Regenerated.
10010
df467d22
QP
100112018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10012
10013 [BZ #23140]
10014 * localedata/locales/oc_FR (mon): Rename to...
10015 (alt_mon): This, then update October (typo fix).
10016 (mon): New content (genitive case, month names preceded by
10017 "de" or "d’").
10018
10019 [BZ #23422]
10020 * localedata/locales/oc_FR (abday): Update all items.
10021 (day): Update Wednesday and Saturday (typo fixes).
10022 (abmon): Update all items, except May.
10023 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10024 (LC_IDENTIFICATION): Bump the revision number and date.
10025 Keep the "category" entries in alphabetic order.
10026 (LC_ADDRESS): Remove no longer needed comment.
10027 (LC_COLLATE): Use “copy "ca_ES"”.
10028 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10029 "name_mrs".
10030
5c112f1b
JM
100312018-07-18 Joseph Myers <joseph@codesourcery.com>
10032
10033 * grp/tst_fgetgrent.c: Include <unistd.h>.
10034 (main): Use mkstemp instead of tmpnam.
10035 * io/test-utime.c (main): Likewise.
10036 * posix/annexc.c (macrofile): Change to modifiable array.
10037 (main): Remove macrofile here.
10038 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10039 macrofile here.
10040 (check_header): Do not remove macrofile here.
10041 * posix/bug-getopt1.c: Include <stdlib.h>.
10042 (do_test): Use mkstemp instead of tmpnam.
10043 * posix/bug-getopt2.c: Include <stdlib.h>.
10044 (do_test): Use mkstemp instead of tmpnam.
10045 * posix/bug-getopt3.c: Include <stdlib.h>.
10046 (do_test): Use mkstemp instead of tmpnam.
10047 * posix/bug-getopt4.c: Include <stdlib.h>.
10048 (do_test): Use mkstemp instead of tmpnam.
10049 * posix/bug-getopt5.c: Include <stdlib.h>.
10050 (do_test): Use mkstemp instead of tmpnam.
10051 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10052 (main): Use mkstemp instead of tmpnam.
10053 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10054 (main): Use mkstemp instead of tmpnam.
10055 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10056 (main): use mkstemp instead of tmpnam.
10057 * stdlib/isomac.c (macrofile): Change to modifiable array.
10058 (main): Remove macrofile here.
10059 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10060 macrofile here.
10061 (check_header): Do not remove macrofile here.
10062
6d90776d
L
100632018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10064
10065 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10066 glibc.tune.x86_shstk.
10067
e6c69509
L
100682018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10069
10070 * NEWS: Mention --enable-cet.
10071 * manual/install.texi: Document --enable-cet.
10072 * INSTALL: Regenerated.
10073
e2d40a88
L
100742018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10075
10076 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10077 Add _CET_NOTRACK before indirect jump to jump table.
10078
77a8ae09
L
100792018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10080
10081 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10082 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10083 to jump table.
10084
90d15dc5
L
100852018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10086
10087 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10088 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10089 to jump table.
10090
f1574581
L
100912018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10092
10093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10094 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10095 to jump table.
10096
7fb61336
L
100972018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10098
10099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10100 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10101 to jump table.
10102
0a899af0
L
101032018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10104
10105 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10106 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10107 to jump table.
10108 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10109
177824e2
L
101102018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10111
10112 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10113 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10114 to jump table.
10115
00e7b76a
L
101162018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10117
10118 * sysdeps/i386/i686/multiarch/memset-sse2.S
10119 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10120 to jump table.
10121
7e119cd5
L
101222018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10123
10124 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10125 indirect jump to jump table.
10126
03aaf49b
L
101272018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10128
10129 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10130 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10131 to jump table.
10132 (MEMCPY): Likewise.
10133
811e9e52
L
101342018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10135
10136 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10137 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10138 to jump table.
10139 (MEMCPY): Likewise.
10140
8817df42
L
101412018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10142
10143 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10144 _CET_NOTRACK before indirect jump to jump table.
10145
921595d1
L
101462018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10147
10148 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10149 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10150 to jump table.
10151
4ef60d95
L
101522018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10153
10154 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10155 indirect jump to jump table.
10156
61c4aad7
VT
101572018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10158
10159 [BZ #22241]
10160 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10161 (LOCALES): Likewise.
10162 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10163 * localedata/locales/sah_RU: New file.
10164 * localedata/sah_RU.UTF-8.in: New file.
10165
be9ccd27
L
101662018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10167
10168 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10169 "sysdep.h".
10170 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10171 _CET_ENDBR to indirect jump targets and adjust jump destination
10172 for _CET_ENDBR.
10173 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10174 "sysdep.h".
10175 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10176 _CET_ENDBR to indirect jump targets and adjust jump destination
10177 for _CET_ENDBR.
10178 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10179 "sysdep.h".
10180 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10181 _CET_ENDBR to indirect jump targets and adjust jump destination
10182 for _CET_ENDBR.
10183
5efc6777
L
101842018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10185
10186 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10187 _CET_ENDBR.
10188
562837c0
L
101892018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10190
10191 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10192 _CET_ENDBR.
10193 (_dl_tlsdesc_undefweak): Likewise.
10194 (_dl_tlsdesc_dynamic): Likewise.
10195 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10196 (_dl_tlsdesc_resolve_rel): Likewise.
10197 (_dl_tlsdesc_resolve_rela): Likewise.
10198 (_dl_tlsdesc_resolve_hold): Likewise.
10199 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10200 (_dl_tlsdesc_undefweak): Likewise.
10201 (_dl_tlsdesc_dynamic): Likewise.
10202 (_dl_tlsdesc_resolve_rela): Likewise.
10203 (_dl_tlsdesc_resolve_hold): Likewise.
10204
124bcde6
L
102052018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10206
10207 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10208 (_fini): Likewise.
10209 * sysdeps/x86_64/crti.S (_init): Likewise.
10210 (_fini): Likewise.
10211
9145f033
RL
102122018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10213
10214 [BZ #23140]
10215 * localedata/locales/os_RU (mon): Rename to...
10216 (alt_mon): This.
10217 (mon): Import from CLDR (genitive case).
10218
ba2ea23d
L
102192018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10220
10221 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10222 cet-tunables.h> when CET is enabled.
10223
f753fa7d
L
102242018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10225
6b5c8607 10226 [BZ #21598]
f753fa7d
L
10227 * configure.ac: Add --enable-cet.
10228 * configure: Regenerated.
10229 * elf/Makefille (all-built-dso): Add a comment.
10230 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10231 Include <dl-prop.h>.
10232 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10233 segment.
10234 * elf/dl-open.c: Include <dl-prop.h>.
10235 (dl_open_worker): Call _dl_open_check.
10236 * elf/rtld.c: Include <dl-prop.h>.
10237 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10238 _rtld_main_check.
10239 * sysdeps/generic/dl-prop.h: New file.
10240 * sysdeps/i386/dl-cet.c: Likewise.
10241 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10242 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10243 * sysdeps/x86/cet-tunables.h: Likewise.
10244 * sysdeps/x86/check-cet.awk: Likewise.
10245 * sysdeps/x86/configure: Likewise.
10246 * sysdeps/x86/configure.ac: Likewise.
10247 * sysdeps/x86/dl-cet.c: Likewise.
10248 * sysdeps/x86/dl-procruntime.c: Likewise.
10249 * sysdeps/x86/dl-prop.h: Likewise.
10250 * sysdeps/x86/libc-start.h: Likewise.
10251 * sysdeps/x86/link_map.h: Likewise.
10252 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10253 _CET_ENDBR.
10254 (_dl_runtime_profile): Likewise.
10255 (_dl_runtime_resolve_shstk): New.
10256 (_dl_runtime_profile_shstk): Likewise.
10257 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10258 if CET is enabled.
10259 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10260 (CFLAGS-.os): Likewise.
10261 (CFLAGS-.op): Likewise.
10262 (CFLAGS-.oS): Likewise.
10263 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10264 is enabled.
10265 (tests-special): Add $(objpfx)check-cet.out.
10266 (cet-built-dso): New.
10267 (+$(cet-built-dso:=.note)): Likewise.
10268 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10269 ($(objpfx)check-cet.out): New.
10270 (generated): Add check-cet.out.
10271 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10272 <cet-tunables.h>.
10273 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10274 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10275 (init_cpu_features): Call get_cet_status to check CET status
10276 and update dl_x86_feature_1 with CET status. Call
10277 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10278 (set_x86_shstk). Disable and lock CET in libc.a.
10279 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10280 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10281 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10282 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10283 (_CET_ENDBR): Define if not defined.
10284 (ENTRY): Add _CET_ENDBR.
10285 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10286 x86_shstk.
10287 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10288 _CET_ENDBR.
10289 (_dl_runtime_profile): Likewise.
10290
52b2a80f
RA
102912018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10292
10293 [BZ #21895]
10294 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10295 restore r2 on longjmp.
10296 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10297 test list.
10298 Added rules to build test tst-setjmp-bug21895-static.
10299 Added module setjmp-bug21895 and rules to build a shared object from it.
10300 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10301 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10302
3ae725df
WD
103032018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10304
10305 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10306 * benchtests/bench-strstr.c: Likewise.
10307 * string/memmem.c (FASTSEARCH): Define.
10308 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10309 Add support for FASTSEARCH.
10310 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10311 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10312 (FASTSEARCH): Define.
10313 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10314 * string/test-strstr.c: Likewise.
10315
31e422ca
L
103162018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10317
10318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10319 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10320
faaee1f0
L
103212018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10322 H.J. Lu <hongjiu.lu@intel.com>
10323
10324 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10325 (__longjmp): Restore shadow stack pointer if shadow stack is
10326 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10327 isn't defined for __longjmp_cancel.
10328 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10329 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10330 and SHADOW_STACK_POINTER_OFFSET is defined.
10331 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10332 (setjmp): Save shadow stack pointer if shadow stack is enabled
10333 and SHADOW_STACK_POINTER_OFFSET is defined.
10334 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10335 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10336 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10337 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10338 <jmp_buf-ssp.h>.
10339 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10340 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10341 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10342 Remove jmp_buf-ssp.sym.
10343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10344 <jmp_buf-ssp.h>.
10345 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10346 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10347 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10348 jmp_buf-ssp.sym.
10349 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10350 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10351 (__longjmp): Restore shadow stack pointer if shadow stack is
10352 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10353 isn't defined for __longjmp_cancel.
10354 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10355 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10356 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10357
ebff9c5c
L
103582018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10359
10360 [BZ #22563]
10361 * nptl/pthread_create.c: Include <tls-setup.h>.
10362 (__pthread_create_2_1): Call tls_setup_tcbhead.
10363 * sysdeps/generic/tls-setup.h: New file.
10364 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10365 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10366 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10367 Likewise.
10368 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10369 to feature_1.
10370 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10371 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10372 (X86_FEATURE_1_SHSTK): Likewise.
10373 (CET_ENABLED): Likewise.
10374 (IBT_ENABLED): Likewise.
10375 (SHSTK_ENABLED): Likewise.
10376
0a83bad2
RL
103772018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10378
10379 [BZ #23208]
10380 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10381 (LOCALES): Likewise.
10382 * localedata/dsb_DE.UTF-8.in: New file.
10383 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10384
046bfed9
FW
103852018-07-12 Florian Weimer <fweimer@redhat.com>
10386
10387 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10388 __mprotect, not mprotect.
10389
93304f5f
FW
103902018-07-11 Florian Weimer <fweimer@redhat.com>
10391
10392 * io/Makefile (headers): Add bits/statx.h.
10393
4beefeeb
MF
103942018-07-10 Mike FABIAN <mfabian@redhat.com>
10395
10396 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10397 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10398 and headers.
10399 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10400 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10401 for utf8_gen.py
10402
fd70af45
FW
104032018-07-10 Florian Weimer <fweimer@redhat.com>
10404
10405 * io/Makefile (routines): Add statx.
10406 (tests-internal): Add tst-statx.
10407 * io/Versions (GLIBC_2.28): Export statx.
10408 * io/bits/statx.h: New file.
10409 * io/sys/stat.h [__USE_GNU]: Include it.
10410 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10411 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10412 Define.
10413 * io/statx.c: New file.
10414 * io/statx_generic.: Likewise.
10415 * io/tst-statx.: Likewise.
10416 * include/bits/statx.h: Likewise.
10417 * sysdeps/unix/sysv/linux/kernel-features.h
10418 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10419 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10420 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10421 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10422 Undefine.
10423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10424 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10425 * sysdeps/unix/sysv/linux/statx.c: New file.
10426 * manual/filesys.texi: Note that statx is undocumented.
10427 * sysdeps/**/libc*.abilist: Update.
10428
b444e8f7
AZ
104292018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10430
10431 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10432 a kernel issue which lead to test failure in some cases.
10433
7b2f4ced
FW
104342018-07-10 Florian Weimer <fweimer@redhat.com>
10435
10436 [BZ #23036]
10437 * posix/regexec.c (check_node_accept_bytes): When comparing
10438 weights, do not compare an extra byte after the end of the
10439 weights.
10440
4fa34da6
FW
104412018-07-10 Florian Weimer <fweimer@redhat.com>
10442
10443 * libio/readline.c: Fix copyright year.
10444 * libio/tst-readline.c Likewise.
10445 * nss/tst-nss-files-hosts-getent.c: Likewise.
10446
916124ed
FW
104472018-07-06 Florian Weimer <fweimer@redhat.com>
10448
10449 [BZ #18991]
10450 * nss/nss_files/files-XXX.c (internal_getent): Use
10451 __libc_readline_unlocked. Seek back to the start of the line if
10452 parsing failes with ERANGE.
10453 (get_contents_ret, get_contents): Remove.
10454 * nss/tst-nss-files-hosts-getent.c: New file.
10455 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10456 (tst-nss-files-hosts-getent): Link with -ldl.
10457
3f5e3f5d
FW
104582018-07-06 Florian Weimer <fweimer@redhat.com>
10459
10460 * include/stdio.h (__libc_readline_unlocked): Declare.
10461 (__ftello64, __fseeko64): Declare aliases.
10462 * libio/readline.c: New file.
10463 * libio/tst-readline.c: Likewise.
10464 (routines): Add readline.
10465 (tests-internal): Add tst-readlime.
10466 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10467 __libc_readline_unlocked.
10468 * libio/fseeko.c (__fseeko): Rename from fseeko.
10469 (fseeko): Add alias.
10470 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10471 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10472 (fseeko64): Add alias.
10473 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10474 * libio/ftello64.c (__ftello64): Rename from ftello64.
10475 (ftello64): Add alias.
10476
397c54c1
SN
104772018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10478
10479 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10480 HWCAP_ATOMICS.
10481
d0cd7980
SN
104822018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10483
10484 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10485 Use dl_hwcap without masking.
10486 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10487 Remove HWCAP_CPUID.
10488
ddb3c626
FW
104892018-07-06 Florian Weimer <fweimer@redhat.com>
10490
10491 * conform/conformtest.pl (checknamespace): Escape literal braces
10492 in regular expressions.
10493
bce5911b
AP
104942018-07-06 Amit Pawar <amit.pawar@amd.com>
10495
10496 * sysdeps/x86/cpu-features.c (get_common_indeces):
10497 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10498 * sysdeps/x86/cpu-features.c (init_cpu_features):
10499 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10500
3a885c1f
FW
105012018-07-05 Florian Weimer <fweimer@redhat.com>
10502
10503 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10504 protector.
10505 (CFLAGS-elf-init.oS): Likewise.
10506
38cade0c
FW
105072018-07-05 Florian Weimer <fweimer@redhat.com>
10508 Carlos O'Donell <carlos@redhat.com>
10509
10510 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10511 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10512 with stack protector enabled because there is no risk of infinite
10513 recursion.
10514
9449a295
MR
105152018-07-05 Maciej W. Rozycki <macro@mips.com>
10516
10517 [BZ #19818]
10518 [BZ #23307]
10519 * libc-abis (ABSOLUTE): New ABI.
10520 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10521 * NEWS: Mention the new ABI.
10522
d6da5cb6
FW
105232018-07-05 Florian Weimer <fweimer@redhat.com>
10524
10525 [BZ # 17662]
10526 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10527 (RENAME_WHITEOUT): Define.
10528 [__USE_GNU] (renameat2): Declare.
10529 * stdio-common/Makefile (routines): Add renameat2.
10530 (tests): Add tst-renameat2.
10531 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10532 * stdio-common/renameat2.c: New file.
10533 * stdio-common/tst-renameat2.c: Likewise.
10534 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10535 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10536 undocumented.
10537 * sysdeps/unix/sysv/linux/kernel-features.h
10538 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10539 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10540 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10541 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10542 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10543 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10544 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10545 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10546 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10547 * include/stdio.h (__renameat): Add alias for renameat.
10548 * stdio-common/renameat.c (__renameat): Rename from renameat.
10549 Add hidden definition and alias.
10550 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10551 * sysdeps/mach/hurd/renameat.c: Likewise.
10552 * sysdeps/**/libc*.abilist: Add renameat2.
10553
1002d708
AZ
105542018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10555
10556 * posix/bug-regex33.c: Fix build after regex sync.
10557
34fdb893
CD
105582018-07-04 Carlos O'Donell <carlos@redhat.com>
10559
10560 [BZ #23164]
10561 * localedata/tst-langinfo-setlocale.c: New file.
10562 * localedata/tst-langinfo-setlocale-static.c: New file.
10563 * localedata/tst-langinfo-newlocale.c: New file.
10564 * localedata/tst-langinfo-newlocale-static.c: New file.
10565 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10566 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10567 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10568 (tests-static): Remove tst-langinfo-static. Add
10569 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10570 (tests-special): Remove $(objpfx)tst-langinfo.out,
10571 $(objpfx)tst-langinfo-static.out. Add
10572 $(objpfx)tst-langinfo-setlocale.out,
10573 $(objpfx)tst-langinfo-newlocale.out,
10574 $(objpfx)tst-langinfo-setlocale-static.out,
10575 $(objpfx)tst-langinfo-newlocale-static.out.
10576 ($(objpfx)tst-langinfo.out): Remove.
10577 ($(objpfx)tst-langinfo-static.out): Remove.
10578 ($(objpfx)tst-langinfo-newlocale.out): New target.
10579 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10580 (test-xfail-tst-langinfo-newlocale-static): Add.
10581 ($(objpfx)tst-langinfo-setlocale.out): New target.
10582 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10583 * localedata/tst-langinfo.c: Call test_locale.
10584 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10585 data.
10586
f2873d2d
FW
105872018-07-04 Florian Weimer <fweimer@redhat.com>
10588
10589 testrun.sh: Implement --tool=strace, --tool=valgrind
10590 * Makefile (testrun-script): Define variable.
10591 (testrun.sh): Use variable.
10592 * manual/install.texi (Tools for Compilation): make 4.0 or later
10593 is required.
10594 * configure.ac: Check for make 4.0 or later.
10595 * INSTALL: Regenerate.
10596 * configure: Likewise.
10597
eb04c213
AZ
105982018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10599
10600 [BZ #23233]
10601 [BZ #21163]
10602 [BZ #18986]
10603 [BZ #13762]
10604 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10605 * posix/PCRE.tests: Remove invalid test.
10606 * posix/bug-regex28.c: Fix expected values for used syntax.
10607 * posix/bug-regex37.c: New file.
10608 * posix/bug-regex38.c: Likewise.
10609 * posix/regcomp.c: Sync with gnulib.
10610 * posix/regex.c: Likewise.
10611 * posix/regex.h: Likewise.
10612 * posix/regex_internal.c: Likewise.
10613 * posix/regex_internal.h: Likewise.
10614 * posix/regexec.c: Likewise.
10615
b11643c2
MF
106162018-06-26 Mike FABIAN <mfabian@redhat.com>
10617
10618 [BZ #23308]
10619 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10620 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10621 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10622 * localedata/unicode-gen/PropList.txt: likewise.
10623 * localedata/unicode-gen/UnicodeData.txt: likewise.
10624 * localedata/charmaps/UTF-8: Regenerate.
10625 * localedata/locales/i18n_ctype: likewise.
10626 * localedata/locales/tr_TR: likewise.
10627 * localedata/locales/translit_circle: likewise.
10628 * localedata/locales/translit_cjk_compat: likewise.
10629 * localedata/locales/translit_combining: likewise.
10630 * localedata/locales/translit_compat: likewise.
10631 * localedata/locales/translit_font: likewise.
10632 * localedata/locales/translit_fraction: likewise.
10633
5a357506
FW
106342018-07-03 Florian Weimer <fweimer@redhat.com>
10635
10636 [BZ #23363]
10637 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10638 * stdio-common/tst-printf.sh: Adjust expected output.
10639 * LICENSES: Update.
10640
7279af00
AZ
106412018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10642
10643 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10644 symbol.
10645
b7b88cea
GG
106462018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10647
10648 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10649 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10650 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10651 * stdio-common/tst-printfsz-islongdouble.c: New file.
10652 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10653 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10654 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10655 [subdir == stdio-common] (tests-internal): Add
10656 test-printf-size-ieee128, and test-printf-size-ibm128.
10657 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10658 (CFLAGS-test-printf-size-ibm128.c): New variables.
10659 [subdir == stdio-common] (tests-special): Add
10660 $(objpfx)test-printf-size-ieee128.out and
10661 $(objpfx)test-printf-size-ibm128.out.
10662 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10663 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10664 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10665 __printf_sizeieee128.
10666 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10667 New file.
10668 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10669 Likewise.
10670 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10671 Likewise.
10672
2b445206
SN
106732018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10674
10675 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10676 (exp2f_inline): Likewise.
10677 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10678 (__math_uflowf): Likewise.
10679 (__math_may_uflowf): Likewise.
10680 (__math_divzerof): Likewise.
10681 (__math_invalidf): Likewise.
10682 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10683 (__math_oflowf): Likewise.
10684 (__math_uflowf): Likewise.
10685 (__math_may_uflowf): Likewise.
10686 (__math_divzerof): Likewise.
10687 (__math_invalidf): Likewise.
10688
2827ab99
CD
106892018-06-29 DJ Delorie <dj@redhat.com>
10690 Carlos O'Donell <carlos@redhat.com>
10691
10692 [BZ #23329]
10693 * include/libc-symbols.h: Comment the freeres framework.
10694 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10695 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10696 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10697 * dlfcn/dlerror.c: Include libc-symbols.h
10698 (__dlerror_main_freeres): New function.
10699 * dlfcn/dlfreeres.c: New file.
10700 * dlfcn/sdlfreeres.c: New file.
10701 * include/dlfcn.h: Declare __dlerror_main_freeres.
10702 * malloc/set-freeres.c: Declare __libdl_freeres, and
10703 __libpthread_freeres.
10704 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10705 the releavant libraries are loaded.
10706 * malloc/thread-freeres.c: Add comments.
10707 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10708 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10709 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10710 (__free_stacks): Rename to...
10711 (free_stacks): ...this. Mark static.
10712 (queue_stack): Call free_stacks.
10713 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10714 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10715 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10716 ptr_freeres element from struct.
10717 (pthread_functions): Remove .ptr_freeres from struct initializer.
10718 [SHARED] (nptl_freeres): Remove.
10719 * nptl/nptlfreeres.c: New file.
10720 * nptl/pthreadP.h
10721 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10722 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10723 attribute_hidden.
10724 (__free_stacks): Rename to...
10725 (__nptl_stacks_freeres): ...this.
10726 (__shm_directory_freeres): Declare.
10727 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10728 (__nptl_unwind_freeres): ...this.
10729 * resolv/res-close.c: Add comment.
10730 * resolv/resolv_conf.c: Include libc-symbols.h.
10731 * string/strerror_l.c: Include libc-symbols.h.
10732 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10733 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10734 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10735 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10736
37d3d244
RS
107372018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10738
10739 * stdlib/tst-strfmon_l.c: Add tests for long double.
10740
a1e0c5fa
MW
107412018-06-29 Michael Wolf <milupo@sorbzilla.de>
10742
10743 [BZ #23208]
10744 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10745 * localedata/locales/dsb_DE: New file.
10746
2e0c5de6
RL
107472018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10748
10749 [BZ #23140]
10750 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10751 genitive case).
10752 (alt_mon): New entry, import from CLDR (nominative case).
10753
cdb52c71
SL
107542018-06-29 Sylvain Lesage <severo@rednegra.net>
10755
10756 [BZ #22996]
10757 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10758
ce76a5cb
SP
107592018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10760
0aec4c1d
SP
10761 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10762 Use vector registers.
10763
ce76a5cb
SP
10764 * sysdeps/aarch64/multiarch/memmove_falkor.S
10765 (__memcpy_falkor): Use vector registers.
10766
7e8989d0
MS
107672018-06-29 Martin Sebor <msebor@redhat.com>
10768
10769 * manual/stdio.texi (Customizing Printf): Mention interaction
10770 with GCC built-ins.
10771
bac15a72
MR
107722018-06-29 Maciej W. Rozycki <macro@mips.com>
10773
10774 [BZ #23307]
10775 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10776 `st_value' is 0 if `st_shndx' is SHN_ABS.
10777 * elf/tst-absolute-zero.c: New file.
10778 * elf/tst-absolute-zero-lib.c: New file.
10779 * elf/tst-absolute-zero-lib.lds: New file.
10780 * elf/Makefile (tests): Add `tst-absolute-zero'.
10781 (modules-names): Add `tst-absolute-zero-lib'.
10782 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10783 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10784 ($(objpfx)tst-absolute-zero: New dependency.
10785
e69d994a
ZW
107862018-06-29 Zack Weinberg <zackw@panix.com>
10787
10788 * configure.ac: New command-line option --disable-crypt.
10789 Force --disable-nss-crypt when --disable-crypt is given, with a
10790 warning if it was explicitly enabled.
10791 * configure: Regenerate.
10792 * config.make.in: New boolean substitution variable $(build-crypt).
10793 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10794 when $(build-crypt).
10795 * manual/install.texi: Document --disable-crypt.
10796 * INSTALL: Regenerate.
10797
10798 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10799 which is never set.
10800 * conform/Makefile: Only include libcrypt.a in
10801 linknamespace-libs-xsi and linknamespace-libs-XPG4
10802 when $(build-crypt).
10803 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10804 USE_CRYPT to 1 when $(build-crypt).
10805 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10806 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10807 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10808
841785ba
ZW
108092018-06-29 Zack Weinberg <zackw@panix.com>
10810
10811 * crypt/crypt.h, posix/unistd.h: Update comments and
10812 prototypes for crypt and crypt_r.
10813
10814 * manual/crypt.texi (Cryptographic Functions): New initial
10815 exposition.
10816 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10817 (Unpredictable Bytes): Improve initial exposition. Clarify error
10818 behavior of getentropy and getrandom.
10819 * manual/examples/genpass.c: Generate a salt using getentropy
10820 instead of the current time. Use hash $5$ (SHA-2-256).
10821 * manual/examples/testpass.c: Demonstrate validation against
10822 hashes generated with three different one-way functions.
10823
10824 * manual/intro.texi: crypt.texi does not need an overview
10825 anymore.
10826
10827 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10828 * manual/terminal.texi: Consistently refer to "passphrases"
10829 * instead of "passwords", and to the "user database" instead
10830 * of the "password database".
10831 * manual/users.texi: Similarly. Add notes about how actual
10832 passphrase hashes are now stored in the shadow database.
10833 Remove 20-year-old junk todo note.
10834
6ab902e4
ZW
108352018-06-29 Zack Weinberg <zackw@panix.com>
10836
10837 * manual/crypt.texi: Use a normal top-level @node declaration.
10838 Move most of the introductory text to the 'crypt' section.
10839 Move the example programs below the @deftypefun for 'crypt_r'.
10840 Move the 'getpass' section...
10841 * manual/terminal.texi: ...here.
10842
b10a0acc
ZW
108432018-06-29 Zack Weinberg <zackw@panix.com>
10844 Florian Weimer <fweimer@redhat.com>
10845
10846 * posix/unistd.h: Do not declare encrypt.
10847 (_XOPEN_CRYPT): Remove macro definition.
10848 (crypt): Declare only for _USE_MISC.
10849 * stdlib/stdlib.h: Do not declare setkey.
10850 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10851 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10852
10853 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10854 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10855 into compat symbols. Don't define initial_perm if it's not
10856 going to be used.
10857 * crypt/cert.c: Link explicitly with the expected versions for
10858 setkey and encrypt. If they are not available at all, mark
10859 the test as unsupported.
10860
10861 * sunrpc/des_crypt.c: Unconditionally block linkage with
10862 cbc_crypt and ecb_crypt for new binaries.
10863 * sunrpc/des_soft.c: Unconditionally block linkage with
10864 des_setparity for new binaries.
10865
10866 * manual/crypt.texi: Remove the entire "DES Encryption"
10867 section. Also remove the paragraph talking about FIPS 140-2
10868 from the introduction.
10869 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10870 of libgcrypt for "real" encryption, not DES.
10871 * manual/conf.texi (Constants for Sysconf): Mention that
10872 _XOPEN_CRYPT is no longer impelemented.
10873
10874 * conform/data/unistd.h-data: Remove crypt function declaration.
10875
524d796d
FW
108762018-06-29 Florian Weimer <fweimer@redhat.com>
10877
10878 [BZ #23351]
10879 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10880 (disallow_malloc_check): Remove variable.
10881 (__malloc_check_init): Adjust.
10882 (malloc_set_state): Update comment.
10883 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10884 declarations.
10885
339124ab
RL
108862018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10887
10888 [BZ #23140]
10889 * localedata/locales/ast_ES (mon): Rename to...
10890 (alt_mon): This.
10891 (mon): Import from CLDR (genitive case).
10892
c1f86a33
DA
108932018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10894 Jakub Sitnicki <jkbs@redhat.com>
10895
10896 [BZ #21812]
10897 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10898 on NLM_F_DUMP_INTR.
10899
0b11b649
SN
109002018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10901
10902 * manual/llio.texi: Remove spurious space.
10903
c1c2848b
FW
109042018-06-28 Florian Weimer <fweimer@redhat.com>
10905
10906 [BZ #23349]
10907 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10908 _STRUCT_TIMESPEC.
10909
86a0f561
RS
109102018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10911
10912 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 10913 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
10914 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10915 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10916 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10917 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10918 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10919
780684eb
MR
109202018-06-27 Maciej W. Rozycki <macro@mips.com>
10921
10922 [BZ #23266]
10923 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10924 Copy and null-terminate entries that are not terminated, in
10925 addition to empty ones.
10926
c49e1822
FW
109272018-06-27 Florian Weimer <fweimer@redhat.com>
10928
10929 [BZ #18023]
b39d961c
TS
10930 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10931 (extend_alloca_account): Remove.
c49e1822
FW
10932 * manual/stdio.texi (Variable Arguments Output): Update comment.
10933
a833e627
JM
109342018-06-27 Joseph Myers <joseph@codesourcery.com>
10935
10936 * nptl/sockperf.c: Remove file.
10937
92d6aa85
FW
109382018-06-27 Florian Weimer <fweimer@redhat.com>
10939
10940 [BZ #18023]
10941 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10942 scratch_buffer instead of extend_alloca.
10943
890c2ced
FW
109442018-06-27 Florian Weimer <fweimer@redhat.com>
10945
10946 [BZ #18023]
10947 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10948 scratch_buffer instead of extend_alloca. Update comments.
10949
4272059d
FW
109502018-06-27 Florian Weimer <fweimer@redhat.com>
10951
10952 [BZ #18023]
10953 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10954 instead of extend_alloca.
10955
27f10a09
JM
109562018-06-26 Joseph Myers <joseph@codesourcery.com>
10957
10958 [BZ #13888]
10959 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10960 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10961 /tmp.
10962 * scripts/test-installation.pl: Put temporary files in build
10963 directory, not /tmp.
10964 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10965 (CFLAGS-bug4.c): Likewise.
10966 (CFLAGS-bug5.c): Likewise.
10967 (CFLAGS-test-fseek.c): Likewise.
10968 (CFLAGS-test-popen.c): Likewise.
10969 (CFLAGS-test_rdwr.c): Likewise.
10970 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10971 /tmp.
10972 * stdio-common/bug4.c (main): Likewise.
10973 * stdio-common/bug5.c (main): Likewise.
10974 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10975 * stdio-common/test-popen.c (do_test): Likewise.
10976 * stdio-common/test_rdwr.c (main): Likewise.
10977
05598a09
PF
109782018-06-26 Patsy Franklin <pfrankli@redhat.com>
10979
10980 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10981 (sem_open): Set sem.newsem.pad to zero for valgrind.
10982
06ab719d
AZ
109832018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10984
10985 [BZ #20251]
10986 * NEWS: Mention fcntl64 addition.
10987 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10988 * login/utmp_file.c: Likewise.
10989 * sysdeps/posix/fdopendir.c: Likewise.
10990 * sysdeps/posix/opendir.c: Likewise.
10991 * sysdeps/unix/pt-fcntl.c: Likewise.
10992 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10993 __fcntl64_nocancel_adjusted): New prototype.
10994 (__fcntl_nocancel_adjusted): Remove prototype.
10995 * io/Makefile (routines): Add fcntl64.
10996 (CFLAGS-fcntl64.c): New rule.
10997 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10998 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10999 * io/fcntl.h (fcntl64): Add prototype and redirect if
11000 __USE_FILE_OFFSET64 is defined.
11001 * io/fcntl64.c: New file.
11002 * manual/llio.text: Add a note for which commands fcntl acts a
11003 cancellation point.
11004 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11005 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11006 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11007 New symbols.
11008 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11009 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11010 non-LFS case.
11011 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11012 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11013 to __fcntl64_nocancel.
11014 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11015 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11016 to __fcntl64_nocancel.
11017 * sysdeps/generic/not-cancel.h: Likewise.
11018 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11019 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11020 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11021 (fcntl64): New symbol.
11022 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11023 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11024 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11027 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11028 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11029 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11030 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11031 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11032 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11033 fcntl64): Likewise.
11034 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11035 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11036 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11037 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11038 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11039 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11040 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11041 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11042 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11044 Likewise.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11046 Likewise.
11047 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11048 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11049 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11050
124e0258
FW
110512018-06-26 Florian Weimer <fweimer@redhat.com>
11052
11053 Run thread shutdown functions in an explicit order.
11054 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11055 definition.
11056 (__libc_thread_freeres): Call thread shutdown functions
11057 explicitly.
11058 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11059 * include/string.h (__strerror_thread_freeres): Declare.
11060 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11061 arena_thread_freeres. No longer static. Remove thread shutdown
11062 hook registration.
11063 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11064 Declare.
11065 * resolv/res-close.c (__res_thread_freeres): Renamed from
11066 res_thread_freeres. No longer static. Remove thread shutdown
11067 hook registration.
11068 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11069 * resolv/resolv_conf.c (freeres): Remove incorrect section
11070 attribute and use libc_freeres_fn.
11071 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11072 strerror_thread_freeres. No longer static. Remove thread
11073 shutdown hook registration.
11074 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11075 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11076 shutdown hook registration.
11077 * Makerules (shlib.lds): Do not provide section boundary symbols
11078 for __libc_thread_subfreeres.
11079 * manual/memory.texi (Basic Allocation): Update comment.
11080
935d920e
FW
110812018-06-26 Florian Weimer <fweimer@redhat.com>
11082
11083 Remove always-defined _RPC_THREAD_SAFE_ macro.
11084 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11085 Do not define _RPC_THREAD_SAFE_.
11086 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11087 conditional.
11088 * sunrpc/clnt_perr.c: Likewise.
11089 * sunrpc/clnt_raw.c: Likewise.
11090 * sunrpc/clnt_simp.c: Likewise.
11091 * sunrpc/key_call.c: Likewise.
11092 * sunrpc/rpc_common.c: Likewise.
11093 * sunrpc/rpc_main.c: Likewise.
11094 * sunrpc/rpc_thread.c: Likewise.
11095 * sunrpc/svc.c: Likewise.
11096 * sunrpc/svc_raw.c: Likewise.
11097 * sunrpc/svc_simple.c: Likewise.
11098 * sumrpc/svcauth_des.c: Likewise.
11099
29055464
FW
111002018-06-26 Florian Weimer <fweimer@redhat.com>
11101
11102 * libio/Makefile (tests-internal): Add tst-vtables,
11103 tst-vtables-interposed.
11104 * libio/tst-vtables.c: New file.
11105 * libio/tst-vtables-common.c: Likewise.
11106 * libio/tst-vtables-interposed.c: Likewise.
11107
5c0202af
FW
111082018-06-26 Florian Weimer <fweimer@redhat.com>
11109
11110 * support/support_test_main.c (support_test_main): Only call
11111 setvbuf if not disables.
11112 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11113 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11114
c402355d
FW
111152018-06-26 Florian Weimer <fweimer@redhat.com>
11116
11117 [BZ #23313]
11118 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11119
43b1048a
FW
111202018-06-25 Florian Weimer <fweimer@redhat.com>
11121
11122 [BZ #18023]
11123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11124 Use struct scratch_buffer instead of extend_alloca.
11125
1599ed4e
FW
111262018-06-25 Florian Weimer <fweimer@redhat.com>
11127
11128 [BZ #18023]
11129 * nss/getent.c (initgroups_keys): Use dynarray instead of
11130 extend_alloca.
11131
a26fe163
FW
111322018-06-25 Florian Weimer <fweimer@redhat.com>
11133
11134 [BZ #18023]
11135 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11136 Use struct scratch_buffer instead of extend_alloca.
11137
90d9d9ce
FW
111382018-06-25 Florian Weimer <fweimer@redhat.com>
11139
11140 [BZ #18023]
11141 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11142 back to malloc directly, without stack allocations.
11143
6b7b2aba
FW
111442018-06-25 Florian Weimer <fweimer@redhat.com>
11145
11146 [BZ #18023]
11147 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11148 of extend_alloca.
11149
2f9f0d18
FW
111502018-06-25 Florian Weimer <fweimer@redhat.com>
11151
11152 [BZ #18023]
11153 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11154 of extend_alloca.
11155 * nscd/hstcache.c (addhstbyX): Likewise.
11156 * nscd/pwdcache.c (addpwbyX): Likewise.
11157 * nscd/servicescache.c (addservbyX): Likewise.
11158
318bad78
FW
111592018-06-25 Florian Weimer <fweimer@redhat.com>
11160
11161 [BZ #18023]
11162 * nscd/connections.c (read_cmdline): New function.
11163 (restart): Use it. Update comment.
11164
189699ab
RL
111652018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11166
11167 [BZ #23140]
11168 * localedata/locales/csb_PL (mon): Rename to...
11169 (alt_mon): This.
11170 (abmon): Rename to...
11171 (ab_alt_mon): This.
11172 (mon): Add with proper genitive forms, copy from Wikipedia.
11173 (abmon): Likewise.
11174
0ea3f13c
RL
111752018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11176
11177 [BZ #19485]
11178 * localedata/locales/csb_PL (mon): Fix typos:
11179 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11180 (yesstr): Add, value is "jo".
11181 (nostr): Add, value is "nié".
11182
d93f4ff1
TMQMF
111832018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11184
11185 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11186 all log1p and significand functions on m680x0.
11187 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11188 of s_significand.c..
11189 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11190 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11191 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11192 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11193 s_log1p.c and include it..
11194
f6299d2a
VC
111952018-06-21 Vincent Chen <vincentc@andestech.com>
11196
11197 * elf/elf.h (R_NDS32_NONE): New define.
11198 (R_NDS32_32_RELA): Likewise.
11199 (R_NDS32_COPY): Likewise.
11200 (R_NDS32_GLOB_DAT): Likewise.
11201 (R_NDS32_JUMP_SLOT): Likewise.
11202 (R_NDS32_RELATIVE): Likewise.
11203 (R_NDS32_TLS_TPOFF): Likewise.
11204 (R_NDS32_TLS_DESC): Likewise.
11205
61ab61c2
MW
112062018-06-21 Mark Wielaard <mark@klomp.org>
11207
11208 * elf/elf.h (R_BPF_MAP_FD): Removed.
11209 (R_BPF_64_64, R_BPF_64_32): New.
11210
f496b28e
FW
112112018-06-21 Florian Weimer <fweimer@redhat.com>
11212
11213 [BZ #23253]
11214 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11215 Renamed from libc_feholdsetround_ctx.
11216 (default_libc_feresetround_ctx): Renamed from
11217 libc_feresetround_ctx.
11218 (default_libc_feholdsetround_noex_ctx): Renamed from
11219 libc_feholdsetround_noex_ctx.
11220 (default_libc_feresetround_noex_ctx): Renamed from
11221 libc_feresetround_noex_ctx.
11222 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11223 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11224 forwardning to the old implementations under the new names.
11225 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11226 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11227 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11228 (libc_feresetround_ctx): Forward to default implements for i386
11229 and MATH_SET_BOTH_ROUNDING_MODES.
11230 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11231 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11232
1760daad
JM
112332018-06-20 Joseph Myers <joseph@codesourcery.com>
11234
99c7adf9
JM
11235 * string/tst-cmp.c: Include <libc-diag.h>.
11236 (strncmp_max): Disable -Wstringop-overflow= around call to
11237 strncmp.
11238 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11239 strncasecmp.
11240
1760daad
JM
11241 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11242 (main): Disable -Wunused-value around call to strpbrk.
11243 * string/bug-strspn1.c: Include <libc-diag.h>.
11244 (main): Disable -Wunused-value around call to strspn.
11245
209ae17c
TMQMF
112462018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11247 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11248
11249 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11250 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11251
badba23c
TMQMF
112522018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11253
5e79e029
TMQMF
11254 * math/Makefile (libm-calls): Move s_significandF to...
11255 (gen-libm-calls): ... here.
11256 * math/s_significand_template.c: New file.
11257 * math/s_significand.c: Removed.
11258 * math/s_significandf.c: Removed.
11259 * math/s_significandl.c: Removed.
11260 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11261 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11262
badba23c
TMQMF
11263 * math/e_exp2_template.c (declare_mgen_finite_alias,
11264 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11265 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11266 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11267
2d1c89a5
FW
112682018-06-20 Florian Weimer <fweimer@redhat.com>
11269
11270 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11271
646c2833
JM
112722018-06-19 Joseph Myers <joseph@codesourcery.com>
11273
11274 [BZ #23280]
11275 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11276 floating-point number to strtod functions rather than possibly
11277 negating result of those functions.
11278 * stdio-common/tst-scanf-round.c: New file.
11279 * stdio-common/Makefile (tests): Add tst-scanf-round.
11280 ($(objpfx)tst-scanf-round): Depend on $(libm).
11281
c77e4dc0
ST
112822018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11283
11284 * sysdeps/mach/hurd/localplt.data: Move to...
11285 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11286 R_386_GLOB_DAT like on Linux i386.
11287
91b2f3e5
JM
112882018-06-18 Joseph Myers <joseph@codesourcery.com>
11289
f2857da7
JM
11290 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11291 (SHM_STAT_ANY): New macro.
11292 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11293 (SHM_STAT_ANY): Likewise.
11294 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11295 (SHM_STAT_ANY): Likewise.
11296 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11297 (SHM_STAT_ANY): Likewise.
11298 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11299 (SHM_STAT_ANY): Likewise.
11300 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11301 (SHM_STAT_ANY): Likewise.
11302 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11303 (SHM_STAT_ANY): Likewise.
11304 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11305 (SHM_STAT_ANY): Likewise.
11306 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11307 (SHM_STAT_ANY): Likewise.
11308 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11309 (SHM_STAT_ANY): Likewise.
11310 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11311 (SHM_STAT_ANY): Likewise.
11312 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11313 (SHM_STAT_ANY): Likewise.
11314
176c7fee
JM
11315 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11316 (SEM_STAT_ANY): New macro.
11317 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11318 (SEM_STAT_ANY): Likewise.
11319 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11320 (SEM_STAT_ANY): Likewise.
11321 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11322 (SEM_STAT_ANY): Likewise.
11323 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11324 (SEM_STAT_ANY): Likewise.
11325 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11326 (SEM_STAT_ANY): Likewise.
11327 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11328 (SEM_STAT_ANY): Likewise.
11329 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11330 (SEM_STAT_ANY): Likewise.
11331 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11332 (SEM_STAT_ANY): Likewise.
11333 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11334 (SEM_STAT_ANY): Likewise.
11335
86bf0019
JM
11336 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11337 (MSG_STAT_ANY): New macro.
11338 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11339 (MSG_STAT_ANY): Likewise.
11340 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11341 (MSG_STAT_ANY): Likewise.
11342 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11343 (MSG_STAT_ANY): Likewise.
11344 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11345 (MSG_STAT_ANY): Likewise.
11346 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11347 (MSG_STAT_ANY): Likewise.
11348 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11349 (MSG_STAT_ANY): Likewise.
11350 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11351 (MSG_STAT_ANY): Likewise.
11352 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11353 (MSG_STAT_ANY): Likewise.
11354 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11355 (MSG_STAT_ANY): Likewise.
11356
91b2f3e5
JM
11357 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11358 (MAP_TYPE): Change value to 0x2b.
11359
3fe8fc79
FW
113602018-06-18 Florian Weimer <fweimer@redhat.com>
11361
11362 [BZ #15722]
11363 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11364 socket with SOCK_CLOEXEC.
11365
809dc95d
JM
113662018-06-18 Joseph Myers <joseph@codesourcery.com>
11367
11368 [BZ #23303]
11369 * sysdeps/powerpc/powerpc64/le/Makefile
11370 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11371 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11372 (gnulib-tests): Also add $(f128-loader-link) for
11373 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11374
298a8b59
ST
113752018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11376
11377 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11378 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11379 of sendfile.
11380 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11381 (sendfile64): New strong alias.
faf7bbc2
ST
11382 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11383 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11384 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
11385 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11386 attribute.
11387 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11388 ___pthread_get_cleanup_stack.
932d05f0 11389 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
11390 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11391 * mach/shortcut.awk: Make syscall stubs include
11392 <mach-shortcuts-hidden.h> and add hidden definition.
11393 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
11394 (__mach_msg): Add hidden prototype.
11395 * mach/msg.c: Include <mach.h>.
11396 (__mach_msg): Add hidden definition.
b0344cf5
ST
11397 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11398 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11399 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11400 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
11401 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11402 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
11403 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11404 prototype and definition.
11405 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11406 hidden target for _hurd_self_sigstate.
298a8b59 11407
b12c1e79
JM
114082018-06-15 Joseph Myers <joseph@codesourcery.com>
11409
11410 [BZ #23007]
11411 * stdlib/tst-strtod-nan-sign-main.c: New file.
11412 * stdlib/tst-strtod-nan-sign.c: Likewise.
11413 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11414 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11415 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11416 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11417 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11418
b0debe14
HB
114192018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11420
11421 [BZ #23007]
11422 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11423 appropriate sign.
11424
14beef75
FW
114252018-06-14 Florian Weimer <fweimer@redhat.com>
11426
11427 [BZ #23290]
11428 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11429 that the result stays within the ISO-8859-1 range.
11430 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11431 characters are defined in IBM273.
11432
c596630b
ST
114332018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11434
11435 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11436 __mach_task_self): Remove attribute_hidden.
11437
35ebb6b0
JM
114382018-06-14 Joseph Myers <joseph@codesourcery.com>
11439
11440 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11441 ignore -Wrestrict for one test.
11442
3c7b9f1f
SE
114432018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11444 Szabolcs Nagy <szabolcs.nagy@arm.com>
11445
11446 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11447
c59ee916
FW
114482018-06-14 Florian Weimer <fweimer@redhat.com>
11449
11450 * scripts/update-abilist.sh: Accept empty list of files to patch.
11451
43b5ff50
ST
114522018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11453
11454 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11455 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
11456 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11457 __libc_read and __libc_write to __read and __write.
c8c6e6d6 11458 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
11459 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11460 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11461 __thread_switch, __evc_wait): Move declarations to...
11462 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11463 attribute_hidden.
06d1a826
ST
11464 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11465 use PLT to call _hurd_self_sigstate.
43b5ff50 11466
fcd6b5ac
JM
114672018-06-13 Joseph Myers <joseph@codesourcery.com>
11468
11469 [BZ #23279]
11470 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11471 MAX_EXP as overflowing.
11472 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11473 overflow flag.
11474 (round_str): Output also whether result overflows in each rounding
11475 mode.
11476 * stdlib/tst-strtod-round-data: Add more tests.
11477 * stdlib/tst-strtod-round-data.h: Regenerated.
11478 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11479 (TEST): Handle extra arguments for overflow flags.
11480 (struct test_overflow): New type.
11481 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11482 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11483 (test_in_one_mode): Take argument with overflow information.
11484 (do_test): Update calls to test_in_one_mode.
11485
35df5a77
CD
114862018-06-12 Carlos O'Donell <carlos@redhat.com>
11487
a745c837
CD
11488 * elf/dl-load (_dl_dst_substitute): Correct comment.
11489 (_dl_dst_count): Likewise.
11490
35df5a77
CD
11491 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11492 lll_futex_timed_wait.
11493
48b12ed5
JM
114942018-06-12 Joseph Myers <joseph@codesourcery.com>
11495
11496 [BZ #23277]
11497 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11498 attribute.
11499 * math/test-nan-const.c: New file.
11500 * math/Makefile (tests): Add test-nan-const.
11501 (CFLAGS-test-nan-const.c): New variable.
11502
cb8f6aff
L
115032018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11504
11505 * benchtests/scripts/compare_strings.py (process_results): Add
11506 funcs argument. Compare only functions which are selected.
11507 (main): Check if base function is among selected functions.
11508 Pass selected functions to process_results.
11509 (__main__): Add -f/--functions argument.
11510
fc2ba803
HZ
115112018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11512 Hongbo Zhang <hongbo.zhang@linaro.org>
11513
11514 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11515 __memcpy_falkor for phecda core.
11516 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11517 __memmove_falkor for phecda core.
11518 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11519 __memset_falkor for phecda core.
11520 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11521 for phecda core.
11522 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11523 macro to identify phecda core.
11524
5aad5f61
CD
115252018-06-12 Carlos O'Donell <carlos@redhat.com>
11526 Andreas Schwab <schwab@suse.de>
11527 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 11528 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
11529
11530 [BZ #23102]
11531 [BZ #21942]
11532 [BZ #18018]
11533 [BZ #23259]
11534 CVE-2011-0536
11535 * elf/dl-dst.h: Remove DL_DST_COUNT.
11536 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11537 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11538 (is_dst): Comment. Support ELF gABI.
11539 (_dl_dst_count): Comment. Simplify and count DSTs.
11540 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11541 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11542 locals.
11543
329ea513
ZW
115442018-06-12 Zack Weinberg <zackw@panix.com>
11545
11546 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11547 * sysdeps/unix/sysv/linux/dl-sysdep.c
11548 Include not-cancel.h. Use __close_nocancel instead of __close,
11549 __open64_nocancel instead of __open, __read_nocancel instead of
11550 __libc_read, and __write_nocancel instead of __libc_write.
11551
11552 * csu/check_fds.c (check_one_fd)
11553 * sysdeps/posix/fdopendir.c (__fdopendir)
11554 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 11555 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
11556
11557 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11558 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 11559 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
11560 Use __open64_nocancel instead of __open_nocancel.
11561
11562 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11563 hidden_proto declarations to the end and issue them if either
11564 IS_IN(libc) or IS_IN(rtld).
11565 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11566 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11567 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11568 read_nocancel, waitpid_nocancel, write_nocancel.
11569
b39d961c
TS
11570 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11571 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11572 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 11573
b39d961c
TS
11574 * nptl/pt-fcntl.c: New file.
11575 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11576 (libpthread-routines): Add pt-fcntl.
11577 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11578 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
11579 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11580 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 11581 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
11582 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11583 to fcntl_nocancel.c.
11584 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11587 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11588
11589 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11590 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11591 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11592 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11593 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11594 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11595 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11596 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11597 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11598 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11599 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11600 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11601 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11602 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11603 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11604 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11605 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11606 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11607 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11608 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11609
b39d961c
TS
11610 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11611 libpthread-routines.
11612 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11613 defines nothing.
329ea513 11614
b39d961c
TS
11615 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11616 __libc_read, and __write instead of __libc_write. Define
11617 __open64 in addition to __open.
329ea513 11618
0221ce2a
L
116192018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11620
11621 [BZ #23250]
11622 [BZ #10686]
11623 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11624 to _private_tm[3] and add __glibc_reserved2.
11625 Add _Static_assert of offset of __private_ss == 0x30.
11626 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11627 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11628
e826574c
FW
116292018-06-12 Florian Weimer <fweimer@redhat.com>
11630
11631 x86: Make strncmp usable from rtld.
11632 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11633 __strncmp_ia32 if in libc (and not in rtld).
11634 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11635 strncmp if not in libc (and not to __strncmp_sse2).
11636
c4ad5782
RL
116372018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11638
11639 [BZ #23140]
11640 * localedata/locales/gd_GB (mon): Rename to...
11641 (alt_mon): This.
11642 (mon): Import from CLDR (genitive case).
11643 * localedata/locales/hsb_DE (mon): Rename to...
11644 (alt_mon): This.
11645 (mon): Import from CLDR (genitive case).
11646 * localedata/locales/wa_BE (mon): Rename to...
11647 (alt_mon): This.
11648 (mon): Add, fill with the proper genitive forms, but CLDR data
11649 is incomplete; completed according to the comments in this file.
11650 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11651
11652 * localedata/locales/wa_BE (country_name): Reword
11653 "Beljike" -> "Beldjike".
11654
ca121b11
JM
116552018-06-11 Joseph Myers <joseph@codesourcery.com>
11656
11657 [BZ #23272]
11658 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11659 cases of non-finite arguments.
11660 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11661
2b69fecb
JDA
116622018-06-10 John David Anglin <danglin@gcc.gnu.org>
11663
11664 [BZ #23174]
11665 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11666
283d9851
AZ
116672018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11668
11669 [BZ #23264]
11670 * include/unistd.h (__execvpex): New prototype.
11671 * posix/Makefile (tests): Add tst-spawn4.
11672 (tests-internal): Add tst-spawn4-compat.
11673 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11674 * posix/tst-spawn4-compat.c: New file.
11675 * posix/tst-spawn4.c: Likewise.
11676 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11677 binaries as shell scripts.
11678 * sysdeps/posix/spawni.c (__spawni): Likewise.
11679
67c05796
L
116802018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11681
11682 [BZ #23145]
11683 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11684 ($(all-built-dso:=.dynsym): New target.
11685 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11686 ($(objpfx)check-initfini.out): New target.
11687 (generated): Add check-initfini.out.
11688 * scripts/check-initfini.awk: New file.
11689 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11690 (_fini): Likewise.
11691 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11692 (_fini): Likewise.
11693 * sysdeps/arm/crti.S (_init): Mark as hidden.
11694 (_fini): Likewise.
11695 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11696 (_fini): Likewise.
11697 * sysdeps/i386/crti.S (_init): Mark as hidden.
11698 (_fini): Likewise.
11699 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11700 (_fini): Likewise.
11701 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11702 (_fini): Likewise.
11703 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11704 (_fini): Likewise.
11705 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11706 (_fini): Likewise.
11707 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11708 (_fini): Likewise.
11709 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11710 (_fini): Likewise.
11711 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11712 (_fini): Likewise.
11713 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11714 (_fini): Likewise.
11715 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11716 (_fini): Likewise.
11717 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11718 (_fini): Likewise.
11719 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11720 (_fini): Likewise.
11721 * sysdeps/sh/crti.S (_init): Mark as hidden.
11722 (_fini): Likewise.
11723 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11724 (_fini): Likewise.
11725 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11726 (_fini): Likewise.
11727
1c09524e
TMQMF
117282018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11729
11730 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11731 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11732 and TF redirection to KFtype and KF only when the default
11733 long double type is not the IEEE 128-bit floating point type.
11734
0e0577c9
JM
117352018-06-05 Joseph Myers <joseph@codesourcery.com>
11736
0c1c33b2
JM
11737 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11738 macro.
11739 (HWCAP_USCAT): Likewise.
11740 (HWCAP_ILRCPC): Likewise.
11741 (HWCAP_FLAGM): Likewise.
11742 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11743 Increase to 28.
11744 (_dl_aarch64_cap_flags): Add new flag names.
11745
bef1cbf4
JM
11746 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11747 (MAP_FIXED_NOREPLACE): New macro.
11748 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11749 (MAP_FIXED_NOREPLACE): Likewise.
11750 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11751 (MAP_FIXED_NOREPLACE): Likewise.
11752 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11753 (MAP_FIXED_NOREPLACE): Likewise.
11754 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11755 (MAP_FIXED_NOREPLACE): Likewise.
11756 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11757 (MAP_FIXED_NOREPLACE): Likewise.
11758 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11759 (MAP_FIXED_NOREPLACE): Likewise.
11760 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11761 (MAP_FIXED_NOREPLACE): Likewise.
11762 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11763 (MAP_FIXED_NOREPLACE): Likewise.
11764 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11765 (MAP_FIXED_NOREPLACE): Likewise.
11766 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11767 (MAP_FIXED_NOREPLACE): Likewise.
11768 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11769 (MAP_FIXED_NOREPLACE): Likewise.
11770 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11771 (MAP_FIXED_NOREPLACE): Likewise.
11772 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11773 (MAP_FIXED_NOREPLACE): Likewise.
11774 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11775 (MAP_FIXED_NOREPLACE): Likewise.
11776
0e0577c9
JM
11777 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11778 version to 4.17.
11779
ab3a0da0
JM
117802018-06-04 Joseph Myers <joseph@codesourcery.com>
11781
11782 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11783 version to 4.17
11784
d2d9dfb6
ST
117852018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11786
11787 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11788 int.
11789 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11790
a650b05e
LS
117912018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11792
11793 * benchtests/scripts/compare_string.py: (process_results) Catch
11794 exception in non-existent base_func and catch exception in
11795 non-existent attribute.
11796 (parse_file) Catch exception if input file does not exist.
11797
195abbf4
LS
117982018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11799
11800 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11801 options to avoid diff calculation and omit header, respectively.
11802 (main): process --no-diff and --no-header
11803
14570163
LS
118042018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11805 H.J. Lu <hongjiu.lu@intel.com>
11806
11807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11808 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11809 wcsncmp-sse2.
11810 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11811 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11812 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11813 and __wcsncmp_sse2.
11814 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11815 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11816 AVX unaligned load is fast and vzeroupper is preferred.
11817 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11818 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11819 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11820 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11821 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11822 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11823 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11824 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11825 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11826 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11827 is undefined.
11828
e02c026f
FW
118292018-06-01 Florian Weimer <fweimer@redhat.com>
11830
11831 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11832 configuring with --disable-multi-arch, building with
11833 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11834 Haswell-era CPU.
11835
d8c19275
FW
118362018-06-01 Florian Weimer <fweimer@redhat.com>
11837
11838 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11839 results from building with “-march=x86-64 -mtune=generic
11840 -mfpmath=sse” and running on a Haswell-era CPU.
11841
0d2163eb
JM
118422018-06-01 Joseph Myers <joseph@codesourcery.com>
11843
11844 [BZ #18473]
11845 * soft-fp/sqrttf2.c: Remove file.
11846 * soft-fp/sqrtdf2.c: Move to ....
11847 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11848 <shlib-compat.h>.
11849 (__sqrtdf2): Make conditional on
11850 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11851 symbol.
11852 * soft-fp/sqrtsf2.c: Move to ....
11853 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11854 <shlib-compat.h>.
11855 (__sqrtsf2): Make conditional on
11856 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11857 symbol.
11858 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11859 (gcc-double-routines): Remove sqrtdf2.
11860 (gcc-quad-routines): Remove sqrttf2.
11861 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11862 Do not filter out sqrtsf2 and sqrtdf2.
11863 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11864 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11865
10450210
FW
118662018-06-01 Florian Weimer <fweimer@redhat.com>
11867
11868 * sysdeps/generic/libcidn.abilist: Remove file.
11869
4e8a6346
FW
118702018-06-01 Florian Weimer <fweimer@redhat.com>
11871
11872 [BZ #23236]
11873 * libio/strfile.h (struct _IO_str_fields): Rename members to
11874 discourage their use and add comment.
11875 (_IO_STR_DYNAMIC): Remove unused macro.
11876 * libio/strops.c (_IO_str_init_static_internal): Do not use
11877 callback pointers. Call malloc and free.
11878 (_IO_str_overflow): Do not use callback pointers. Call malloc
11879 and free.
11880 (enlarge_userbuf): Likewise.
11881 (_IO_str_finish): Call free.
11882 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11883 _allocate_buffer_unused.
11884 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11885 and free.
11886 (enlarge_userbuf): Likewise.
11887 (_IO_wstr_finish): Call free.
11888 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11889 _allocate_buffer_unused, _free_buffer_unused.
11890 * libio/memstream.c (__open_memstream): Likewise.
11891 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11892 * libio/wmemstream.c (open_wmemstream): Likewise.
11893
50d004c9
PP
118942018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11895
11896 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11897 AMD Ryzen 7 1800X.
11898
2c93fce7
RS
118992018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11900
11901 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11902 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11903 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11904 New file.
11905 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11906 Likewise.
11907 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11908
0ce2fa69
FW
119092018-05-29 Florian Weimer <fweimer@redhat.com>
11910
11911 * support/Makefile (libsupport-routines): Add
11912 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11913 xpthread_barrierattr_setpshared.
11914 * support/xpthread_barrierattr_destroy.c: New file.
11915 * support/xpthread_barrierattr_init.c: Likewise.
11916 * support/xpthread_barrierattr_setpshared.c: Likewise.
11917
7f7b5d8d
L
119182018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11919
11920 [BZ #23206]
11921 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11922 _r_debug and update DT_DEBUG for debugger.
11923
e4890300
FW
119242018-05-29 Florian Weimer <fweimer@redhat.com>
11925
11926 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11927 (tst-strtod5i.out): Likewise.
11928
2c753f3e
JM
119292018-05-25 Joseph Myers <joseph@codesourcery.com>
11930
b5453d9f
JM
11931 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11932 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11933 (sparc64-quad-routines): New variable. Moved from ....
11934 [$(subdir) = soft-fp] (sysdep_routines): Add
11935 $(sparc64-quad-routines). Moved from ....
11936 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11937 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11938 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11939 moved from ....
11940 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11941 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11942 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11943 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11944 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11945 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11946 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11947 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11948 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11949 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11950 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11951 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11952 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11953 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11954 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11955 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11956 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11957 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11958 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11959 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11960 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11961 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11962 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11963 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11964 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11965 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11966 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11967 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11968 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11969 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11970 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11971 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11972 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11973 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11974 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11975 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11976 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11977 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11978 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11979 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11980 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11981 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11982 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11983 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11984 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11985 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11986 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11987 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11988 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11989 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11990 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11991 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11992 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11993 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11994 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11995 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11996 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11997 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11998
2c753f3e
JM
11999 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12000 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12001 (sparc32-quad-routines): New variable. Moved from ....
12002 [$(subdir) = soft-fp] (sysdep_routines): Add
12003 $(sparc32-quad-routines). Moved from ....
12004 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12005 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12006 moved from ....
12007 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12008 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12009 * sysdeps/sparc/sparc32/q_add.c: ... here.
12010 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12011 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12012 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12013 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12014 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12015 * sysdeps/sparc/sparc32/q_div.c: ... here.
12016 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12017 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12018 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12019 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12020 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12021 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12022 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12023 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12024 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12025 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12026 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12027 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12028 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12029 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12030 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12031 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12032 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12033 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12034 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12035 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12036 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12037 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12038 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12039 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12040 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12041 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12042 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12043 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12044 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12045 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12046 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12047 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12048 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12049 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12050 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12051 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12052 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12053 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12054 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12055 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12056 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12057 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12058 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12059 * sysdeps/sparc/sparc32/q_util.c: ... here.
12060 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12061 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12062 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12063 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12064
c1dc1e1b
TMQMF
120652018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12066 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12067
12068 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12069 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12070 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12071 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12072
14186e8d
JM
120732018-05-24 Joseph Myers <joseph@codesourcery.com>
12074
12075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12076 powerpc/soft-fp.
12077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12078 Likewise.
12079 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12080 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12081
fb0e10b8
GG
120822018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12083
12084 [BZ #23171]
12085 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12086 double version.
12087
1dfeb17e
JM
120882018-05-23 Joseph Myers <joseph@codesourcery.com>
12089
12090 * sysdeps/sh/Implies: Remove sh/soft-fp.
12091 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12092 * sysdeps/sh/sfp-machine.h: ... here.
12093
727b38df
L
120942018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12095
12096 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12097 (__mempcpy_erms): Skip zero length.
12098 (__memmove_erms): Likewise.
12099 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12100 (__memset_erms): Likewise.
12101
2834fb46
JM
121022018-05-23 Joseph Myers <joseph@codesourcery.com>
12103
12104 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12105 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12106 Add functions moved from ....
12107 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12108 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12109 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12110 from ....
12111 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12112 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12113 * sysdeps/alpha/e_sqrtl.c: ... here.
12114 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12115 * sysdeps/alpha/local-soft-fp.h: ... here.
12116 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12117 * sysdeps/alpha/ots_add.c: ... here.
12118 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12119 * sysdeps/alpha/ots_cmp.c: ... here.
12120 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12121 * sysdeps/alpha/ots_cmpe.c: ... here.
12122 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12123 * sysdeps/alpha/ots_cvtqux.c: ... here.
12124 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12125 * sysdeps/alpha/ots_cvtqx.c: ... here.
12126 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12127 * sysdeps/alpha/ots_cvttx.c: ... here.
12128 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12129 * sysdeps/alpha/ots_cvtxq.c: ... here.
12130 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12131 * sysdeps/alpha/ots_cvtxt.c: ... here.
12132 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12133 * sysdeps/alpha/ots_div.c: ... here.
12134 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12135 * sysdeps/alpha/ots_mul.c: ... here.
12136 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12137 * sysdeps/alpha/ots_nintxq.c: ... here.
12138 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12139 * sysdeps/alpha/ots_sub.c: ... here.
12140 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12141 * sysdeps/alpha/sfp-machine.h: ... here.
12142
7f9f1ecb
FW
121432018-05-23 Florian Weimer <fweimer@redhat.com>
12144
12145 [BZ #19728]
12146 [BZ #19729]
12147 [BZ #22247]
12148 CVE-2016-6261
12149 CVE-2016-6263
12150 CVE-2017-14062
12151 Switch to extern IDNA implementation (libidn2).
12152 * libidn: Remove subdirectory.
12153 * LICENSES: Do not mention licensing conditions for the removed
12154 libidn code.
12155 * config.h.in (HAVE_LIBIDN): Remove.
12156 * include/dlfcn.h (__libc_dlopen): Update comment.
12157 * include/idna.h: Remove file.
12158 * inet/Makefile (routines): Add idna.
12159 (tests-static, tests-internal): Add tst-idna_name_classify.
12160 (LOCALES): Generate locales for tests.
12161 (tst-idna_name_classify.out): Depend on generated locales.
12162 * inet/idna_name_classify.c: New file.
12163 * inet/tst-idna_name_classify.c: Likewise.
12164 * inet/net-internal.h (__idna_to_dns_encoding)
12165 (__idna_from_dns_encoding): Declare.
12166 * inet/net-internal.h (enum idna_name_classification): Define.
12167 (__idna_name_classify): Declare.
12168 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12169 __idna_from_dns_encoding.
12170 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12171 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12172 name as a fallback in case of encoding errors.
12173 (getnameinfo): Use DEPRECATED_NI_IDN.
12174 * inet/idna.c: New file.
12175 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12176 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12177 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12178 (modules-names): Add tst-no-libidn2.
12179 (extra-test-objs): Add tst-no-libidn2.os.
12180 (LDFLAGS-tst-no-libidn2.so): Set soname.
12181 (LOCALES): Set, and generate locales.
12182 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12183 (tst-resolv-ai_idn-latin1): Likewise.
12184 (tst-resolv-ai_idn-nolibidn2): Likewise.
12185 (tst-resolv-ai_idn.out): Depend on locales.
12186 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12187 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12188 tst-no-libidn2.so.
12189 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12190 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12191 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12192 * resolv/tst-resolv-ai_idn.c: New file.
12193 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12194 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12195 * resolv/tst-no-libidn2.c: Likewise.
12196 * support/support_format_addrinfo.c (format_ai_flags): Do not
12197 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12198 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12199 (gaih_inet): Call __idna_to_dns_encoding and
12200 __idna_from_dns_encoding, and use the original (punycode) name if
12201 __idna_from_dns_encoding fails due to an encoding error.
12202 (getaddrinfo): Use DEPRECATED_AI_IDN.
12203 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12204 * sysdeps/unix/inet/configure: Remove file.
12205 * sysdeps/unix/inet/configure.ac: Likewise.
12206
5f7b841d
FW
122072018-05-23 Florian Weimer <fweimer@redhat.com>
12208
12209 Implement allocate_once.
12210 * include/allocate_once.h: New file.
12211 * misc/allocate_once.c: Likewise.
12212 * misc/tst-allocate_once.c: Likewise.
12213 * misc/Makefile (routines): Add allocate_once.
12214 (tests-internal): Add tst-allocate_once.
12215 (generated): Add tst-allocate_once.mtrace,
12216 tst-allocate_once-mem.out.
12217 (tests-special): Add tst-allocate_once-mem.out.
12218 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12219 (tst-allocate_once-mem.out): Call mtrace.
12220 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12221
ed983107
L
122222018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12223
12224 [BZ #23196]
12225 * string/test-memcpy.c (do_test1): New function.
12226 (test_main): Call it.
12227
9aaaab7c
AS
122282018-05-23 Andreas Schwab <schwab@suse.de>
12229
12230 [BZ #23196]
12231 CVE-2018-11237
12232 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12233 (L(preloop_large)): Save initial destination pointer in %r11 and
12234 use it instead of %rax after the loop.
12235 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12236
5c5c0dd7
JM
122372018-05-22 Joseph Myers <joseph@codesourcery.com>
12238
8f145c77
JM
12239 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12240 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12241 -I../soft-fp. Moved from ....
12242 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12243 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12244 * sysdeps/aarch64/e_sqrtl.c: ... here.
12245 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12246 * sysdeps/aarch64/sfp-machine.h: ... here.
12247
3d6302a5
JM
12248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12249 -Wmaybe-uninitialized around access to fq[0].
12250 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12251 Likewise.
12252
5c5c0dd7
JM
12253 [BZ #18471]
12254 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12255 aliases for non-libc case of versioned symbols.
12256 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12257 (llseek): Define as compat symbol if
12258 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12259 with link warning.
12260 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12261 Make into a compat symbol, disabled for minimum symbol version
12262 GLIBC_2.28 and later.
12263 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12264
ed0d6988
FW
122652018-05-22 Florian Weimer <fweimer@redhat.com>
12266
12267 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12268 not add -mpreferred-stack-boundary=4.
12269 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12270 (stack-align-test-flags): Likewise.
12271 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12272 Likewise.
12273 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12274 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12275 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12276 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12277 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12278 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12279 (CFLAGS-tst-align2.c): Likewise.
12280
e28e9b1e
L
122812018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12282
12283 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12284 (index_arch_Prefer_FSRM): Likewise.
12285 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12286 Also check Prefer_FSRM.
12287 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12288 Also return OPTIMIZE (erms) for Prefer_FSRM.
12289
1af30adc
L
122902018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12291
12292 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12293 (index_cpu_FSRM): Likewise.
12294 (reg_FSRM): Likewise.
12295
78274dc8
JM
122962018-05-18 Joseph Myers <joseph@codesourcery.com>
12297
7c67e6e8
JM
12298 * math/gen-tgmath-tests.py: Import sys.
12299 (Tests.__init__): Initialize macros_seen.
12300 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12301 if requested to do so for this macro.
12302 (Tests.add_all_tests): Take argument for macro for which to
12303 generate tests.
12304 (Tests.check_macro_list): New function.
12305 (main): Handle check-list argument and argument specifying macro
12306 for which to generate tests.
12307 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12308 [PYTHON] (tgmath3-macro-tests): Likewise.
12309 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12310 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12311 not test-tgmath3.c.
12312 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12313 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12314 to CFLAGS.
12315 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12316 [PYTHON] ($(foreach
12317 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12318 rule.
12319 [PYTHON] (tests-special): Add
12320 $(objpfx)test-tgmath3-macro-list.out.
12321 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12322
ebc129fd
JM
12323 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12324 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12325 later.
12326
78274dc8
JM
12327 [BZ #22639]
12328 * time/tzset.c (SECSPERDAY): Cast to time_t.
12329 * time/tst-y2039.c: New file.
12330 * time/Makefile (tests): Add tst-y2039.
12331
6f7fdeeb
LS
123322018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12333
12334 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12335 (PREFETCH_ONE_SET): Remove duplicate line.
12336
e363a91c
FW
123372018-05-17 Florian Weimer <fweimer@redhat.com>
12338
12339 * sysdeps/generic/math-type-macros-double.h: Include
12340 <math-nan-payload-double.h> after <libm-alias-double.h>.
12341 * sysdeps/generic/math-type-macros-float.h: Include
12342 <math-nan-payload-float.h> after <libm-alias-float.h>.
12343 * sysdeps/generic/math-type-macros-float128.h: Include
12344 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12345 * sysdeps/generic/math-type-macros-ldouble.h: Include
12346 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12347
dae6c43c
AS
123482018-05-17 Andreas Schwab <schwab@suse.de>
12349
12350 * resolv/res_send.c (__res_context_send): Don't set errno when
12351 returing error after malloc failure.
12352
0068c085
L
123532018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12354
12355 * nptl/allocatestack.c (allocate_stack): Remove the
12356 !__ASSUME_PRIVATE_FUTEX paths.
12357 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12358 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12359 Likewise.
12360 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12361 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12362 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12363 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12364 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12365 !__ASSUME_PRIVATE_FUTEX path.
12366 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12367 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12368 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12369 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12370 !__ASSUME_PRIVATE_FUTEX macros.
12371 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12372 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12373 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12374 * sysdeps/unix/sysv/linux/kernel-features.h
12375 (__ASSUME_PRIVATE_FUTEX): Removed.
12376
632a6cbe
JM
123772018-05-17 Joseph Myers <joseph@codesourcery.com>
12378
12379 * math/Makefile (libm-narrow-fns): Add div.
12380 (libm-test-funcs-narrow): Likewise.
12381 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12382 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12383 * math/gen-auto-libm-tests.c (test_functions): Add div.
12384 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12385 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12386 (NARROW_DIV_TRIVIAL): Likewise.
12387 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12388 macro.
12389 (__ddivl): Likewise.
12390 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12391 ddiv.
12392 (CFLAGS-nldbl-ddiv.c): New variable.
12393 (CFLAGS-nldbl-fdiv.c): Likewise.
12394 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12395 __nldbl_ddivl.
12396 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12397 prototype.
12398 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12399 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12400 * math/auto-libm-test-in: Add tests of div.
12401 * math/auto-libm-test-out-narrow-div: New generated file.
12402 * math/libm-test-narrow-div.inc: New file.
12403 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12404 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12406 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12407 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12408 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12409 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12410 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12411 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12413 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12415 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12417 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12418 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12419 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12420 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12422 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12425 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12426 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12427 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12430 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12433 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12434 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12439 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12440 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12441 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12442 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12443 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12444 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12447
8c78faa9
AZ
124482018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12449
12450 [BZ #23178]
12451 * nscd/nscd-client.h (sendfileall): Remove prototype.
12452 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12453 (handle_request): Use writeall instead of sendfileall.
12454 * nscd/aicache.c (addhstaiX): Likewise.
12455 * nscd/grpcache.c (cache_addgr): Likewise.
12456 * nscd/hstcache.c (cache_addhst): Likewise.
12457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12458 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12459 * nscd/pwdcache.c (cache_addpw): Likewise.
12460 * nscd/servicescache.c (cache_addserv): Likewise.
12461 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12462 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12463 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12464 Remove define.
12465
04958880
L
124662018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12467
12468 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12469 Include <string/strncat.c>.
12470 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12471 alias.
12472 (__GI___strncat): New hidden alias.
12473
c9992d13
JM
124742018-05-16 Joseph Myers <joseph@codesourcery.com>
12475
12476 * sysdeps/mips/mips32/libm-test-ulps: Update.
12477 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12478
2afece36
FW
124792018-05-16 Florian Weimer <fweimer@redhat.com>
12480
12481 * support/Makefile (libsupport-routines): Add support_quote_blob,
12482 support_test_compare_blob.
12483 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12484 * support/check.h (TEST_COMPARE_BLOB): Define.
12485 (support_test_compare_blob): Declare.
12486 * support/support.h (support_quote_blob): Declare.
12487 * support/support_quote_blob.c: New file.
12488 * support/support_test_compare_blob.c: Likewise.
12489 * support/tst-support_quote_blob.c: Likewise.
12490 * support/tst-test_compare_blob.c: Likewise.
12491
9761bf4d
FW
124922018-05-16 Florian Weimer <fweimer@redhat.com>
12493
12494 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12495 of <strtod_nan_double.h>.
12496 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12497 instead of SET_MANTISSA.
12498 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12499 of include <strtod_nan_float.h>.
12500 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12501 instead of <strtod_nan_ldouble.h>.
12502 * stdlib/strtod_nan_double.h: Move to ...
12503 * sysdeps/generic/math-nan-payload-double.h: ... here.
12504 (FLOAT): Remove definition.
12505 (SET_MANTISSA): Rename to ...
12506 (SET_NAN_PAYLOAD): ... this.
12507 * stdlib/strtod_nan_float.h: Move to ...
12508 * sysdeps/generic/math-nan-payload-float.h: ... here.
12509 (FLOAT): Remove definition.
12510 (SET_MANTISSA): Rename to ...
12511 (SET_NAN_PAYLOAD): ... this.
12512 * sysdeps/generic/math-type-macros-double.h: Include
12513 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12514 instead of <math-svid-compat.h>.
12515 * sysdeps/generic/math-type-macros-float.h: Include
12516 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12517 instead of <math-svid-compat.h>.
12518 * sysdeps/generic/math-type-macros-float128.h: Include
12519 <math-nan-payload-float128.h>.
12520 * sysdeps/generic/math-type-macros-ldouble.h: Include
12521 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12522 instead of <math-svid-compat.h>.
12523 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12524 check for definition.
12525 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12526 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12527 Include <ieee754_float128.h>.
12528 (FLOAT): Remove definition.
12529 (SET_MANTISSA): Rename to ...
12530 (SET_NAN_PAYLOAD): ... this.
12531 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12532 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12533 Do not include <float128_private.h>.
12534 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12535 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12536 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12537 (FLOAT): Remove definition.
12538 (SET_MANTISSA): Rename to ...
12539 (SET_NAN_PAYLOAD): ... this.
12540 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12541 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12542 (FLOAT): Remove definition.
12543 (SET_MANTISSA): Rename to ...
12544 (SET_NAN_PAYLOAD): ... this.
12545 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12546 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12547 (FLOAT): Remove definition.
12548 (SET_MANTISSA): Rename to ...
12549 (SET_NAN_PAYLOAD): ... this.
12550 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12551 of "../stdlib/strtod_nan_double.h".
12552 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12553 of "../stdlib/strtod_nan_float.h".
12554 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12555 instead of "../stdlib/strtod_nan_ldouble.h".
12556 * manual/arith.texi (Parsing of Floats): Adjust comment.
12557
69a01461
JM
125582018-05-16 Joseph Myers <joseph@codesourcery.com>
12559
12560 * math/Makefile (libm-narrow-fns): Add mul.
12561 (libm-test-funcs-narrow): Likewise.
12562 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12563 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12564 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12565 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12566 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12567 (NARROW_MUL_TRIVIAL): Likewise.
12568 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12569 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12570 macro.
12571 (__dmull): Likewise.
12572 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12573 dmul.
12574 (CFLAGS-nldbl-dmul.c): New variable.
12575 (CFLAGS-nldbl-fmul.c): Likewise.
12576 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12577 __nldbl_dmull.
12578 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12579 prototype.
12580 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12581 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12582 * math/auto-libm-test-in: Add tests of mul.
12583 * math/auto-libm-test-out-narrow-mul: New generated file.
12584 * math/libm-test-narrow-mul.inc: New file.
12585 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12586 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12587 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12588 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12589 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12590 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12596 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12597 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12598 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12599 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12600 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12601 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12602 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12604 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12629
a15529fd
L
126302018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12631
12632 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12633 with *%eax in call.
12634
98ee36c7
L
126352018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12636
12637 * sysdeps/i386/ldsodefs.h: Removed.
12638 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12639 * sysdeps/x86/ldsodefs.h: This.
12640 (La_i86_regs): New.
12641 (La_i86_retval): Likewise.
12642 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12643 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12644
e322ec32
L
126452018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12646
12647 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12648 unnecessary testl.
12649
0937e209
AM
126502018-05-13 Alan Modra <amodra@gmail.com>
12651
12652 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12653 R_PARISC_TLS_DTPOFF32 reloc addend.
12654
5db7d705
TMQMF
126552018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12656
12657 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12658 * math/math.h: Restrict the prototype definition for the functions
12659 issignaling(_Float128) and iszero(_Float128); and template
12660 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12661 __HAVE_FLOAT128_UNLIKE_LDBL.
12662 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12663 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12664 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12665 __f128() constants; define the type _Float128 as long double;
12666 and reuse long double in __CFLOAT128.
12667
b4d5b8b0
JM
126682018-05-11 Joseph Myers <joseph@codesourcery.com>
12669
12670 * sysdeps/generic/math_private.h: Do not include
12671 <math-barriers.h>.
12672 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12673 <math_private.h>.
12674 * math/fromfp.h: Include <math-barriers.h>.
12675 * math/math-narrow.h: Likewise.
12676 * math/s_nextafter.c: Likewise.
12677 * math/s_nexttowardf.c: Likewise.
12678 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12679 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12680 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12681 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12682 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12683 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12684 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12690 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12692 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12693 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12694 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12695 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12696 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12697 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12698 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12699 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12700 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12701 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12702 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12703 * sysdeps/ieee754/k_standardl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12706 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12707 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12708 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12709 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12710 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12711 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12712 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12713 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12714 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12716 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12717 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12718 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12719 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12720 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12721 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12722 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12723 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12724 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12725 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12726
fc79706a
FW
127272018-05-11 Florian Weimer <fweimer@redhat.com>
12728
12729 Use 64-bit epoch values in the time zone file parser.
12730 * include/time.h (internal_time_t): Define.
12731 (__tzfile_compute): Use it.
12732 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12733 member.
12734 (transitions): Switch to internal_time_t.
12735 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12736 types.
12737 (__tzfile_compute): Use internal_time_t for timer argument. Check
12738 for truncation before calling __offtime.
12739
89aacb51
FW
127402018-05-11 Florian Weimer <fweimer@redhat.com>
12741
12742 [BZ #23166]
12743 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12744 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12745 Likewise.
12746 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12747 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12748 export without --enable-obsolete-rpc.
12749 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12750 symbol. This should not have been exported, ever.
12751
bb066cb8
RL
127522018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12753
12754 [BZ #23152]
12755 * localedata/locales/gd_GB (abmon): Fix typo in May:
12756 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12757
70c97f84
SP
127582018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12759
db725a45
SP
12760 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12761 Use multiple registers to copy data in loop tail.
12762
70c97f84
SP
12763 * sysdeps/aarch64/multiarch/memmove_falkor.S
12764 (__memmove_falkor): Use multiple registers to move data in
12765 loop tail.
12766
8f5b00d3
JM
127672018-05-10 Joseph Myers <joseph@codesourcery.com>
12768
12769 * math/math-underflow.h: New file.
12770 * sysdeps/generic/math_private.h: Do not include <float.h>.
12771 (fabs_tg): Remove macro. Moved to math-underflow.h.
12772 (min_of_type_f): Likewise.
12773 (min_of_type_): Likewise.
12774 (min_of_type_l): Likewise.
12775 (min_of_type_f128): Likewise.
12776 (min_of_type): Likewise.
12777 (math_check_force_underflow): Likewise.
12778 (math_check_force_underflow_nonneg): Likewise.
12779 (math_check_force_underflow_complex): Likewise.
12780 * math/e_exp2_template.c: Include <math-underflow.h>.
12781 * math/k_casinh_template.c: Likewise.
12782 * math/s_catan_template.c: Likewise.
12783 * math/s_catanh_template.c: Likewise.
12784 * math/s_ccosh_template.c: Likewise.
12785 * math/s_cexp_template.c: Likewise.
12786 * math/s_clog10_template.c: Likewise.
12787 * math/s_clog_template.c: Likewise.
12788 * math/s_csin_template.c: Likewise.
12789 * math/s_csinh_template.c: Likewise.
12790 * math/s_csqrt_template.c: Likewise.
12791 * math/s_ctan_template.c: Likewise.
12792 * math/s_ctanh_template.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12810 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12811 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12812 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12813 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12814 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12815 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12816 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12817 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12818 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12819 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12820 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12821 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12822 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12823 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12824 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12861 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12862 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12863 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12864 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12865 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12866 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12867 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12868 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12869 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12870 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12871 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12873 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12874 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12875 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12876 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12877
9ed2e15f
JM
128782018-05-09 Joseph Myers <joseph@codesourcery.com>
12879
12880 * sysdeps/generic/math-barriers.h: New file.
12881 * sysdeps/generic/math_private.h [!math_opt_barrier]
12882 (math_opt_barrier): Move to math-barriers.h.
12883 [!math_opt_barrier] (math_force_eval): Likewise.
12884 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12885 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12886 math-barriers.h.
12887 (math_force_eval): Likewise.
12888 * sysdeps/alpha/fpu/math-barriers.h: New file.
12889 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12890 math-barriers.h.
12891 (math_force_eval): Likewise.
12892 * sysdeps/x86/fpu/math-barriers.h: New file.
12893 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12894 math-barriers.h.
12895 (math_force_eval): Likewise.
12896 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12897 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12898 multiple-include guard for rename.
12899 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12900 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12901 math-barriers.h.
12902 (math_force_eval): Likewise.
12903
5460617d
PP
129042018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12905
12906 [BZ #22786]
43d4f3d5 12907 CVE-2018-11236
5460617d
PP
12908 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12909 computation.
12910 * stdlib/Makefile (test-bz22786): New test.
12911 * stdlib/test-bz22786.c: New test.
12912
aaee3cd8
JM
129132018-05-09 Joseph Myers <joseph@codesourcery.com>
12914
12915 * include/math-narrow-eval.h: New file. Contents moved from ....
12916 * sysdeps/generic/math_private.h: ... here.
12917 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12918 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12919 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12920 * stdlib/strtod_l.c: Likewise.
12921 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12922 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12923 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12925 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12926 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12927 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12928 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12929 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12930 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12931 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12932 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12933 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12934 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12935 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12936 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12937 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12938 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12939 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12940 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12941 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12942 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12943 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12945 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12946 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12947 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12948 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12949 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12950
0555c477
AS
129512018-05-08 Andreas Schwab <schwab@suse.de>
12952
12953 * sysdeps/nptl/internaltypes.h: Fix comment.
12954
50d7d351
L
129552018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12956
12957 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12958 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12959 hidden.
12960
543477f7
SP
129612018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12962
12963 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12964 of I into loop header.
12965 * benchtests/bench-memmove-walk.c
12966 (test_main): Likewise.
12967
129682018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
12969
12970 Revert:
12971 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12972 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12973
0065aaaa
PP
129742018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12975
12976 [BZ #20419]
12977 * elf/dl-load.c (open_verify): Fix stack overflow.
12978 * elf/Makefile (tst-big-note): New test.
12979 * elf/tst-big-note-lib.S: New.
12980 * elf/tst-big-note.c: New.
12981
b289cd9d
JM
129822018-05-04 Joseph Myers <joseph@codesourcery.com>
12983
12984 * scripts/abilist.awk: Ignore absolute symbols.
12985 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12986 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12987 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12988 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12989 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12990 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12991 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12992 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12993 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12994 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12995 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12996 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13009 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13010 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13011 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13014 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13015 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13017 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13018 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13024 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13025 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13028 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13029 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13030 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13031 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13032 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13033 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13034 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13035 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13036 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13037 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13038 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13039 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13040 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13041 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13042 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13043 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13044 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13045 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13046 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13047 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13048 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13049 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13050 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13051 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13052 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13053 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13054 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13055 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13056 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13057 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13058 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13059 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13060 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13061 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13062 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13063 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13064 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13065 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13066 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13067 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13068 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13069 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13070 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13071 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13072 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13073 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13074 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13077 Likewise.
13078 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13079 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13080 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13081 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13082 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13083 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13084 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13085 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13086 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13087 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13088 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13089 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13090 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13091 Likewise.
13092 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13093 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13094 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13095 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13096 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13097 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13098 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13099 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13100 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13101 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13102 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13103 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13104 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13106 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13109 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13110 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13111 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13112 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13113 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13114 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13115 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13116 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13117 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13118 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13119 Likewise.
13120 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13121 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13122 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13123 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13124 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13125 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13126 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13127 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13128 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13129 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13130 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13131 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13132 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13133 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13134 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13135 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13136 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13137 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13138 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13139 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13140 Likewise.
13141 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13142 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13143 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13144 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13145 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13146 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13147 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13148 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13149 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13150 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13151 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13152 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13153 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13154 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13155 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13156 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13157 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13158 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13159 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13160 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13161 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13162 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13163 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13164 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13165 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13166 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13167 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13168 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13173 Likewise.
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13179 Likewise.
13180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13181 Likewise.
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13184 Likewise.
13185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13187 Likewise.
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13189 Likewise.
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13193 Likewise.
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13195 Likewise.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13197 Likewise.
13198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13202 Likewise.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13209 Likewise.
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13212 Likewise.
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13214 Likewise.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13216 Likewise.
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13218 Likewise.
13219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13222 Likewise.
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13224 Likewise.
13225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13226 Likewise.
13227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13229 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13230 Likewise.
13231 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13232 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13233 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13234 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13235 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13236 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13237 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13238 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13239 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13240 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13241 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13242 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13243 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13244 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13245 Likewise.
13246 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13247 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13248 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13249 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13250 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13251 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13252 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13253 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13254 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13255 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13256 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13257 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13258 Likewise.
13259 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13260 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13261 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13262 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13267 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13268 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13273 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13275 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13276 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13278 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13279 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13280 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13282 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13283 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13284 Likewise.
13285 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13286 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13287 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13288 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13292 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13297 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13298 Likewise.
13299 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13318 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13320 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13326 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13328 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13329 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13330 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13331 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13332 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13334 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13335 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13336 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13337
16609018
SL
133382018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13339
13340 [BZ #23137]
13341 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13342 Use atomic_load_acquire to load __tid.
13343
556f5c46
L
133442018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13345
13346 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13347 Restore the pointer into %rdx, after syscall and use %rdx,
13348 instead of %rsi, to restore context.
13349
8b8f32b2
L
133502018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13351
13352 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13353 Pop the pointer into %rdx after syscall and use %rdx, instead
13354 of %rsi, to restore context.
13355
d6cc1829
L
133562018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13357
13358 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13359 handlers after setjmp.
13360 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13361 defined.
13362 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13363 <libc-pointer-arith.h>.
13364 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13365 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13366 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13367 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13368 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13369 * sysdeps/x86/__longjmp_cancel.S: New file.
13370 * sysdeps/x86/longjmp.c: Likewise.
13371 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13372
cf2478d5
AZ
133732018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13374
13375 * NEWS: Add ustat.h deprecation entry.
13376 * bits/ustat.h: Remove file.
13377 * misc/sys/ustat.h: Likewise.
13378 * misc/ustat.h: Likewise.
13379 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13380 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13381 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13382 compatibility mode.
13383 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13384 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13385 generic Linux implementation.
13386
dc115e1c
TMQMF
133872018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13388
13389 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13390 * math/w_expl_compat.c: Likewise.
13391 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13392
6b5c8607 133932018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
13394
13395 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13396
c57bf7c1
AZ
133972018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13398
13399 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13400 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13401 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13402 Remove.
13403 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13406 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13407 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13408 and SYSCALL_LL64.
13409
06135c33
TMQMF
134102018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13411
33927914
TMQMF
13412 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13413
06135c33
TMQMF
13414 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13415 * math/w_asin_template.c: Likewise.
13416 * math/w_atanh_template.c: Likewise.
13417
3a33b069
GG
134182018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13419
13420 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13421 to powerpc/powerpc64/be for big-endian.
13422 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13423 little-endian.
13424
13425 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13426 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13427 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13428 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13429 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13430 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13431 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13432 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13433 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13434 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13435 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13436 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13437 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13438 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13439 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13440 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13441 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13442 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13443 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13444 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13445 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13446 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13447 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13448 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13449 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13450 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13451 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13452 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13453 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13454 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13455 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13456 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13457
13458 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13459 adjusted to imply powerpc64 and older processors on powerpc64/be.
13460 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13461 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13462 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13463 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13464 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13465 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13466 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13467 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13468 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13469 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13470 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13471 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13472 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13473 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13474 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13475 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13476 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13477 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13478 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13479 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13480 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13481 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13482 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13483 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13484 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13485 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13486 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13487 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13488 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13489 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13490 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13491
13492 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13493 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13494 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13495 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13496
13497 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13498 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13499 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13500 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13501
13502 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13503 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13504 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13505 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13506 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13507 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13508 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13509 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13510 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13511 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13512 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13513
13514 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13515 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13516 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13517 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13518 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13519 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13520 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13521 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13522 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13523 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13524 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13525
13526 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13527 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13528 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13529 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13530 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13531 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13532 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13533 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13534 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13535 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13536 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13537 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13538
13539 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13540 and adjusted to imply olders processors.
13541 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13542 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13543 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13544 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13545 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13546 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13547 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13548 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13549 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13550 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13551 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13552
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13554 powerpc64/le.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13557
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13559 powerpc64le.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13562
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13564 powerpc64/be.
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13568
13569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13570 powerpc64 and adjusted.
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13574 Likewise.
13575
a3fb6b6b
JM
135762018-04-27 Joseph Myers <joseph@codesourcery.com>
13577
13578 * sysdeps/tile: Remove.
13579 * sysdeps/unix/sysv/linux/tile: Likewise.
13580 * README (tilegx-*-linux-gnu): Remove from list of supported
13581 configurations.
13582 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13583 contribution of support for generic Linux kernel syscall
13584 interface.
13585 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13586 tilegx configurations.
13587 (Config.install_linux_headers): Do not handle tile.
13588 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13589 in comment.
13590 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13591 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13592 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13593 conditional undefine and redefine.
13594 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13595 in comment.
13596 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13597 conditional undefine and redefine.
13598
7a6f7478
AJ
135992018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13600
13601 * signal/tst-sigaction.c: New file to test BZ #23069.
13602 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13603
81b49e96
TMQMF
136042018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13605
13606 [BZ #22766]
13607 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13608 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13609 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13610 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13611
7d80f48e
AZ
136122018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13613
13614 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13615 _DIRENT_MATCHES_DIRENT64 is not defined.
13616 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13617 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13618 is defined.
13619 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13620 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13621
42a2bf58
JM
136222018-04-25 Joseph Myers <joseph@codesourcery.com>
13623
13624 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13625 version to GCC 8 branch.
13626
9320ca88
JM
136272018-04-24 Joseph Myers <joseph@codesourcery.com>
13628
5e14bb97
JM
13629 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13630 (check_no_hidden): Use type of original function when declaring
13631 alias.
13632
9320ca88
JM
13633 * sysdeps/unix/sysv/linux/sys/ptrace.h
13634 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13635 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13636 (struct __ptrace_seccomp_metadata): New type.
13637 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13638 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13639 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13640 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13641 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13642 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13644 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13645 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13646 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13647 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13648 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13649 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13650 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13651 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13652 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13653
af7e376b
AZ
136542018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13655
13656 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13657 defined.
13658 * dirent/versionsort.c (versionsort): Likewise.
13659 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13660 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13661 * dirent/versionsort64.c (versionsort64): Likewise.
13662 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13663 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13664 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13665 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13666 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13667 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13668 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13669 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13670 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13671 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13674 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13675 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13676
da5e0361
JM
136772018-04-23 Joseph Myers <joseph@codesourcery.com>
13678
13679 * elf/elf.h (NT_PPC_PKEY): New macro.
13680
6b5c8607 136812018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
13682
13683 [BZ #23094]
13684 * localedata/locales/hr_HR: fix thousands_sep and
13685 mon_thousands_sep
13686
573963e3
JM
136872018-04-20 Joseph Myers <joseph@codesourcery.com>
13688
13689 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13690 (XTABS): Define to TAB3.
13691
c0123b3b
AZ
136922018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13693
0900a849
AZ
13694 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13695
c0123b3b
AZ
13696 * dirent/scandir-tail-common.c: New file.
13697 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13698 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13699 * dirent/scandir.c: Use scandir-tail-common.c.
13700 * dirent/scandirat.c: Likewise.
13701 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13702 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13703 if _DIRENT_MATCHES_DIRENT64 is defined.
13704 * dirent/scandirat64.c (scandirat64): Likewise.
13705 * include/dirent.h (__scandir_tail): Only define iff
13706 _DIRENT_MATCHES_DIRENT64 is not defined.
13707 (__scandir64_tail): Define regardless.
13708 (__scandirat, scandirat64): Remove libc_hidden_proto.
13709 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13710 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13712 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13713 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13714 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13715 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13716
458b94f6
JM
137172018-04-20 Joseph Myers <joseph@codesourcery.com>
13718
13719 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13720 New macro.
13721 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13722 Increase to 24.
13723 (_dl_aarch64_cap_flags): Add asimdfhm.
13724
9f0437e8
CLT
137252018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13726
13727 * sysdeps/nios2/libm-test-ulps: Update.
13728
298d0e31
AZ
137292018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13730
50511ca4
AZ
13731 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13732 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13733
298d0e31
AZ
13734 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13735 requirements.
6b5c8607 13736 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
13737 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13738 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13739 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13740 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13741 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13742 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13743 use getdents64 syscalls as base.
13744 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13745 symbol if required.
13746 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13747 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13748 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13749 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13750 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13751 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13752 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13753 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13755 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13756 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13757
0085be14
SL
137582018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13759
13760 * scripts/test_printers_common.py (init_test): Disable lock elision.
13761
da796524
SL
137622018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13763
13764 * math/test-tgmath.c (count_double, count_float,
13765 count_ldouble, count_cdouble, count_cfloat,
13766 count_cldouble): Use volatile int.
13767
0dd25301
ST
137682018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13769
13770 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13771 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 13772 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
13773 i386-gnu.
13774 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13775 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13776 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13777 msqid_ds.msg_lrpid): Likewise.
13778 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13779 Likewise.
13780 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13781 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
13782 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13783 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13784 unsigned int.
13785 (struct statvfs64): Likewise.
f55a4fde
ST
13786 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13787 Likewise.
77b93390
ST
13788 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13789 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13790 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13791 instead of wait_queue.
13792 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13793 instead of vm_area_struct.
5cd2931a
ST
13794 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13795 struct sched_param definition to it.
e60c3f2b
ST
13796 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13797 * bits/types/struct_sched_param.h: New file.
13798 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13799 <bits/types/struct_sched_param.h> instead of <sched.h>.
13800 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
13801 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13802 generic version but include <bits/pthreadtypes.h> to make struct
13803 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
13804 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13805 non-compliant.
a564872d
ST
13806 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13807 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13808 [__USE_XOPEN] (OFDEL): New macro.
13809 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 13810 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
13811 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13812 prototypes.
13813 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13814 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
13815 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13816 non-compliant.
13817 * sysdeps/i386/sys/ucontext.h: Likewise.
13818 * sysdeps/m68k/sys/ucontext.h: Likewise.
13819 * sysdeps/mips/sys/ucontext.h: Likewise.
13820 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
13821 * sysdeps/mach/hurd/i386/Makefile
13822 (test-xfail-POSIX/fcntl.h/conform): Add.
13823 (test-xfail-POSIX/signal.h/conform): Add.
13824 (test-xfail-POSIX/semaphore.h/conform): Add.
13825 (test-xfail-POSIX/regex.h/conform): Add.
13826 (test-xfail-POSIX/aio.h/conform): Add.
13827 (test-xfail-POSIX/mqueue.h/conform): Add.
13828 (test-xfail-POSIX/sys/types.h/conform): Add.
13829 (test-xfail-UNIX98/fcntl.h/conform): Add.
13830 (test-xfail-UNIX98/netdb.h/conform): Add.
13831 (test-xfail-UNIX98/signal.h/conform): Add.
13832 (test-xfail-UNIX98/semaphore.h/conform): Add.
13833 (test-xfail-UNIX98/regex.h/conform): Add.
13834 (test-xfail-UNIX98/aio.h/conform): Add.
13835 (test-xfail-UNIX98/ftw.h/conform): Add.
13836 (test-xfail-UNIX98/mqueue.h/conform): Add.
13837 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13838 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13839 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13840 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13841 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13842 (test-xfail-UNIX98/sys/types.h/conform): Add.
13843 (test-xfail-UNIX98/stdlib.h/conform): Add.
13844 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13845 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13846 (test-xfail-POSIX2008/netdb.h/conform): Add.
13847 (test-xfail-POSIX2008/signal.h/conform): Add.
13848 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13849 (test-xfail-POSIX2008/regex.h/conform): Add.
13850 (test-xfail-POSIX2008/aio.h/conform): Add.
13851 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13852 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13853 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13854 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13855 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13856 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13857 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13858 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13859 (test-xfail-XOPEN2K/signal.h/conform): Add.
13860 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13861 (test-xfail-XOPEN2K/regex.h/conform): Add.
13862 (test-xfail-XOPEN2K/aio.h/conform): Add.
13863 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13864 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13865 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13866 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13867 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13868 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13869 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13870 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13871 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13872 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13873 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13874 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13875 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13876 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13877 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13878 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13879 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13880 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13881 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13882 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13883 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13884 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13885 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13886 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13887 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13888 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
13889 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13890 i386-gnu.
13891 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13892 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 13893
d6397de3
JM
138942018-04-18 Joseph Myers <joseph@codesourcery.com>
13895
13896 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13897 --enable-obsolete for powerpc-linux-gnuspe.
13898
8323a902
ST
138992018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13900
3dc0814c 13901 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 13902 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 13903 prototypes.
c5896a45
ST
13904 * sysdeps/mach/include/mach.h: Likewise.
13905 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13906 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 13907
743b9c2a
AZ
139082018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13909
13910 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13911 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13912 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13913 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13914
326e74e7
AS
139152018-04-16 Andreas Schwab <schwab@suse.de>
13916
13917 [BZ #19527]
13918 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13919
6b5c8607 139202018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
13921
13922 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13923 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13924
a700e7cb
DD
139252018-04-12 DJ Delorie <dj@redhat.com>
13926
13927 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13928 version to 4.16.
13929
d8abfab7
SL
139302018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13931
13932 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13933 (struct kernel_sigaction): Use the same definition on 31bit as is used
13934 on 64bit.
13935
583a27d5
FW
139362018-04-09 Florian Weimer <fweimer@redhat.com>
13937
13938 [BZ #23037]
13939 * resolv/res_send.c (send_dg): Use designated initializers instead
13940 of assignment to zero-initialize other fields of struct mmsghdr.
13941
243f59e5
AZ
139422018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13943
942de61a
AZ
13944 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13945 __READDIR_ALIAS): Undefine after usage.
13946 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13947 __READDIR_R_ALIAS): Likewise.
13948 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13949 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13950 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13951 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13952 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13953 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13954 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13955 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13956 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13957 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13958 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13959 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13960 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13961 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13962 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13963 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13964 * sysdeps/unix/sysv/linux/readdir.c: New file.
13965 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13966 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13967 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13968
243f59e5
AZ
13969 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13970
690c3475
AS
139712018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13972
13973 * manual/charset.texi (Converting a Character): Fix typo.
13974
6b5c8607 139752018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 13976
bbc2062a
AZ
13977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13978
fa7c6199
AZ
13979 * sysdeps/arm/libm-test-ulps: Update.
13980
b4a5d26d
AZ
13981 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13982 as base implementation.
13983 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13984 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13985 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13986 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13987 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13988 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13989 remove unrequired definitions and update comments.
13990 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13991 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13992 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13993 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13994 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13995 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13996 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13997 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13998 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13999 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14000 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14001 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14002 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14003 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14004 and RESET_SA_RESTORER hooks.
14005
db9e55ff
SL
140062018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14007
14008 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14009
cf138b0c
FW
140102018-04-05 Florian Weimer <fweimer@redhat.com>
14011
14012 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14013 integer overflow, memory leak on error, and indeterminate errno
14014 value. Add a null wide character to terminate the result string.
14015 * manual/charset.texi (Converting a Character): Mention embedded
14016 null bytes in the mbrtowc input string. Explain what happens in
14017 the -2 result case. Do not claim that mbrtowc is simple or
14018 obvious to use. Adjust the description of the code example. Use
14019 @code, not @var, for concrete variables.
14020
0f339252
FW
140212018-04-05 Florian Weimer <fweimer@redhat.com>
14022
14023 * manual/examples/mbstouwcs.c: New file.
14024 * manual/charset.texi (Converting a Character): Include it.
14025
e5f9508a
ST
140262018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14027
c120981d
ST
14028 * include/dirent.h (dirfd): Add hidden proto.
14029 * dirent/dirfd.c (dirfd): Add hidden def.
14030 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14031 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 14032
b2fd61ca
TMQMF
140332018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14034
14035 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14036 sin, cos and sincos to 1 ULP.
14037
10a446dd
MR
140382018-04-04 Maciej W. Rozycki <macro@mips.com>
14039
e7feec37
MR
14040 [BZ #19818]
14041 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14042 symbols.
14043 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14044 * elf/tst-absolute-sym.c: New file.
14045 * elf/tst-absolute-sym-lib.c: New file.
14046 * elf/tst-absolute-sym-lib.lds: New file.
14047 * elf/Makefile (tests): Add `tst-absolute-sym'.
14048 (modules-names): Add `tst-absolute-sym-lib'.
14049 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14050 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14051 ($(objpfx)tst-absolute-sym): New dependency.
14052
10a446dd
MR
14053 [BZ #19818]
14054 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14055 parameter.
14056 (SYMBOL_ADDRESS): New macro.
14057 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14058 SYMBOL_ADDRESS for symbol address calculation.
14059 * elf/dl-runtime.c (_dl_fixup): Likewise.
14060 (_dl_profile_fixup): Likewise.
14061 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14062 * elf/rtld.c (dl_main): Likewise.
14063 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14064 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14065 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14066 (elf_machine_rela): Likewise.
14067 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14068 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14069 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14070 (elf_machine_rela): Likewise.
14071 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14072 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14073 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14074 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14075 Likewise.
14076 (elf_machine_reloc): Likewise.
14077 (elf_machine_got_rel): Likewise.
14078 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14079 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14080 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14081 Likewise.
14082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14083 Likewise.
14084 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14085 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14086 Likewise.
14087 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14088 Likewise.
14089 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14090 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14091 Likewise.
14092 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14093 Likewise.
14094 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14096
9185f86d
ZW
140972018-04-04 Zack Weinberg <zackw@panix.com>
14098
14099 * sysdeps/generic/internal-signals.h: Include signal.h,
14100 sigsetops.h, and stdbool.h.
14101 (__libc_signal_block_all): Actually block all signals.
14102 (__libc_signal_block_app): Likewise.
14103 (__libc_signal_restore_set): Actually restore the signal mask.
14104
b07367bc
FW
141052018-04-04 Florian Weimer <fweimer@redhat.com>
14106
14107 inet: Actually build and run tst-deadline.
14108 * inet/Makefile (tests-internal): Add tst-deadline and do not
14109 overwrite the variable.
14110 (tests-static-internal): Remove variable.
14111
f2652643
L
141122018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14113
14114 [BZ #22947]
14115 * bits/uio-ext.h (RWF_APPEND): New.
14116 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14117 * manual/llio.texi: Document RWF_APPEND.
14118 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14119 (RWF_SUPPORTED): Add RWF_APPEND.
14120
6b5c8607 141212018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
14122
14123 [BZ #22391]
14124 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14125 check for internal nptl signals.
14126 * nptl/sigaction.c (__sigaction): Likewise.
14127 * signal/sigaddset.c (sigaddset): Likewise.
14128 * signal/sigdelset.c (sigdelset): Likewise.
14129 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14130 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14131 value.
14132 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14133 to filter out internal nptl signals.
14134 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14135 also check realtime signals using standard macros.
14136 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14137 __is_internal_signal, __libc_signal_block_all,
14138 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14139 * sysdeps/nptl/sigfillset.c: Remove file.
14140 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14141 Change return to bool.
14142 (__clear_internal_signals): Remove SIGTIMER clean since it is
14143 equal to SIGCANEL on Linux.
14144 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14145 signal set was constructed using standard functions.
14146
511ed56f
ST
141472018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14148
92846492
ST
14149 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14150 ifname is too long.
e8ef51b1
ST
14151 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14152 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
14153 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14154 hidden def.
14155 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
14156 * signal/sigaddset.c: Include <sigsetopts.h>.
14157 * signal/sigdelset.c: Likewise.
511ed56f 14158
e88ecbbf
WD
141592018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14160
14161 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14162 (__cos): Likewise.
14163 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14164 logic as sin and cos.
14165
aef3e255
WD
141662018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14167
14168 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14169 inputs. Return correct sign.
14170 (do_sincos): Remove small input check before do_sin, let do_sin set
14171 the sign.
14172 (__sin): Likewise.
14173 (__cos): Likewise.
14174
72f6e9a3
WD
141752018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14176
14177 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14178 (do_cos_slow): Likewise.
14179 (do_sin_slow): Likewise.
14180 (reduce_and_compute): Likewise.
14181 (slow): Likewise.
14182 (slow1): Likewise.
14183 (slow2): Likewise.
14184 (sloww): Likewise.
14185 (sloww1): Likewise.
14186 (sloww2): Likewise.
14187 (bslow): Likewise.
14188 (bslow1): Likewise.
14189 (bslow2): Likewise.
14190 (cslow2): Likewise.
14191
64909583
WD
141922018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14193
14194 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14195 (do_cos): Remove corp parameter and calculations.
14196 (do_sin): Likewise.
14197 (do_sincos): Remove cor variable.
14198 (__sin): Use do_sincos for huge inputs.
14199 (__cos): Likewise.
14200 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14201 (reduce_and_compute_sincos): Remove unused function.
14202
d9469deb
WD
142032018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14204
14205 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14206 reduce_sincos, improve accuracy to 136 bits.
14207 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14208 (__sin): Use improved reduction and simplified do_sincos calculation.
14209 (__cos): Likewise.
14210 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14211
7a5640f2
WD
142122018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14213
14214 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14215 (do_sincos_2): Likewise.
14216 (__sin): Remove middle range reduction case.
14217 (__cos): Likewise.
14218 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14219 reduction case.
14220
19a8b9a3
WD
142212018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14222
14223 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14225 inputs.
14226 (__cos): Likewise.
14227 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14228
f72aa11d
JM
142292018-04-03 Joseph Myers <joseph@codesourcery.com>
14230
14231 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 14232 version to 4.16
f72aa11d 14233
8e4754ed
AZ
142342018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14235
14236 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14237 Remove definitions.
14238 (opendir_oflags): Use O_DIRECTORY regardless.
14239 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14240 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14241
8e2666ea
ST
142422018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14243
14244 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14245 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14246 macros.
14247 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14248 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14249 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14250 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
14251 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14252 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 14253
ad2b41bf
ST
14254 * htl/Makefile: Bump licence to LGPL 2.1+.
14255 * htl/alloca_cutoff.c: Likewise.
14256 * htl/cthreads-compat.c: Likewise.
14257 * htl/lockfile.c: Likewise.
14258 * htl/pt-alloc.c: Likewise.
14259 * htl/pt-cancel.c: Likewise.
14260 * htl/pt-cleanup.c: Likewise.
14261 * htl/pt-create.c: Likewise.
14262 * htl/pt-dealloc.c: Likewise.
14263 * htl/pt-detach.c: Likewise.
14264 * htl/pt-exit.c: Likewise.
14265 * htl/pt-getattr.c: Likewise.
14266 * htl/pt-initialize.c: Likewise.
14267 * htl/pt-internal.h: Likewise.
14268 * htl/pt-join.c: Likewise.
14269 * htl/pt-self.c: Likewise.
14270 * htl/pt-setcancelstate.c: Likewise.
14271 * htl/pt-setcanceltype.c: Likewise.
14272 * htl/pt-sigmask.c: Likewise.
14273 * htl/pt-spin-inlines.c: Likewise.
14274 * htl/pt-testcancel.c: Likewise.
14275 * htl/pt-yield.c: Likewise.
14276 * htl/tests/test-1.c: Likewise.
14277 * htl/tests/test-10.c: Likewise.
14278 * htl/tests/test-11.c: Likewise.
14279 * htl/tests/test-12.c: Likewise.
14280 * htl/tests/test-13.c: Likewise.
14281 * htl/tests/test-14.c: Likewise.
14282 * htl/tests/test-15.c: Likewise.
14283 * htl/tests/test-16.c: Likewise.
14284 * htl/tests/test-17.c: Likewise.
14285 * htl/tests/test-2.c: Likewise.
14286 * htl/tests/test-3.c: Likewise.
14287 * htl/tests/test-4.c: Likewise.
14288 * htl/tests/test-5.c: Likewise.
14289 * htl/tests/test-6.c: Likewise.
14290 * htl/tests/test-7.c: Likewise.
14291 * htl/tests/test-8.c: Likewise.
14292 * htl/tests/test-9.c: Likewise.
14293 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14294 * sysdeps/htl/bits/cancelation.h: Likewise.
14295 * sysdeps/htl/bits/pthread-np.h: Likewise.
14296 * sysdeps/htl/bits/pthread.h: Likewise.
14297 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14298 * sysdeps/htl/bits/semaphore.h: Likewise.
14299 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14300 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14301 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14302 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14303 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14304 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14305 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14306 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14307 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14308 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14309 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14310 * sysdeps/htl/old_pt-atfork.c: Likewise.
14311 * sysdeps/htl/pt-atfork.c: Likewise.
14312 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14313 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14314 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14315 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14316 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14317 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14318 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14319 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14320 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14321 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14322 * sysdeps/htl/pt-attr-init.c: Likewise.
14323 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14324 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14325 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14326 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14327 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14328 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14329 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14330 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14331 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14332 * sysdeps/htl/pt-attr.c: Likewise.
14333 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14334 * sysdeps/htl/pt-barrier-init.c: Likewise.
14335 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14336 * sysdeps/htl/pt-barrier.c: Likewise.
14337 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14338 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14339 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14340 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14341 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14342 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14343 * sysdeps/htl/pt-cond-init.c: Likewise.
14344 * sysdeps/htl/pt-cond-signal.c: Likewise.
14345 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14346 * sysdeps/htl/pt-cond-wait.c: Likewise.
14347 * sysdeps/htl/pt-cond.c: Likewise.
14348 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14349 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14350 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14351 * sysdeps/htl/pt-condattr-init.c: Likewise.
14352 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14353 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14354 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14355 * sysdeps/htl/pt-equal.c: Likewise.
14356 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14357 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14358 * sysdeps/htl/pt-getschedparam.c: Likewise.
14359 * sysdeps/htl/pt-getspecific.c: Likewise.
14360 * sysdeps/htl/pt-init-specific.c: Likewise.
14361 * sysdeps/htl/pt-key-create.c: Likewise.
14362 * sysdeps/htl/pt-key-delete.c: Likewise.
14363 * sysdeps/htl/pt-key.h: Likewise.
14364 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14365 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14366 * sysdeps/htl/pt-mutex-init.c: Likewise.
14367 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14368 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14369 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14370 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14371 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14372 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14373 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14374 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14375 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14376 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14377 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14378 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14379 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14380 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14381 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14382 * sysdeps/htl/pt-mutexattr.c: Likewise.
14383 * sysdeps/htl/pt-once.c: Likewise.
14384 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14385 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14386 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14387 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14388 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14389 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14390 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14391 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14392 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14393 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14394 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14395 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14396 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14397 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14398 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14399 * sysdeps/htl/pt-setschedparam.c: Likewise.
14400 * sysdeps/htl/pt-setschedprio.c: Likewise.
14401 * sysdeps/htl/pt-setspecific.c: Likewise.
14402 * sysdeps/htl/pt-spin.c: Likewise.
14403 * sysdeps/htl/pt-startup.c: Likewise.
14404 * sysdeps/htl/pthread.h: Likewise.
14405 * sysdeps/htl/sem-close.c: Likewise.
14406 * sysdeps/htl/sem-destroy.c: Likewise.
14407 * sysdeps/htl/sem-getvalue.c: Likewise.
14408 * sysdeps/htl/sem-init.c: Likewise.
14409 * sysdeps/htl/sem-open.c: Likewise.
14410 * sysdeps/htl/sem-post.c: Likewise.
14411 * sysdeps/htl/sem-timedwait.c: Likewise.
14412 * sysdeps/htl/sem-trywait.c: Likewise.
14413 * sysdeps/htl/sem-unlink.c: Likewise.
14414 * sysdeps/htl/sem-wait.c: Likewise.
14415 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14416 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14417 * sysdeps/mach/htl/pt-block.c: Likewise.
14418 * sysdeps/mach/htl/pt-spin.c: Likewise.
14419 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14420 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14421 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14422 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14423 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14424 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14425 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14426 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14427 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14428 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14429 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14430 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14431 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14432 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14433 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14434 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14435 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14436 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14437 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14438 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14439 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14440 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14441 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14442 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14443 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14444 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14445 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14446 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14447 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14448 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14449 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14450 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14451 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14452 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14453 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14454 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14455 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14456 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14457 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14458 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14459 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14460 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14461 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14462
fb03b04b
ST
14463 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14464 * README: Remove the mention of out-of-tree patches needed for
14465 GNU/Hurd.
14466
fa9e1555
ST
14467 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14468 (UTIME_NOW, UTIME_OMIT): Define macros.
14469
f6fb29d2
ST
14470 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14471 instead of pthread_detach.
14472 (__cthread_fork): Call __pthread_create instead of pthread_create.
14473 (__cthread_keycreate): Call __pthread_key_create instead of
14474 pthread_key_create.
14475 (__cthread_getspecific): Call __pthread_getspecific instead of
14476 pthread_getspecific.
14477 (__cthread_setspecific): Call __pthread_setspecific instead of
14478 pthread_setspecific.
14479 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14480 __pthread_mutex_unlock instead of pthread_mutex_lock and
14481 pthread_mutex_unlock.
14482 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14483 ___pthread_get_cleanup_stack.
14484 (__pthread_get_cleanup_stack): New strong alias.
14485 * htl/pt-create.c: Include <pthreadP.h>.
14486 (entry_point): Call __pthread_exit instead of pthread_exit.
14487 (pthread_create): Rename to __pthread_create.
14488 (pthread_create): New strong alias.
14489 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14490 (pthread_detach): New strong alias.
14491 (__pthread_detach): Call __pthread_cond_broadcast instead of
14492 pthread_cond_broadcast.
fe9748cc
ST
14493 * htl/pt-exit.c: Include <pthreadP.h>.
14494 (__pthread_exit): Call __pthread_setcancelstate and
14495 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14496 __pthread_get_cleanup_stack.
f6fb29d2
ST
14497 * htl/pt-testcancel.c: Include <pthreadP.h>.
14498 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14499 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14500 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14501 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14502 pthread_attr_getstacksize.
14503 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14504 Rename to __pthread_attr_getstackaddr.
14505 (pthread_attr_getstackaddr): New strong alias.
14506 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14507 Rename to __pthread_attr_getstacksize.
14508 (pthread_attr_getstacksize): New strong alias.
14509 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14510 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14511 (pthread_attr_setstack): New strong alias.
14512 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14513 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14514 pthread_attr_getstacksize, pthread_attr_setstacksize and
14515 pthread_attr_setstackaddr.
14516 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14517 Rename to __pthread_attr_setstackaddr.
14518 (pthread_attr_setstackaddr): New strong alias.
14519 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14520 Rename to __pthread_attr_setstacksize.
14521 (pthread_attr_setstacksize): New strong alias.
14522 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14523 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14524 pthread_exit.
14525 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14526 (__pthread_key_create): New hidden def.
14527 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14528 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14529 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14530 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14531 __pthread_setspecific, __pthread_setcancelstate,
14532 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14533 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14534 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14535 declarations.
14536 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14537 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14538 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14539 (pthread_attr_setstackaddr): New strong alias.
14540 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14541 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14542 (pthread_attr_setstacksize): New strong alias.
14543 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14544 (call_exit): Call __pthread_exit instead of pthread_exit.
14545 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14546 (_pthread_mutex_init): New hidden definition.
14547 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14548 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14549 instead of pthread_attr_init and pthread_attr_setstack.
14550
dba2bdbe
ST
14551 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14552 __vm_deallocate instead of vm_allocate and vm_deallocate.
14553 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14554 setenv.
14555 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14556 of geteuid.
14557 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14558 strdup.
14559 * hurd/siginfo.c: Include <libioP.h>.
14560 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14561 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14562 munmap.
dba2bdbe
ST
14563 * mach/devstream.c: Include <libioP.h>.
14564 (dealloc_ref): Call __mach_port_deallocate instead of
14565 mach_port_deallocate.
14566 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14567 Call __mach_port_deallocate instead of mach_port_deallocate.
14568 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14569 pathconf.
14570 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14571 munmap.
14572 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14573 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14574 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14575 of munmap.
14576 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14577 of close.
14578 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14579 instead of sysconf.
14580 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14581 __clock_gettime instead of clock_gettime.
14582 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14583 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14584 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14585 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14586 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14587 tcgetattr.
14588 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14589 __clock_gettime and __nanosleep instead of clock_gettime and
14590 nanosleep.
7a8f45e3
ST
14591 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14592 __hurd_catch_signal.
14593 (hurd_catch_signal): New strong alias.
14594 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14595 __hurd_catch_signal instead of hurd_catch_signal.
14596 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14597 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14598 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14599 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14600 (_hurd_thread_sigstate): Add hidden def.
14601 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14602 mutex_unlock.
14603 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14604 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14605 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14606 __hurd_file_name_path_lookup.
14607 (hurd_file_name_path_lookup): New strong alias.
14608 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14609 hurd_file_name_path_lookup.
14610 * mach/errstring.c (mach_error_type): Add hidden def.
14611 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14612 * mach/mutex-init.c (__mutex_init): Add hidden def.
14613 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14614 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14615 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14616 * sysdeps/mach/hurd/getcwd.c
14617 (_hurd_canonicalize_directory_name_internal): Rename to
14618 __hurd_canonicalize_directory_name_internal.
14619 (_hurd_canonicalize_directory_name_internal): New strong alias.
14620 (__canonicalize_directory_name_internal, __getcwd): Call
14621 __hurd_canonicalize_directory_name_internal instead of
14622 _hurd_canonicalize_directory_name_internal.
14623 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14624 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14625 hidden defs.
14626 * sysdeps/hurd/include/hurd.h: New file.
14627 * sysdeps/hurd/include/hurd/fd.h: New file.
14628 * sysdeps/hurd/include/hurd/signal.h: New file.
14629 * sysdeps/mach/include/lock-intern.h: New file.
14630 * sysdeps/mach/include/mach.h: New file.
14631 * sysdeps/mach/include/mach/mig_support.h: New file.
14632 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
14633 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14634 prototype.
14635 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14636 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14637 _HEADER_H_HIDDEN_DEF macro.
14638 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14639 _hurd_fd_error_signal): Add hidden prototype.
14640 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14641 hidden def.
82dbf555
ST
14642 * libio/iolibio.h (_IO_puts): New hidden prototype.
14643 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
14644 * sysdeps/mach/hurd/localplt.data: New file.
14645
33574c17 146462018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
14647 Amos Jeffries <squid3@treenet.co.nz>
14648 David Michael <fedora.dm0@gmail.com>
14649 Marco Gerards <marco@gnu.org>
14650 Marcus Brinkmann <marcus@gnu.org>
14651 Neal H. Walfield <neal@gnu.org>
14652 Pino Toscano <toscano.pino@tiscali.it>
14653 Richard Braun <rbraun@sceen.net>
14654 Roland McGrath <roland@gnu.org>
14655 Samuel Thibault <samuel.thibault@ens-lyon.org>
14656 Thomas DiModica <ricinwich@yahoo.com>
14657 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
14658
14659 * htl: New directory.
14660 * sysdeps/htl: New directory.
14661 * sysdeps/hurd/htl: New directory.
14662 * sysdeps/i386/htl: New directory.
14663 * sysdeps/mach/htl: New directory.
14664 * sysdeps/mach/hurd/htl: New directory.
14665 * sysdeps/mach/hurd/i386/htl: New directory.
14666 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14667 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14668 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14669
03e2aa50
ST
146702018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14671
14672 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14673 signals in thread created for runing timers.
14674
1aa52ced
FW
146752018-04-01 Florian Weimer <fweimer@redhat.com>
14676
14677 * support/support_format_addrinfo.c (support_format_addrinfo):
14678 Include unknown error number in formatted result.
14679
4d76d3e5
FW
146802018-03-29 Florian Weimer <fweimer@redhat.com>
14681
14682 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14683 capture SIGBUS.
14684
d39c0a45
AZ
146852018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14686
14687 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14688 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14689 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14690 (__ASSUME_CLONE_BACKWARDS): Define.
14691
cc8a1620
JH
146922018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14693
57408435 14694 [BZ #23024]
cc8a1620
JH
14695 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14696 early when linux sentinel value is set.
14697
8bfd94d0
ST
146982018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14699
14700 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14701
f178e59f
AS
147022018-03-27 Andreas Schwab <schwab@suse.de>
14703
14704 [BZ #23005]
14705 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14706 allocation of private copy of nsaddr_list fails.
14707
5f45f96a
JM
147082018-03-26 Joseph Myers <joseph@codesourcery.com>
14709
14710 [BZ #16552]
14711 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14712 * sysdeps/unix/sysv/linux/umount.c: ... here.
14713 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14714 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14715 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14716 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14718 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14719 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14720
3dfd23eb
AS
147212018-03-26 Andreas Schwab <schwab@suse.de>
14722
14723 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14724 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14725 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14726 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14727 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14728 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14729 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14730 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14731 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14732 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14733 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14734 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14735 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14736 (R_RISCV_NUM): Define.
14737
fa97d2ab
ST
147382018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14739
14740 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14741 TLS declaration of errno.
37be82a0
ST
14742 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14743 __libc_setup_tls.
14744 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14745 (ARCH_SETUP_TLS): Likewise.
14746 * sysdeps/mach/hurd/libc-start.h: New file copied from
14747 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
14748 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14749 instead of __libc_setup_tls.
37be82a0 14750 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
14751 __libc_setup_tls before initializing libpthread and running _hurd_init
14752 which starts the signal thread.
14753 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14754 Declare function.
2d813d7b 14755 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 14756
b8114edd
L
147572018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14758
14759 [BZ #22998]
14760 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14761 after it is defined.
14762
cd66c0e5
AS
147632018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14764 Max Horn <max@quendi.de>
14765
14766 [BZ #22644]
43d4f3d5 14767 CVE-2017-18269
cd66c0e5
AS
14768 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14769 branch conditions.
14770 * string/test-memmove.c (do_test2): New testcase.
14771
a4406139
JM
147722018-03-22 Joseph Myers <joseph@codesourcery.com>
14773
14774 * sysdeps/generic/frame.h: Remove file.
14775 * sysdeps/arm/frame.h: Likewise.
14776 * sysdeps/hppa/frame.h: Likewise.
14777 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14778 macro.
14779 (GET_FRAME): Likewise.
14780 (GET_STACK): Likewise.
14781 (CALL_SIGHANDLER): Likewise.
14782 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14783 Likewise.
14784 (GET_FRAME): Likewise.
14785 (GET_STACK): Likewise.
14786 (CALL_SIGHANDLER): Likewise.
14787 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14788 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14789 (GET_FRAME): Likewise.
14790 (GET_STACK): Likewise.
14791 (CALL_SIGHANDLER): Likewise.
14792 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14793 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14794 (GET_FRAME): Likewise.
14795 (GET_STACK): Likewise.
14796 (ADVANCE_STACK_FRAME): Likewise.
14797 (CALL_SIGHANDLER): Likewise.
14798 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14799 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14800 (GET_FRAME): Likewise.
14801 (GET_STACK): Likewise.
14802 (CALL_SIGHANDLER): Likewise.
14803 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14804 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14805 (GET_FRAME): Likewise.
14806 (GET_STACK): Likewise.
14807 (CALL_SIGHANDLER): Likewise.
14808 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14809 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14810 (GET_FRAME): Likewise.
14811 (GET_STACK): Likewise.
14812 (CALL_SIGHANDLER): Likewise.
14813 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14814 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14815 (GET_FRAME): Likewise.
14816 (GET_STACK): Likewise.
14817 (CALL_SIGHANDLER): Likewise.
14818 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14819 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14820 (GET_FRAME): Likewise.
14821 (GET_STACK): Likewise.
14822 (CALL_SIGHANDLER): Likewise.
14823 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14824 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14825 (GET_FRAME): Likewise.
14826 (GET_STACK): Likewise.
14827 (CALL_SIGHANDLER): Likewise.
14828 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14829 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14830 (GET_FRAME): Likewise.
14831 (GET_STACK): Likewise.
14832 (CALL_SIGHANDLER): Likewise.
14833 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14834 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14835 (GET_FRAME): Likewise.
14836 (GET_STACK): Likewise.
14837 (CALL_SIGHANDLER): Likewise.
14838 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14839 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14840 (GET_FRAME): Likewise.
14841 (GET_STACK): Likewise.
14842 (CALL_SIGHANDLER): Likewise.
14843 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14844 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14845 (FIRST_FRAME_POINTER): Likewise.
14846 (ADVANCE_STACK_FRAME): Likewise.
14847 (GET_STACK): Likewise.
14848 (GET_FRAME): Likewise.
14849 (CALL_SIGHANDLER): Likewise.
14850 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14851 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14852 (ADVANCE_STACK_FRAME): Likewise.
14853 (GET_STACK): Likewise.
14854 (GET_FRAME): Likewise.
14855 (CALL_SIGHANDLER): Likewise.
14856 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14857 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14858 (GET_FRAME): Likewise.
14859 (GET_STACK): Likewise.
14860 (CALL_SIGHANDLER): Likewise.
14861 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14862 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14863 (GET_FRAME): Likewise.
14864 (GET_STACK): Likewise.
14865 (CALL_SIGHANDLER): Likewise.
14866
ffec7b27
JM
148672018-03-21 Joseph Myers <joseph@codesourcery.com>
14868
14869 * sysdeps/x86_64/backtrace.c: Move to ....
14870 * debug/backtrace.c: ... here.
14871 * sysdeps/aarch64/backtrace.c: Remove file.
14872 * sysdeps/alpha/backtrace.c: Likewise.
14873 * sysdeps/hppa/backtrace.c: Likewise.
14874 * sysdeps/ia64/backtrace.c: Likewise.
14875 * sysdeps/mips/backtrace.c: Likewise.
14876 * sysdeps/nios2/backtrace.c: Likewise.
14877 * sysdeps/riscv/backtrace.c: Likewise.
14878 * sysdeps/sh/backtrace.c: Likewise.
14879 * sysdeps/tile/backtrace.c: Likewise.
14880
8a07b0c4
JM
148812018-03-20 Joseph Myers <joseph@codesourcery.com>
14882
d0c5d731
JM
14883 [BZ #22987]
14884 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14885 function.
14886 (fdimf): Likewise.
14887 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14888
8a07b0c4
JM
14889 [BZ #17343]
14890 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14891 possibly overflowing computations.
14892
ceb54b9b
ST
148932018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14894
14895 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14896 values from Linux-specific section now that it is in the GNU section.
14897 * sysdeps/gnu/errlist.c: Regenerate.
14898
8d3f9e85
JM
148992018-03-20 Joseph Myers <joseph@codesourcery.com>
14900
14901 * math/Makefile (libm-narrow-fns): Add sub.
14902 (libm-test-funcs-narrow): Likewise.
14903 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14904 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14905 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14906 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14907 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14908 (NARROW_SUB_TRIVIAL): Likewise.
14909 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14910 macro.
14911 (__dsubl): Likewise.
14912 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14913 dsub.
14914 (CFLAGS-nldbl-dsub.c): New variable.
14915 (CFLAGS-nldbl-fsub.c): Likewise.
14916 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14917 __nldbl_dsubl.
14918 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14919 prototype.
14920 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14921 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14922 * math/auto-libm-test-in: Add tests of sub.
14923 * math/auto-libm-test-out-narrow-sub: New generated file.
14924 * math/libm-test-narrow-sub.inc: New file.
14925 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14926 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14927 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14928 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14929 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14930 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14938 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14939 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14940 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14941 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14942 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14944 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14945 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14948 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14949 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14950 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14951 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14952 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14953 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14954 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14956 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14961 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14963 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14964 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14965 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14966 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14967 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14968 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14969 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14970 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14971
d473f015
JM
149722018-03-19 Joseph Myers <joseph@codesourcery.com>
14973
14974 [BZ #20079]
14975 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14976
fbce6f72
WD
149772018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14978
14979 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14980
72e7ffc3
RB
149812018-03-18 Richard Braun <rbraun@sceen.net>
14982
14983 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14984 thread reference.
14985
542c20a1
AA
149862018-03-18 Agustina Arzille <avarzille@riseup.net>
14987
14988 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14989 (__libc_cleanup_fct): Define function.
14990 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14991 __libc_cleanup_end): Rewrite implementation using
14992 __attribute__ ((__cleanup__)).
14993 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
14994 * hurd/Makefile (routines): Add hurdlock.
14995 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14996 interface.
14997 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14998 * hurd/hurdpid.c: Include <lowlevellock.h>
14999 (_S_msg_proc_newids): Use lll_wait to synchronize.
15000 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15001 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15002 * mach/Makefile (lock-headers): Remove machine-lock.h.
15003 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15004 <machine-lock.h>.
15005 (__spin_lock_t): New type.
15006 (__SPIN_LOCK_INITIALIZER): New macro.
15007 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15008 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15009 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15010 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15011 (__mutex_init): Initialize with lll.
15012 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15013 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15014 needing lll.
15015 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15016 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15017 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15018 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15019 (__setpgid): Use lll for synchronization.
15020 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15021 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15022 instead of <cthreads.h>.
15023 (_IO_lock_inexpensive): New macro
15024 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15025 (__libc_lock_self0): New declaration.
15026 (__libc_lock_owner_self): New macro.
15027 (__libc_key_t): Remove type.
15028 (_LIBC_LOCK_INITIALIZER): New macro.
15029 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15030 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15031 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15032 __libc_lock_define_initialized_recursive,
15033 __rtld_lock_define_initialized_recursive,
15034 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15035 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15036 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15037 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15038 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15039 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15040 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15041 New macros.
15042 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15043 * hurd/hurdlock.c: New file.
15044 * hurd/hurdlock.h: New file.
15045 * mach/lowlevellock.h: New file
542c20a1 15046
9a37922e
ST
150472018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15048
15049 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
15050 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15051 when opening a symlink with O_NOFOLLOW.
72103e73
ST
15052 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15053 path when flags contains O_NOFOLLOW.
15054 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15055 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
15056 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15057 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
15058 * sysdeps/mach/hurd/mlockall.c: New file.
15059 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 15060
34e6a869
ST
150612018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15062
15063 * hurd/hurdsig.c: Include <pthread.h>.
15064 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15065 get the signal thread stack layout.
dc33bef3
ST
15066 * hurd/Makefile (headers): Remove threadvar.h.
15067 (inline-headers): Remove threadvar.h.
15068 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15069 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15070 __hurd_threadvar_max, __hurd_errno_location.
15071 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15072 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15073 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15074 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15075 unless TLS is not initialized yet, in which case we do not need a
15076 critical section yet anyway.
15077 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15078 <machine-sp.h>.
15079 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15080 declarations.
15081 (__hurd_threadvar_index): Remove enum.
15082 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15083 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15084 inlines.
15085 (__hurd_reply_port0): New variable declaration.
15086 (__hurd_local_reply_port): New macro.
15087 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15088 (interrupted_reply_port_location): Add thread_t parameter. Use it
15089 with THREAD_TCB to access thread-local variables.
15090 (_hurdsig_abort_rpcs): Pass ss->thread to
15091 interrupted_reply_port_location.
15092 (_hurd_internal_post_signal): Likewise.
15093 (_hurdsig_init): Use presence of cthread_fork instead of
15094 __hurd_threadvar_stack_mask to start signal thread by hand.
15095 Remove signal thread threadvar initialization.
15096 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15097 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15098 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15099 of threadvar.
15100 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15101 __libc_lock_self0.
15102 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15103 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15104 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15105 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15106 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15107 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15108 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15109 define variables.
15110 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15111 <hurd/threadvar.h>.
15112 [IS_IN(rtld)] (rtld_errno): New variable.
15113 [IS_IN(rtld)] (__errno_location): New weak function.
15114 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15115 * sysdeps/mach/hurd/errno.c: Remove file.
15116 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15117 (__fork): Remove THREADVAR_SPACE macro and its use.
15118 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15119 variable.
15120 (init): Do not initialize threadvar.
15121 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15122 symbol.
15123 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15124 __hurd_local_reply_port instead of threadvar.
15125 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15126 _hurd_sigstate fields.
15127 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15128 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15129 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15130 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15131 instead of threadvar.
15132 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15133 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15134 (use_threadvar, global_reply_port): Remove variables.
15135 (__hurd_reply_port0): New variable.
15136 (__mig_get_reply_port): Use __hurd_local_reply_port and
15137 __hurd_reply_port0 instead of threadvar.
15138 (__mig_dealloc_reply_port): Likewise.
15139 (__mig_init): Do not initialize threadvar.
15140 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
15141 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15142 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15143 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15144 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15145 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15146 __cthread_setspecific.
15147 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15148 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15149 __cthread_t instead of cthread_fork, cthread_detach,
15150 pthread_getattr_np, pthread_attr_getstack.
15151 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15152 __cthread_keycreate.
15153 (cthread_getspecific): Rename to __cthread_getspecific.
15154 (cthread_setspecific): Rename to __cthread_setspecific.
15155 (__libc_getspecific): Use __cthread_getspecific instead of
15156 cthread_getspecific.
15157 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15158 __cthread_keycreate instead of cthread_keycreate.
15159 (__libc_setspecific): Use __cthread_setspecific instead of
15160 cthread_setspecific.
15161 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15162 Likewise.
dd28d4ba
ST
15163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15164 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15165 testing whether it is defined.
34e6a869 15166
f8baf2a2
ST
151672018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15168
15169 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15170 Define macro.
15171 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15172 * sysdeps/mach/i386/thread_state.h
15173 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15174 i386_THREAD_STATE.
15175 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15176 i386_THREAD_STATE.
15177 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15178
15179 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15180 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15181
15182 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15183 macros.
15184 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15185 descriptor instead of creating a new one.
15186 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15187
15188 * mach/setup-thread.c: Include <ldsodefs.h>.
15189 (__mach_setup_thread): Call _dl_allocate_tls, pass
15190 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15191 MACHINE_THREAD_STATE_FLAVOR, before getting
15192 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15193 MACHINE_THREAD_STATE_FLAVOR with the result.
15194 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15195 MACHINE_THREAD_STATE_FIX_NEW.
15196 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15197 too. Add original thread parameter.
15198
34ba96b8
JM
151992018-03-16 Joseph Myers <joseph@codesourcery.com>
15200
5d75b75f
JM
15201 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15202 Remove inline function.
15203
34ba96b8
JM
15204 * sysdeps/i386/fpu/libm-test-ulps: Update.
15205 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15206
22679b2c
WD
152072018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15208
15209 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15210 commit.
15211
c429a8d8
JM
152122018-03-15 Joseph Myers <joseph@codesourcery.com>
15213
15214 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15215 (__sincos_code): Remove define and undefine.
15216 [__FAST_MATH__] (__sincos): Remove inline function.
15217 [__FAST_MATH__] (__sincosf): Remove inline function.
15218 [__FAST_MATH__] (__sincosl): Remove inline function.
15219 (__atan2l): Remove inline functions.
15220 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15221 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15222 function.
15223 (floor): Remove inline function.
15224 (ceil): Likewise.
15225 [__FAST_MATH__] (__ldexp_code): Remove macro.
15226 [__FAST_MATH__] (ldexp): Remove inline function.
15227 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15228 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15229 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15230 [__USE_ISOC99] (__lrint_code): Remove macro.
15231 [__USE_ISOC99] (__llrint_code): Likewise.
15232 [__USE_ISOC99] (lrintf): Remove inline function.
15233 [__USE_ISOC99] (lrint): Likewise.
15234 [__USE_ISOC99] (lrintl): Likewise.
15235 [__USE_ISOC99] (llrint): Likewise.
15236 [__USE_ISOC99] (llrintf): Likewise.
15237 [__USE_ISOC99] (llrintl): Likewise.
15238
700593fd
WD
152392018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15240
15241 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15242 (__ieee754_sqrtf): Remove.
15243 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15244 (__ieee754_sqrtf): Remove.
15245 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15246 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15247 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15248 (__ieee754_sqrtf): Remove.
15249 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15250 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15251 (sqrtf): Remove.
15252 (sqrtl): Remove.
15253 (__ieee754_sqrt): Remove.
15254 (__ieee754_sqrtf): Remove.
15255 (__ieee754_sqrtl): Remove.
15256 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15257 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15258 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15259 (__ieee754_sqrtf): Remove.
15260 (__ieee754_sqrtl): Remove.
15261
f67a8147
WD
152622018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15263
15264 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15265 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15266 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15267 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15268 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15269 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15270 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15271 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15272 Likewise.
15273 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15274 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15275 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15276 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15277 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15278 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15279 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15280 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15281 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15282 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15283 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15284 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15285 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15286 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15287 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15288 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15289 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15290 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15291 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15292 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15293 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15294 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15295 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15296 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15297 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15298 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15299 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15300 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15301 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15302 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15303 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15304 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15305 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15306 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15307 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15308 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15309 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15310 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15311 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15312 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15313
1294b189
WD
153142018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15315
15316 * include/math.h (sqrt): Declare with asm redirect.
15317 (sqrtf): Likewise.
15318 (sqrtl): Likewise.
15319 (sqrtf128): Likewise.
15320 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15321 nonlib and libnldbl with -fmath-errno.
15322 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15323 * math/w_sqrt_template.c: Likewise.
15324 * math/w_sqrtf_compat.c: Likewise.
15325 * math/w_sqrtl_compat.c: Likewise.
15326 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15327 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15328 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15329 complex.h.
15330
f1c8185d
WD
153312018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15332
15333 * benchtests/Makefile: Define _ISOMAC.
15334 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15335 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15336 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15337 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15338 * benchtests/bench-timing.h: Define attribute_hidden.
15339
b47c3e76
SP
153402018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15341
15342 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15343 mov + lsr.
15344
807fee29
RL
153452018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15346
15347 [BZ #22963]
15348 * localedata/locales/cs_CZ (mon): Rename to...
15349 (alt_mon): This.
15350 (mon): Import from CLDR (genitive case).
15351
e7155a28
RL
153522018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15353
15354 [BZ #22937]
15355 * localedata/locales/el_CY (abmon): Rename to...
15356 (ab_alt_mon): This.
15357 (abmon): Import from CLDR (abbreviated genitive case).
15358 * localedata/locales/el_GR (abmon): Rename to...
15359 (ab_alt_mon): This.
15360 (abmon): Import from CLDR (abbreviated genitive case).
15361
71d7b121
RL
153622018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15363
15364 [BZ #22932]
15365 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15366
a00bffe8
RB
153672018-03-15 Robert Buj <robert.buj@gmail.com>
15368
15369 [BZ #22848]
15370 * localedata/locales/ca_ES (abmon): Rename to...
15371 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15372 (mon): Rename to...
15373 (alt_mon): This.
15374 (abmon): Import from CLDR (genitive case, month names preceded by
15375 "de" or "d’").
15376 (mon): Likewise.
15377 (abday): Synchronize with CLDR.
15378 (d_t_fmt): Likewise.
15379 (d_fmt): Likewise.
15380 (am_pm): Likewise.
15381
15382 (LC_TIME): Improve indentation.
15383 (LC_TELEPHONE): Likewise.
15384 (LC_NAME): Likewise.
15385 (LC_ADDRESS): Likewise.
15386
f9555d73
JM
153872018-03-14 Joseph Myers <joseph@codesourcery.com>
15388
15389 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15390 (lrintf): Remove definitions used only with old GCC.
15391 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15392 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15393 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15394 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15395 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15396 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15397 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15398 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15399 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15400 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15401 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15402 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15403 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15404 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15405 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15406 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15407 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15408 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15409 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15410 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15411 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15412 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15413 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15414 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15415 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15416 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15417 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15418 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15419
d46f84de
SP
154202018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15421
15422 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15423 instruction to unbreak builds with binutils 2.26 and older.
15424
7108f1f9
SP
154252018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15426
15427 * sysdeps/aarch64/strncmp.S (count): New macro.
15428 (strncmp): Store misaligned length in SRC1 in COUNT.
15429 (mutual_align): Adjust.
15430 (misaligned8): Load dword at a time when it is safe.
15431
2cc7bad0
ZW
154322018-03-12 Zack Weinberg <zackw@panix.com>
15433
15434 [BZ #1190]
15435 [BZ #19476]
15436 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15437 if the _IO_EOF_SEEN bit is already set; update commentary.
15438 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15439 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15440
15441 * support/support_openpty.c, support/tty.h: New files.
15442 * support/Makefile (libsupport-routines): Add support_openpty.
15443
15444 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15445 New test cases.
15446 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15447 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15448
778f1974
DL
154492018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15450
15451 * po/pt_BR.po: Update translations.
15452
6b5c8607 154532018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
15454
15455 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15456 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15457 get a port to the startup server.
15458
d3da750d
ZW
154592018-03-11 Zack Weinberg <zackw@panix.com>
15460
15461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15462 before nldbl-compat.h.
15463
054b72cc
ZW
154642018-03-10 Zack Weinberg <zackw@panix.com>
15465
0d13dfa1
ZW
15466 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15467 math.h or math_private.h.
15468
15469 * sysdeps/alpha/fpu/s_isnan.c
15470 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15471 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15472 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15473 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15474 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15475 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15476 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15477 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15478 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15481 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15482 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15483 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15484 Include math_private.h.
15485
15486 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15487 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15488 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15489 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15490 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15491 * sysdeps/powerpc/power7/fpu/s_logb.c:
15492 Include math.h and math_private.h.
15493
054b72cc
ZW
15494 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15495 uses of $at in .set noat / .set at.
15496
6253bacd
L
154972018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15498
15499 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15500 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15501 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15502 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15503 Likewise.
15504
229855e5
FW
155052018-03-09 Florian Weimer <fweimer@redhat.com>
15506
15507 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15508 in comment.
15509
9aa5c222
AJ
155102018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15511
15512 [BZ #22919]
15513 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15514 Add nop before __startcontext, add explaining comments.
15515
3dc21497
AZ
155162018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15517
e921c89e
AZ
15518 [BZ #22926]
15519 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15520 empty for __SPE__.
15521 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15522 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15523 Do not build hardware transactional code for __SPE__.
15524 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15525 (__lll_trylock_elision): Likewise.
15526 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15527 (__lll_unlock_elision): Likewise.
15528
d9f26dab 15529 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
15530 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15531 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15532 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15533 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15534 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15535 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15536 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15537 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15538 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15539 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15540 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15542 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15543 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15544 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15545 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15546 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15547 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15548 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15549 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15550 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15551 (__ASSUME_CLONE_BACKWARDS): Define.
15552 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15553 __clone2 if __NR_clone2 is defined.
15554 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15555 (__ASSUME_CLONE_BACKWARDS): Likewise.
15556 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15557 (__ASSUME_CLONE_BACKWARDS): Likewise.
15558 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15559 (__ASSUME_CLONE2): Likewise.
15560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15561 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15562 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15563 variants and the define architecture can use.
15564 (__ASSUME_CLONE_DEFAULT): Define as default.
15565 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15566 (__ASSUME_CLONE_BACKWARDS): Likewise.
15567 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15568 (__ASSUME_CLONE_BACKWARDS): Likewise.
15569 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15570 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15571
adc95fb0
SP
155722018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15573
4e54d918
SP
15574 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15575
30a81dae
SP
15576 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15577 time.
15578
adc95fb0
SP
15579 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15580 (do_test_limit): Likewise.
15581
15582 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15583 for every implementation.
15584 (do_test): Likewise.
15585
15586 * benchtests/bench-strncmp.c: Convert output to json.
15587
4e9066bc
ST
155882018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15589
15590 * io/futimens.c: Add missing start-of-file descriptive comment.
15591 * io/utime.c: Likewise.
15592 * misc/futimesat.c: Likewise.
15593 * misc/utimes.c: Likewise.
15594 * sysdeps/mach/hurd/futimesat.c: Likewise.
15595 * sysdeps/mach/hurd/utimes.c: Likewise.
15596 * sysdeps/posix/utime.c: Likewise.
15597 * sysdeps/posix/utimes.c: Likewise.
15598 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15599 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15600 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15601 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15602
ec1300cf
ST
156032018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15604
15605 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15606 hurd_futimes.
15607 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15608 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15609 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15610 (__futimens): Move implementation to...
15611 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15612 utime_tvalue_from_tspec): ... new helper functions.
15613 (hurd_futimens): New function.
15614 * sysdeps/mach/hurd/futimesat.c: New file.
15615 * sysdeps/mach/hurd/utimensat.c: New file.
15616
bbe762d1
FC
156172018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15618
15619 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15620 UTIME_OMIT): New macros.
15621 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15622 before reverting to converting time spec to time value and calling
15623 __file_utimes.
15624 * sysdeps/mach/hurd/utime-helper.c: New file.
15625 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15626 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15627 reverting to utime_tvalue_from_tval and __file_utimes.
15628 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15629 (__lutimes): Just call hurd_futimens after lookup.
15630 * sysdeps/mach/hurd/utimes.c: Likewise.
15631
a1ede3a4
ST
156322018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15633
15634 * bits/sigaction.h: Add include guard.
15635 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15636 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15637 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15638 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15639 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15640 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15641 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15642 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15643 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15644
6900d2ca
JM
156452018-03-05 Joseph Myers <joseph@codesourcery.com>
15646
15647 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15648 -Wmaybe-uninitialized for -Os.
15649 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15650 this disabling.
15651
68448be2
AZ
156522018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15653
5226a81f
AZ
15654 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15655 __INO_T_MATCHES_INO64_T is defined.
15656 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15657 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15658 of definition.
15659 * dirent/alphasort64.c: Likewise.
15660 * dirent/scandir.c: Likewise.
15661 * dirent/scandir64-tail.c: Likewise.
15662 * dirent/scandir64.c: Likewise.
15663 * dirent/scandirat.c: Likewise.
15664 * dirent/scandirat64.c: Likewise.
15665 * dirent/versionsort.c: Likewise.
15666 * dirent/versionsort64.c: Likewise.
15667 * include/dirent.h: Likewise.
15668
fbd01e6c
AZ
15669 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15670 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15671 for socketpair endpoint.
15672 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15673 WRITE_BUFFER_SIZE as buffer size for sending socket.
15674 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15675 issue on system where send is implemented with sendto syscall.
15676 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15677 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15678 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15679 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15680
68448be2
AZ
15681 [BZ #21269]
15682 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15683 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15684 sa_restorer for vDSO case.
15685 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15686
eb1ca47e
ST
156872018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15688
15689 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
15690 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15691 * hurd/hurd/ioctl.h: Include <mach/port.h>
15692 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
15693 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15694 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
15695 (headers): Move mach/param.h to bits/mach/param.h.
15696 * sysdeps/mach/i386/mach/param.h: Move file to ...
15697 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15698 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15699 of <mach/param.h>.
3403cb7d
ST
15700 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15701 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15702 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
15703 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15704 trivial, for C++ conformity.
44c6376c 15705 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
15706 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15707 Process mig output through $(migheadersed).
15708 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
15709 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15710 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15711 headers.
ba89615d
ST
15712 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15713 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15714 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15715 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15716 <bits/types/sigset_t.h>.
15717 [!defined __USE_GNU]: Do not #error out.
15718 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15719 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15720 Include <stddef.h> and <bits/types/sigset_t.h>
15721 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15722 instead of sighandler_t.
974393ea
ST
15723 * stdlib/errno.h (error_t): Move definition to...
15724 * bits/types/error_t.h: ... new header.
15725 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15726 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15727 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15728 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15729 * hurd/hurd.h: Include <bits/types/error_t.h>
15730 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15731 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15732 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15733 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15734 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15735 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 15736 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 15737
eaf6753f
AS
157382018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15739
15740 [BZ #22918]
15741 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15742 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15743 * nscd/gai.c (__nss_hosts_database): Readd definition.
15744 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15745 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15746 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15747
4dc23804
JM
157482018-03-02 Joseph Myers <joseph@codesourcery.com>
15749
15750 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15751 (ifunc_one): Likewise.
15752
1c81d55f
DD
157532018-03-01 DJ Delorie <dj@delorie.com>
15754
15755 [BZ #22342]
15756 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15757 key value.
15758
b717c14f
MR
157592018-03-01 Maciej W. Rozycki <macro@mips.com>
15760
15761 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15762 `match_pid' parameter.
15763 (td_ta_thr_iter): Update accordingly.
15764
1efe1358
FW
157652018-03-01 Florian Weimer <fweimer@redhat.com>
15766
15767 * nptl/Makefile (install-lib-ldscripts): Remove.
15768 (install): Remove rule.
15769 ($(inst_libdir)/libpthread.so): Likewise.
15770
a527f09c
MF
157712018-03-01 Mike FABIAN <mfabian@redhat.com>
15772
15773 [BZ #22896]
15774 * localedata/locales/an_ES: update month and day names,
15775 improve d_fmt, improve postal_fmt, add country_post,
15776 add country_isbn
15777
35d660b0
MF
157782018-03-01 Mike FABIAN <mfabian@redhat.com>
15779
15780 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15781 Ukrainian instead of Bulgarian.
15782
1a2f44a8
FW
157832018-03-01 Florian Weimer <fweimer@redhat.com>
15784
15785 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15786 reference.
15787
bd60ce86
FW
157882018-03-01 Florian Weimer <fweimer@redhat.com>
15789
15790 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15791 * nptl/Makefile (routines): Add pthread_atfork.
15792 (static-only-routines): Set to pthread_atfork.
15793 (libpthread-routines): Remove pthread_atfork.
15794 (libpthread-static-only-routines): Remove.
15795 (install): Update comment.
15796 (libpthread.so): Do not install libpthread_nonshared.a.
15797 (tests): Do not link with libpthread_nonshared.a.
15798 (generated): Remove libpthread_nonshared.a.
15799 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15800 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15801 with libpthread_nonshared.a.
15802
000f290f
JM
158032018-02-28 Joseph Myers <joseph@codesourcery.com>
15804
e2bcf6a8
JM
15805 [BZ #22902]
15806 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15807 (libc_feholdexcept_setroundf128): New macro.
15808 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15809
000f290f
JM
15810 [BZ #15105]
15811 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15812 libc_hidden_def.
15813 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15814 * include/inttypes.h: New file.
15815
02f2fead
JM
158162018-02-27 Joseph Myers <joseph@codesourcery.com>
15817
15818 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15819 -Os in two more places.
15820
874c56d7
MF
158212018-02-27 Mike FABIAN <mfabian@redhat.com>
15822
15823 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15824 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15825 be sorted correctly at the moment because of a bug.
15826
15973854
MF
158272018-02-27 Mike FABIAN <mfabian@redhat.com>
15828
15829 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15830 treat ñ as a primary different character, sync the collation
15831 for Spanish with CLDR.
15832 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15833 * localedata/Makefile: Add new test files.
15834 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15835 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15836 collation order.
15837 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15838 * localedata/am_ET.UTF-8.in: New test file.
15839 * localedata/az_AZ.UTF-8.in: Likewise.
15840 * localedata/be_BY.UTF-8.in: Likewise.
15841 * localedata/ber_DZ.UTF-8.in: Likewise.
15842 * localedata/ber_MA.UTF-8.in: Likewise.
15843 * localedata/bg_BG.UTF-8.in: Likewise.
15844 * localedata/br_FR.UTF-8.in: Likewise.
15845 * localedata/cmn_TW.UTF-8.in: Likewise.
15846 * localedata/crh_UA.UTF-8.in: Likewise.
15847 * localedata/csb_PL.UTF-8.in: Likewise.
15848 * localedata/cv_RU.UTF-8.in: Likewise.
15849 * localedata/cy_GB.UTF-8.in: Likewise.
15850 * localedata/dz_BT.UTF-8.in: Likewise.
15851 * localedata/eo.UTF-8.in: Likewise.
15852 * localedata/es_ES.UTF-8.in: Likewise.
15853 * localedata/fa_IR.UTF-8.in: Likewise.
15854 * localedata/fi_FI.UTF-8.in: Likewise.
15855 * localedata/fil_PH.UTF-8.in: Likewise.
15856 * localedata/fur_IT.UTF-8.in: Likewise.
15857 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15858 * localedata/ha_NG.UTF-8.in: Likewise.
15859 * localedata/ig_NG.UTF-8.in: Likewise.
15860 * localedata/ik_CA.UTF-8.in: Likewise.
15861 * localedata/kk_KZ.UTF-8.in: Likewise.
15862 * localedata/ku_TR.UTF-8.in: Likewise.
15863 * localedata/ky_KG.UTF-8.in: Likewise.
15864 * localedata/ln_CD.UTF-8.in: Likewise.
15865 * localedata/mi_NZ.UTF-8.in: Likewise.
15866 * localedata/ml_IN.UTF-8.in: Likewise.
15867 * localedata/mn_MN.UTF-8.in: Likewise.
15868 * localedata/mr_IN.UTF-8.in: Likewise.
15869 * localedata/mt_MT.UTF-8.in: Likewise.
15870 * localedata/nb_NO.UTF-8.in: Likewise.
15871 * localedata/om_KE.UTF-8.in: Likewise.
15872 * localedata/os_RU.UTF-8.in: Likewise.
15873 * localedata/ps_AF.UTF-8.in: Likewise.
15874 * localedata/ro_RO.UTF-8.in: Likewise.
15875 * localedata/ru_RU.UTF-8.in: Likewise.
15876 * localedata/sc_IT.UTF-8.in: Likewise.
15877 * localedata/se_NO.UTF-8.in: Likewise.
15878 * localedata/sq_AL.UTF-8.in: Likewise.
15879 * localedata/sv_SE.UTF-8.in: Likewise.
15880 * localedata/szl_PL.UTF-8.in: Likewise.
15881 * localedata/tg_TJ.UTF-8.in: Likewise.
15882 * localedata/tk_TM.UTF-8.in: Likewise.
15883 * localedata/tt_RU.UTF-8.in: Likewise.
15884 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15885 * localedata/ug_CN.UTF-8.in: Likewise.
15886 * localedata/uz_UZ.UTF-8.in: Likewise.
15887 * localedata/vi_VN.UTF-8.in: Likewise.
15888 * localedata/yi_US.UTF-8.in: Likewise.
15889 * localedata/yo_NG.UTF-8.in: Likewise.
15890 * localedata/zh_CN.UTF-8.in: Likewise.
15891 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15892 file and fix bugs in the collation.
15893 * localedata/locales/az_AZ: Likewise.
15894 * localedata/locales/be_BY: Likewise.
15895 * localedata/locales/ber_DZ: Likewise.
15896 * localedata/locales/ber_MA: Likewise.
15897 * localedata/locales/bg_BG: Likewise.
15898 * localedata/locales/br_FR: Likewise.
15899 * localedata/locales/br_FR@euro: Likewise.
15900 * localedata/locales/ca_ES: Likewise.
15901 * localedata/locales/cns11643_stroke: Likewise.
15902 * localedata/locales/crh_UA: Likewise.
15903 * localedata/locales/cs_CZ: Likewise.
15904 * localedata/locales/csb_PL: Likewise.
15905 * localedata/locales/cv_RU: Likewise.
15906 * localedata/locales/cy_GB: Likewise.
15907 * localedata/locales/da_DK: Likewise.
15908 * localedata/locales/dz_BT: Likewise.
15909 * localedata/locales/en_CA: Likewise.
15910 * localedata/locales/eo: Likewise.
15911 * localedata/locales/es_CU: Likewise.
15912 * localedata/locales/es_EC: Likewise.
15913 * localedata/locales/es_ES: Likewise.
15914 * localedata/locales/es_US: Likewise.
15915 * localedata/locales/et_EE: Likewise.
15916 * localedata/locales/fa_IR: Likewise.
15917 * localedata/locales/fi_FI: Likewise.
15918 * localedata/locales/fil_PH: Likewise.
15919 * localedata/locales/fur_IT: Likewise.
15920 * localedata/locales/gez_ER@abegede: Likewise.
15921 * localedata/locales/ha_NG: Likewise.
15922 * localedata/locales/hr_HR: Likewise.
15923 * localedata/locales/hsb_DE: Likewise.
15924 * localedata/locales/hu_HU: Likewise.
15925 * localedata/locales/ig_NG: Likewise.
15926 * localedata/locales/ik_CA: Likewise.
15927 * localedata/locales/is_IS: Likewise.
15928 * localedata/locales/iso14651_t1_pinyin: Likewise.
15929 * localedata/locales/kk_KZ: Likewise.
15930 * localedata/locales/ku_TR: Likewise.
15931 * localedata/locales/ky_KG: Likewise.
15932 * localedata/locales/ln_CD: Likewise.
15933 * localedata/locales/lt_LT: Likewise.
15934 * localedata/locales/lv_LV: Likewise.
15935 * localedata/locales/mi_NZ: Likewise.
15936 * localedata/locales/ml_IN: Likewise.
15937 * localedata/locales/mn_MN: Likewise.
15938 * localedata/locales/mr_IN: Likewise.
15939 * localedata/locales/mt_MT: Likewise.
15940 * localedata/locales/nb_NO: Likewise.
15941 * localedata/locales/om_KE: Likewise.
15942 * localedata/locales/os_RU: Likewise.
15943 * localedata/locales/pl_PL: Likewise.
15944 * localedata/locales/ps_AF: Likewise.
15945 * localedata/locales/ro_RO: Likewise.
15946 * localedata/locales/ru_RU: Likewise.
15947 * localedata/locales/ru_UA: Likewise.
15948 * localedata/locales/sc_IT: Likewise.
15949 * localedata/locales/se_NO: Likewise.
15950 * localedata/locales/si_LK: Likewise.
15951 * localedata/locales/sq_AL: Likewise.
15952 * localedata/locales/sv_FI: Likewise.
15953 * localedata/locales/sv_FI@euro: Likewise.
15954 * localedata/locales/sv_SE: Likewise.
15955 * localedata/locales/szl_PL: Likewise.
15956 * localedata/locales/tg_TJ: Likewise.
15957 * localedata/locales/ti_ER: Likewise.
15958 * localedata/locales/tk_TM: Likewise.
15959 * localedata/locales/tl_PH: Likewise.
15960 * localedata/locales/tr_TR: Likewise.
15961 * localedata/locales/tt_RU: Likewise.
15962 * localedata/locales/tt_RU@iqtelif: Likewise.
15963 * localedata/locales/ug_CN: Likewise.
15964 * localedata/locales/uk_UA: Likewise.
15965 * localedata/locales/uz_UZ: Likewise.
15966 * localedata/locales/uz_UZ@cyrillic: Likewise.
15967 * localedata/locales/vi_VN: Likewise.
15968 * localedata/locales/yi_US: Likewise.
15969 * localedata/locales/yo_NG: Likewise.
15970
ce6636b0
MF
159712018-02-27 Mike FABIAN <mfabian@redhat.com>
15972
15973 * gen-locales.mk: Make test files which contain @ modifiers in their
15974 name work.
15975 * localedata/gen-locale.sh: Likewise.
15976
ac3a3b4b
MF
159772018-02-27 Mike FABIAN <mfabian@redhat.com>
15978
15979 * posix/tst-fnmatch.input: Fix results for range expressions
15980 for non C locales.
15981 * posix/tst-regexloc.c: Do not use a range expression for
15982 de_DE.ISO-8859-1 locale.
15983
770cbe14
MF
159842018-02-27 Mike FABIAN <mfabian@redhat.com>
15985
15986 * posix/bug-regex5.c: Fix test case because with the new
15987 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15988 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15989 file.
15990
0fc355d9
MF
159912018-02-27 Mike FABIAN <mfabian@redhat.com>
15992
15993 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15994 downloaded from ISO, the collation order of @-. and space has changed.
15995 Therefore, this test file needed to be adapted.
15996 * localedata/fr_CA.UTF-8.in: Likewise.
15997 * localedata/fr_FR.UTF-8.in: Likewise.
15998 * localedata/uk_UA.UTF-8.in: Likewise.
15999
43f3893f
MF
160002018-02-27 Mike FABIAN <mfabian@redhat.com>
16001
16002 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16003 order of ȥ in the new iso14651_t1_common file.
16004 * localedata/pl_PL.UTF-8.in: Likewise.
16005
df74ef78
MF
160062018-02-27 Mike FABIAN <mfabian@redhat.com>
16007
16008 * localedata/locales/iso14651_t1_common: Add sections for various
16009 scripts to the iso14651_t1_common file.
16010
d5adfbad
MF
160112018-02-27 Mike FABIAN <mfabian@redhat.com>
16012
16013 * localedata/locales/iso14651_t1_common: Use the code point of a
16014 character in the fourth collation level instead of IGNORE for all
16015 entries which have IGNORE on all 4 levels.
16016
5f5a9610
MF
160172018-02-27 Mike FABIAN <mfabian@redhat.com>
16018
16019 * localedata/locales/iso14651_t1_common: Add some convenient collation
16020 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16021 rules similar to those in CLDR.
16022
8a97e900
MF
160232018-02-27 Mike FABIAN <mfabian@redhat.com>
16024
16025 * localedata/locales/iso14651_t1_common: The new version of this
16026 file downloaded from ISO contained several syntax errors which
16027 are fixed by this patch.
16028
bbdd2fba
MF
160292018-02-27 Mike FABIAN <mfabian@redhat.com>
16030
16031 * localedata/locales/iso14651_t1_common: replace all <U.....>
16032 with <U000.....> because glibc understands only 4 digit or 8 digit
16033
1569e551
MF
160342018-02-27 Mike FABIAN <mfabian@redhat.com>
16035
16036 * localedata/locales/iso14651_t1_common: Necessary changes
16037 to make the file downloaded from ISO usable by glibc.
16038
9479b6d5
MF
160392018-02-27 Mike FABIAN <mfabian@redhat.com>
16040
16041 [BZ #14095]
16042 * localedata/locales/iso14651_t1_common: Update file to
16043 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16044
03b540b3
ST
160452018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16046
16047 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16048 of <nptl/pthreadP.h>
16049 (thread_attr_compare): Move function to...
eb937a52 16050 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 16051 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 16052 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 16053
20602c72
JM
160542018-02-26 Joseph Myers <joseph@codesourcery.com>
16055
f54d8f73
JM
16056 * string/strcoll_l.c: Include <libc-diag.h>.
16057 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16058 declarations of seq1 and seq2.
16059
20602c72
JM
16060 [BZ #15105]
16061 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16062 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16063
f5f473a9
DL
160642018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16065
16066 [BZ #22433]
16067 [BZ #22807]
16068 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16069 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16070 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16071 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16072 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16073 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16074
398c6fdd
TMQMF
160752018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16076
16077 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16078 macros used in __ptrace_request.
16079
f5d1f629
L
160802018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16081
16082 [BZ #22792]
16083 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16084 to $(CC).
16085 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16086 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16087 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16088 <tcb-offsets.h>.
16089
54412d20
JM
160902018-02-23 Joseph Myers <joseph@codesourcery.com>
16091
16092 [BZ #15105]
16093 * ctype/ctype.c (tolower): Use libc_hidden_def.
16094 (toupper): Likewise.
16095 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16096 [!_ISOMAC] (toupper): Likewise.
16097
81be4b5e
MF
160982018-02-23 Mike FABIAN <mfabian@redhat.com>
16099
16100 * localedata/Makefile: Remove --quiet argument when
16101 installing locales
16102
9d5cfd8e
MF
161032018-02-23 Mike FABIAN <mfabian@redhat.com>
16104
16105 [BZ #17438]
16106 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16107 in d_fmt.
16108 * localedata/locales/pt_PT (LC_TIME): likewise
16109
6c7269f3
MF
161102018-02-23 Mike FABIAN <mfabian@redhat.com>
16111
16112 [BZ #22646]
16113 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16114 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16115 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16116
92aabad9
AZ
161172018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16118
4cdc25a4
AZ
16119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16120
27761a10
AZ
16121 * nptl/Makefile (routines): Remove unregister-atfork.
16122 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16123 (fork_handler_alloc): Remove function.
16124 (fork_handlers, fork_handler_init): New variables.
16125 (__fork_lock): Rename to atfork_lock.
16126 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16127 to use a dynamic array to add/remove atfork handlers.
16128 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16129 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16130 Remove declaration.
16131 (fork_handler): Remove next, refcntr, and need_signal member.
16132 (__run_fork_handler_type): New enum.
16133 (__run_fork_handlers): New prototype.
16134 * nptl/register-atfork.c: Remove file.
16135 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16136
92aabad9
AZ
16137 * sysdeps/nptl/nptl-signals.h: Move to ...
16138 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16139 comments.
16140 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16141 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16142 unnecessary check for SIGTIMER.
16143 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16144 remove unnecessary removal of SIGTIMER.
16145 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16146 include-signals.h rename.
16147 * nptl/pthreadP.h: Likewise.
16148 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16149 __is_internal_signal instead of __nptl_is_internal_signal.
16150
6b5c8607 161512018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 16152
7e04eb29 16153 [BZ # 22884]
fdcc6253
AW
16154 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16155 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16156 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16157 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16158
8090720a
DD
161592018-02-22 DJ Delorie <dj@delorie.com>
16160
16161 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16162
6ca24c43
SP
161632018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16164
16165 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16166 do_misaligned, not misaligned8.
16167
e9537ddd
SE
161682018-02-22 Steve Ellcey <sellcey@cavium.com>
16169
16170 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16171 Add memcpy_thunderx2.
16172 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16173 Increment to 4.
16174 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16175 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16176 and IS_THUNDERX2PA checks.
16177 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16178 Use macro to set name appropriately.
16179 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16180 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16181 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16182 New macro.
16183 (IS_THUNDERX2): New macro.
16184
6e336476
SL
161852018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16186
16187 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16188
34957904
ZW
161892018-02-21 Zack Weinberg <zackw@panix.com>
16190
30bfee26
ZW
16191 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16192 Define here, unconditionally.
16193 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16194 * libio/libioP.h: Remove #if 0 blocks.
16195 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16196 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16197 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16198
16199 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16200 Assume weak_alias is always defined.
16201
16202 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16203 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16204 Remove #if 0 and #ifdef TODO blocks.
16205 Assume text_set_element is always defined.
16206
16207 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16208 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16209 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16210
df6c012b
ZW
16211 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16212 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16213 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16214 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16215 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16216 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16217 Reformat bit flags for _flags field to make occupancy clearer.
16218 Update commentary.
16219 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16220 Keep definitions consistent with those in libio/libio.h.
16221
16222 * libio/libio.h (_IO_file_flags): Remove macro.
16223 All uses changed to _flags.
16224
177aad3f
ZW
16225 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16226 (__HAVE_COLUMN, _IO_BE): Don't define.
16227 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16228 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16229 * libio/libioP.h (EOF): Don't define.
16230 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16231 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16232 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16233 testing _IO_UNIFIED_JUMPTABLES.
16234
9964a145
ZW
16235 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16236 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16237 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16238 (_IO_size_t): Delete; all uses changed to size_t.
16239 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16240 (_IO_off_t): Delete; all uses changed to off_t.
16241 (_IO_off64_t): Delete; all uses changed to off64_t.
16242 (_IO_pid_t): Delete; all uses changed to pid_t.
16243 (_IO_uid_t): Delete; all uses changed to uid_t.
16244 (_IO_wint_t): Delete; all uses changed to wint_t.
16245 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16246 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16247 (_IO_cookie_io_functions_t): Delete; all uses changed to
16248 cookie_io_functions_t.
16249 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16250 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16251 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16252 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16253
16254 * libio/iofopncook.c: Remove unnecessary forward declarations.
16255 * libio/iolibio.h: Correct outdated commentary.
16256 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16257 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16258 Remove unnecessary casts.
16259 * stdio-common/getline.c: Use _IO_getdelim directly.
16260 Don't redefine ssize_t.
16261 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16262 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16263 Remove outdated comments.
16264 * stdio-common/vfscanf.c: Don't redefine va_list.
16265
34957904
ZW
16266 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16267 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16268 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16269 which are always true, and __cplusplus, which is always false.
16270
30ac923d
JM
162712018-02-21 Joseph Myers <joseph@codesourcery.com>
16272
039c721a
JM
16273 [BZ #15105]
16274 [BZ #19463]
16275 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16276 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16277 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16278 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16279 libc_hidden_proto.
16280 [!_ISOMAC] (putc_unlocked): Likewise.
16281 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16282 define inline if [__USE_EXTERN_INLINES].
16283 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16284 putc_unlocked.
16285
30ac923d
JM
16286 [BZ #15105]
16287 [BZ #19463]
16288 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16289 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16290 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16291 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16292 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16293 getc_unlocked.
16294 * time/tzfile.c (__tzfile_read): Likewise.
16295
7ec5f946
MF
162962018-02-21 Mike FABIAN <mfabian@redhat.com>
16297
16298 [BZ #22517]
16299 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16300
0d217f40
RJ
163012018-02-21 Rical Jasan <ricaljasan@pacific.net>
16302
16303 * io/fcntl.h: Fix a typo in a comment.
16304
862b4502
RJ
163052018-02-21 Rical Jasan <ricaljasan@pacific.net>
16306
16307 [BZ #22862]
16308 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16309 define _DEFAULT_SOURCE.
16310 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16311
999a6dab
FW
163122018-02-21 Florian Weimer <fweimer@redhat.com>
16313
16314 [BZ #20890]
16315 * elf/cache.c (save_cache): Call fsync on temporary file before
16316 renaming it.
16317 (save_aux_cache): Call fdatasync on temporary file before renaming
16318 it.
16319
52a01100
FW
163202018-02-21 Florian Weimer <fweimer@redhat.com>
16321
16322 [BZ #22787]
16323 * include/caller.h: Remove file.
16324 * elf/dl-caller.c: Likewise.
16325 * elf/Makefile (dl-routines): Remove dl-caller.
16326 (shared-only-routines): Do not add dl-caller.
16327 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16328 __check_caller.
16329 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16330 member.
16331 (dl_open_worker): Do not call __check_caller.
16332 (_dl_open): Do not set caller_dl_open member.
16333 * elf/rtld.c (_rtld_global_ro): Do not initialize
16334 _dl_check_caller member.
16335 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16336 _dl_check_caller member.
16337 (_dl_check_caller): Remove declaration.
16338 * sysdeps/unix/sysv/linux/dl-execstack.c
16339 (_dl_make_stack_executable): Do not call __check_caller.
16340
b5bf62e4
ST
163412018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16342
16343 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 16344 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 16345
e8d190b9
RJ
163462018-02-20 Rical Jasan <ricaljasan@pacific.net>
16347
16348 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16349 description.
16350
6a3962c4
RJ
163512018-02-20 Rical Jasan <ricaljasan@pacific.net>
16352
da81ae64 16353 [BZ #16335]
6a3962c4
RJ
16354 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16355 of 199606L, 200112L, and 200809L.
16356 (_XOPEN_SOURCE): Document special values of 600 and 700.
16357 (_ISOC11_SOURCE): Document macro.
16358 (_ATFILE_SOURCE): Likewise.
16359 (_FORTIFY_SOURCE): Likewise.
16360
ec481ad8
JM
163612018-02-19 Joseph Myers <joseph@codesourcery.com>
16362
16363 [BZ #15105]
16364 [BZ #19463]
16365 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16366 and define as weak alias of __ferror_unlocked. Use
16367 libc_hidden_weak.
16368 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16369 libc_hidden_proto.
16370 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16371 function if [__USE_EXTERN_INLINES].
16372 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16373 ferror_unlocked.
16374
7d15ef84
RJ
163752018-02-19 Rical Jasan <ricaljasan@pacific.net>
16376
16377 [BZ #6889]
16378 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16379
f8d79582
AJ
163802018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16381
16382 [BZ #22818]
16383 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16384 the GLIBC_2.1 version.
16385
56456a2a
AJ
163862018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16387
16388 [BZ #21508]
16389 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16390 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16391 intl/tst-gettext-de.po from po/de.po by removing the
16392 POT-Creation-Date line.
16393 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16394 ../po/de.po.
16395 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16396 ../po/de.po.
16397
13768813
ST
163982018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16399
16400 * mach/Makefile (headers): Add mach/param.h.
16401 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16402 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
16403 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16404 (__ptsname_r): Move implementation to...
16405 (__ptsname_internal): ... new function. Add filling the STP
16406 structure.
13768813 16407
6aca1b61
JDA
164082018-02-17 John David Anglin <danglin@gcc.gnu.org>
16409
16410 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16411 idouble to 1 ULP.
16412
16efad51
RJ
164132018-02-16 Rical Jasan <ricaljasan@pacific.net>
16414
16415 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16416 syntax.
16417
87245073
SL
164182018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16419
16420 * nptl/Makefile (tst-mutex8-ENV): Delete.
16421 * nptl/tst-mutex8.c (check_type):
16422 Add runtime check if mutex will be elided.
16423
7fc03cf3
JM
164242018-02-15 Joseph Myers <joseph@codesourcery.com>
16425
db9881ec
JM
16426 [BZ #20980]
16427 [BZ #21234]
16428 * manual/install.texi (Configuring and compiling): Describe
16429 passing CC and CFLAGS on configure command line, not as
16430 environment variables. Use @code markup on those variables.
16431 Specify what options go in CC and what go in CFLAGS. Note the
16432 requirement to compile with optimization.
16433 * INSTALL: Regenerated.
16434
3785b31c
JM
16435 [BZ #18124]
16436 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16437 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16438 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16439 __sigprocmask instead of sigprocmask.
16440 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16441 Likewise.
16442 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16443 __sigsetjmp and sigprocmask.
16444
055ac2a7
JM
16445 [BZ #15105]
16446 * include/argz.h (argz_next): Use libc_hidden_proto.
16447 (__argz_next): Likewise.
16448 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16449 (argz_next): Use libc_hidden_weak.
16450
e4452a2d
JM
16451 [BZ #15105]
16452 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16453 libc_hidden_proto.
16454 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16455 libc_hidden_def.
16456
499b3153
JM
16457 [BZ #15105]
16458 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16459 libc_hidden_proto.
16460 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16461
7fc03cf3
JM
16462 [BZ #15105]
16463 [BZ #19463]
16464 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16465 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16466 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16467 (__feof_unlocked): New declaration, and inline function if
16468 [__USE_EXTERN_INLINES].
16469 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16470 instead of feof_unlocked.
16471 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16472 * nss/nsswitch.c (nss_parse_file): Likewise.
16473 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16474 Likewise.
16475 * time/getdate.c (__getdate_r): Likewise.
16476 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16477 Define as macro to call __feof_unlocked.
16478
0c8a67a5
WD
164792018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16480
16481 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16482
610ee1fc
WD
164832018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16484
16485 * math/Makefile: Remove mpexp.c and mplog.c
16486 * sysdeps/i386/fpu/mpexp.c: Delete file.
16487 * sysdeps/i386/fpu/mplog.c: Likewise.
16488 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16489 * sysdeps/ia64/fpu/mplog.c: Likewise.
16490 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16491 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16492 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16493 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16494 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16495 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16496 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16497 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16498 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16499 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16500 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16501 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16502 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16503 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16504 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16505 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16506
8e7196c8
SL
165072018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16508
16509 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16510
4f55ad0b
AZ
165112018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16512
16513 * sysdeps/sh/libm-test-ulps: Update.
16514
261a851c
TMQMF
165152018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16516
16517 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16518 idouble to 1 ULP.
16519
e16deca6
ZW
165202018-02-12 Zack Weinberg <zackw@panix.com>
16521
16522 [BZ #19239]
16523 * posix/sys/types.h: Don't include sys/sysmacros.h.
16524 * misc/sys/sysmacros.h: Remove the conditional deprecation
16525 warnings for the macros defined by this header.
16526
de800d83
SN
165272018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16528
16529 * manual/probes.texi: Remove slowexp probes.
16530 * math/Makefile: Remove slowexp.
16531 * sysdeps/generic/math_private.h (__slowexp): Remove.
16532 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16533 document error bounds.
16534 * sysdeps/i386/fpu/slowexp.c: Remove.
16535 * sysdeps/ia64/fpu/slowexp.c: Remove.
16536 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16537 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16538 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16539 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16540 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16541 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16542 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16543 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16544 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16545 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16546 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16547
c3d466cb
WD
165482018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16549
16550 [BZ #13932]
16551 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16552 * benchtests/pow-inputs: Update comment for slow path cases.
16553 * manual/probes.texi (slowpow_p10): Delete removed probe.
16554 (slowpow_p10): Likewise.
16555 * math/Makefile: Remove halfulp.c and slowpow.c.
16556 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16557 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16558 (__halfulp): Remove.
16559 (__slowpow): Remove.
16560 * sysdeps/i386/fpu/halfulp.c: Delete file.
16561 * sysdeps/i386/fpu/slowpow.c: Likewise.
16562 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16563 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16565 improve comments and add error analysis.
16566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16567 (power1): Remove function:
16568 (log1): Remove error argument, add error analysis.
16569 (my_log2): Remove function.
16570 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16571 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16572 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16573 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16574 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16575 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16576 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16577 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16578 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16579 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16580 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16581 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16582 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16583 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16584
7bb087bd
ST
165852018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16586
16587 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16588 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16589
2fd4bbaa
DL
165902018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16591
16592 [BZ #22433]
16593 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16594 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16595 and PTRACE_SETHBPREGS.
16596
402ecba4
ZW
165972018-02-10 Zack Weinberg <zackw@panix.com>
16598
16599 [BZ #22830]
16600 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16601 correctly.
16602 * malloc/tst-malloc-stats-cancellation.c: New test case.
16603 * malloc/Makefile: Add new test case.
16604
4f5b921e
WD
166052018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16606
16607 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16608
a85b70db
JM
166092018-02-10 Joseph Myers <joseph@codesourcery.com>
16610
d8742dd8
JM
16611 * math/Makefile (libm-narrow-fns): Add add.
16612 (libm-test-funcs-narrow): Likewise.
16613 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16614 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16615 * math/gen-auto-libm-tests.c (test_functions): Add add.
16616 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16617 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16618 (NARROW_ADD_TRIVIAL): Likewise.
16619 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16620 macro.
16621 (__daddl): Likewise.
16622 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16623 dadd.
16624 (CFLAGS-nldbl-dadd.c): New variable.
16625 (CFLAGS-nldbl-fadd.c): Likewise.
16626 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16627 __nldbl_daddl.
16628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16629 prototype.
16630 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16631 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16632 * math/auto-libm-test-in: Add tests of add.
16633 * math/auto-libm-test-out-narrow-add: New generated file.
16634 * math/libm-test-narrow-add.inc: New file.
16635 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16638 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16639 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16640 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16641 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16642 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16643 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16644 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16645 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16646 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16647 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16648 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16649 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16650 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16651 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16652 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16654 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16655 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16656 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16657 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16658 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16659 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16660 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16661 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16662 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16663 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16664 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16665 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16666 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16671 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16672 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16673 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16674 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16675 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16676 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16677 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16678 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16679 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16680 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16681
a85b70db
JM
16682 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16683 (f128-pairs): New variable.
16684 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16685 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16686 to CFLAGS.
16687 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16688 Also make tests add $(f128-loader-link) to gnulib-tests.
16689
6a1ff640
DD
166902018-02-09 DJ Delorie <dj@redhat.com>
16691
16692 [BZ #22827]
16693 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16694 64-bit ELF type for 64-bit ELF objects.
16695
bfd47587
JM
166962018-02-09 Joseph Myers <joseph@codesourcery.com>
16697
31958338
JM
16698 * math/libm-test-driver.c (snan_tests_arg): New variable.
16699 * math/libm-test-support.h (snan_tests_arg): New declaration.
16700 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16701
8e554659
JM
16702 * math/Makefile (test-type-pairs): New variable.
16703 (test-type-pairs-f64xf128-yes): Likewise.
16704 (tests): Add test-narrow-macros.
16705 (libm-test-funcs-narrow): New variable.
16706 (libm-test-c-narrow): Likewise.
16707 (generated): Add $(libm-test-c-narrow).
16708 (libm-tests-base-narrow): New variable.
16709 (libm-tests-narrow): Likewise.
16710 (libm-tests): Add $(libm-tests-narrow).
16711 (libm-tests-for-type): Handle $(libm-tests-narrow).
16712 (libm-test-c-narrow-obj): New variable.
16713 ($(libm-test-c-narrow-obj)): New rule.
16714 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16715 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16716 $(o-iterator) to set dependencies and CFLAGS.
16717 * math/gen-auto-libm-tests.c: Document use for narrowing
16718 functions.
16719 (output_for_one_input_case): Take argument NARROW.
16720 (generate_output): Likewise. Update call to
16721 output_for_one_input_case.
16722 (main): Take --narrow option. Update call to generate_output.
16723 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16724 (apply_lit): Update call to _apply_lit.
16725 (apply_arglit): New function.
16726 (parse_args): Handle "a" arguments.
16727 (parse_auto_input): Handle format names using ":".
16728 * math/README.libm-test: Document "a" parameter type.
16729 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16730 (ARG_TYPE_TRUE_MIN): Likewise.
16731 (ARG_TYPE_MAX): Likwise.
16732 (ARG_MIN_EXP): Likewise.
16733 (ARG_MAX_EXP): Likewise.
16734 (ARG_MANT_DIG): Likewise.
16735 (TEST_COND_arg_ibm128): Likewise.
16736 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16737 (TEST_COND_arg_fmt): New macro.
16738 (init_max_error): Update prototype.
16739 * math/libm-test-support.c (test_ibm128): New variable.
16740 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16741 instead of using [TEST_COND_ibm128] conditional.
16742 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16743 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16744 [TEST_NARROW] (TEST_MSG): New definition.
16745 (arg_plus_zero): New macro.
16746 (arg_minus_zero): Likewise.
16747 (arg_plus_infty): Likewise.
16748 (arg_minus_infty): Likewise.
16749 (arg_qnan_value_pl): Likewise.
16750 (arg_qnan_value): Likewise.
16751 (arg_snan_value_pl): Likewise.
16752 (arg_snan_value): Likewise.
16753 (arg_max_value): Likewise.
16754 (arg_min_value): Likewise.
16755 (arg_min_subnorm_value): Likewise.
16756 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16757 (RUN_TEST_LOOP_aa_f): New macro.
16758 (TEST_SUFF): New macro.
16759 (TEST_SUFF_STR): Likewise.
16760 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16761 (TEST_COND_any_ibm128): New macro.
16762 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16763 this_func. Update call to init_max_error.
16764 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16765 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16766 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16767 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16768 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16769 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16770 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16771 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16772 * math/test-math-vector.h (TEST_NARROW): Likewise.
16773 * math/test-arg-double.h: New file.
16774 * math/test-arg-float128.h: Likewise.
16775 * math/test-arg-float32x.h: Likewise.
16776 * math/test-arg-float64.h: Likewise.
16777 * math/test-arg-float64x.h: Likewise.
16778 * math/test-arg-ldouble.h: Likewise.
16779 * math/test-math-narrow.h: Likewise.
16780 * math/test-narrow-macros.c: Likewise.
16781 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16782 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16783 test-narrow-macros-ldbl-64.
16784 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16785
63716ab2
JM
16786 * math/bits/mathcalls-narrow.h: New file.
16787 * include/bits/mathcalls-narrow.h: Likewise.
16788 * math/math-narrow.h: Likewise.
16789 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16790 (__MATHCALL_NARROW_ARGS_2): Likewise.
16791 (__MATHCALL_NARROW_ARGS_3): Likewise.
16792 (__MATHCALL_NARROW_NORMAL): Likewise.
16793 (__MATHCALL_NARROW_REDIR): Likewise.
16794 (__MATHCALL_NARROW): Likewise.
16795 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16796 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16797 defined.
16798 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16799 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16800 (libm-narrow-fns): New variable.
16801 (libm-narrow-types-basic): Likewise.
16802 (libm-narrow-types-ldouble-yes): Likewise.
16803 (libm-narrow-types-float128-yes): Likewise.
16804 (libm-narrow-types-float128-alias-yes): Likewise.
16805 (libm-narrow-types): Likewise.
16806 (libm-routines): Add narrowing functions.
16807 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16808 (libc_feholdexcept_setroundf128): New macro.
16809 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16810 * sysdeps/ieee754/float128/float128_private.h: Include
16811 <math/math-narrow.h>.
16812 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16813 Undefine and redefine.
16814 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16815 (libm_alias_float_ldouble): Undefine and redefine.
16816 (libm_alias_double_ldouble): Likewise.
16817
bfd47587
JM
16818 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16819
3f8d9d58
WD
168202018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16821
16822 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16823 FPCR/FPSR.
16824
1f6676d7
RJ
168252018-02-09 Rical Jasan <ricaljasan@pacific.net>
16826
16827 * manual/creature.texi: Convert references to gcc.info to gcc.
16828 * manual/stdio.texi: Likewise.
16829 * manual/string.texi: Likewise.
16830
d80441dd
JM
168312018-02-07 Joseph Myers <joseph@codesourcery.com>
16832
15081be9
JM
16833 [BZ #17979]
16834 * posix/bits/types.h (__int_least8_t): New typedef.
16835 (__uint_least8_t): Likewise.
16836 (__int_least16_t): Likewise.
16837 (__uint_least16_t): Likewise.
16838 (__int_least32_t): Likewise.
16839 (__uint_least32_t): Likewise.
16840 (__int_least64_t): Likewise.
16841 (__uint_least64_t): Likewise.
16842 * sysdeps/generic/stdint.h (int_least8_t): Define using
16843 __int_least8_t.
16844 (int_least16_t): Define using __int_least16_t.
16845 (int_least32_t): Define using __int_least32_t.
16846 (int_least64_t): Define using __int_least64_t.
16847 (uint_least8_t): Define using __uint_least8_t.
16848 (uint_least16_t): Define using __uint_least16_t.
16849 (uint_least32_t): Define using __uint_least32_t.
16850 (uint_least64_t): Define using __uint_least64_t.
16851 * wcsmbs/uchar.h: Include <bits/types.h>.
16852 (char16_t): Define using __uint_least16_t conditional only on
16853 [!__USE_ISOCXX11].
16854 (char32_t): Define using __uint_least32_t conditional only on
16855 [!__USE_ISOCXX11].
16856 * wcsmbs/test-char-types.c: New file.
16857 * wcsmbs/Makefile (tests): Add test-char-types.
16858
d80441dd
JM
16859 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16860 version to 4.0.1.
16861
6c6c962a
ZW
168622018-02-07 Zack Weinberg <zackw@panix.com>
16863
63fb8f9a
ZW
16864 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16865 Delete all contents except for definitions of _G_HAVE_MMAP and
16866 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16867 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16868 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16869 change as above.
16870
16871 * libio/libio.h: Don't include bits/_G_config.h here.
16872 Include stddef.h with __need_wchar_t defined. Include
16873 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16874 Define _IO_iconv_t here, directly.
16875 Don't define _IO_HAVE_ST_BLKSIZE.
16876 * libio/libioP.h: Include _G_config.h here. Move include of
16877 shlib-compat.h up with rest of includes. Simplify conditionals
16878 controlling definition of _IO_JUMPS_OFFSET.
16879
16880 * csu/init.c: Remove always-true #if around entire file.
16881 Don't include stdio.h. Set _IO_stdin_used to hardwired
16882 constant 0x20001, and update commentary.
16883 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16884 Replace all uses of _G_va_list with __gnuc_va_list.
16885 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16886 instead of #if _IO_HAVE_ST_BLKSIZE.
16887 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16888 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16889 not #ifdef.
16890
6c6c962a
ZW
16891 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16892 multiple-include guard to match.
16893 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16894 into this file.
16895 Remove preprocessor conditionals that are always true and/or
16896 redundant to other preprocessor conditionals in the same nest.
16897 Include shlib-compat.h unconditionally.
16898 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16899 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16900 defined after including stdio.h.
16901 Use __BEGIN_DECLS/__END_DECLS.
16902
16903 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16904 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16905 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16906
a4fea3f2
ZW
169072018-02-07 Zack Weinberg <zackw@panix.com>
16908
16909 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16910 New single-type headers split from _G_config.h.
16911 * libio/bits/types/cookie_io_functions_t.h
16912 * libio/bits/types/struct_FILE.h
16913 New single-type headers split from libio.h.
16914
16915 * libio/Makefile: Install the above new headers. Don't install
16916 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16917 bits/libio-ldbl.h.
16918 * libio/_G_config.h, libio/libio.h: Delete file.
16919
16920 * libio/bits/libio.h: Remove improper-inclusion guard.
16921 Include stdio.h and don't repeat anything that it does.
16922 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16923 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16924 __io_read_fn as cookie_read_function_t,
16925 __io_write_fn as cookie_write_function_t,
16926 __io_seek_fn as cookie_seek_function_t,
16927 __io_close_fn as cookie_close_function_t,
16928 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16929 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16930 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 16931 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
16932 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16933 and _IO_ferror_unlocked.
16934 Move prototypes of __uflow and __overflow...
16935
16936 * libio/stdio.h: ...here. Don't include bits/libio.h.
16937 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 16938 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
16939 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16940 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16941 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16942 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16943 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16944 __ssize_t, not _IO_ssize_t. Unconditionally define
16945 BUFSIZ as 8192 and EOF as (-1).
16946
16947 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16948 macros from bits/types/struct_FILE.h instead of _IO_* macros
16949 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16950 instead of _IO_ssize_t.
16951 * libio/bits/stdio2.h: Similarly.
16952
16953 * libio/iolibio.h: Add multiple-include guard.
16954 Include bits/libio.h after stdio.h.
16955 * libio/libioP.h: Add multiple-include guard.
16956 Include stdio.h and bits/libio.h before iolibio.h.
16957
6c6c962a 16958 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
16959 * include/bits/types/cookie_io_functions_t.h
16960 * include/bits/types/struct_FILE.h: New wrappers.
16961
16962 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
16963 Get definitions of _G_fpos_t and _G_fpos64_t from
16964 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16965 respectively. Remove improper-inclusion guards.
a4fea3f2 16966
6c6c962a 16967 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 16968 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 16969 libio.h and _G_config.h.
a4fea3f2 16970
ce999220
JM
169712018-02-07 Joseph Myers <joseph@codesourcery.com>
16972
8b4a1182
JM
16973 [BZ #15105]
16974 [BZ #19463]
16975 * include/sys/sysmacros.h [!_ISOMAC]
16976 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16977 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16978 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16979 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16980 libc_hidden_proto.
16981 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16982 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16983 Likewise.
16984 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16985 Undefine and redefine to add use __gnu_dev_ prefix.
16986 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16987 Likewise.
16988 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16989 and define as hidden inline function.
16990 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16991 Likewise.
16992 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16993 Likewise.
16994 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16995 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16996 (gnu_dev_minor): Likewise.
16997 (gnu_dev_makedev): Likewise.
16998 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16999 makedev.
17000 * posix/wordexp.c (exec_comm_child): Likewise.
17001 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17002 instead of minor and __gnu_dev_major instead of major.
17003 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17004 __gnu_dev_major instead of major.
17005 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17006 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17007 instead of gnu_dev_minor.
17008 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17009 (SLAVE_P): Likewise.
17010 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17011 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17012 instead of major.
17013
ce999220
JM
17014 [BZ #21313]
17015 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17016 in another place.
17017 * locale/weightwc.h (findidx): Likewise.
17018
b7c83ca3
WD
170192018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17020
17021 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17022 (slowlog_inexact): Likewise
17023 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17024 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17025
388ff7bd
IG
170262018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17027
17028 [BZ #22797]
17029 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17030 missing second underscore to parameter name.
17031
663e7d78
JM
170322018-02-06 Joseph Myers <joseph@codesourcery.com>
17033
0d40d0ec
JM
17034 [BZ #14508]
17035 [BZ #15512]
17036 [BZ #17082]
17037 [BZ #20530]
17038 * bits/byteswap.h: Update file comment. Do not include
17039 <bits/byteswap-16.h>.
17040 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17041 constant.
17042 (__bswap_16): Define as inline function.
17043 (__bswap_constant_32): Reformat definition.
17044 (__bswap_32): Always define as inline function, not macro, using
17045 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17046 otherwise __bswap_constant_32.
17047 (__bswap_constant_64): Reformat definition. Do not use
17048 __extension__ here.
17049 (__bswap_64): Always define as inline function, not macro. Use
17050 __extension__ on function definition. Use __builtin_bswap64 if
17051 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17052 * string/test-endian-file-scope.c: New file.
17053 * string/test-endian-sign-conversion.c: Likewise.
17054 * string/Makefile (headers): Remove bits/byteswap-16.h.
17055 (tests): Add test-endian-file-scope and
17056 test-endian-sign-conversion.
17057 (CFLAGS-test-endian-sign-conversion.c): New variable.
17058 * bits/byteswap-16.h: Remove file.
17059 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17060 * sysdeps/ia64/bits/byteswap.h: Likewise.
17061 * sysdeps/m68k/bits/byteswap.h: Likewise.
17062 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17063 * sysdeps/s390/bits/byteswap.h: Likewise.
17064 * sysdeps/tile/bits/byteswap.h: Likewise.
17065 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17066 * sysdeps/x86/bits/byteswap.h: Likewise.
17067
383e87c9
JM
17068 [BZ #17721]
17069 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17070 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17071 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17072 199901L] (__restrict): Define to restrict.
17073
d92c2759
JM
17074 [BZ #19667]
17075 * string/testcopy.c: Include <support/support.h>. Do not include
17076 <malloc.h>. Use <support/test-driver.c>.
17077 (main): Rename to do_test. Make static. Use xmalloc instead of
17078 malloc.
17079
625fb764
JM
17080 [BZ #13575]
17081 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17082 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17083 (SSIZE_MAX): Define to INT_MAX.
17084 * posix/test-ssize-max.c: New file.
17085 * posix/Makefile (tests): Add test-ssize-max.
17086
02325d6c
JM
17087 [BZ #19668]
17088 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17089 <support/support.h>. Do not include <malloc.h>.
17090 (query_auxv): Use xmalloc instead of malloc.
17091
663e7d78
JM
17092 [BZ #14553]
17093 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17094 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17095 instead of loff_t.
17096
6b5c8607 170972018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
17098
17099 [BZ #18023]
17100 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17101 Use scratch_buffer instead of extend_alloca.
17102
de6da571
ZW
171032018-02-06 Zack Weinberg <zackw@panix.com>
17104
26c07172
ZW
17105 * libio/stdio.h: Don't define getc or putc as macros.
17106 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17107 not _IO_getc and _IO_putc.
17108
de6da571
ZW
17109 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17110 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17111
92669d6e
JM
171122018-02-06 Joseph Myers <joseph@codesourcery.com>
17113
c2b84df9
JM
17114 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17115 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17116
41376f8c
JM
17117 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17118
d28bf648
JM
17119 [BZ #14890]
17120 * elf/elf.h (NT_PRFPREG): New macro.
17121 (NT_S390_VXRS_LOW): Likewise.
17122 (NT_S390_VXRS_HIGH): Likewise.
17123 (NT_S390_GS_CB): Likewise.
17124 (NT_S390_GS_BC): Likewise.
17125 (NT_S390_RI_CB): Likewise.
17126
e76def72
JM
17127 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17128 (MAP_SYNC): New macro.
17129 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17130 Likewise.
17131 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17132 (MAP_SYNC): Likewise.
17133 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17134 (MAP_SYNC): Likewise.
17135 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17136 (MAP_SYNC): Likewise.
17137 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17138 (MAP_SYNC): Likewise.
17139 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17140 (MAP_SYNC): Likewise.
17141 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17142 (MAP_SYNC): Likewise.
17143 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17144 Likewise.
17145 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17146 Likewise.
17147
92669d6e
JM
17148 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17149 (MAP_SHARED_VALIDATE): New macro.
17150 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17151 (MAP_SHARED_VALIDATE): Likewise.
17152
6a5cac49
L
171532018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17154
17155 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17156 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17157 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17158
b44e0dfb
L
171592018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17160
17161 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17162 (DT_NUM): Updated to 35.
17163
f886c16c
L
171642018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17165
17166 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17167 __builtin_expect with __glibc_likely and __glibc_unlikely.
17168 (elf_machine_rela): Likewise.
17169 (elf_machine_lazy_rel): Likewise.
17170
06fbebff
L
171712018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17172
17173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 17174 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
17175 (elf_machine_lazy_rel): Likewise.
17176
371b220f
L
171772018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17178
17179 [BZ #22638]
17180 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17181 SHARED.
65805016 17182 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 17183
f649a1b8
AS
171842018-02-05 Andreas Schwab <schwab@suse.de>
17185
17186 [BZ #22761]
17187 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17188 string.
17189
9fdb340e
ST
171902018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17191
17192 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17193 not check against PTHREAD_STACK_MIN.
17194
09e56b9e
SM
171952018-02-02 Sean McKean <smckean83@gmail.com>
17196
17197 [BZ #22735]
17198 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17199
d4b4a00a
FW
172002018-02-02 Florian Weimer <fweimer@redhat.com>
17201
17202 [BZ #22753]
17203 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17204 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17205 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17206 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17207 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17208 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17209 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17210 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17211 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17212 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17213 * misc/tst-preadvwritev2.c (do_test): Call it.
17214 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17215
3dfcbfa1
SP
172162018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17217
84c94d2f
SP
17218 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17219
96e6a716
SP
17220 * benchtests/bench-memcmp.c: Print json instead of plain text.
17221
3dfcbfa1
SP
17222 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17223 every test run.
17224
049375e2
JM
172252018-02-01 Joseph Myers <joseph@codesourcery.com>
17226
39f898c6
JM
17227 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17228 version to 4.15.
17229 (s390_sthyi): New syscall.
17230
6f9a3dd8
JM
17231 * sysdeps/generic/ldbl-classify-compat.h: New file.
17232 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17233 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17234 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17235 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17236 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17237 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17238 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17239 <ldbl-classify-compat.h>.
17240 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17241 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17242 <ldbl-classify-compat.h>.
17243 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17244 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17245 <ldbl-classify-compat.h>.
17246 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17247 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17248 <ldbl-classify-compat.h>.
17249 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17251 <ldbl-classify-compat.h>.
17252 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17254 <ldbl-classify-compat.h>.
17255 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17256 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17257 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17258 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17259 * sysdeps/microblaze/math_private.h: Likewise.
17260 * sysdeps/nios2/math_private.h: Likewise.
17261 * sysdeps/sh/math_private.h: Likewise.
17262
eb65a3d5
JM
17263 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17264 * sysdeps/m68k/coldfire/math_private.h: ... here.
17265 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17266 * sysdeps/tile/math_private.h: Likewise.
17267 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17268 Remove macro.
17269 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17270 Likewise.
17271
8a6bb1d0
JM
17272 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17273 Remove macro.
17274 (libc_fetestexcept): Likewise.
17275 (libc_feupdateenv_test): Likewise.
17276 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17277 (libc_fetestexcept): Likewise.
17278 (libc_feupdateenv_test): Likewise.
17279 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17280 (libc_fetestexcept): Likewise.
17281 (libc_feupdateenv_test): Likewise.
17282 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17283 (libc_fetestexcept): Likewise.
17284 (libc_feupdateenv_test): Likewise.
17285
ae1fcb7b
JM
17286 * sysdeps/generic/math_private.h
17287 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17288 New inline function.
17289 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17290 Likewise.
17291
b1c347e2
JM
17292 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17293 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17294 * sysdeps/generic/math_private.h
17295 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17296 inline function.
17297 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17298 Likewise.
17299 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17300 Likewise.
17301 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17302 Likewise.
17303 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17304 Likewise.
17305 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17306 Likewise.
17307 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17308 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17309 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17310 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17311 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17312 (__fegetenv): Likewise.
17313 (fesetenv): Likewise.
17314 (__fesetenv): Likewise.
17315 (feupdateenv): Likewise.
17316 (__feupdateenv): Likewise.
17317 (fegetround): Likewise.
17318 (__fegetround): Likewise.
17319 (fesetround): Likewise.
17320 (__fesetround): Likewise.
17321
d23a4962
JM
17322 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17323 (feraiseexcept): New macro.
17324 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17325 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17326 Remove macro.
17327 (__feraiseexcept): Likewise.
17328 (feclearexcept): Likewise.
17329 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17330 (__feraiseexcept): Likewise.
17331 (feclearexcept): Likewise.
17332 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17333 (__feraiseexcept): Likewise.
17334 (feclearexcept): Likewise.
17335 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17336 (__feraiseexcept): Likewise.
17337 (feclearexcept): Likewise.
17338 (fetestexcept): Likewise.
17339
5f167950
JM
17340 * sysdeps/m68k/coldfire/math-tests.h: New file.
17341
ccc9035a
JM
17342 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17343 * sysdeps/m68k/bits/fenv.h: ... here.
17344 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17345 not define.
17346 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17347 Likewise.
17348 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17349 Likewise.
17350 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17351 Likewise.
17352 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17353 Likewise.
17354 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17355 Define to 0.
17356 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17357 (__FE_UNDEFINED): New enum constant.
17358 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17359 Do not define.
17360 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17361 Likewise.
17362 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17363 Likewise.
17364 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17365 to match generic bits/fenv.h.
17366 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17367 Do not define.
17368
049375e2
JM
17369 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17370 packed on bits.
17371 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17372 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17373 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17374 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17375
f1d73681
CD
173762018-02-01 Carlos O'Donell <carlos@redhat.com>
17377 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17378 Joseph Myers <joseph@codesourcery.com>
17379
17380 [BZ #21314]
17381 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17382 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17383 computation using c.
17384 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17385 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17386 computation using c.
17387
242cbc90
DL
173882018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17389
086ee48e
DL
17390 * version.h (RELEASE): Set to "development".
17391 (VERSION): Set to "2.27.9000".
17392 * NEWS (2.28): New section.
17393
23158b08
DL
17394 * version.h (RELEASE): Set to "stable".
17395 (VERSION): Set to "2.27".
17396 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17397
242cbc90
DL
17398 * NEWS: Add the list of bugs fixed in 2.27.
17399
673e2305
AZ
174002018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17401
17402 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17403 against PTHREAD_STACK_MIN.
17404
ced64e01
DL
174052018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17406
17407 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17408 New entries.
17409 (Rafal Luzynski, Andreas Schwab): Update.
17410
c10c9a5e
RL
174112018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17412
17413 [BZ #10871]
17414 * NEWS: List the languages which actually use the alternative
17415 months feature in this release. Also explain that "alt_mon" and
17416 "ab_alt_mon" are optional.
17417
650ba77a
IM
174182018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17419
17420 [BZ #22765]
17421 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17422
93493119
DL
174232018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17424
17425 * manual/install.texi (Tools for Compilation): Update the newest
17426 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17427 * INSTALL: Regenerated.
17428
363e4519 174292018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
17430
17431 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17432 instead of __builtin_expect.
17433
d7536874
FW
174342018-01-30 Florian Weimer <fweimer@redhat.com>
17435
17436 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17437 data.
17438 * nss/tst-nss-getpwent.c (do_test): Likewise.
17439
9a1b267d
RL
174402018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17441
17442 [BZ #10871]
17443 * localedata/locales/hr_HR (mon): Rename to...
17444 (alt_mon): This.
17445 (mon): Import from CLDR (genitive case).
17446 (d_t_fmt): Update the comment.
17447
9a179328
AS
174482018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17449
17450 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17451 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17452 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17453
e01e0ddc
ST
174542018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17455
17456 * mach/Versions: Fix version when __mach_host_self_ was added.
17457 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17458 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17459 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17460 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17461 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17462 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17463 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17464 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17465 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17466 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17467 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17468 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
17469 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17470 || to respect codestyle.
2aadb705
ST
17471 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17472 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
17473 * malloc/malloc.c: Include <assert.h>.
17474 (assert): Do not define.
17475 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
17476 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17477 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 17478 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 17479 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 17480
521877e1
PD
174812018-01-29 Darius Rad <darius@bluespec.com>
17482
17483 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17484
532cf290
PD
174852018-01-29 Palmer Dabbelt <palmer@sifive.com>
17486
17487 * sysdeps/init_array/crti.S (.section .init_array): Add
17488 PREINIT_FUNCTION when defined.
40ca951b 17489 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 17490 * config.h.in: Regenerate.
ba9e25a6
PD
17491 * manual/platform.texi: Add RISC-V documenation for
17492 __riscv_flush_icache.
c776fa11
PD
17493 * sysdeps/riscv/__longjmp.S: New file.
17494 * sysdeps/riscv/backtrace.c: Likewise.
17495 * sysdeps/riscv/bits/endian.h: Likewise.
17496 * sysdeps/riscv/bits/setjmp.h: Likewise.
17497 * sysdeps/riscv/bits/wordsize.h: Likewise.
17498 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17499 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17500 * sysdeps/riscv/dl-trampoline.S: Likewise.
17501 * sysdeps/riscv/gccframe.h: Likewise.
17502 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17503 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17504 * sysdeps/riscv/machine-gmon.h: Likewise.
17505 * sysdeps/riscv/memusage.h: Likewise.
17506 * sysdeps/riscv/setjmp.S: Likewise.
17507 * sysdeps/riscv/sys/asm.h: Likewise.
17508 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
17509 * sysdeps/riscv/dl-tls.h: New file.
17510 * sysdeps/riscv/libc-tls.c: Likewise.
17511 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17512 * sysdeps/riscv/nptl/tls.h: Likewise.
17513 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
17514 * sysdeps/riscv/bits/fenv.h: New file.
17515 * sysdeps/riscv/e_sqrtl.c: Likewise.
17516 * sysdeps/riscv/fpu_control.h: Likewise.
17517 * sysdeps/riscv/math-tests.h: Likewise.
17518 * sysdeps/riscv/nofpu/Implies: Likewise.
17519 * sysdeps/riscv/sfp-machine.h: Likewise.
17520 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
17521 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17522 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17523 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17524 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17525 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17526 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17527 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17528 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17529 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17530 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17531 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17532 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17533 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17534 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17535 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17536 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17537 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17538 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17539 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17540 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17541 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17542 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17543 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17544 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17545 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17546 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17547 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17548 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17549 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17550 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17551 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17552 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17553 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17554 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17555 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17556 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17557 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17558 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17559 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17560 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17561 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17562 * sysdeps/riscv/rvf/math_private.h: Likewise.
17563 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17564 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17565 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17566 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17567 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17568 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17569 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17570 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17571 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17572 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17573 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17574 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17575 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17576 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17577 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17578 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
17579 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17580 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17581 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17582 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
17583 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17584 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17585 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17586 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17587 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17588 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17589 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17590 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17591 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
17592 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17593 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17594 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17595 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17596 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17597 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17598 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17599 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17600 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17601 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17602 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17603 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17604 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17605 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17606 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17607 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17608 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17609 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17610 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17611 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17612 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17613 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
17614 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17615 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17616 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
17617 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17618 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17619 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17620 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17621 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17622 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17623 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17624 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17625 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17626 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17627 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17628 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17629 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17630 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
17631 * sysdeps/riscv/Implies: New file.
17632 * sysdeps/riscv/Makefile: Likewise.
17633 * sysdeps/riscv/configure: Likewise.
17634 * sysdeps/riscv/configure.ac: Likewise.
17635 * sysdeps/riscv/nptl/Makefile: Likewise.
17636 * sysdeps/riscv/preconfigure: Likewise.
17637 * sysdeps/riscv/rv64/Implies-after: Likewise.
17638 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17639 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17640 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17641 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17642 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17643 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17644 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17645 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17646 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17647 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17648 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
17649 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17650 (Config): Likewise.
532cf290 17651
cdd14619
FW
176522018-01-29 Florian Weimer <fweimer@redhat.com>
17653
17654 [BZ #22701]
17655 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17656 libnsl_hidden_proto.
17657 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17658 libnsl_hidden_proto.
17659 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17660 * nis/Makefile (libnsl-routines): Add nss-default only for
17661 build-obsolete-nsl.
17662 * nis/nis_defaults.c (__nis_default_ttl): Add
17663 libnsl_hidden_nolink_def.
17664 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17665 declaration.
17666 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17667 * nis/ypclnt.c (yp_maplist): Likewise.
17668
b7ccb5de
RN
176692018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17670
17671 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17672 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17673
522623e4
JM
176742018-01-29 Joseph Myers <joseph@codesourcery.com>
17675
e3aa6999
JM
17676 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17677 clean -dxfq for git updates when replacing sources.
17678
088de7d0
JM
17679 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17680 --disable-libcilkrts unconditionally, not just for the final GCC
17681 build for Hurd.
17682
522623e4
JM
17683 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17684 version to 4.15.
17685
8b406f87
RL
176862018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17687
17688 [BZ #10871]
17689 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17690 case).
17691
105e90bd
RL
176922018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17693
17694 [BZ #10871]
17695 * localedata/locales/be_BY (mon): Rename to...
17696 (alt_mon): This, then synchronize with CLDR (nominative case).
17697 (abmon): Rename to...
17698 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17699 (mon): Import from CLDR (genitive case).
17700 (abmon): Likewise.
17701 * localedata/locales/be_BY@latin (mon): Rename to...
17702 (alt_mon): This.
17703 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17704
17705 * localedata/locales/be_BY@latin (lang_name): Reworded to
17706 "biełaruskaja mova".
17707
561cb414
RL
177082018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17709
17710 [BZ #10871]
17711 * localedata/locales/el_CY (mon): Renamed to...
17712 (alt_mon): This.
17713 (mon): Import from CLDR (genitive case).
17714 * localedata/locales/el_GR: Likewise.
17715
f7bdf30d
RL
177162018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17717
17718 [BZ #10871]
17719 * localedata/locales/ru_RU (mon): Rename to...
17720 (alt_mon): This.
17721 (abmon): Rename to...
17722 (ab_alt_mon): This.
17723 (mon): Import from CLDR (genitive case).
17724 (abmon): Copy from the old content except the 5th month which is
17725 now in the genitive case, even when abbreviated.
17726 * localedata/locales/ru_UA: Likewise.
17727 * time/tst-strptime.c (day_tests): Add an actual example of
17728 a difference between %b and %Ob in Russian.
17729
85285a0c
ST
177302018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17731
17732 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
17733 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17734 a `c' variable.
3538a4b6 17735 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
17736 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17737 <sys/wait.h>, <time.h>, <sys/uio.h>.
17738 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 17739 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
17740 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17741 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17742 return 0.
05ebfe87
ST
17743 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17744 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
17745 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17746 instead of void *.
17747 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17748 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
17749 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17750 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
17751 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17752 and make them the default for now.
903d3633
ST
17753 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17754 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
17755 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17756 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17757 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17758 MACH_IPC_COMPAT.
06fac9f5
ST
17759 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17760 __task_terminate would ever return successfully.
f8177753
ST
17761 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17762 to global scope.
41cdb1eb
ST
17763 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17764 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
17765 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17766 critical section to make code simpler and avoid warning.
17767 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17768 critical section to make code simpler and avoid warning.
844bf921
ST
17769 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17770 const char * instead of char *.
f8bee46c
ST
17771 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17772 __hurd_file_name_split, hurd_file_name_split,
17773 __hurd_directory_name_split, hurd_directory_name_split,
17774 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17775 hurd_file_name_path_lookup): Make lookup function parameter take a
17776 const char *name instead of char *name.
17777 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17778 __hurd_directory_name_split): Likewise.
17779 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17780 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
17781 * sysdeps/mach/hurd/check_native.c: New file.
17782 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
17783 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17784 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
17785 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17786 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
17787 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17788 (do_test_bz20181): Rename accordingly.
17789 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
17790 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17791 <sys/mount.h>.
28f6186f
ST
17792 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17793 version only if __USE_EXTERN_INLINES is defined.
17794 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17795 __hurd_sockfail): Likewise.
17796 (_hurd_fd_get): Always declare functions, and provide inline versions
17797 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17798 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17799 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17800 _hurd_port_set): Always declare functions, and provide inline versions
17801 only if __USE_EXTERN_INLINES and _LIBC are defined and
17802 IS_IN(libc).
17803 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17804 _hurd_critical_section_unlock): Likewise.
17805 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17806 * __hurd_threadvar_location): Likewise.
17807 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17808 _hurd_userlink_clear): Likewise.
17809 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17810 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17811 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17812 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17813 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17814 __spin_lock_locked): Likewise.
17815 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17816 __spin_lock_locked): Likewise.
17817 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17818 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17819 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17820 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17821 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
17822 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17823 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
17824 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17825 check size against PTHREAD_STACK_MIN.
625ba81e
ST
17826 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17827 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
17828 * mach/Makefile (user-interfaces): Add mach/gnumach.
17829 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17830 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
17831 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17832 instead of invalid -1.
1f89ac71
ST
17833 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17834 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17835 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17836 <net/ppp_defs.h>.
85285a0c 17837
1fd1e27c 178382018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
17839
17840 * hurd/fcntl-internal.h: New file.
17841
3854c5a8
JC
178422018-01-27 James Clarke <jrtc27@jrtc27.com>
17843
7e23a7dd
JC
17844 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17845
3854c5a8
JC
17846 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17847
5503f413
AS
178482018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17849
17850 [BZ #22701]
17851 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17852 Build only shared objects.
17853
caaf7804
CD
178542018-01-26 Carlos O'Donell <carlos@redhat.com>
17855
17856 * README: Update for hppa.
17857
1cbf818d
PM
178582018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17859
caaf7804
CD
17860 * sysdeps/sparc/fpu/libm-test-ulps: Update
17861 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 17862
caaf7804 178632018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
17864
17865 Revert:
17866
17867 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17868
17869 [BZ #22563]
17870 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17871 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17872 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17873 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17874 to feature_1.
17875
17876 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17877
17878 [BZ #22563]
17879 * bits/types/__cancel_jmp_buf_tag.h: New file.
17880 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17881 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17882 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17883 * nptl/Makefile (headers): Add
17884 bits/types/__cancel_jmp_buf_tag.h.
17885 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17886 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17887 * sysdeps/nptl/pthread.h: Include
17888 <bits/types/__cancel_jmp_buf_tag.h>.
17889 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17890 __cancel_jmp_buf.
17891 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17892
65f6c94e
RL
178932018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17894
17895 [BZ #10871]
17896 * localedata/locales/uk_UA (mon): Renamed to...
17897 (alt_mon): This.
17898 (alt_digits): "0" removed and then renamed to...
17899 (mon): This.
17900 (date_fmt): Definition changed not to use the alternative
17901 digits hack.
17902
fb58aac5
PD
179032018-01-25 Palmer Dabbelt <palmer@sifive.com>
17904
17905 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17906 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17907 * elf/elf.h (EF_RISCV_RVC): New define.
17908 (EF_RISCV_FLOAT_ABI): Likewise.
17909 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17910 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17911 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17912 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17913 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17914 define.
17915 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17916
128c43a2
AS
179172018-01-25 Andreas Schwab <schwab@suse.de>
17918
17919 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17920 single quotes.
17921 * sysdeps/gnu/configure: Regenerate.
17922 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17923 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17925 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17926 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17927 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17928 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17929 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17930
f9015003
ST
179312018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17932
48130690 17933 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 17934 URL, and run autoconf, make it the default for now.
f9015003 17935
91b2cffa
JM
179362018-01-24 Joseph Myers <joseph@codesourcery.com>
17937
3005b705
JM
17938 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17939 soft-float ColdFire configuration.
17940
69231fab
JM
17941 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17942 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17943 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17944
d4c7e1d0
JM
17945 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17946 MicroBlaze file.
17947
0cfe5be5
JM
17948 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17949 ....
17950 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17951 ... here.
17952 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17953 New file.
17954
91b2cffa
JM
17955 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17956 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17957 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17958 file.
17959
c739e191
SN
179602018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17961
17962 [BZ #22742]
17963 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17964 Rename to __reserved and add comment.
17965 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17966 Rename to __reserved.
17967
394b5bac
JM
179682018-01-24 Joseph Myers <joseph@codesourcery.com>
17969
17970 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17971 i686-gnu configurations.
17972 (Context.run_builds): Include mig, gnumach and hurd in components
17973 considered.
17974 (Context.checkout): Add mig, gnumach and hurd to components.
17975 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17976 hurd.
17977 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17978 (Config.build): Install gnumach headers, build mig and install
17979 hurd headers for 'gnu' OS.
17980 (Config.install_gnumach_headers): New function.
17981 (Config.install_hurd_headers): Likewise.
17982 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17983 when building for 'gnu' OS.
17984
28c3f14f
TK
179852018-01-23 Tobias Klauser <tklauser@distanz.ch>
17986
17987 * manual/tunables.texi (Hardware Capability Tunables): Fix
17988 spelling.
17989
0f5e2da1
RJ
179902018-01-22 Rical Jasan <ricaljasan@pacific.net>
17991
17992 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17993 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17994 (ALTMON_11, ALTMON_12): Improve documentation.
17995 * manual/time.texi (strftime): Likewise.
17996
7817b14a
RL
179972018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17998
17999 [BZ #10871]
18000 * localedata/locales/pl_PL: Alternative month names added,
18001 primary month names are genitive now.
18002 * time/tst-strptime.c (day_tests): Actually use a genitive case
18003 of a month name in Polish language.
18004
22390764
RL
180052018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18006
18007 [BZ #10871]
18008 * manual/locale.texi: Document ALTMON_1..12 constants for
18009 nl_langinfo. Specify when to use ALTMON instead of MON.
18010 * manual/time.texi (strftime, strptime): Document GNU extension
18011 permitting O modifier with %B and %b. Specify when to use
18012 %OB instead of %B.
18013
761a585c
RL
180142018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18015
18016 [BZ #10871]
18017 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18018 names, define them as the same as abbreviated month names explicitly.
18019 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18020 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18021 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18022 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18023 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18024 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18025 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18026 _NL_WABALTMON_12): New enum constants.
18027 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18028 wab_alt_mon, and ab_alt_mon_defined members.
18029 (time_output): Output ab_alt_mon and wab_alt_mon members.
18030 (time_read): Read them, initialize them as copies of abmon and wabmon
18031 respectively if they are missing, initialize ab_alt_mon_defined.
18032 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18033 * locale/programs/locfile-kw.h: Regenerate.
18034 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18035 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18036 and ru_RU.UTF-8.
18037 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18038 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18039 (__strftime_internal): Handle %Ob and %Oh formats.
18040 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18041 (__strptime_internal): Handle %Ob and %Oh formats.
18042 * time/tst-strptime.c (day_tests): Add more tests to parse different
18043 forms of month names including the new %Ob format specifier.
18044
95cb863a
RL
180452018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18046
18047 [BZ #10871]
18048 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18049 define them as the same as primary full month names explicitly.
18050 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18051 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18052 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18053 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18054 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18055 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18056 _NL_WALTMON_12): New enum constants.
18057 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18058 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18059 macros.
18060 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18061 walt_mon, and alt_mon_defined members.
18062 (time_output): Output alt_mon and walt_mon members.
18063 (time_read): Read them, initialize them as copies of mon and wmon
18064 respectively if they are missing, initialize alt_mon_defined.
18065 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18066 * locale/programs/locfile-kw.h: Regenerate.
18067 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18068 * localedata/tst-langinfo.c (map): Add tests for the new constants
18069 ALTMON_1 .. ALTMON_12.
18070 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18071 and pl_PL.UTF-8.
18072 * time/strftime_l.c (f_altmonth): New macro.
18073 (__strftime_internal): Handle %OB format.
18074 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18075 (__strptime_internal): Handle %OB format.
18076 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18077 of month names including the new %OB format specifier.
18078
4612268a
TMQMF
180792018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18080
18081 [BZ #22685]
18082 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18083 from ABORT_TRANSACTION.
18084 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18085 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18086 ABORT_TRANSACTION_IMPL): Likewise.
18087 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18088 Linux code, but remove the code that aborts transactions.
18089
64f63cb4
ST
180902018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18091
18092 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18093
32ac6e92
RL
180942018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18095
18096 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18097 in date: "2004-14-09" should be "2004-09-14".
18098 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18099 "2003-15-09" should be "2003-09-15".
18100
8e448310
AS
181012018-01-18 Arjun Shankar <arjun@redhat.com>
18102
18103 [BZ #22343]
71aa429b 18104 [BZ #22774]
4590634f 18105 CVE-2018-6485
71aa429b 18106 CVE-2018-6551
8e448310
AS
18107 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18108 after padding.
18109 (_int_memalign): check for integer overflow before calling
18110 _int_malloc.
18111 * malloc/tst-malloc-too-large.c: New test.
18112 * malloc/Makefile: Add tst-malloc-too-large.
18113
e234d7cb
RL
181142018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18115
18116 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18117 in date: "2017-24-07" should be "2017-07-24".
18118 * localedata/locales/mai_IN: Likewise.
18119 * localedata/locales/mai_NP: Likewise.
18120
48b66019
DL
181212018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18122
18123 * po/ru.po: Update translations.
18124
1eeddc58
JM
181252018-01-17 Joseph Myers <joseph@codesourcery.com>
18126
18127 [BZ #22719]
18128 * sysdeps/hppa/backtrace.c: New file.
18129
207a72e2
L
181302018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18131
18132 [BZ #22715]
18133 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18134 align La_x86_64_retval to VEC_SIZE.
18135
4942c4ea
JM
181362018-01-16 Joseph Myers <joseph@codesourcery.com>
18137
18138 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18139 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18140
10d200db
FW
181412018-01-16 Florian Weimer <fweimer@redhat.com>
18142
18143 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18144 Move tst-thread-exit-clobber ...
18145 [$(CXX)] (tests-unsupported): ... to here.
18146
953c49cc
SN
181472018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18148
18149 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18150 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18151 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18152 (_dl_aarch64_cap_flags): Update.
18153 (_DL_HWCAP_COUNT): Update.
18154
afce1991
SN
181552018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18156
18157 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18158 (_DL_HWCAP_LAST): Remove.
18159 (_DL_HWCAP_COUNT): Move to ...
18160 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18161 (_DL_HWCAP_COUNT): ... here.
18162
b725132d
FW
181632018-01-16 Florian Weimer <fweimer@redhat.com>
18164
18165 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18166 mode with GNU extensions.
18167
c9e613a7
AH
181682018-01-15 Alan Hayward <alan.hayward@arm.com>
18169
18170 * elf/elf.h (NT_ARM_SVE): Define.
18171
860b0240
FW
181722018-01-15 Florian Weimer <fweimer@redhat.com>
18173
18174 [BZ #22636]
18175 * nptl/tst-minstack-throw.cc: New file.
18176 * nptl/Makefile (tests): Add tst-minstack-throw.
18177 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18178 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18179
16d0f6ac
JM
181802018-01-15 Joseph Myers <joseph@codesourcery.com>
18181
18182 * scripts/build-many-glibcs.py (Context.checkout): Default
18183 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18184 version to 1.1.0.
18185
505d3910
CD
181862018-01-13 Carlos O'Donell <carlos@redhat.com>
18187
18188 [BZ #22707]
18189 * elf/elf.h (DF_1_STUB): Define.
18190 (DF_1_PIE): Define.
18191
af1e6be4
TMQMF
181922018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18193
18194 [BZ #22697]
18195 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18196 Do not add 0.5 to integer or out-of-range arguments.
18197
98d13ce0
DL
181982018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18199
18200 * po/bg.po: Update translations.
18201 * po/cs.po: Likewise.
18202 * po/de.po: Likewise.
18203 * po/ko.po: Likewise.
18204 * po/pl.po: Likewise.
18205 * po/sv.po: Likewise.
18206 * po/uk.po: Likewise.
18207 * po/vi.po: Likewise.
18208
3d1d7928
SN
182092018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18210
18211 * aarch64/start.S (_start): Use __wrap_main.
18212 (__wrap_main): New local symbol.
18213
52a713fd
DL
182142018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18215
18216 [BZ #22679]
18217 CVE-2018-1000001
18218 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18219 generic_getcwd if the path returned by getcwd syscall is not absolute.
18220 * io/tst-getcwd-abspath.c: New test.
18221 * io/Makefile (tests): Add tst-getcwd-abspath.
18222
249a5895
IK
182232018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18224
18225 * malloc/malloc.c (malloc_consolidate): Add size check.
18226
1a51e46e
FW
182272018-01-12 Florian Weimer <fweimer@redhat.com>
18228
18229 * support/write_message.c (write_message): Preserve errno.
18230 * support/check.c (print_failure): Likewise.
18231 * support/support_test_verify_impl.c (support_test_verify_impl):
18232 Likewise.
18233 * support/support_test_compare_failure.c
18234 (support_test_compare_failure): Likewise.
18235
9a08a366
FW
182362018-01-12 Florian Weimer <fweimer@redhat.com>
18237
18238 [BZ #22701]
18239 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18240 Prevent installation of libnsl.so.
18241 (libnsl-inhibit-o): Do not build (or install) static libraries.
18242
80647883 182432018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
18244
18245 [BZ #22657]
18246 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18247 before the day number which may produce a double space.
18248 (date_fmt): Likewise.
18249
c8924f1f
JM
182502018-01-12 Joseph Myers <joseph@codesourcery.com>
18251
18252 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18253 instead of fegetenv.
18254
da09e6fa
JM
182552018-01-11 Joseph Myers <joseph@codesourcery.com>
18256
18257 [BZ #22702]
18258 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18259 comment to say exceptions are discarded.
18260 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18261 __fegetenv.
18262 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18263 be enabled.
18264
08c6e952
FW
182652018-01-11 Florian Weimer <fweimer@redhat.com>
18266
18267 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18268 and error message.
18269
d8b77890
FW
182702018-01-11 Florian Weimer <fweimer@redhat.com>
18271
18272 [BZ #22636]
18273 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18274 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18275
b303185d
JM
182762018-01-10 Joseph Myers <joseph@codesourcery.com>
18277
18278 [BZ #22693]
18279 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18280 negative arguments in test for NaN or infinity argument.
18281
ee61d028
DL
182822018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18283
18284 * po/libc.pot: Regenerate.
18285
f993b875
FW
182862018-01-10 Florian Weimer <fweimer@redhat.com>
18287
18288 [BZ #22636]
18289 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18290 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18291
09085ede
ST
182922018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18293
18294 * hurd/hurd/fd.h: Include <fcntl.h>
18295 (__hurd_at_flags): New function.
18296 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18297 with call to __hurd_at_flags.
18298 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18299 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18300 __faccessat
18301 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18302 (__access_noerrno): Use __faccessat_common instead of access_common.
18303 (__access): Likewise.
18304 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18305 with a call to __faccessat.
18306 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18307 (__faccessat_common): ... this. Move implementation of __access into it when
18308 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18309 reauthenticate_cwdir_at helper to implement AT mechanism.
18310 (__faccessat_noerrno): New function, just calls __faccessat_common.
18311 (__faccessat): New function, just calls __faccessat_common.
18312 (faccessat): Define weak alias.
18313
12727488
JM
183142018-01-10 Joseph Myers <joseph@codesourcery.com>
18315
87faac55
JM
18316 [BZ #22691]
18317 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18318 (CFLAGS-s_fmaxmagl.c): New variable.
18319 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18320
12727488
JM
18321 [BZ #22690]
18322 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18323 long int for arguments of possibly overflowing addition or
18324 subtraction.
18325 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18326
e134ca17
JM
183272018-01-09 Joseph Myers <joseph@codesourcery.com>
18328
b2584ac2
JM
18329 [BZ #22688]
18330 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18331 (CFLAGS-e_remainderl.c): New variable.
18332
e134ca17
JM
18333 [BZ #22687]
18334 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18335 variable.
18336 (CFLAGS-s_cacoshl.c): Likewise.
18337 (CFLAGS-s_casinhl.c): Likewise.
18338 (CFLAGS-s_catanl.c): Likewise.
18339 (CFLAGS-s_catanhl.c): Likewise.
18340 (CFLAGS-s_cexpl.c): Likewise.
18341 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18342 (CFLAGS-s_csinhl.c): Likewise.
18343 (CFLAGS-s_clogl.c): Likewise.
18344 (CFLAGS-s_clog10l.c): Likewise.
18345 (CFLAGS-s_csinl.c): Likewise.
18346 (CFLAGS-s_csqrtl.c): Likewise.
18347
d31a4a48
ST
183482017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
183492017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
18350
18351 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18352 (_hurd_exec_paths): New function.
18353 * hurd/hurd.h (_hurd_exec): Deprecate function.
18354 (_hurd_exec_paths): Declare function.
18355 * hurd/Versions: Export _hurd_exec_paths.
18356 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18357 (__execve): Use __getcwd to build absolute path, and use
18358 _hurd_exec_paths instead of _hurd_exec.
18359 * sysdeps/mach/hurd/spawni.c: Likewise.
18360 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18361 _hurd_exec.
18362
d7ff3f11
DL
183632018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18364
18365 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18366 test instead of failing in case of ENOENT returned by posix_openpt.
18367
401311cf
FW
183682018-01-08 Florian Weimer <fweimer@redhat.com>
18369
18370 resolv: Support binary labels in test framework.
18371 * support/resolv_test.c (struct to_be_freed): Remove.
18372 (struct compressed_name): New.
18373 (allocate_compressed_name, ascii_tolower)
18374 (compare_compressed_name): New functions.
18375 (struct resolv_response_builder): Update type of
18376 compression_offsets for use with tsearch. Rempve to_be_freed.
18377 (response_push_pointer_to_free): Remove function.
18378 (resolv_response_add_name): Rewrite using struct compressed_name
18379 and tsearch instead of hsearch_r.
18380 (response_builder_allocate): Remove initialization of
18381 compression_offsets.
18382 (response_builder_free): Update for removal of to_be_freed. Use
18383 tdestroy instead of hdestroy_r.
18384 * resolv/Makefile (tests): Add tst-resolv-binary.
18385 (tst-resolv-binary): Link with -lresolv -lpthread.
18386
2b3aa446
FW
183872018-01-08 Florian Weimer <fweimer@redhat.com>
18388
18389 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18390 time. Pass positive flag instead of negative flag to
18391 support_test_compare_failure.
18392 (support_test_compare_failure): Change negative parameter to
18393 positive.
18394 * support/support_test_compare_failure.c (report)
18395 (support_test_compare_failure): Likewise.
18396 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18397 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18398
630f4cc3
SN
183992018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18400
18401 [BZ #22637]
18402 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18403 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18404 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18405 stacksize.
18406 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18407
c70e4e9c
L
184082018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18409
18410 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18411 Add s_sincosf-sse2 and s_sincosf-fma.
18412 (CFLAGS-s_sincosf-fma.c): New.
18413 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18414 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18415 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18416 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18417 __sincosf is defined.
18418
579396ee
FW
184192018-01-08 Florian Weimer <fweimer@redhat.com>
18420
18421 * nptl/tst-thread-exit-clobber.cc: New file.
18422 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18423 C++11 mode.
18424 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18425 (tests): Add tst-thread-exit-clobber.
18426 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18427
dabd75b6
FW
184282018-01-08 Florian Weimer <fweimer@redhat.com>
18429
18430 * support/check.h (support_static_assert): Define.
18431 (TEST_COMPARE): Use it.
18432
c2e014cc
AJ
184332018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18434
18435 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18436 [!__RLIM_T_MATCHES_RLIM64_T]
18437 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18438 __getrlimit64. Add libc_hidden_weak.
18439
31a98837
PD
184402018-01-06 Palmer Dabbelt <palmer@sifive.com>
18441
18442 * elf/elf.h (R_RISCV_NONE): New define.
18443 (R_RISCV_32): Likewise.
18444 (R_RISCV_64): Likewise.
18445 (R_RISCV_RELATIVE): Likewise.
18446 (R_RISCV_COPY): Likewise.
18447 (R_RISCV_JUMP_SLOT): Likewise.
18448 (R_RISCV_TLS_DTPMOD32): Likewise.
18449 (R_RISCV_TLS_DTPMOD64): Likewise.
18450 (R_RISCV_TLS_DTPREL32): Likewise.
18451 (R_RISCV_TLS_DTPREL64): Likewise.
18452 (R_RISCV_TLS_TPREL32): Likewise.
18453 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
18454 * Makerules (make-link-multidir): Make directories before linking into
18455 them.
150bbac1
PD
18456 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18457 define.
18458 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
18459 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18460 in subdirectories of lib.
8e13c51b
PD
18461 * nptl/Makefile (/librt.so): Always depend on
18462 "$(shared-thread-library)".
31a98837 18463
fad7d57e
ST
184642018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18465
18466 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
18467 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18468 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18469 (___tls_get_addr).
18470 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
18471 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18472 "-O2 -march=i686".
01c7e549 18473 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
18474 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18475 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18476 * sysdeps/gnu/glob-lstat-compat.c: New file.
18477 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 18478 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 18479
3a32b716
TMQMF
184802018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18481
18482 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18483 Reserve 16 chars to reloc_addr before calling _itoa_word.
18484
24731685
AJ
184852018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18486
18487 [BZ #22678]
18488 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18489 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18490
19be56d8
AJ
18491 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18492 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18493
a6d0afb5
AJ
18494 * resource/tst-getrlimit.c: Add copyright header.
18495
8e900969
AJ
184962018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18497 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18498
18499 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18500 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18501 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18502 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18503 instead.
18504 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18505 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18506 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18507 RLIM64_INFINITY): Fix values to match the kernel ones.
18508 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18509 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18510 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18511 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18512 getrlimit64@@GLIBC_2_27.
18513 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18514 and setrlimit64.
18515 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18516 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18517 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18518 setrlimit, getrlimit64 and setrlimit64.
18519
0d0bc784
AJ
185202018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18521
18522 [BZ #22648]
18523 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18524 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18525
ba374b6d
JM
185262018-01-04 Joseph Myers <joseph@codesourcery.com>
18527
18528 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18529 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18530 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18531
4854ddd8
AZ
185322018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18533
b0a4eca2
AZ
18534 [BZ #15479]
18535 [BZ #22666]
18536 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18537 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18538
4854ddd8
AZ
18539 [BZ #15479]
18540 [BZ #22665]
18541 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18542 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18543 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18544 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18545
8a5df95f
FW
185462018-01-04 Florian Weimer <fweimer@redhat.com>
18547
18548 [BZ #22667]
18549 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18550 Align the stack before calling exit.
18551 * stdlib/tst-makecontext-align.c: New file.
18552 * stdlib/Makefile (tests): Add tst-makecontext-align.
18553
82eef55f
FW
185542018-01-04 Florian Weimer <fweimer@redhat.com>
18555
18556 Add support for calling dlvsym from libc.so.
18557 * include/dlfcn.h (__libc_dlvsym): Declare.
18558 * elf/Makefile (tests-static-internal): Add
18559 tst-libc_dlvsym-static.
18560 (tests-internal): Add tst-libc_dlvsym.
18561 (modules-names): Add tst-libc_dlvsym-dso.
18562 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18563 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18564 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18565 object tst-libc_dlvsym-dso.so needs to be built before running
18566 these tests.
18567 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18568 * elf/Versions: Export __libc_dlvsym.
18569 * elf/dl-libc.c (struct do_dlvsym_args): New.
18570 (do_dlvsym, __libc_dlvsym): New functions.
18571 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18572 (_dl_open_hook2): New variable.
18573 (__libc_register_dl_open_hook): Set it.
18574 * elf/tst-libc_dlvsym-dso.c: New file.
18575 * elf/tst-libc_dlvsym-static.c: Likewise.
18576 * elf/tst-libc_dlvsym.c: Likewise.
18577 * elf/tst-libc_dlvsym.h: Likewise.
18578
1714fc06
ST
185792018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18580
18581 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18582 include <sys/mount.h>.
18583
3c7d0312
WD
185842018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18585
18586 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18587 Add __NO_MATH_ERRNO__ check.
18588
7eff0954
JM
185892018-01-02 Joseph Myers <joseph@codesourcery.com>
18590
18591 * sysdeps/mips/mips32/libm-test-ulps: Update.
18592 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18593
77f49956
FW
185942018-01-02 Florian Weimer <fweimer@redhat.com>
18595
18596 * misc/tst-pselect.c: Add copyright header.
18597
363e4519 185982018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
18599
18600 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18601 comment.
18602 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18603 comment.
18604 (settrlimit): Rename into setrlimit.
18605 (__sttrlimit): Rename into __setrlimit.
18606
3e4226ff
AJ
18607 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18608 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18609 never defined in that case.
18610
b9256ab6
JM
186112018-01-02 Joseph Myers <joseph@codesourcery.com>
18612
28fd6a44
JM
18613 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18614
a4933a15
JM
18615 * sysdeps/arm/libm-test-ulps: Update.
18616
b9256ab6
JM
18617 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18618 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18619
4cf82d23
RS
186202018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18621
18622 * NEWS: Add cosf and sincosf to list of optimized functions.
18623
6a9dd7a7
AJ
186242018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18625
18626 [BZ #22660]
18627 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18628 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18629 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18630 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18631
dbba87d5
DL
186322018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18633
b05cb613
DL
18634 [BZ #22433]
18635 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18636
dbba87d5
DL
18637 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18638 making a copy of it.
18639
688903eb
JM
186402018-01-01 Joseph Myers <joseph@codesourcery.com>
18641
66ac23de
JM
18642 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18643 trailing whitespace removed.
18644 * scripts/config.guess: Update to version 2018-01-01.
18645 * scripts/config.sub: Update to version 2018-01-01.
18646 * scripts/move-if-change: Update from gnulib.
18647
09533208
JM
18648 * NEWS: Update copyright dates.
18649 * catgets/gencat.c (print_version): Likewise.
18650 * csu/version.c (banner): Likewise.
18651 * debug/catchsegv.sh: Likewise.
18652 * debug/pcprofiledump.c (print_version): Likewise.
18653 * debug/xtrace.sh (do_version): Likewise.
18654 * elf/ldconfig.c (print_version): Likewise.
18655 * elf/ldd.bash.in: Likewise.
18656 * elf/pldd.c (print_version): Likewise.
18657 * elf/sotruss.sh: Likewise.
18658 * elf/sprof.c (print_version): Likewise.
18659 * iconv/iconv_prog.c (print_version): Likewise.
18660 * iconv/iconvconfig.c (print_version): Likewise.
18661 * locale/programs/locale.c (print_version): Likewise.
18662 * locale/programs/localedef.c (print_version): Likewise.
18663 * login/programs/pt_chown.c (print_version): Likewise.
18664 * malloc/memusage.sh (do_version): Likewise.
18665 * malloc/memusagestat.c (print_version): Likewise.
18666 * malloc/mtrace.pl: Likewise.
18667 * manual/libc.texinfo: Likewise.
18668 * nptl/version.c (banner): Likewise.
18669 * nscd/nscd.c (print_version): Likewise.
18670 * nss/getent.c (print_version): Likewise.
18671 * nss/makedb.c (print_version): Likewise.
18672 * posix/getconf.c (main): Likewise.
18673 * scripts/test-installation.pl: Likewise.
18674 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18675
688903eb
JM
18676 * All files with FSF copyright notices: Update copyright dates
18677 using scripts/update-copyrights.
18678 * locale/programs/charmap-kw.h: Regenerated.
18679 * locale/programs/locfile-kw.h: Likewise.
18680
4f820792
ZW
186812017-12-31 Zack Weinberg <zackw@panix.com>
18682
18683 * libio/bits/libio-ldbl.h: Correct check for improper
18684 inclusion. Add own multiple include guard.
18685
3e3c904d
AJ
186862017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18687 Dmitry V. Levin <ldv@altlinux.org>
18688
18689 [BZ #22625]
31f96325 18690 CVE-2017-16997
3e3c904d
AJ
18691 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18692 string token expansion. Check for NULL pointer or empty string possibly
18693 returned by expand_dynamic_string_token.
18694 (decompose_rpath): Check for empty path after dynamic string
18695 token expansion.
18696
7e21972b
DL
186972017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18698
c48831d0
DL
18699 [BZ #22433]
18700 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18701
ac583f50
DL
18702 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18703 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18704 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18705 and PTRACE_SYSCALL.
18706 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18707 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18708 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18709 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18710 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18711 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18712
7e21972b
DL
18713 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18714 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18715 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18716 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18718 bits/ptrace-shared.h.
18719 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18720 <bits/ptrace-shared.h>.
18721 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18722 __ptrace_peeksiginfo_flags, ptrace): Remove.
18723 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18724 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18725 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18726 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18727 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18728
72f29e3a
AJ
187292017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18730
18731 [BZ #17804]
18732 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18733 end of the loop. Improve comments.
18734
54e4efc2
AJ
187352017-12-29 Zack Weinberg <zackw@panix.com>
18736
18737 [BZ #22615]
18738 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18739 might be set on success.
18740
f8aa69be
AJ
187412017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18742
18743 [BZ #22611]
18744 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18745 is unchanged on success.
18746
97f13188
DL
187472017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18748
2bd86632
DL
18749 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18750 updated.
18751 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18752 expand_dynamic_string_token): Likewise.
18753 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18754 is_path argument.
18755
1c36e1e6
DL
18756 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18757 contains ':'.
18758
97f13188
DL
18759 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18760 is set and name contains ':', and all code depending on these checks.
18761
48a8f832
ZW
187622017-12-24 Zack Weinberg <zackw@panix.com>
18763
18764 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18765 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18766 respectively.
18767 * libio/libio.h: Rename the original version of this file to
18768 libio/bits/libio.h. Error out if not included by stdio.h or the
18769 stub libio.h.
18770 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18771 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18772 if not included by bits/libio.h or the stub _G_config.h.
18773 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18774 sysdeps/unix/sysv/linux/bits. Error out if not included by
18775 bits/libio.h or the stub _G_config.h.
18776 * libio/stdio.h: Include bits/libio.h, not libio.h.
18777 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18778 well as libio.h and _G_config.h.
18779
18780 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18781 * libio/strfile.h, stdio-common/vfscanf.c
18782 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18783 Include stdio.h, not _G_config.h nor libio.h.
18784 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18785 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18786
18787 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18788
a47ad79a
DL
187892017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18790
18791 [BZ #22347]
18792 * stdlib/getrandom.c (getrandom): Fix comment.
18793 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18794
363e4519 187952017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 18796
f5c558f3
AJ
18797 [BZ #21161]
18798 * manual/arith.texi (strtoul): Fix a typo.
18799
e65a5644
AJ
18800 [BZ #22596]
18801 * manual/arith.texi (finite): Fix the description of the return
18802 value.
18803
ed8ae46b
EB
188042017-12-22 Eric Blake <ebb9@byu.net>
18805
18806 Avoid gcc warnings on cygwin
18807 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18808 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18809 Avoid unused variable.
18810
bad7a0c8
FW
188112017-12-22 Florian Weimer <fweimer@redhat.com>
18812
18813 * io/Makefile (routines): Add copy_file_range.
18814 (tests): Add tst-copy_file_range.
18815 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18816 * io/Versions (GLIBC_2.27): Export copy_file_range.
18817 * io/copy_file_range-compat.c: New file.
18818 * io/copy_file_range.c: Likewise.
18819 * io/tst-copy_file_range-compat.c: Likewise.
18820 * io/tst-copy_file_range.c: Likewise.
18821 * manual/llio.texi (Copying File Data): New section.
18822 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18823 * support/Makefile (libsupport-routines): Add support-xfstat,
18824 xftruncate, xlseek.
18825 * support/support-xfstat.c: New file.
18826 * support/xftruncate.c: Likewise.
18827 * support/xlseek.c: Likewise.
18828 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18829 * sysdeps/unix/sysv/linux/**.abilist: Update.
18830 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18831
6cb86fd2
SN
188322017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18833
18834 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18835 disable-multi-arch variant to aarch64-linux-gnu.
18836
41d11b15
JM
188372017-12-20 Joseph Myers <joseph@codesourcery.com>
18838
18839 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18840 trailing whitespace removed.
18841 * scripts/config.guess: Update to version 2017-12-17.
18842 * scripts/config.sub: Update to version 2017-11-23.
18843 * scripts/install-sh: Update to version 2017-09-23.17.
18844 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18845
4735850f
AZ
188462017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18847
8d2d239c
AZ
18848 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18849 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18850 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18851 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18852 * sysdeps/tile/crtn.S: Likewise.
18853 * sysdeps/tile/dl-start.S (_start): Likewise.
18854 * sysdeps/tile/dl-trampoline.S: Likewise.
18855 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18856 * sysdeps/tile/start.S (_start): Likewise.
18857 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18858 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18859 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18860 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18861 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18862 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18863 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18864
24d1d8ec
AZ
18865 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18866 comment.
18867 * sysdeps/tile/preconfigure: Remove tilegx folder.
18868 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18869 * sysdeps/tile/Implies: ... here.
18870 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18871 * sysdeps/tile/Makefile: ... here.
18872 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18873 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18874 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18875 * sysdeps/tile/bits/wordsize.h: ... here.
18876 * sysdeps/tile/tilegx/*: Move to ...
18877 * sysdeps/tile/*: ... here.
18878 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18879 * sysdeps/tile/tilegx32/Implies: ... here.
18880 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18881 * sysdeps/tile/tilegx64/Implies: ... here.
18882 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18883 to ...
18884 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18885 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18886 * sysdeps/unix/sysv/linux/tile/*: ... here.
18887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18888 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18890 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18891
ed95f611
AZ
18892 * README: Remove tilepro-*-linux-gnu from supported architecture.
18893 * scripts/build-many-glibcs.py: Likewise.
18894 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18895 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18896 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18897 elf_machine_matches_host, elf_machine_dynamic,
18898 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18899 howto, elf_machine_rela): Likewise.
18900 * sysdeps/tile/dl-start.S (_start): Likewise.
18901 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18902 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18903 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18904 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18905 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18906 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18907 Likewise.
18908 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18909 * sysdeps/tile/preconfigure: Likewise.
18910 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18911 POINTER_CHK_GUARD): Likewise.
18912 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18913 * sysdeps/tile/start.S (_start): Likewise.
18914 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18915 Likewise.
18916 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18917 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18918 CMOVNEZ): Remove.
18919 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18920 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18921 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18922 Likewise.
18923 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18924 * sysdeps/tile/tilepro/Implies: Remove file.
18925 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18926 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18927 * sysdeps/tile/tilepro/memchr.c: Likewise.
18928 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18929 * sysdeps/tile/tilepro/memset.c: Likewise.
18930 * sysdeps/tile/tilepro/memusage.h: Likewise.
18931 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18932 * sysdeps/tile/tilepro/strchr.c: Likewise.
18933 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18934 * sysdeps/tile/tilepro/strlen.c: Likewise.
18935 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18936 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18937 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18938 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18939 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18940 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18941 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18942 Likewise.
18943 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18944 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18945 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18946 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18947 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18948 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18949 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18950 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18951 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18952 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18953 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18954 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18955 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18956 tilepro mention in comment.
18957
4735850f
AZ
18958 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18959 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18960 * nptl/pthread_join_common.c: New file: common function used on
18961 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18962 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18963 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18964 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18965 (cleanup): Move definition to pthread_join_common.c.
18966 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18967 Remove superflous checks.
18968 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18969 Likewise.
18970
8bfb461e
SN
189712017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18972
18973 * sysdeps/aarch64/libm-test-ulps: Update.
18974
4e001969
AZ
189752017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18976
18977 * sysdeps/aarch64/memset.S (MEMSET): Define.
18978
8a26ad2a
FW
189792017-12-20 Florian Weimer <fweimer@redhat.com>
18980
18981 [BZ #22635]
18982 nptl: Provide full implementation of pthread_self in libc.so.
18983 * nptl/Makefile (routines): Add pthread_self.
18984 (libpthread-routines): Replace pthread_self with
18985 compat-pthread_self.
18986 * nptl/forward.c (pthread_self): Remove.
18987 * nptl/nptl-init.c (pthread_functions): Do not initialize
18988 ptr_pthread_self.
18989 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18990 * nptl/compat-pthread_self.c: New file.
18991 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18992 Remove ptr_pthread_self.
18993
5069ff32
AR
189942017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18995
18996 * posix/regcomp.c: Fix spelling in comments.
18997 * posix/regex.h: Likewise.
18998 * posix/regex_internal.c: Likewise.
18999 * posix/regexec.c: Likewise.
19000
c85e54ac
GG
190012017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19002
19003 [BZ #22377]
19004 * math/Makefile [C++] (tests): Add test for iseqsig.
19005 * math/math.h [C++] (iseqsig): New implementation, which does
19006 not rely on __MATH_TG/__builtin_types_compatible_p.
19007 * math/test-math-iseqsig.cc: New file.
19008 * sysdeps/powerpc/powerpc64le/Makefile
19009 (CFLAGS-test-math-iseqsig.cc): New variable.
19010
10e93d96
DL
190112017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19012
19013 * elf/dl-load.c (is_trusted_path): Remove.
19014 (fillin_rpath): Remove check_trusted argument and its use,
19015 all callers changed.
19016
ce16eb52
L
190172017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19018
19019 [BZ #22630]
19020 * Makeconfig (link-pie-before-libc): Replace -pie with
19021 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19022 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19023 (tst-dlopen-aout-no-pie): New.
19024 (LDFLAGS-tst-prelink): Removed.
19025 (tst-prelink-no-pie): New.
19026 (LDFLAGS-tst-main1): Removed.
19027 (tst-main1-no-pie): New.
19028 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19029 (tst-gmon-no-pie): New.
19030
126adc89
L
190312017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19032
19033 * manual/install.texi: Document that --enable-static-pie
19034 implies PIE.
19035 * INSTALL: Regenerated.
19036
648615e1
BE
190372017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19038
19039 [BZ #21309]
19040 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19041 unsigned.
19042
f1e00502
JM
190432017-12-19 Joseph Myers <joseph@codesourcery.com>
19044
19045 Revert:
19046
19047 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19048
19049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19050
19051 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19052
19053 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19054 <errno.h>. Include "eexp.tbl".
19055 (half): New constant.
19056 (one): Likewise.
19057 (__ieee754_exp): Rewrite.
19058 (__slowexp): Remove prototype.
19059 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19060 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19061 * sysdeps/i386/fpu/slowexp.c: Likewise.
19062 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19063 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19064 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19065 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19066 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19067 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19068 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19069 comment.
19070 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19071 (CPPFLAGS-slowexp.c): Remove variable.
19072 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19073 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19074 (CFLAGS-slowexp-fma.c): Remove variable.
19075 (CFLAGS-slowexp-fma4.c): Likewise.
19076 (CFLAGS-slowexp-avx.c): Likewise.
19077 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19078 define as macro.
19079 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19080 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19081 * math/Makefile (type-double-routines): Remove slowexp.
19082 * manual/probes.texi (slowexp_p6): Remove.
19083 (slowexp_p32): Likewise.
19084
d711a00f
AZ
190852017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19086
e184ac3a
AZ
19087 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19088 arithmetic.
19089
d711a00f
AZ
19090 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19091
6f58c10d
JM
190922017-12-19 Joseph Myers <joseph@codesourcery.com>
19093
19094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19095
6fd0a3c6
PM
190962017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19097
19098 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19099 <errno.h>. Include "eexp.tbl".
19100 (half): New constant.
19101 (one): Likewise.
19102 (__ieee754_exp): Rewrite.
19103 (__slowexp): Remove prototype.
19104 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19105 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19106 * sysdeps/i386/fpu/slowexp.c: Likewise.
19107 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19108 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19109 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19110 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19111 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19112 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19113 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19114 comment.
19115 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19116 (CPPFLAGS-slowexp.c): Remove variable.
19117 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19118 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19119 (CFLAGS-slowexp-fma.c): Remove variable.
19120 (CFLAGS-slowexp-fma4.c): Likewise.
19121 (CFLAGS-slowexp-avx.c): Likewise.
19122 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19123 define as macro.
19124 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19125 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19126 * math/Makefile (type-double-routines): Remove slowexp.
19127 * manual/probes.texi (slowexp_p6): Remove.
19128 (slowexp_p32): Likewise.
19129
3bb1ef58 191302017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 19131 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
19132
19133 [BZ #22603]
19134 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19135 addition.
19136
554e3d51
AZ
191372017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19138
19139 [BZ #22605]
19140 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19141 code.
19142
cba595c3
L
191432017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19144
19145 [BZ #22563]
19146 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19147 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19148 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19149 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19150 to feature_1.
19151
f81ddabf
L
191522017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19153
19154 [BZ #22563]
19155 * bits/types/__cancel_jmp_buf_tag.h: New file.
19156 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19157 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19158 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19159 * nptl/Makefile (headers): Add
19160 bits/types/__cancel_jmp_buf_tag.h.
19161 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19162 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19163 * sysdeps/nptl/pthread.h: Include
19164 <bits/types/__cancel_jmp_buf_tag.h>.
19165 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19166 __cancel_jmp_buf.
19167 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19168
1a49fc59
L
191692017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19170
19171 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19172 --enable-static-pie variants to x86_64, x32 and i686.
19173
8e52f573
JM
191742017-12-19 Joseph Myers <joseph@codesourcery.com>
19175
66425185
JM
19176 [BZ #22631]
19177 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19178 argument for attrubutes. All callers changed.
19179 (__inline_mathop1): Likewise. All callers changed.
19180 (__inline_mathop): Likewise. All callers changed.
19181 [__USE_MISC] (scalbn): Use __inline_forward instead of
19182 __inline_forward_c.
19183 [__USE_ISOC99] (scalbln): Likewise.
19184 [__USE_ISOC99] (nearbyint): Likewise.
19185 [__USE_ISOC99] (lrint): Likewise.
19186 [__USE_MISC] (scalbnf): Likewise.
19187 [__USE_ISOC99] (scalblnf): Likewise.
19188 [__USE_ISOC99] (nearbyintf): Likewise.
19189 [__USE_ISOC99] (lrintf): Likewise.
19190 [__USE_MISC] (scalbnl): Likewise.
19191 [__USE_ISOC99] (scalblnl): Likewise.
19192 [__USE_ISOC99] (nearbyintl): Likewise.
19193 [__USE_ISOC99] (lrintl): Likewise.
19194 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19195 __inline_mathop and __m81_defun changed.
19196
8e52f573
JM
19197 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19198 CPU or FPU for ARM hard-float configurations.
19199
1421f39b
JM
192002017-12-18 Joseph Myers <joseph@codesourcery.com>
19201
40c4162d
JM
19202 * nptl/tst-attr3.c: Include <libc-diag.h>.
19203 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19204
5983df32
JM
19205 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19206
1421f39b
JM
19207 * string/tester.c (test_strncat): Also disable -Warray-bounds
19208 warnings for two tests.
19209
00c714df
L
192102017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19211
19212 [BZ #22614]
19213 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19214 $(cc-pie-default) == yes.
19215 * config.make.in (cc-pie-default): New.
19216 * configure.ac (libc_cv_pie_default): Renamed to ...
19217 (libc_cv_cc_pie_default): This.
19218 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19219 * configure: Regenerated.
19220
8e1472d2
FW
192212017-12-18 Florian Weimer <fweimer@redhat.com>
19222
19223 [BZ #20204]
19224 ld.so: Harden dl-libc/libdl hooks.
19225 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19226 (rtld_active): New function.
19227 * dlfcn/dladdr.c (__dladdr): Call it.
19228 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19229 * dlfcn/dlclose.c (__dlcose): Likewise.
19230 * dlfcn/dlerror.c (__dlerror): Likewise.
19231 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19232 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19233 * dlfcn/dlopen.c (__dlopen): Likewise.
19234 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19235 * dlfcn/dlsym.c (__dlsym): Likewise.
19236 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19237 * libio/vtables.c (_IO_vtable_check): Likewise.
19238 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19239 (__libc_dlclose): Likewise.
19240 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19241 assignment.
19242
49b036bc
JM
192432017-12-18 Joseph Myers <joseph@codesourcery.com>
19244
19245 [BZ #22446]
19246 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19247 buffers for readlink input and output.
19248
368b6c8d
ST
192492017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19250
c85c564d
ST
19251 [BZ #22624]
19252 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19253 inhibit_stack_protector.
19254
368b6c8d
ST
19255 [BZ #22624]
19256 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19257 inhibit_stack_protector.
19258
bb195224
DL
192592017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19260
19261 [BZ #22627]
19262 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19263 code and invocation.
19264
14d886ed
SN
192652017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19266
19267 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19268
7d38eb38
AJ
192692017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19270
19271 [BZ #22505]
19272 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19273
2e77deef
RS
192742017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19275
19276 * sysdeps/s390/fpu/libm-test-ulps: Update.
19277
0b9bef6d
RS
192782017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19279
19280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19281
984ae996
RS
192822017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19283
19284 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19285 constants to s_sincosf.h file.
19286 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19287 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19288 implementation.
19289 * sysdeps/ieee754/flt-32/s_sincosf.h:
19290 New file.
19291
363e4519 192922017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
19293
19294 [BZ #14681]
19295 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19296 before mtrace.
19297
9d7a3741
L
192982017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19299
19300 [BZ #19574]
19301 * INSTALL: Regenerated.
19302 * Makeconfig (real-static-start-installed-name): New.
19303 (pic-default): Updated for --enable-static-pie.
19304 (pie-default): New for --enable-static-pie.
19305 (default-pie-ldflag): Likewise.
19306 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19307 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19308 Replace $(static-start-installed-name) with
19309 $(real-static-start-installed-name).
19310 (+prectorT): Updated for --enable-static-pie.
19311 (+postctorT): Likewise.
19312 (CFLAGS-.o): Add $(pie-default).
19313 (CFLAGS-.op): Likewise.
19314 * NEWS: Mention --enable-static-pie.
19315 * config.h.in (ENABLE_STATIC_PIE): New.
19316 * configure.ac (--enable-static-pie): New configure option.
19317 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19318 (have-static-pie): Likewise.
19319 Enable static PIE if linker supports --no-dynamic-linker.
19320 (ENABLE_STATIC_PIE): New AC_DEFINE.
19321 (enable-static-pie): New LIBC_CONFIG_VAR.
19322 * configure: Regenerated.
19323 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19324 gr$(start-installed-name) for --enable-static-pie.
19325 (extra-objs): Likewise.
19326 (install-lib): Likewise.
19327 (extra-objs): Add static-reloc.o and static-reloc.os
19328 ($(objpfx)$(start-installed-name)): Also depend on
19329 $(objpfx)static-reloc.o.
19330 ($(objpfx)r$(start-installed-name)): New.
19331 ($(objpfx)g$(start-installed-name)): Also depend on
19332 $(objpfx)static-reloc.os.
19333 ($(objpfx)gr$(start-installed-name)): New.
19334 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19335 in libc.a.
19336 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19337 initimage.
19338 * csu/static-reloc.c: New file.
19339 * elf/Makefile (routines): Add dl-reloc-static-pie.
19340 (elide-routines.os): Likewise.
19341 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19342 (tst-tls1-static-non-pie-no-pie): New.
19343 * elf/dl-reloc-static-pie.c: New file.
19344 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19345 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19346 STATIC_PIE_BOOTSTRAP.
19347 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19348 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19349 (tests-static): Likewise.
19350 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19351 (tst-gmon-static-no-pie): New.
19352 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19353 (CRT-tst-gmon-static-pie): Likewise.
19354 (tst-gmon-static-pie-ENV): Likewise.
19355 (tests-special): Likewise.
19356 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19357 (clean-tst-gmon-static-pie-data): Likewise.
19358 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19359 * gmon/tst-gmon-static-pie.c: New file.
19360 * manual/install.texi: Document --enable-static-pie.
19361 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19362 (_dl_get_dl_main_map): Likewise.
19363 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19364 * sysdeps/x86_64/configure.ac: Likewise.
19365 * sysdeps/i386/configure: Regenerated.
19366 * sysdeps/x86_64/configure: Likewise.
19367 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19368 (ASFLAGS-.op): Likewise.
19369
95511aab
JM
193702017-12-15 Joseph Myers <joseph@codesourcery.com>
19371
19372 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19373 * posix/tst-mmap-offset.c (fname): Use /tmp.
19374 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19375
a7e3edf4
SE
193762017-12-15 Steve Ellcey <sellcey@cavium.com>
19377
19378 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19379
d232f2e1
TS
193802017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19381
19382 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19383 errno.
19384
174edbde
JM
193852017-12-15 Joseph Myers <joseph@codesourcery.com>
19386
5170fa49
JM
19387 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19388 --with-float=hard for arm-linux-gnueabihf configurations.
19389
f2da2fd8
JM
19390 [BZ #14121]
19391 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19392 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19393 ($(mo-installed)): Use $(objpfx)%.mo.
19394 (realclean): Remove rule.
19395
0c4fe28d
JM
19396 * po/Makefile (linguas): Remove rule and dependencies.
19397 (linguas.mo): Likewise.
19398 (.PHONY): Do not depend on linguas and linguas.mo.
19399 (podir): Remove variable.
19400 (pofiles): Likewise.
19401 [$(pofiles)] (%.po): Remove rule.
19402
174edbde
JM
19403 * sysdeps/sparc/sparc32/Makefile
19404 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19405 start-of-line whitespace in argument of echo.
19406 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19407 with whitespace. Generate __wrap_.udiv alias.
19408 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19409 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19410 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19411 * sysdeps/sparc/sparc32/urem.S: Likewise.
19412
1e36806f
RS
194132017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19414
19415 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19416 for aligned inputs.
19417
aa6932aa
SP
194182017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19419
5f1603c3
SP
19420 * benchtests/bench-strcmp.c: Print output in JSON format.
19421
aa6932aa
SP
19422 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19423
3ff3dfa5
FW
194242017-12-14 Florian Weimer <fweimer@redhat.com>
19425
19426 [BZ #22607]
19427 CVE-2017-1000409
19428 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19429 the expanded path string.
19430
8a0b17e4
FW
194312017-12-14 Florian Weimer <fweimer@redhat.com>
19432
19433 [BZ #22606]
19434 CVE-2017-1000408
19435 * elf/dl-load.c (system_dirs): Update comment.
19436 (nsystem_dirs_len): Use array_length.
19437 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19438
f58bd7f0
FW
194392017-12-14 Florian Weimer <fweimer@redhat.com>
19440
19441 Simplify compiling most of support/ outside of glibc.
19442 * support/check_addrinfo.c: Include <string.h>.
19443 * support/check_dns_packet.c: Likewise.
19444 * support/check_hostent.c: Likewise.
19445 * support/support_can_chroot.c: Include <support/xunistd.h>.
19446 * support/support_format_addrinfo.c: Include <stdlib.h>
19447 * support/support_format_dns_packet.c: Include <stdbool.h>.
19448 * support/support_format_hostent.c: Include <stdlib.h>.
19449 * support/support_format_netent.c: Likewise.
19450 * support/support_write_string.c: Include <support/xunistd.h>.
19451 * support/xdlfcn.c: Include <stddef.h>.
19452
4ca945e9
L
194532017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19454
19455 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19456
1b6e07f8
PM
194572017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19458 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19459
e6a1c5dc
PM
19460 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19461 (sysdeps_routines): Add memset-niagara7.
19462 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19463 Likewise.
19464 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19465 file.
19466 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19467 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19468 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19469 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19470 Add niagara7 option.
19471 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19472 memset.
19473
1b6e07f8
PM
19474 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19475 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19476 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19477 Likewise.
19478 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19479 New file.
19480 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19481 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19482 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19483 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19484 and __memmove_niagara7.
19485 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19486 Add niagara7 option.
19487 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19488 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19489 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19490 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19491 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19492
bfb7bf22
JM
194932017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19494
767a26d6
JM
19495 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19496 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19497 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19498 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19499
bfb7bf22
JM
19500 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19501 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19502 _dl_sparc_cap_flags array.
19503 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19504
2bce01eb
SP
195052017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19506
19507 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19508 time whenever possible.
19509
363e4519 195102017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
19511
19512 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19513 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19514
6f7c0092
JM
195152017-12-12 Joseph Myers <joseph@codesourcery.com>
19516
19517 * soft-fp/fmadf4.c: Move to ....
19518 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19519 * soft-fp/fmasf4.c: Move to ....
19520 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19521 * soft-fp/fmatf4.c: Move to ....
19522 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19523 * sysdeps/ieee754/soft-fp/Makefile: New file.
19524 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19525 * sysdeps/arm/preconfigure: Regenerated.
19526 * sysdeps/arm/nofpu/Implies: New file.
19527 * sysdeps/arm/s_fma.c: Remove file.
19528 * sysdeps/arm/s_fmaf.c: Likewise.
19529 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19530 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19531 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19532 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19533 * sysdeps/microblaze/s_fma.c: Remove file.
19534 * sysdeps/microblaze/s_fmaf.c: Likewise.
19535 * sysdeps/mips/mips32/nofpu/Implies: New file.
19536 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19537 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19538 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19539 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19540 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19541 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19542 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19543 implementation.
19544 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19545 * sysdeps/nios2/s_fma.c: Remove file.
19546 * sysdeps/nios2/s_fmaf.c: Likewise.
19547 * sysdeps/sh/nofpu/Implies: New file.
19548 * sysdeps/sh/s_fma.c: Remove file.
19549 * sysdeps/sh/s_fmaf.c: Likewise.
19550 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19551 * sysdeps/tile/s_fma.c: Remove file.
19552 * sysdeps/tile/s_fmaf.c: Likewise.
19553
ac817e08
L
195542017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19555
19556 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19557 Add s_cosf-sse2 and s_cosf-fma.
19558 (CFLAGS-s_cosf-fma.c): New.
19559 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19560 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19561 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19562
eb428576
SE
195632017-12-12 Steve Ellcey <sellcey@cavium.com>
19564
19565 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19566
c80acdc3
AZ
195672017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19568
cc683f7e
AZ
19569 * libio/Makefile (tests): Add tst-bz22415.
19570 (tst-bz22415-ENV): New rule.
19571 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19572 (tests-special): Add tst-bz22415-mem.out.
19573 ($(objpfx)tst-bz22415-mem.out): New rule.
19574 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19575 in case of a successful seek operation.
19576 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19577 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19578 buffer is required.
19579 * libio/tst-bz22415.c: New test.
19580
c80acdc3
AZ
19581 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19582
363e4519 195832017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
19584
19585 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19586 __IPC_64 to 0 to avoid IPC_64 being set.
19587
4e0dca54
SN
195882017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19589
19590 [BZ #22593]
19591 * math/bits/mathcalls.h (nextafter): Remove const.
19592 (nexttoward): Likewise.
19593
8df5d347
JM
195942017-12-12 Joseph Myers <joseph@codesourcery.com>
19595
19596 * configure.ac (--with-fp): Remove configure option.
19597 (with_fp_cond): New variable.
19598 (libc_cv_with_fp): New configure test. Use this variable instead
19599 of with_fp.
19600 * configure: Regenerated.
19601 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19602 * manual/install.texi (Configuring and compiling): Remove
19603 --without-fp.
19604 * INSTALL: Regenerated.
19605 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19606 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19607 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19608 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19609 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19610 use --without-fp to configure glibc.
19611
0cee1257
RJ
196122017-12-12 Rical Jasan <ricaljasan@pacific.net>
19613
19614 * manual/locale.texi (nl_langinfo): Fix a typo.
19615
363e4519 196162017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
19617
19618 [BZ #22588]
19619 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19620
36975e8e
L
196212017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19622
19623 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19624 (CFLAGS-argp-parse.c): Likewise.
19625 (CFLAGS-argp-fmtstream.c): Likewise.
19626 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19627 (CPPFLAGS-sha512-crypt.c): Likewise.
19628 (CPPFLAGS-md5-crypt.c): Likewise.
19629 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19630 (CFLAGS-stack_chk_fail_local.c): Likewise.
19631 (CFLAGS-backtrace.c): Likewise.
19632 (CFLAGS-sprintf_chk.c): Likewise.
19633 (CFLAGS-snprintf_chk.c): Likewise.
19634 (CFLAGS-vsprintf_chk.c): Likewise.
19635 (CFLAGS-vsnprintf_chk.c): Likewise.
19636 (CFLAGS-asprintf_chk.c): Likewise.
19637 (CFLAGS-vasprintf_chk.c): Likewise.
19638 (CFLAGS-obprintf_chk.c): Likewise.
19639 (CFLAGS-dprintf_chk.c): Likewise.
19640 (CFLAGS-vdprintf_chk.c): Likewise.
19641 (CFLAGS-printf_chk.c): Likewise.
19642 (CFLAGS-fprintf_chk.c): Likewise.
19643 (CFLAGS-vprintf_chk.c): Likewise.
19644 (CFLAGS-vfprintf_chk.c): Likewise.
19645 (CFLAGS-gets_chk.c): Likewise.
19646 (CFLAGS-fgets_chk.c): Likewise.
19647 (CFLAGS-fgets_u_chk.c): Likewise.
19648 (CFLAGS-fread_chk.c): Likewise.
19649 (CFLAGS-fread_u_chk.c): Likewise.
19650 (CFLAGS-swprintf_chk.c): Likewise.
19651 (CFLAGS-vswprintf_chk.c): Likewise.
19652 (CFLAGS-wprintf_chk.c): Likewise.
19653 (CFLAGS-fwprintf_chk.c): Likewise.
19654 (CFLAGS-vwprintf_chk.c): Likewise.
19655 (CFLAGS-vfwprintf_chk.c): Likewise.
19656 (CFLAGS-fgetws_chk.c): Likewise.
19657 (CFLAGS-fgetws_u_chk.c): Likewise.
19658 (CFLAGS-read_chk.c): Likewise.
19659 (CFLAGS-pread_chk.c): Likewise.
19660 (CFLAGS-pread64_chk.c): Likewise.
19661 (CFLAGS-recv_chk.c): Likewise.
19662 (CFLAGS-recvfrom_chk.c): Likewise.
19663 (CFLAGS-tst-longjmp_chk.c): Likewise.
19664 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19665 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19666 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19667 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19668 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19669 (CFLAGS-tst-chk1.c): Likewise.
19670 (CFLAGS-tst-chk2.c): Likewise.
19671 (CFLAGS-tst-chk3.c): Likewise.
19672 (CFLAGS-tst-chk4.cc): Likewise.
19673 (CFLAGS-tst-chk5.cc): Likewise.
19674 (CFLAGS-tst-chk6.cc): Likewise.
19675 (CFLAGS-tst-lfschk1.c): Likewise.
19676 (CFLAGS-tst-lfschk2.c): Likewise.
19677 (CFLAGS-tst-lfschk3.c): Likewise.
19678 (CFLAGS-tst-lfschk4.cc): Likewise.
19679 (CFLAGS-tst-lfschk5.cc): Likewise.
19680 (CFLAGS-tst-lfschk6.cc): Likewise.
19681 (CFLAGS-tst-ssp-1.c): Likewise.
19682 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19683 (CFLAGS-scandir64.c): Likewise.
19684 (CFLAGS-scandir-tail.c): Likewise.
19685 (CFLAGS-scandir64-tail.c): Likewise.
19686 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19687 (CFLAGS-dl-tunables.c): Likewise.
19688 (CFLAGS-dl-runtime.c): Likewise.
19689 (CFLAGS-dl-lookup.c): Likewise.
19690 (CFLAGS-dl-iterate-phdr.c): Likewise.
19691 (CFLAGS-vismain.c): Likewise.
19692 (CFLAGS-tst-linkall-static.c): Likewise.
19693 (CFLAGS-tst-linkall-static.c): Likewise.
19694 (CPPFLAGS-dl-load.c): Likewise.
19695 (CFLAGS-ldconfig.c): Likewise.
19696 (CFLAGS-dl-cache.c): Likewise.
19697 (CFLAGS-cache.c): Likewise.
19698 (CFLAGS-rtld.c): Likewise.
19699 (CFLAGS-multiload.c): Likewise.
19700 (CFLAGS-filtmod1.c): Likewise.
19701 (CFLAGS-tst-align.c): Likewise.
19702 (CFLAGS-tst-align2.c): Likewise.
19703 (CFLAGS-tst-alignmod.c): Likewise.
19704 (CFLAGS-tst-alignmod2.c): Likewise.
19705 (CPPFLAGS-tst-execstack.c): Likewise.
19706 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19707 (CFLAGS-tst-latepthreadmod.c): Likewise.
19708 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19709 (CFLAGS-getgrnam_r.c): Likewise.
19710 (CFLAGS-getgrent_r.c): Likewise.
19711 (CFLAGS-getgrent.c): Likewise.
19712 (CFLAGS-fgetgrent.c): Likewise.
19713 (CFLAGS-fgetgrent_r.c): Likewise.
19714 (CFLAGS-putgrent.c): Likewise.
19715 (CFLAGS-initgroups.c): Likewise.
19716 (CFLAGS-getgrgid.c): Likewise.
19717 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19718 (CFLAGS-getsgent.c): Likewise.
19719 (CFLAGS-fgetsgent.c): Likewise.
19720 (CFLAGS-fgetsgent_r.c): Likewise.
19721 (CFLAGS-putsgent.c): Likewise.
19722 (CFLAGS-getsgnam.c): Likewise.
19723 (CFLAGS-getsgnam_r.c): Likewise.
19724 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19725 (CFLAGS-iconv_charmap.c): Likewise.
19726 (CFLAGS-dummy-repertoire.c): Likewise.
19727 (CFLAGS-charmap.c): Likewise.
19728 (CFLAGS-linereader.c): Likewise.
19729 (CFLAGS-simple-hash.c): Likewise.
19730 (CFLAGS-gconv_conf.c): Likewise.
19731 (CFLAGS-iconvconfig.c): Likewise.
19732 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19733 (CFLAGS-gethstbyad.c): Likewise.
19734 (CFLAGS-gethstbynm_r.c): Likewise.
19735 (CFLAGS-gethstbynm.c): Likewise.
19736 (CFLAGS-gethstbynm2_r.c): Likewise.
19737 (CFLAGS-gethstbynm2.c): Likewise.
19738 (CFLAGS-gethstent_r.c): Likewise.
19739 (CFLAGS-gethstent.c): Likewise.
19740 (CFLAGS-rcmd.c): Likewise.
19741 (CFLAGS-getnetbynm_r.c): Likewise.
19742 (CFLAGS-getnetbynm.c): Likewise.
19743 (CFLAGS-getnetbyad_r.c): Likewise.
19744 (CFLAGS-getnetbyad.c): Likewise.
19745 (CFLAGS-getnetent_r.c): Likewise.
19746 (CFLAGS-getnetent.c): Likewise.
19747 (CFLAGS-getaliasent_r.c): Likewise.
19748 (CFLAGS-getaliasent.c): Likewise.
19749 (CFLAGS-getrpcent_r.c): Likewise.
19750 (CFLAGS-getrpcent.c): Likewise.
19751 (CFLAGS-getservent_r.c): Likewise.
19752 (CFLAGS-getservent.c): Likewise.
19753 (CFLAGS-getprtent_r.c): Likewise.
19754 (CFLAGS-getprtent.c): Likewise.
19755 (CFLAGS-either_ntoh.c): Likewise.
19756 (CFLAGS-either_hton.c): Likewise.
19757 (CFLAGS-getnetgrent.c): Likewise.
19758 (CFLAGS-getnetgrent_r.c): Likewise.
19759 (CFLAGS-tst-checks-posix.c): Likewise.
19760 (CFLAGS-tst-sockaddr.c): Likewise.
19761 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19762 (CFLAGS-tst-translit.c): Likewise.
19763 (CFLAGS-tst-gettext2.c): Likewise.
19764 (CFLAGS-tst-codeset.c): Likewise.
19765 (CFLAGS-tst-gettext3.c): Likewise.
19766 (CFLAGS-tst-gettext4.c): Likewise.
19767 (CFLAGS-tst-gettext5.c): Likewise.
19768 (CFLAGS-tst-gettext6.c): Likewise.
19769 * io/Makefile (CFLAGS-open.c): Likewise.
19770 (CFLAGS-open64.c): Likewise.
19771 (CFLAGS-creat.c): Likewise.
19772 (CFLAGS-creat64.c): Likewise.
19773 (CFLAGS-fcntl.c): Likewise.
19774 (CFLAGS-poll.c): Likewise.
19775 (CFLAGS-ppoll.c): Likewise.
19776 (CFLAGS-lockf.c): Likewise.
19777 (CFLAGS-statfs.c): Likewise.
19778 (CFLAGS-fstatfs.c): Likewise.
19779 (CFLAGS-statvfs.c): Likewise.
19780 (CFLAGS-fstatvfs.c): Likewise.
19781 (CFLAGS-fts.c): Likewise.
19782 (CFLAGS-fts64.c): Likewise.
19783 (CFLAGS-ftw.c): Likewise.
19784 (CFLAGS-ftw64.c): Likewise.
19785 (CFLAGS-lockf.c): Likewise.
19786 (CFLAGS-posix_fallocate.c): Likewise.
19787 (CFLAGS-posix_fallocate64.c): Likewise.
19788 (CFLAGS-fallocate.c): Likewise.
19789 (CFLAGS-fallocate64.c): Likewise.
19790 (CFLAGS-read.c): Likewise.
19791 (CFLAGS-write.c): Likewise.
19792 (CFLAGS-test-stat.c): Likewise.
19793 (CFLAGS-test-lfs.c): Likewise.
19794 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19795 (CFLAGS-fputc.c): Likewise.
19796 (CFLAGS-fputwc.c): Likewise.
19797 (CFLAGS-freopen64.c): Likewise.
19798 (CFLAGS-freopen.c): Likewise.
19799 (CFLAGS-fseek.c): Likewise.
19800 (CFLAGS-fseeko64.c): Likewise.
19801 (CFLAGS-fseeko.c): Likewise.
19802 (CFLAGS-ftello64.c): Likewise.
19803 (CFLAGS-ftello.c): Likewise.
19804 (CFLAGS-fwide.c): Likewise.
19805 (CFLAGS-genops.c): Likewise.
19806 (CFLAGS-getc.c): Likewise.
19807 (CFLAGS-getchar.c): Likewise.
19808 (CFLAGS-getwc.c): Likewise.
19809 (CFLAGS-getwchar.c): Likewise.
19810 (CFLAGS-iofclose.c): Likewise.
19811 (CFLAGS-iofflush.c): Likewise.
19812 (CFLAGS-iofgetpos64.c): Likewise.
19813 (CFLAGS-iofgetpos.c): Likewise.
19814 (CFLAGS-iofgets.c): Likewise.
19815 (CFLAGS-iofgetws.c): Likewise.
19816 (CFLAGS-iofputs.c): Likewise.
19817 (CFLAGS-iofputws.c): Likewise.
19818 (CFLAGS-iofread.c): Likewise.
19819 (CFLAGS-iofsetpos64.c): Likewise.
19820 (CFLAGS-iofsetpos.c): Likewise.
19821 (CFLAGS-ioftell.c): Likewise.
19822 (CFLAGS-iofwrite.c): Likewise.
19823 (CFLAGS-iogetdelim.c): Likewise.
19824 (CFLAGS-iogetline.c): Likewise.
19825 (CFLAGS-iogets.c): Likewise.
19826 (CFLAGS-iogetwline.c): Likewise.
19827 (CFLAGS-ioputs.c): Likewise.
19828 (CFLAGS-ioseekoff.c): Likewise.
19829 (CFLAGS-ioseekpos.c): Likewise.
19830 (CFLAGS-iosetbuffer.c): Likewise.
19831 (CFLAGS-iosetvbuf.c): Likewise.
19832 (CFLAGS-ioungetc.c): Likewise.
19833 (CFLAGS-ioungetwc.c): Likewise.
19834 (CFLAGS-oldfileops.c): Likewise.
19835 (CFLAGS-oldiofclose.c): Likewise.
19836 (CFLAGS-oldiofgetpos64.c): Likewise.
19837 (CFLAGS-oldiofgetpos.c): Likewise.
19838 (CFLAGS-oldiofsetpos64.c): Likewise.
19839 (CFLAGS-oldiofsetpos.c): Likewise.
19840 (CFLAGS-peekc.c): Likewise.
19841 (CFLAGS-putc.c): Likewise.
19842 (CFLAGS-putchar.c): Likewise.
19843 (CFLAGS-putwc.c): Likewise.
19844 (CFLAGS-putwchar.c): Likewise.
19845 (CFLAGS-rewind.c): Likewise.
19846 (CFLAGS-wfileops.c): Likewise.
19847 (CFLAGS-wgenops.c): Likewise.
19848 (CFLAGS-oldiofopen.c): Likewise.
19849 (CFLAGS-iofopen.c): Likewise.
19850 (CFLAGS-iofopen64.c): Likewise.
19851 (CFLAGS-oldtmpfile.c): Likewise.
19852 (CFLAGS-tst_putwc.c): Likewise.
19853 * locale/Makefile (CFLAGS-md5.c): Likewise.
19854 (CFLAGS-charmap.c): Likewise.
19855 (CFLAGS-locfile.c): Likewise.
19856 (CFLAGS-charmap-dir.c): Likewise.
19857 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19858 (CFLAGS-getpt.c): Likewise.
19859 (CFLAGS-pt_chown.c): Likewise.
19860 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19861 (CFLAGS-obstack.c): Likewise.
19862 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19863 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19864 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19865 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19866 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19867 (CFLAGS-test-tgmath.c): Likewise.
19868 (CFLAGS-test-tgmath2.c): Likewise.
19869 (CFLAGS-test-tgmath-ret.c): Likewise.
19870 (CFLAGS-test-powl.c): Likewise.
19871 (CFLAGS-test-snan.c): Likewise.
19872 (CFLAGS-test-signgam-finite.c): Likewise.
19873 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19874 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19875 (CFLAGS-test-signgam-uchar.c): Likewise.
19876 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19877 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19878 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19879 (CFLAGS-test-signgam-uint.c): Likewise.
19880 (CFLAGS-test-signgam-uint-init.c): Likewise.
19881 (CFLAGS-test-signgam-uint-static.c): Likewise.
19882 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19883 (CFLAGS-test-signgam-ullong.c): Likewise.
19884 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19885 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19886 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19887 (CFLAGS-test-math-cxx11.cc): Likewise.
19888 (CFLAGS-test-math-isinff.cc): Likewise.
19889 (CFLAGS-test-math-iszero.cc): Likewise.
19890 (CFLAGS-test-math-issignaling.cc): Likewise.
19891 (CFLAGS-test-math-iscanonical.cc): Likewise.
19892 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19893 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19894 (CFLAGS-test-flt-eval-method.c): Likewise.
19895 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19896 (CFLAGS-test-finite-macros.c): Likewise.
19897 * misc/Makefile (CFLAGS-select.c): Likewise.
19898 (CFLAGS-tsearch.c): Likewise.
19899 (CFLAGS-lsearch.c): Likewise.
19900 (CFLAGS-pselect.c): Likewise.
19901 (CFLAGS-readv.c): Likewise.
19902 (CFLAGS-writev.c): Likewise.
19903 (CFLAGS-preadv.c): Likewise.
19904 (CFLAGS-preadv64.c): Likewise.
19905 (CFLAGS-pwritev.c): Likewise.
19906 (CFLAGS-pwritev64.c): Likewise.
19907 (CFLAGS-preadv2.c): Likewise.
19908 (CFLAGS-preadv64v2.c): Likewise.
19909 (CFLAGS-pwritev2.c): Likewise.
19910 (CFLAGS-pwritev64v2.c): Likewise.
19911 (CFLAGS-usleep.c): Likewise.
19912 (CFLAGS-syslog.c): Likewise.
19913 (CFLAGS-error.c): Likewise.
19914 (CFLAGS-getpass.c): Likewise.
19915 (CFLAGS-mkstemp.c): Likewise.
19916 (CFLAGS-mkstemp64.c): Likewise.
19917 (CFLAGS-getsysstats.c): Likewise.
19918 (CFLAGS-getusershell.c): Likewise.
19919 (CFLAGS-err.c): Likewise.
19920 (CFLAGS-tst-tsearch.c): Likewise.
19921 (CFLAGS-msync.c): Likewise.
19922 (CFLAGS-fdatasync.c): Likewise.
19923 (CFLAGS-fsync.c): Likewise.
19924 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19925 (CFLAGS-unwind.c): Likewise.
19926 (CFLAGS-unwind-forcedunwind.c): Likewise.
19927 (CFLAGS-pthread_cancel.c): Likewise.
19928 (CFLAGS-pthread_setcancelstate.c): Likewise.
19929 (CFLAGS-pthread_setcanceltype.c): Likewise.
19930 (CFLAGS-cancellation.c): Likewise.
19931 (CFLAGS-libc-cancellation.c): Likewise.
19932 (CFLAGS-pthread_exit.c): Likewise.
19933 (CFLAGS-forward.c): Likewise.
19934 (CFLAGS-pthread_testcancel.c): Likewise.
19935 (CFLAGS-pthread_join.c): Likewise.
19936 (CFLAGS-pthread_timedjoin.c): Likewise.
19937 (CFLAGS-pthread_once.c): Likewise.
19938 (CFLAGS-pthread_cond_wait.c): Likewise.
19939 (CFLAGS-sem_wait.c): Likewise.
19940 (CFLAGS-sem_timedwait.c): Likewise.
19941 (CFLAGS-fcntl.c): Likewise.
19942 (CFLAGS-lockf.c): Likewise.
19943 (CFLAGS-pread.c): Likewise.
19944 (CFLAGS-pread64.c): Likewise.
19945 (CFLAGS-pwrite.c): Likewise.
19946 (CFLAGS-pwrite64.c): Likewise.
19947 (CFLAGS-wait.c): Likewise.
19948 (CFLAGS-waitpid.c): Likewise.
19949 (CFLAGS-sigwait.c): Likewise.
19950 (CFLAGS-msgrcv.c): Likewise.
19951 (CFLAGS-msgsnd.c): Likewise.
19952 (CFLAGS-tcdrain.c): Likewise.
19953 (CFLAGS-open.c): Likewise.
19954 (CFLAGS-open64.c): Likewise.
19955 (CFLAGS-pause.c): Likewise.
19956 (CFLAGS-recv.c): Likewise.
19957 (CFLAGS-send.c): Likewise.
19958 (CFLAGS-accept.c): Likewise.
19959 (CFLAGS-sendto.c): Likewise.
19960 (CFLAGS-connect.c): Likewise.
19961 (CFLAGS-recvfrom.c): Likewise.
19962 (CFLAGS-recvmsg.c): Likewise.
19963 (CFLAGS-sendmsg.c): Likewise.
19964 (CFLAGS-close.c): Likewise.
19965 (CFLAGS-read.c): Likewise.
19966 (CFLAGS-write.c): Likewise.
19967 (CFLAGS-nanosleep.c): Likewise.
19968 (CFLAGS-sigsuspend.c): Likewise.
19969 (CFLAGS-msync.c): Likewise.
19970 (CFLAGS-fdatasync.c): Likewise.
19971 (CFLAGS-fsync.c): Likewise.
19972 (CFLAGS-pt-system.c): Likewise.
19973 (CFLAGS-tst-cleanup2.c): Likewise.
19974 (CFLAGS-tst-cleanupx2.c): Likewise.
19975 (CFLAGS-flockfile.c): Likewise.
19976 (CFLAGS-ftrylockfile.c): Likewise.
19977 (CFLAGS-funlockfile.c): Likewise.
19978 (CFLAGS-tst-initializers1.c): Likewise.
19979 (CFLAGS-tst-initializers1-c89.c): Likewise.
19980 (CFLAGS-tst-initializers1-c99.c): Likewise.
19981 (CFLAGS-tst-initializers1-c11.c): Likewise.
19982 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19983 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19984 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19985 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19986 (CFLAGS-nscd_getgr_r.c): Likewise.
19987 (CFLAGS-nscd_gethst_r.c): Likewise.
19988 (CFLAGS-nscd_getai.c): Likewise.
19989 (CFLAGS-nscd_initgroups.c): Likewise.
19990 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19991 (CFLAGS-pause.c): Likewise.
19992 (CFLAGS-pread.c): Likewise.
19993 (CFLAGS-pread64.c): Likewise.
19994 (CFLAGS-pwrite.c): Likewise.
19995 (CFLAGS-pwrite64.c): Likewise.
19996 (CFLAGS-sleep.c): Likewise.
19997 (CFLAGS-wait.c): Likewise.
19998 (CFLAGS-waitid.c): Likewise.
19999 (CFLAGS-waitpid.c): Likewise.
20000 (CFLAGS-getopt.c): Likewise.
20001 (CFLAGS-wordexp.c): Likewise.
20002 (CFLAGS-sysconf.c): Likewise.
20003 (CFLAGS-pathconf.c): Likewise.
20004 (CFLAGS-fpathconf.c): Likewise.
20005 (CFLAGS-spawn.c): Likewise.
20006 (CFLAGS-spawnp.c): Likewise.
20007 (CFLAGS-spawni.c): Likewise.
20008 (CFLAGS-glob.c): Likewise.
20009 (CFLAGS-glob64.c): Likewise.
20010 (CFLAGS-getconf.c): Likewise.
20011 (CFLAGS-nanosleep.c): Likewise.
20012 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20013 (CFLAGS-getpwent.c): Likewise.
20014 (CFLAGS-getpw.c): Likewise.
20015 (CFLAGS-fgetpwent_r.c): Likewise.
20016 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20017 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20018 (CFLAGS-mq_timedreceive.c): Likewise.
20019 (CFLAGS-mq_timedsend.c): Likewise.
20020 (CFLAGS-clock_nanosleep.c): Likewise.
20021 (CFLAGS-librt-cancellation.c): Likewise.
20022 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20023 (CFLAGS-getspent.c): Likewise.
20024 (CFLAGS-fgetspent.c): Likewise.
20025 (CFLAGS-fgetspent_r.c): Likewise.
20026 (CFLAGS-putspent.c): Likewise.
20027 (CFLAGS-getspnam.c): Likewise.
20028 (CFLAGS-getspnam_r.c): Likewise.
20029 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20030 (CFLAGS-sigsuspend.c): Likewise.
20031 (CFLAGS-sigtimedwait.c): Likewise.
20032 (CFLAGS-sigwait.c): Likewise.
20033 (CFLAGS-sigwaitinfo.c): Likewise.
20034 (CFLAGS-sigreturn.c): Likewise.
20035 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20036 (CFLAGS-vfwprintf.c): Likewise.
20037 (CFLAGS-tmpfile.c): Likewise.
20038 (CFLAGS-tmpfile64.c): Likewise.
20039 (CFLAGS-tempname.c): Likewise.
20040 (CFLAGS-psignal.c): Likewise.
20041 (CFLAGS-vprintf.c): Likewise.
20042 (CFLAGS-cuserid.c): Likewise.
20043 (CFLAGS-errlist.c): Likewise.
20044 (CFLAGS-siglist.c): Likewise.
20045 (CFLAGS-scanf15.c): Likewise.
20046 (CFLAGS-scanf17.c): Likewise.
20047 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20048 (CFLAGS-msort.c): Likewise.
20049 (CFLAGS-qsort.c): Likewise.
20050 (CFLAGS-system.c): Likewise.
20051 (CFLAGS-fmtmsg.c): Likewise.
20052 (CFLAGS-strfmon.c): Likewise.
20053 (CFLAGS-strfmon_l.c): Likewise.
20054 (CFLAGS-strfromd.c): Likewise.
20055 (CFLAGS-strfromf.c): Likewise.
20056 (CFLAGS-strfroml.c): Likewise.
20057 (CFLAGS-tst-bsearch.c): Likewise.
20058 (CFLAGS-tst-qsort.c): Likewise.
20059 (CFLAGS-tst-makecontext2.c): Likewise.
20060 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20061 (CFLAGS-xnlm_prot.c): Likewise.
20062 (CFLAGS-xrstat.c): Likewise.
20063 (CFLAGS-xyppasswd.c): Likewise.
20064 (CFLAGS-xklm_prot.c): Likewise.
20065 (CFLAGS-xrex.c): Likewise.
20066 (CFLAGS-xsm_inter.c): Likewise.
20067 (CFLAGS-xmount.c): Likewise.
20068 (CFLAGS-xrusers.c): Likewise.
20069 (CFLAGS-xspray.c): Likewise.
20070 (CFLAGS-xnfs_prot.c): Likewise.
20071 (CFLAGS-xrquota.c): Likewise.
20072 (CFLAGS-xkey_prot.c): Likewise.
20073 (CFLAGS-auth_unix.c): Likewise.
20074 (CFLAGS-key_call.c): Likewise.
20075 (CFLAGS-pmap_rmt.c): Likewise.
20076 (CFLAGS-clnt_perr.c): Likewise.
20077 (CFLAGS-openchild.c): Likewise.
20078 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20079 (CFLAGS-msgsnd.c): Likewise.
20080 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20081 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20082 (CFLAGS-tzset.c): Likewise.
20083 (CFLAGS-getdate.c): Likewise.
20084 (CFLAGS-test_time.c): Likewise.
20085 (CPPFLAGS-tst-tzname.c): Likewise.
20086 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20087 (CFLAGS-zic.c): Likewise.
20088 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20089 (CFLAGS-wcswidth.c): Likewise.
20090 (CFLAGS-wcstol.c): Likewise.
20091 (CFLAGS-wcstoul.c): Likewise.
20092 (CFLAGS-wcstoll.c): Likewise.
20093 (CFLAGS-wcstoull.c): Likewise.
20094 (CFLAGS-wcstod.c): Likewise.
20095 (CFLAGS-wcstold.c): Likewise.
20096 (CFLAGS-wcstof128.c): Likewise.
20097 (CFLAGS-wcstof.c): Likewise.
20098 (CFLAGS-wcstol_l.c): Likewise.
20099 (CFLAGS-wcstoul_l.c): Likewise.
20100 (CFLAGS-wcstoll_l.c): Likewise.
20101 (CFLAGS-wcstoull_l.c): Likewise.
20102 (CFLAGS-wcstod_l.c): Likewise.
20103 (CFLAGS-wcstold_l.c): Likewise.
20104 (CFLAGS-wcstof128_l.c): Likewise.
20105 (CFLAGS-wcstof_l.c): Likewise.
20106 (CPPFLAGS-tst-wchar-h.c): Likewise.
20107 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 20108
f4b2aea6
PC
201092017-12-11 Paul A. Clarke <pc@us.ibm.com>
20110
20111 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20112
c9cd7b0c
AZ
201132017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20114 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20115
20116 * manual/tunables.texi (Hardware Capability Tunables): Document
20117 glibc.tune.cached_memopt.
20118 * sysdeps/powerpc/cpu-features.c: New file.
20119 * sysdeps/powerpc/cpu-features.h: New file.
20120 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20121 _dl_powerpc_cpu_features.
20122 * sysdeps/powerpc/dl-tunables.list: New file.
20123 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20124 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20125 (INIT_ARCH): Initialize use_aligned_memopt.
20126 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20127 IS_IN(rtld))]: Restrict dl_platform_init availability and
20128 initialize CPU features used by tunables.
20129 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20130 Add memcpy-power8-cached.
20131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20132 __memcpy_power8_cached.
20133 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20134 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20135 New file.
20136
e70c6fee
L
201372017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20138
20139 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20140 (CFLAGS-noinl-tester.c): Likewise.
20141 (CFLAGS-tst-strlen.c): Likewise.
20142 (CFLAGS-stratcliff.c): Likewise.
20143 (CFLAGS-test-ffs.c): Likewise.
20144 (CFLAGS-tst-inlcall.c): Likewise.
20145 (CFLAGS-tst-xbzero-opt.c): Likewise.
20146 (CFLAGS-memcpy.c): Likewise.
20147 (CFLAGS-wordcopy.c): Likewise.
20148
dee94366
SL
201492017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20150
20151 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20152 Store r15 on stack and add cfi rule.
20153 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20154 Likewise.
20155
363e4519 201562017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
20157
20158 [BZ #22577]
20159 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20160 call.
20161
9d0ffa60
L
201622017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20163
20164 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20165 Add s_sinf-sse2 and s_sinf-fma.
20166 (CFLAGS-s_sinf-fma.c): New.
20167 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20168 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20169 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20170
9574c7b6
L
201712017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20172
20173 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20174
d15e83c5
JM
201752017-12-07 Joseph Myers <joseph@codesourcery.com>
20176
20177 [BZ #22568]
20178 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20179 part of result to imaginary part of argument if it is zero and the
20180 real part of the argument is not finite.
20181 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20182 of result to real part of argument if it is zero and the imaginary
20183 part of the argument is not finite.
20184
d89756eb
MF
201852017-12-07 Mike FABIAN <mfabian@redhat.com>
20186
20187 [BZ #22524]
20188 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20189 and to the list of locales to be built for testing.
20190 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20191 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20192 and build the collation rules upon that.
20193
1f9055ce
JM
201942017-12-07 Joseph Myers <joseph@codesourcery.com>
20195
20196 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20197 * manual/math.texi (Mathematics): Document support for _Float32.
20198 * math/Makefile (test-types): Add float32.
20199 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20200 * stdlib/Versions (GLIBC_2.27): Likewise.
20201 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20202 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20203 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20204 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20205 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20206 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20207 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20208 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20209 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20210 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20211 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20212 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20213 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20214 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20215 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20216 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20217 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20218 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20219 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20220 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20221 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20222 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20223 Likewise.
20224 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20225 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20226 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20227 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20228 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20230 Likewise.
20231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20232 Likewise.
20233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20234 Likewise.
20235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20236 Likewise.
20237
20238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20239 Likewise.
20240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20241 Likewise.
20242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20243 Likewise.
20244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20245 Likewise.
20246 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20247 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20248 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20249 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20250 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20251 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20252 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20253 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20254 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20255 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20257 Likewise.
20258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20259 Likewise.
20260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20261 Likewise.
20262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20263 Likewise.
20264 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20265 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20266 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20267 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20268 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20269 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20270 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20271 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20272
5244527d
JM
202732017-12-06 Joseph Myers <joseph@codesourcery.com>
20274
fb1ca2aa
JM
20275 * stdlib/strtof.c: Include <bits/floatn.h>
20276 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20277 and later undefine as macro. Define as weak alias if
20278 [!USE_WIDE_CHAR].
20279 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20280 and later undefine as macro. Define as weak alias if
20281 [USE_WIDE_CHAR].
20282 * stdlib/strtof_l.c: Include <bits/floatn.h>
20283 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20284 and later undefine as macro. Define as weak alias if
20285 [!USE_WIDE_CHAR].
20286 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20287 and later undefine as macro. Define as weak alias if
20288 [USE_WIDE_CHAR].
20289
fc10cc3f
JM
20290 * stdlib/strfromf.c: Include <bits/floatn.h>.
20291 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20292 and later undefine as macro and define as weak alias.
20293
e420d228
JM
20294 * math/test-float32.h: New file.
20295
26007a2f
JM
20296 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20297 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20298 (libm_alias_float_other_r): Create f32 alias.
20299 (libm_alias_float_r): Use semicolon before call to
20300 libm_alias_float_other_r.
20301
c191f64c
JM
20302 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20303 second argument to libm_alias_float_other.
20304 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20305 second argument to libm_alias_float_other.
20306 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20307 argument to libm_alias_float_other.
20308
5244527d
JM
20309 [BZ #22561]
20310 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20311 real part of result for argument 0 + i * NaN.
20312 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20313 results for tests of 0 + i * NaN.
20314
d73fac82
AZ
203152017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20316
20317 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20318
7ec094e8
DM
203192017-12-06 David S. Miller <davem@davemloft.net>
20320
20321 * sysdeps/sparc/fpu/libm-test-ulps: Update
20322 exp_{downward,towardzero,upward} ulps.
20323
53994f12
JM
203242017-12-06 Joseph Myers <joseph@codesourcery.com>
20325
1dbe6f64
JM
20326 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20327 variables static.
20328
53994f12
JM
20329 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20330 (Y0_2D): Likewise.
20331 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20332 (Y0_2D): Likewise.
20333 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20334 (Y0_2D): Likewise.
20335 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20336 (Y0_2D): Likewise.
20337
62ea2193
MF
203382017-12-06 Mike FABIAN <mfabian@redhat.com>
20339
20340 [BZ #22515]
20341 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20342 and to the list of locales to be built for testing.
20343 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20344 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20345 and build the collation rules upon that.
20346
87235d70
RS
203472017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20348
20349 * NEWS: Add sinf to list of optimized functions.
20350
0d93b7fd
JM
203512017-12-06 Joseph Myers <joseph@codesourcery.com>
20352
20353 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20354 (__HAVE_FLOAT32X): Likewise.
20355 * manual/math.texi (Mathematics): Document support for _Float64
20356 and _Float32x.
20357 * math/Makefile (test-types): Add float64 and float32x.
20358 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20359 functions.
20360 * stdlib/Versions (GLIBC_2.27): Likewise.
20361 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20362 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20363 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20364 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20365 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20366 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20367 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20368 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20369 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20370 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20371 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20372 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20373 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20374 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20375 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20376 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20377 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20378 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20379 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20380 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20381 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20382 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20383 Likewise.
20384 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20385 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20386 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20387 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20388 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20390 Likewise.
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20392 Likewise.
20393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20394 Likewise.
20395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20396 Likewise.
20397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20398 Likewise.
20399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20400 Likewise.
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20402 Likewise.
20403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20404 Likewise.
20405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20406 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20407 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20408 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20409 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20410 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20411 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20412 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20413 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20414 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20416 Likewise.
20417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20418 Likewise.
20419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20420 Likewise.
20421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20422 Likewise.
20423 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20424 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20425 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20426 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20427 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20428 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20429 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20430 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20431
f7787234
JM
204322017-12-05 Joseph Myers <joseph@codesourcery.com>
20433
20434 * bits/floatn-common.h: Include <bits/long-double.h>.
20435 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20436 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20437 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20438 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20439 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20440 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20441 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20442 (__builtin_huge_valf64): Use __builtin_huge_vall.
20443 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20444 (__builtin_inff64): Use __builtin_infl.
20445 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20446 (__builtin_nanf64): Use __builtin_nanl.
20447 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20448 (__builtin_nansf64): Use __builtin_nansl.
20449
363e4519
DL
204502017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20451 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 20452 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
20453
20454 * elf/dl-tunables.list: Add elision parameters.
20455 * manual/tunables.texi: Add entries about elision tunable.
20456 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20457 Add callback functions to dynamically enable/disable elision.
20458 Add multiple callbacks functions to set elision parameters.
20459 Deleted __libc_enable_secure check.
20460 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20461 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20462 * configure: Regenerated.
20463 * configure.ac: Option enable_lock_elision was deleted.
20464 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20465 * config.make.in: Remove references to enable_lock_elision.
20466 * manual/install.texi: Elision configure option was removed.
20467 * INSTALL: Regenerated to remove enable_lock_elision.
20468 * nptl/Makefile:
20469 Disable elision so it can verify error case for destroying a mutex.
20470 * sysdeps/powerpc/nptl/elide.h:
20471 Cleanup ENABLE_LOCK_ELISION check.
20472 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20473 * sysdeps/s390/configure: Regenerated.
20474 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20475 * nptl/tst-mutex8.c:
20476 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20477 * sysdeps/powerpc/powerpc32/sysdep.h:
20478 Deleted all ENABLE_LOCK_ELISION checks.
20479 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20480 * sysdeps/powerpc/sysdep.h: Likewise.
20481 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20482 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20483 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20484 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20485 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20486 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20487 enable-lock-elision.
20488
a5a2a76b
JM
204892017-12-05 Joseph Myers <joseph@codesourcery.com>
20490
20491 * stdlib/strtod.c: Include <bits/floatn.h>.
20492 (BUILD_DOUBLE): New macro.
20493 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20494 (strtof64): Define and later undefine as macro. Define as weak
20495 alias if [!USE_WIDE_CHAR].
20496 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20497 (wcstof64): Define and later undefine as macro. Define as weak
20498 alias if [USE_WIDE_CHAR].
20499 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20500 (strtof32x): Define and later undefine as macro. Define as weak
20501 alias if [!USE_WIDE_CHAR].
20502 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20503 (wcstof32x): Define and later undefine as macro. Define as weak
20504 alias if [USE_WIDE_CHAR].
20505 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20506 (BUILD_DOUBLE): New macro.
20507 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20508 (strtof64_l): Define and later undefine as macro. Define as weak
20509 alias if [!USE_WIDE_CHAR].
20510 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20511 (wcstof64_l): Define and later undefine as macro. Define as weak
20512 alias if [USE_WIDE_CHAR].
20513 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20514 (strtof32x_l): Define and later undefine as macro. Define as weak
20515 alias if [!USE_WIDE_CHAR].
20516 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20517 (wcstof32x_l): Define and later undefine as macro. Define as weak
20518 alias if [USE_WIDE_CHAR].
20519
94d80dfc
AZ
205202017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20521
20522 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20523 (reduced): Use ones as double instead of integer.
20524
00d54af7
SN
205252017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20526
20527 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20528
f2d64d62
JM
205292017-12-05 Joseph Myers <joseph@codesourcery.com>
20530
1f70eae4
JM
20531 * stdlib/strfromd.c: Include <bits/floatn.h>.
20532 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20533 and later undefine as macro and define as weak alias.
20534 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20535 Likewise.
20536
e2c4dce5
JM
20537 * math/test-float32x.h: New file.
20538 * math/test-float64.h: Likewise.
20539
f2d64d62
JM
20540 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20541 (libm_alias_double_other_r_f64): New macro.
20542 (libm_alias_double_other_r_f32x): Likewise.
20543 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20544 libm_alias_double_other_r_f32x.
20545 (libm_alias_double_r): Use semicolon before call to
20546 libm_alias_double_other_r.
20547 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20548 <bits/floatn.h>.
20549 (libm_alias_double_other_r_f64): New macro.
20550 (libm_alias_double_other_r_f32x): Likewise.
20551 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20552 libm_alias_double_other_r_f32x.
20553
91c318e7
L
205542017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20555
20556 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20557 int.
20558 (SINF_FUNC): Likewise. Replace floor with simple casts.
20559
de9661d6
MF
205602017-12-05 Mike FABIAN <mfabian@redhat.com>
20561
20562 [BZ #22517]
20563 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20564 and to the list of locales to be built for testing.
20565 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20566 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20567 and build the collation rules upon that.
20568
f18b8dc7
CM
205692017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20570
20571 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20572 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20573 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20574 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20575 instead of __insn__xxx.
20576 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20577 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20578 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20579 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20580 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20581 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20582
446d22e9
FW
205832017-12-05 Florian Weimer <fweimer@redhat.com>
20584
20585 Linux: Implement interfaces for memory protection keys
20586 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20587 xsignal, xsysconf.
20588 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20589 * support/xunistd.h (xsysconf): Declare.
20590 * support/xraise.c: New file.
20591 * support/xsigaction.c: Likewise.
20592 * support/xsignal.c: Likewise.
20593 * support/xsysconf.c: Likewise.
20594 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20595 pkey_set, pkey_get, pkey_mprotect.
20596 [misc] (tests): Add tst-pkey.
20597 (tst-pkey): Link with -lpthread.
20598 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20599 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20600 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20601 (PKEY_DISABLE_WRITE): Define.
20602 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20603 Declare.
20604 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20605 (SEGV_PKUERR): Add.
20606 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20607 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20608 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20609 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20610 Add.
20611 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20612 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20613 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20614 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20615 * sysdeps/unix/sysv/linux/**.abilist: Update.
20616
da616c14
FW
206172017-12-05 Florian Weimer <fweimer@redhat.com>
20618
20619 * support/tst-test_compare.c (subprocess): Use long long instead
20620 of long argument for consistent type width across 32-bit and
20621 64-bit architectures.
20622 (do_test): Adjust expected output.
20623
216933b2
JM
206242017-12-05 Joseph Myers <joseph@codesourcery.com>
20625
20626 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20627 (cosf): Define using libm_alias_float.
20628 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20629 (fabsf): Define using libm_alias_float.
20630 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20631 (fmaf): Define using libm_alias_float.
20632 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20633 (rintf): Define using libm_alias_float.
20634 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20635 (sinf): Define using libm_alias_float.
20636 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20637 <libm-alias-float.h>.
20638 (modff): Define using libm_alias_float.
20639 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20640 <libm-alias-float.h>.
20641 (logbf): Define using libm_alias_float.
20642 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20643 <libm-alias-float.h>.
20644 (ceilf): Define using libm_alias_float.
20645 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20646 <libm-alias-float.h>.
20647 (copysignf): Define using libm_alias_float.
20648 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20649 <libm-alias-float.h>.
20650 (floorf): Define using libm_alias_float.
20651 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20652 <libm-alias-float.h>.
20653 (llrintf): Define using libm_alias_float.
20654 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20655 <libm-alias-float.h>.
20656 (llroundf): Define using libm_alias_float.
20657 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20658 <libm-alias-float.h>.
20659 (lrintf): Define using libm_alias_float.
20660 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20661 <libm-alias-float.h>.
20662 (lroundf): Define using libm_alias_float.
20663 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20664 <libm-alias-float.h>.
20665 (nearbyintf): Define using libm_alias_float.
20666 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20667 <libm-alias-float.h>.
20668 (rintf): Define using libm_alias_float.
20669 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20670 <libm-alias-float.h>.
20671 (roundf): Define using libm_alias_float.
20672 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20673 <libm-alias-float.h>.
20674 (truncf): Define using libm_alias_float.
20675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20676 Include <libm-alias-float.h>.
20677 (ceilf): Define using libm_alias_float.
20678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20679 Include <libm-alias-float.h>.
20680 (copysignf): Define using libm_alias_float.
20681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20682 Include <libm-alias-float.h>.
20683 (floorf): Define using libm_alias_float.
20684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20685 Include <libm-alias-float.h>.
20686 (llrintf): Define using libm_alias_float.
20687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20688 Include <libm-alias-float.h>.
20689 (llroundf): Define using libm_alias_float.
20690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20691 Include <libm-alias-float.h>.
20692 (logbf): Define using libm_alias_float.
20693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20694 Include <libm-alias-float.h>.
20695 (lrintf): Define using libm_alias_float.
20696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20697 Include <libm-alias-float.h>.
20698 (lroundf): Define using libm_alias_float.
20699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20700 Include <libm-alias-float.h>.
20701 (modff): Define using libm_alias_float.
20702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20703 Include <libm-alias-float.h>.
20704 (roundf): Define using libm_alias_float.
20705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20706 Include <libm-alias-float.h>.
20707 (truncf): Define using libm_alias_float.
20708 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20709 <libm-alias-float.h>.
20710 (llrintf): Define using libm_alias_float.
20711 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20712 <libm-alias-float.h>.
20713 (llroundf): Define using libm_alias_float.
20714 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20715 <libm-alias-float.h>.
20716 (ceilf): Define using libm_alias_float.
20717 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20718 <libm-alias-float.h>.
20719 (floorf): Define using libm_alias_float.
20720 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20721 <libm-alias-float.h>.
20722 (llroundf): Define using libm_alias_float.
20723 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20724 <libm-alias-float.h>.
20725 (lroundf): Define using libm_alias_float.
20726 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20727 <libm-alias-float.h>.
20728 (roundf): Define using libm_alias_float.
20729 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20730 <libm-alias-float.h>.
20731 (truncf): Define using libm_alias_float.
20732 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20733 <libm-alias-float.h>.
20734 (copysignf): Define using libm_alias_float.
20735 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20736 <libm-alias-float.h>.
20737 (llrintf): Define using libm_alias_float.
20738 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20739 <libm-alias-float.h>.
20740 (llroundf): Define using libm_alias_float.
20741 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20742 <libm-alias-float.h>.
20743 (lrintf): Define using libm_alias_float.
20744 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20745 <libm-alias-float.h>.
20746 (lroundf): Define using libm_alias_float.
20747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20748 <libm-alias-float.h>.
20749 (ceilf): Define using libm_alias_float.
20750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20751 <libm-alias-float.h>.
20752 (copysignf): Define using libm_alias_float.
20753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20754 <libm-alias-float.h>.
20755 (cosf): Define using libm_alias_float.
20756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20757 <libm-alias-float.h>.
20758 (floorf): Define using libm_alias_float.
20759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20760 <libm-alias-float.h>.
20761 (llrintf): Define using libm_alias_float.
20762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20763 <libm-alias-float.h>.
20764 (llroundf): Define using libm_alias_float.
20765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20766 <libm-alias-float.h>.
20767 (logbf): Define using libm_alias_float.
20768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20769 <libm-alias-float.h>.
20770 (modff): Define using libm_alias_float.
20771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20772 <libm-alias-float.h>.
20773 (roundf): Define using libm_alias_float.
20774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20775 <libm-alias-float.h>.
20776 (sinf): Define using libm_alias_float.
20777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20778 <libm-alias-float.h>.
20779 (truncf): Define using libm_alias_float.
20780 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20781 <libm-alias-float.h>.
20782 (ceilf): Define using libm_alias_float.
20783 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20784 <libm-alias-float.h>.
20785 (copysignf): Define using libm_alias_float.
20786 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20787 <libm-alias-float.h>.
20788 (floorf): Define using libm_alias_float.
20789 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20790 <libm-alias-float.h>.
20791 (llrintf): Define using libm_alias_float.
20792 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20793 <libm-alias-float.h>.
20794 (llroundf): Define using libm_alias_float.
20795 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20796 <libm-alias-float.h>.
20797 (nearbyintf): Define using libm_alias_float.
20798 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20799 <libm-alias-float.h>.
20800 (rintf): Define using libm_alias_float.
20801 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20802 <libm-alias-float.h>.
20803 (roundf): Define using libm_alias_float.
20804 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20805 <libm-alias-float.h>.
20806 (truncf): Define using libm_alias_float.
20807 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20808 <libm-alias-float.h>.
20809 (ceilf): Define using libm_alias_float.
20810 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20811 <libm-alias-float.h>.
20812 (floorf): Define using libm_alias_float.
20813 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20814 <libm-alias-float.h>.
20815 (llroundf): Define using libm_alias_float.
20816 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20817 <libm-alias-float.h>.
20818 (roundf): Define using libm_alias_float.
20819 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20820 <libm-alias-float.h>.
20821 (truncf): Define using libm_alias_float.
20822 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20823 <libm-alias-float.h>.
20824 (copysignf): Define using libm_alias_float.
20825 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20826 <libm-alias-float.h>.
20827 (llrintf): Define using libm_alias_float.
20828 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20829 <libm-alias-float.h>.
20830 (llroundf): Define using libm_alias_float.
20831 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20832 <libm-alias-float.h>.
20833 (cosf): Define using libm_alias_float.
20834 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20835 <libm-alias-float.h>.
20836 (llrintf): Define using libm_alias_float.
20837 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20838 <libm-alias-float.h>.
20839 (llroundf): Define using libm_alias_float.
20840 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20841 <libm-alias-float.h>.
20842 (sinf): Define using libm_alias_float.
20843
93485524
FW
208442017-12-04 Florian Weimer <fweimer@redhat.com>
20845
20846 * support/check.h (TEST_COMPARE): Define.
20847 (support_test_compare_failure): Declare.
20848 * support/Makefile (libsupport-routines): Add
20849 support_test_compare_failure.
20850 (tests): Add tst-test_compare.
20851 * support /support_test_compare_failure.c: New file.
20852 * support/tst-test_compare.c: Likewise.
20853
96b06a19
MF
208542017-12-04 Mike FABIAN <mfabian@redhat.com>
20855
20856 [BZ #22527]
20857 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20858 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20859 available, this rewrite of the collation rules does reproduce
20860 the test file in the same order.
20861
1f6d91f3
MF
208622017-12-04 Mike FABIAN <mfabian@redhat.com>
20863
20864 [BZ #10580]
20865 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20866 digraphs in the month and day names. Using single code points for
20867 digraphs is deprecated. While there are dedicated Unicode
20868 codepoints, for the digraphs, these are included for backwards
20869 compatibility and modern texts use a sequence of Basic Latin
20870 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20871 This makes the month and day names agree exactly with CLDR now,
20872 CLDR does not use the single code points for the digraphs either.
20873
2e49fed8
CM
208742017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20875
20876 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20877
73895b49
JM
208782017-12-04 Joseph Myers <joseph@codesourcery.com>
20879
20880 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20881 of floor.
20882
4c1d801a
SP
208832017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20884
20885 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20886 Define only for libc.so.
20887
478593e6
SL
208882017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20889
20890 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20891 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 20892 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
20893 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20895
7863a711
RS
208962017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20897
20898 [BZ #5997]
20899 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20900
800a496a
JDA
209012017-12-02 John David Anglin <danglin@gcc.gnu.org>
20902
b3f7fb12
JDA
20903 [BZ libc/19170]
20904 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20905 PREINIT_FUNCTION_WEAK is nonzero.
20906 (gmon_initializer): New function. Put procedure label for it in
20907 .init_array section.
20908 (_init): Don't call PREINIT_FUNCTION.
20909 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20910 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20911 value when map argument is null.
20912
800a496a
JDA
20913 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20914 depi instruction from PIC pc-relative sequence.
20915 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20916 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20917 (elf_machine_load_address): Likewise.
20918 (elf_machine_runtime_setup): Likewise.
20919
d17542d2
JM
209202017-12-02 Joseph Myers <joseph@codesourcery.com>
20921
20922 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20923 <libm-alias-double.h>.
20924 (logb): Define using libm_alias_double.
20925 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20926 <libm-alias-double.h>.
20927 (copysign): Define using libm_alias_double.
20928 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20929 <libm-alias-double.h>.
20930 (llrint): Define using libm_alias_double.
20931 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20932 <libm-alias-double.h>.
20933 (llround): Define using libm_alias_double.
20934 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20935 <libm-alias-double.h>.
20936 (lrint): Define using libm_alias_double.
20937 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20938 <libm-alias-double.h>.
20939 (lround): Define using libm_alias_double.
20940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20941 Include <libm-alias-double.h>.
20942 (copysign): Define using libm_alias_double.
20943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20944 Include <libm-alias-double.h>.
20945 (llrint): Define using libm_alias_double.
20946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20947 Include <libm-alias-double.h>.
20948 (llround): Define using libm_alias_double.
20949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20950 <libm-alias-double.h>.
20951 (logb): Define using libm_alias_double.
20952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20953 Include <libm-alias-double.h>.
20954 (lrint): Define using libm_alias_double.
20955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20956 Include <libm-alias-double.h>.
20957 (lround): Define using libm_alias_double.
20958 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20959 <libm-alias-double.h>.
20960 (llrint): Define using libm_alias_double.
20961 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20962 <libm-alias-double.h>.
20963 (llround): Define using libm_alias_double.
20964 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20965 <libm-alias-double.h>.
20966 (llround): Define using libm_alias_double.
20967 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20968 <libm-alias-double.h>.
20969 (lround): Define using libm_alias_double.
20970 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20971 <libm-alias-double.h>.
20972 (copysign): Define using libm_alias_double.
20973 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20974 <libm-alias-double.h>.
20975 (llrint): Define using libm_alias_double.
20976 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20977 <libm-alias-double.h>.
20978 (llround): Define using libm_alias_double.
20979 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20980 <libm-alias-double.h>.
20981 (lrint): Define using libm_alias_double.
20982 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20983 <libm-alias-double.h>.
20984 (lround): Define using libm_alias_double.
20985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20986 <libm-alias-double.h>.
20987 (copysign): Define using libm_alias_double.
20988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20989 <libm-alias-double.h>.
20990 (llrint): Define using libm_alias_double.
20991 (lrint): Likewise.
20992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20993 <libm-alias-double.h>.
20994 (llround): Define using libm_alias_double.
20995 (lround): Likewise.
20996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20997 <libm-alias-double.h>.
20998 (logb): Define using libm_alias_double.
20999 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21000 <libm-alias-double.h>.
21001 (copysign): Define using libm_alias_double.
21002 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21003 <libm-alias-double.h>.
21004 (llrint): Define using libm_alias_double.
21005 (lrint): Likewise.
21006 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21007 <libm-alias-double.h>.
21008 (llround): Define using libm_alias_double.
21009 (lround): Likewise.
21010 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21011 <libm-alias-double.h>.
21012 (llround): Define using libm_alias_double.
21013 (lround): Likewise.
21014 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21015 <libm-alias-double.h>.
21016 (copysign): Define using libm_alias_double.
21017 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21018 <libm-alias-double.h>.
21019 (llrint): Define using libm_alias_double.
21020 (lrint): Likewise.
21021 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21022 <libm-alias-double.h>.
21023 (llround): Define using libm_alias_double.
21024 (lround): Likewise.
21025 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21026 <libm-alias-double.h>.
21027 (llrint): Define using libm_alias_double.
21028 (lrint): Likewise.
21029 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21030 <libm-alias-double.h>.
21031 (llround): Define using libm_alias_double.
21032 (lround): Likewise.
21033
ec2cf3f4
JM
210342017-12-01 Joseph Myers <joseph@codesourcery.com>
21035
0ddde474
JM
21036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21037 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21038 compat symbol based on llround.
21039
0d5ba561
JM
21040 * sysdeps/powerpc/power7/fpu/s_logb.c
21041 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21042 symbol based on __logb, not on logb.
21043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21044 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21046 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21047
51ea3b20
JM
21048 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21049 (rint): Define using libm_alias_double.
21050 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21051 <libm-alias-double.h>.
21052 (modf): Define using libm_alias_double.
21053 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21054 <libm-alias-double.h>.
21055 (ceil): Define using libm_alias_double.
21056 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21057 <libm-alias-double.h>.
21058 (floor): Define using libm_alias_double.
21059 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21060 <libm-alias-double.h>.
21061 (nearbyint): Define using libm_alias_double.
21062 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21063 <libm-alias-double.h>.
21064 (rint): Define using libm_alias_double.
21065 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21066 <libm-alias-double.h>.
21067 (round): Define using libm_alias_double.
21068 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21069 <libm-alias-double.h>.
21070 (trunc): Define using libm_alias_double.
21071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21072 <libm-alias-double.h>.
21073 (ceil): Define using libm_alias_double.
21074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21075 Include <libm-alias-double.h>.
21076 (floor): Define using libm_alias_double.
21077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21078 <libm-alias-double.h>.
21079 (modf): Define using libm_alias_double.
21080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21081 Include <libm-alias-double.h>.
21082 (round): Define using libm_alias_double.
21083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21084 Include <libm-alias-double.h>.
21085 (trunc): Define using libm_alias_double.
21086 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21087 <libm-alias-double.h>.
21088 (ceil): Define using libm_alias_double.
21089 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21090 <libm-alias-double.h>.
21091 (floor): Define using libm_alias_double.
21092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21093 <libm-alias-double.h>.
21094 (round): Define using libm_alias_double.
21095 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21096 <libm-alias-double.h>.
21097 (trunc): Define using libm_alias_double.
21098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21099 <libm-alias-double.h>.
21100 (ceil): Define using libm_alias_double.
21101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21102 <libm-alias-double.h>.
21103 (floor): Define using libm_alias_double.
21104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21105 <libm-alias-double.h>.
21106 (modf): Define using libm_alias_double.
21107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21108 <libm-alias-double.h>.
21109 (round): Define using libm_alias_double.
21110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21111 <libm-alias-double.h>.
21112 (trunc): Define using libm_alias_double.
21113 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21114 <libm-alias-double.h>.
21115 (ceil): Define using libm_alias_double.
21116 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21117 <libm-alias-double.h>.
21118 (floor): Define using libm_alias_double.
21119 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21120 <libm-alias-double.h>.
21121 (nearbyint): Define using libm_alias_double.
21122 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21123 <libm-alias-double.h>.
21124 (rint): Define using libm_alias_double.
21125 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21126 <libm-alias-double.h>.
21127 (round): Define using libm_alias_double.
21128 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21129 <libm-alias-double.h>.
21130 (trunc): Define using libm_alias_double.
21131 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21132 <libm-alias-double.h>.
21133 (ceil): Define using libm_alias_double.
21134 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21135 <libm-alias-double.h>.
21136 (floor): Define using libm_alias_double.
21137 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21138 <libm-alias-double.h>.
21139 (round): Define using libm_alias_double.
21140 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21141 <libm-alias-double.h>.
21142 (trunc): Define using libm_alias_double.
21143
ec2cf3f4
JM
21144 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21145 (fabs): Define using libm_alias_double.
21146 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21147 (fma): Define using libm_alias_double.
21148 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21149 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21150 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21151 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21152
5b7bd975
AZ
211532017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21154
0594b13f
AZ
21155 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21156
dbdfcf3b
AZ
21157 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21158 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21159 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21160
5b7bd975
AZ
21161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21162 due redirect macro.
21163
ef9ecfa6
AS
211642017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21165
21166 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21167
5b4e5e78
AZ
211682017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21169
2a14526b
AZ
21170 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21171 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21172 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21173 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21174
dbeb74ef 21175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
21176 (libm-sysdep_routines): Add s_nearbyintf-generic and
21177 s_nearbyint-generic.
21178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21179 New file.
21180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21182 Likewise.
21183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21184 Likewise.
21185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21186 file.
21187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21188 Likewise.
21189
21190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
21191 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21193 file.
21194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21196 Likewise.
21197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21200
fa7ded96
AZ
21201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21202 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21204 file.
21205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21207 Likewise.
21208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21211
e240cf0e
AZ
21212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21213 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21215 file.
21216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21218 Likewise.
21219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21222
5b4e5e78
AZ
21223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21224 (sysdep_calls): New rule.
21225 (sysdep_routines): Use sysdep_calls as base.
21226 (libm-sysdep_routines): Add generic rule for symbols shared with
21227 libc. Add s_copysign-generic and s_copysign-generic objects.
21228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21229 New file.
21230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21232 Likewise.
21233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21236
d985adae
MF
212372017-12-01 Mike FABIAN <mfabian@redhat.com>
21238
21239 [BZ #22519]
21240 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21241 the list of locales to be built for testing.
21242 * localedata/is_IS.UTF-8.in: New file.
21243 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21244 on iso14651_t1.
21245
ff84a0e0
JM
212462017-12-01 Joseph Myers <joseph@codesourcery.com>
21247
21248 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21249 <libm-alias-float.h>.
21250 (fabsf): Define using libm_alias_float.
21251
ef5d8b43
L
212522017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21253
21254 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21255
c0535adf
JM
212562017-11-30 Joseph Myers <joseph@codesourcery.com>
21257
f938b397
JM
21258 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21259 <libm-alias-float.h>.
21260 (fabsf): Define using libm_alias_float.
21261 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21262 <libm-alias-float.h>.
21263 (lrintf): Define using libm_alias_float.
21264 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21265 <libm-alias-float.h>.
21266 (rintf): Define using libm_alias_float.
21267
2251fad0
JM
21268 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21269 <libm-alias-double.h>.
21270 (fabs): Define using libm_alias_double.
21271 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21272 <libm-alias-double.h>.
21273 (lrint): Define using libm_alias_double.
21274 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21275 <libm-alias-double.h>.
21276 (rint): Define using libm_alias_double.
21277
e53df1de
JM
21278 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21279 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21280 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21281 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21282 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21283 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21284 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21285 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21286 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21287 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21288 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21289 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21290 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21291 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21292 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21293 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21294 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21295 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21296 s_atan_template.c.
21297 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21298 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21299 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21300 s_ceil_template.c.
21301 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21302 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21303 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21304 s_cos_template.c.
21305 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21306 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21307 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21308 s_expm1_template.c.
21309 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21310 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21311 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21312 s_fabs_template.c.
21313 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21314 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21315 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21316 s_floor_template.c.
21317 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21318 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21319 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21320 s_frexp_template.c.
21321 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21322 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21323 s_lrint_template.c.
21324 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21325 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21326 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21327 s_modf_template.c.
21328 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21329 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21330 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21331 s_nearbyint_template.c.
21332 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21333 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21334 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21335 s_remquo_template.c.
21336 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21337 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21338 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21339 s_rint_template.c.
21340 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21341 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21342 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21343 s_sin_template.c.
21344 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21345 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21346 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21347 s_sincos_template.c.
21348 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21349 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21350 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21351 s_tan_template.c.
21352 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21353 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21354 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21355 s_tanh_template.c.
21356 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21357 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21358 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21359 s_trunc_template.c.
21360 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21361 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21362 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21363 s_atan.c instead of including s_atan.c.
21364 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21365 s_atanf.c instead of including s_atanf.c.
21366 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21367 s_atanl.c instead of including s_atanl.c.
21368 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21369 instead of s_atan.c.
21370 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21371 instead of s_atanf.c.
21372 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21373 instead of s_atanl.c.
21374
c0535adf
JM
21375 * scripts/update-copyrights: Do not handle intl/plural.c
21376 specially.
21377
1faaf703
JB
213782017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21379
21380 [BZ #22432]
21381 * configure.ac (BISON): Require to be present.
21382 * configure: Regenerated.
21383 * intl/Makefile (generated): Add plural.c.
21384 [$(BISON) != no]: Make code unconditional.
21385 (plural.c): Change rule to $(objpfx)plural.c.
21386 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21387 * intl/plural.c: Remove.
21388 * manual/install.texi (Tools for Compilation): Document bison as
21389 required.
21390 * INSTALL: Regenerated.
21391
faec6323
JM
213922017-11-30 Joseph Myers <joseph@codesourcery.com>
21393
bd6ea9ed
JM
21394 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21395 <libm-alias-double.h>.
21396 (llrint): Define using libm_alias_double.
21397 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21398 <libm-alias-float.h>.
21399 (llrintf): Define using libm_alias_float.
21400 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21401 <libm-alias-ldouble.h>.
21402 (llrintl): Define using libm_alias_ldouble.
21403
faec6323
JM
21404 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21405 declare_mgen_alias instead of weak_alias.
21406 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21407 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21408 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21409
023cade3
AZ
214102017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21411
9e2279a0
AZ
21412 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21413 Add add_n-generic.
21414 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21415 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21416 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21417
75f37c71
AZ
21418 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21419 Add submul_1-generic.
21420 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21421 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21422 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21423
b70cbbfc 21424 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
21425 Add addmul_1-generic.
21426 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21427 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21428 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21429
21430 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
21431 Add sub_n-generic.
21432 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21433 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21434 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21435
023cade3
AZ
21436 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21437 Add mul_1-generic.
21438 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21439 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21440 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21441
fbb5fd03
MF
214422017-11-30 Mike FABIAN <mfabian@redhat.com>
21443
21444 According to CLDR, collation rules for Serbian and Bosnian
21445 should be the same as for Croatian.
21446
21447 [BZ #22534]
21448 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21449 and to the list of locales to be built for testing.
21450 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21451 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21452 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21453 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21454
5e56e937
MF
214552017-11-30 Mike FABIAN <mfabian@redhat.com>
21456
21457 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21458 to make test case pass.
21459 * localedata/hr_HR.UTF-8.in: Add more test strings.
21460
cf4341ca
MF
214612017-11-30 Mike FABIAN <mfabian@redhat.com>
21462
21463 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21464
363e4519 214652017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
21466
21467 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21468 the list of locales to built for testing.
21469 * localedata/hr_HR.UTF-8.in: New file.
21470
363e4519 214712017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
21472
21473 [BZ #10580]
21474 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21475 iso14651_t1.
21476 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21477 CLDR (except use ligatures for the digraphs, CLDR does not use
21478 the ligatures), add first_workday, some fixes in the date and time
21479 formats.
21480 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21481 for Đ and đ.
21482 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21483 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21484 Add int_p_cs_precedes and int_n_cs_precedes.
21485 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21486 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21487 LC_MONETARY now).
21488 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21489 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21490 name_miss.
21491 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21492 and lang_lib. Change postal_fmt.
21493
f33632cc
L
214942017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21495
21496 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21497 <setjmp.h>.
21498 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21499 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21500 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21501 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21502 * sysdeps/generic/setjmpP.h: New file.
21503 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21504 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21505 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21506 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21507 Add jmp_buf-ssp.sym.
21508 (tests): Add tst-saved_mask-1.
21509
34697694
AS
215102017-11-30 Arjun Shankar <arjun@redhat.com>
21511
21512 [BZ #22375]
37ac8e63 21513 CVE-2017-17426
34697694
AS
21514 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21515 instead of request2size.
21516
3e5efdbd
JM
215172017-11-30 Joseph Myers <joseph@codesourcery.com>
21518
18305fba
JM
21519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21520 (__lllrint): Remove alias.
21521 (lllrint): Likewise.
21522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21523 (__lllrintf): Likewise.
21524 (lllrintf): Likewise.
21525
3e5efdbd
JM
21526 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21527 <libm-alias-float.h>.
21528 (copysignf): Define using libm_alias_float.
21529 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21530 <libm-alias-float.h>.
21531 (fabsf): Define using libm_alias_float.
21532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21533 Include <libm-alias-float.h>.
21534 (copysignf): Define using libm_alias_float.
21535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21536 <libm-alias-float.h>.
21537 (fabsf): Define using libm_alias_float.
21538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21539 <libm-alias-float.h>.
21540 (fdimf): Define using libm_alias_float.
21541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21542 <libm-alias-float.h>.
21543 (fmaf): Define using libm_alias_float.
21544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21545 <libm-alias-float.h>.
21546 (llrintf): Define using libm_alias_float.
21547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21548 Include <libm-alias-float.h>.
21549 (nearbyintf): Define using libm_alias_float.
21550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21551 <libm-alias-float.h>.
21552 (rintf): Define using libm_alias_float.
21553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21554 <libm-alias-float.h>.
21555 (llrintf): Define using libm_alias_float.
21556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21557 <libm-alias-float.h>.
21558 (lrintf): Define using libm_alias_float.
21559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21560 <libm-alias-float.h>.
21561 (nearbyintf): Define using libm_alias_float.
21562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21563 <libm-alias-float.h>.
21564 (rintf): Define using libm_alias_float.
21565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21566 <libm-alias-float.h>.
21567 (ceilf): Define using libm_alias_float.
21568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21569 <libm-alias-float.h>.
21570 (floorf): Define using libm_alias_float.
21571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21572 <libm-alias-float.h>.
21573 (fmaf): Define using libm_alias_float.
21574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21575 <libm-alias-float.h>.
21576 (lrintf): Define using libm_alias_float.
21577 (llrintf): Likewise.
21578 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21579 <libm-alias-float.h>.
21580 (nearbyintf): Define using libm_alias_float.
21581 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21582 <libm-alias-float.h>.
21583 (rintf): Define using libm_alias_float.
21584 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21585 <libm-alias-float.h>.
21586 (truncf): Define using libm_alias_float.
21587 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21588 <libm-alias-float.h>.
21589 (copysignf): Define using libm_alias_float.
21590 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21591 <libm-alias-float.h>.
21592 (fabsf): Define using libm_alias_float.
21593 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21594 <libm-alias-float.h>.
21595 (lrintf): Define using libm_alias_float.
21596 (llrintf): Likewise.
21597 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21598 <libm-alias-float.h>.
21599 (nearbyintf): Define using libm_alias_float.
21600 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21601 <libm-alias-float.h>.
21602 (rintf): Define using libm_alias_float.
21603
011fba7e
JM
216042017-11-29 Joseph Myers <joseph@codesourcery.com>
21605
875cd548
JM
21606 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21607 <libm-alias-double.h>.
21608 (copysign): Define using libm_alias_double.
21609 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21610 <libm-alias-double.h>.
21611 (fabs): Define using libm_alias_double.
21612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21613 Include <libm-alias-double.h>.
21614 (copysign): Define using libm_alias_double.
21615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21616 <libm-alias-double.h>.
21617 (fabs): Define using libm_alias_double.
21618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21619 <libm-alias-double.h>.
21620 (fdim): Define using libm_alias_double.
21621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21622 <libm-alias-double.h>.
21623 (fma): Define using libm_alias_double.
21624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21625 <libm-alias-double.h>.
21626 (llrint): Define using libm_alias_double.
21627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21628 Include <libm-alias-double.h>.
21629 (nearbyint): Define using libm_alias_double.
21630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21631 <libm-alias-double.h>.
21632 (rint): Define using libm_alias_double.
21633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21634 <libm-alias-double.h>.
21635 (fabs): Define using libm_alias_double.
21636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21637 <libm-alias-double.h>.
21638 (llrint): Define using libm_alias_double.
21639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21640 <libm-alias-double.h>.
21641 (nearbyint): Define using libm_alias_double.
21642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21643 <libm-alias-double.h>.
21644 (rint): Define using libm_alias_double.
21645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21646 <libm-alias-double.h>.
21647 (ceil): Define using libm_alias_double.
21648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21649 <libm-alias-double.h>.
21650 (floor): Define using libm_alias_double.
21651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21652 <libm-alias-double.h>.
21653 (fma): Define using libm_alias_double.
21654 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21655 <libm-alias-double.h>.
21656 (lrint): Define using libm_alias_double.
21657 (llrint): Likewise.
21658 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21659 <libm-alias-double.h>.
21660 (nearbyint): Define using libm_alias_double.
21661 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21662 <libm-alias-double.h>.
21663 (rint): Define using libm_alias_double.
21664 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21665 <libm-alias-double.h>.
21666 (trunc): Define using libm_alias_double.
21667 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21668 <libm-alias-double.h>.
21669 (copysign): Define using libm_alias_double.
21670 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21671 <libm-alias-double.h>.
21672 (fabs): Define using libm_alias_double.
21673 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21674 <libm-alias-double.h>.
21675 (lrint): Define using libm_alias_double.
21676 (llrint): Likewise.
21677 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21678 <libm-alias-double.h>.
21679 (nearbyint): Define using libm_alias_double.
21680 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21681 <libm-alias-double.h>.
21682 (rint): Define using libm_alias_double.
21683
cf4ebc27
JM
21684 [BZ #22229]
21685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21686 <math_ldbl_opt.h>.
21687 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21688
0c097378
JM
21689 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21690 SPARC --disable-multi-arch glibc variants.
21691
34bb10aa
JM
21692 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21693 <libm-alias-float.h>.
21694 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21695 if [SHARED].
21696 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21697 <libm-alias-float.h>.
21698 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21699 if [SHARED].
21700 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21701 <libm-alias-float.h>.
21702 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21703 if [SHARED].
21704 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21705 <libm-alias-float.h>.
21706 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21707 if [SHARED].
21708 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21709 <libm-alias-float.h>.
21710 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21711 if [SHARED].
21712 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21713 <libm-alias-float.h>.
21714 (ceilf): Define using libm_alias_float.
21715 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21716 <libm-alias-float.h>.
21717 (floorf): Define using libm_alias_float.
21718 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21719 <libm-alias-float.h>.
21720 (fmaf): Define using libm_alias_float.
21721 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21722 <libm-alias-float.h>.
21723 (nearbyintf): Define using libm_alias_float.
21724 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21725 <libm-alias-float.h>.
21726 (rintf): Define using libm_alias_float.
21727 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21728 <libm-alias-float.h>.
21729 (truncf): Define using libm_alias_float.
21730 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21731 (copysignf): Define using libm_alias_float.
21732 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21733 (cosf): Define using libm_alias_float.
21734 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21735 (fabsf): Define using libm_alias_float.
21736 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21737 (fmaxf): Define using libm_alias_float.
21738 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21739 (fminf): Define using libm_alias_float.
21740 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21741 (llrintf): Define using libm_alias_float.
21742 [!__ILP32__] (lrintf): Likewise.
21743 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21744 (sincosf): Define using libm_alias_float.
21745 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21746 (sinf): Define using libm_alias_float.
21747 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21748 (lrintf): Define using libm_alias_float.
21749
011fba7e
JM
21750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21751 <libm-alias-double.h>.
21752 (atan): Define using libm_alias_double.
21753 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21754 <libm-alias-double.h>.
21755 (ceil): Define using libm_alias_double.
21756 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21757 <libm-alias-double.h>.
21758 (floor): Define using libm_alias_double.
21759 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21760 <libm-alias-double.h>.
21761 (fma): Define using libm_alias_double.
21762 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21763 <libm-alias-double.h>.
21764 (nearbyint): Define using libm_alias_double.
21765 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21766 <libm-alias-double.h>.
21767 (rint): Define using libm_alias_double.
21768 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21769 <libm-alias-double.h>.
21770 (sin): Define using libm_alias_double.
21771 (cos): Likewise.
21772 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21773 <libm-alias-double.h>.
21774 (tan): Define using libm_alias_double.
21775 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21776 <libm-alias-double.h>.
21777 (trunc): Define using libm_alias_double.
21778 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21779 (copysign): Define using libm_alias_double.
21780 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21781 (fabs): Define using libm_alias_double.
21782 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21783 (fmax): Define using libm_alias_double.
21784 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21785 (fmin): Define using libm_alias_double.
21786 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21787 (llrint): Define using libm_alias_double.
21788 [!__ILP32__] (lrint): Likewise.
21789 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21790 (lrint): Define using libm_alias_double.
21791
1cbd7bfe
AZ
217922017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21793
21bfcc3d
AZ
21794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21795 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21796 objects.
21797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21803
522228dd
AZ
21804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21805 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21806 objects.
21807 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21809 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21812 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21813
2a6f4fab
AZ
21814 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21815 (libm-sysdep_routines): Add s_nearbyint-generic and
21816 s_nearbyintf-generic objects.
21817 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21818 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21819 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21820 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21821 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21822 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21823
712b5b83
AZ
21824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21825 Add s_finitef-generic and s_finite-generic objects.
21826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21829 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21832
c96d3335
AZ
21833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21834 Add s_isinff-generic and s_isinf-generic objects.
21835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21841
c6862a23
AZ
21842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21843 Add s_isnanf-generic and s_isnan-generic objects.
21844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21850
1cbd7bfe
AZ
21851 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21852 macro.
21853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21854 rule.
21855 (sysdep_routines): Use sysdep_calls as base.
21856 (libm-sysdep_routines): Add generic rule for symbols shared with
21857 libc. Add s_signbit-generic and s_signbitf-generic objects.
21858 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21859 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21860 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21861 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21862 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21864
aa1142c5
JM
218652017-11-29 Joseph Myers <joseph@codesourcery.com>
21866
21867 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21868 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21869 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21870 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21871 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21872 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21873 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21874 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21875 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21876 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21877 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21878 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21879 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21880 libm_alias_float_r.
21881 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21882 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21883 (logf): Likewise.
21884 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21885 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21886 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21887 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21888 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21889 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21890 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21891 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21892 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21893 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21894 libm_alias_float.
21895 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21896 (cosf): Likewise.
21897 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21898 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21899 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21900 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21901 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21902 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21903 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21904 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21905 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21906 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21907 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21908 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21909 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21910 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21911 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21912 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21913 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21914 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21915 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21916 libm_alias_float.
21917 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21918 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21919 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21920 * sysdeps/ia64/fpu/w_lgammaf_main.c
21921 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21922 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21923
363e4519
DL
219242017-11-28 Mike FABIAN <mfabian@redhat.com>
21925 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
21926
21927 [BZ #17750]
21928 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21929 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21930 accents sorting.
21931 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21932 sorting.
21933 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21934 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21935 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21936 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21937 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21938 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21939 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21940 instead of “ifdef DIACRIT_BACKWARD”.
21941
a55430cb
AZ
219422017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21943
21944 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21945 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21946 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21947 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21948 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21949 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21956 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21957 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21958 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21959 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21960 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21961 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21963 ($(have-as-vis3) == yes): Remove conditional.
21964 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21965 Likewise.
21966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21967 file.
21968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21969 file.
21970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21971 file.
21972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21973 file.
21974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21980 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21981 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21982
0609ec0a
JM
219832017-11-29 Joseph Myers <joseph@codesourcery.com>
21984
21985 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21986 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21987 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21988 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21989 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21990 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21991 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21992 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21993 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21994 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21995 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21996 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21997 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21998 libm_alias_double_r.
21999 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22000 (log): Likewise.
22001 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22002 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22003 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22004 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22005 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22006 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22007 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22008 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22009 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22010 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22011 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22012 libm_alias_double.
22013 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22014 (cos): Likewise.
22015 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22016 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22017 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22018 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22019 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22020 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22021 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22022 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22023 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22024 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22025 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22026 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22027 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22028 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22029 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22030 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22031 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22032 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22033 libm_alias_double.
22034 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22035 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22036 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22037 * sysdeps/ia64/fpu/w_lgamma_main.c
22038 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22039 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22040
d5bfa34a
JDA
220412017-11-28 John David Anglin <danglin@gcc.gnu.org>
22042
22043 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22044 address of $global$ into %dp register earlier. Use pc-relative
22045 instruction sequence for PIC case.
22046
bc4e8f9b
JM
220472017-11-28 Joseph Myers <joseph@codesourcery.com>
22048
e4602cba
JM
22049 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22050 (asinhf): Define using libm_alias_float.
22051 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22052 (atanf): Define using libm_alias_float.
22053 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22054 (cbrtf): Define using libm_alias_float.
22055 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22056 (ceilf): Define using libm_alias_float.
22057 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22058 (copysignf): Define using libm_alias_float.
22059 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22060 (expm1f): Define using libm_alias_float.
22061 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22062 (fabsf): Define using libm_alias_float.
22063 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22064 (floorf): Define using libm_alias_float.
22065 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22066 (fmaxf): Define using libm_alias_float.
22067 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22068 (fminf): Define using libm_alias_float.
22069 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22070 (frexpf): Define using libm_alias_float.
22071 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22072 (llrintf): Define using libm_alias_float.
22073 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22074 (logbf): Define using libm_alias_float.
22075 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22076 (lrintf): Define using libm_alias_float.
22077 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22078 (nearbyintf): Define using libm_alias_float.
22079 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22080 (remquof): Define using libm_alias_float.
22081 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22082 (rintf): Define using libm_alias_float.
22083 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22084 (truncf): Define using libm_alias_float.
22085 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22086 <libm-alias-float.h>.
22087 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22088 if [SHARED].
22089 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22090 <libm-alias-float.h>.
22091 (expf): Define using libm_alias_float, or libm_alias_float_other
22092 if [SHARED].
22093 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22094 <libm-alias-float.h>.
22095 (log2f): Define using libm_alias_float, or libm_alias_float_other
22096 if [SHARED].
22097 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22098 <libm-alias-float.h>.
22099 (logf): Define using libm_alias_float, or libm_alias_float_other
22100 if [SHARED].
22101 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22102 <libm-alias-float.h>.
22103 (powf): Define using libm_alias_float, or libm_alias_float_other
22104 if [SHARED].
22105 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22106 <libm-alias-float.h>.
22107 (cosf): Define using libm_alias_float.
22108 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22109 <libm-alias-float.h>.
22110 (sincosf): Define using libm_alias_float.
22111 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22112 <libm-alias-float.h>.
22113 (sinf): Define using libm_alias_float.
22114 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22115 (fmaxf): Define using libm_alias_float.
22116 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22117 (fminf): Define using libm_alias_float.
22118 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22119 <libm-alias-float.h>.
22120 (fmaf): Define using libm_alias_float.
22121
bc4e8f9b
JM
22122 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22123 (asinh): Define using libm_alias_double.
22124 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22125 (atan): Define using libm_alias_double.
22126 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22127 (cbrt): Define using libm_alias_double.
22128 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22129 (ceil): Define using libm_alias_double.
22130 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22131 (copysign): Define using libm_alias_double.
22132 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22133 (expm1): Define using libm_alias_double.
22134 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22135 (fabs): Define using libm_alias_double.
22136 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22137 (fdim): Define using libm_alias_double.
22138 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22139 (floor): Define using libm_alias_double.
22140 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22141 (fmax): Define using libm_alias_double.
22142 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22143 (fmin): Define using libm_alias_double.
22144 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22145 (frexp): Define using libm_alias_double.
22146 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22147 (llrint): Define using libm_alias_double.
22148 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22149 (logb): Define using libm_alias_double.
22150 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22151 (lrint): Define using libm_alias_double.
22152 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22153 (nearbyint): Define using libm_alias_double.
22154 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22155 (remquo): Define using libm_alias_double.
22156 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22157 (rint): Define using libm_alias_double.
22158 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22159 (trunc): Define using libm_alias_double.
22160 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22161 (fmax): Define using libm_alias_double.
22162 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22163 (fmin): Define using libm_alias_double.
22164 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22165 (fma): Define using libm_alias_double.
22166
8d81ce0c
L
221672017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22168
22169 [BZ #22370]
22170 * elf/dl-hwcaps.c (ROUND): Removed.
22171 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22172 and ELF_NOTE_NEXT_OFFSET.
22173 * elf/dl-load.c (ROUND): Removed.
22174 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22175 * elf/readelflib.c (ROUND): Removed.
22176 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22177 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22178 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22179 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22180
6940bd96
JM
221812017-11-28 Joseph Myers <joseph@codesourcery.com>
22182
313ba463
JM
22183 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22184 [!__fmaf] (fmaf): Define using libm_alias_float.
22185
6940bd96
JM
22186 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22187 [!__fma] (fma): Define using libm_alias_double.
22188 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22189
22c69b6a
MF
221902017-11-28 Mike FABIAN <mfabian@redhat.com>
22191
22192 [BZ #22336]
22193 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22194 and implement the collation rules for cs from CLDR on top of that.
22195 * Makefile: Add cs_CZ.UTF-8 to test-input.
22196 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22197
8d7d3ba8
SP
221982017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22199
22200 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22201
0422ed1e
VR
222022017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22203 Icarus Sparry <icarus.w.sparry@intel.com>
22204
22205 * benchtests/Makefile:Add BENCHSET to allow subsets of
22206 benchmarks to be run.
22207 * benchtests/README: Add documentation for: Running subsets of
22208 benchmarks.
22209
0595e360
VR
222102017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22211
d5090db3
VR
22212 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22213 range of tests names.
22214
0595e360
VR
22215 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22216 result from property and remove "max", min" and "mean" from
22217 required properties based on benchtests/bench-skeleton.c.
22218
b4c645c2
FW
222192017-11-28 Florian Weimer <fweimer@redhat.com>
22220
22221 [BZ #20826]
22222 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22223 due to Internet requirement.
22224 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22225 tst-getaddrinfo5.
22226 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22227
88684de7
AZ
222282017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22229
69056564
AZ
22230 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22231 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22232 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22233 (sysdep_routines): Add memset-ultra1.
22234 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22235 file.
22236 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22237 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22238 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22239 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22240 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22241 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22242 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22243 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22244
88684de7
AZ
22245 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22246 file.
22247 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22248 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22249 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22250 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22251 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22252 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22253 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22254 macro.
22255 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22256 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22257 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22258 (sysdep_routines): Add memcpy-ultra1.
22259 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22260 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22261
d8124864
JM
222622017-11-28 Joseph Myers <joseph@codesourcery.com>
22263
f433d0b3
JM
22264 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22265 (cfloat_versions): Take function argument without trailing 'f'.
22266 Call libm_alias_float_other.
22267 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22268 * sysdeps/alpha/fpu/cargf.c: Likewise.
22269 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22270 * sysdeps/alpha/fpu/conjf.c: Likewise.
22271 * sysdeps/alpha/fpu/crealf.c: Likewise.
22272 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22273 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22274 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22275 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22276 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22277 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22278 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22279 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22280 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22281 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22282 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22283 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22284 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22285 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22286 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22287 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22288 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22289 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22290 (clog10f): Use libm_alias_float_other.
22291 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22292 (ceilf): Define using libm_alias_float.
22293 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22294 (copysignf): Define using libm_alias_float.
22295 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22296 (fabsf): Define using libm_alias_float.
22297 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22298 (floorf): Define using libm_alias_float.
22299 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22300 (fmaxf): Define using libm_alias_float.
22301 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22302 (fminf): Define using libm_alias_float.
22303 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22304 (lrintf): Define using libm_alias_float.
22305 (llrintf): Likewise.
22306 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22307 (lroundf): Define using libm_alias_float.
22308 (llroundf): Likewise.
22309 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22310 (rintf): Define using libm_alias_float.
22311 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22312 (truncf): Define using libm_alias_float.
22313
15ff4900
JM
22314 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22315 (ceilf): Define using libm_alias_float.
22316 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22317 (floorf): Define using libm_alias_float.
22318 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22319 (fmaf): Define using libm_alias_float.
22320 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22321 (fmaxf): Define using libm_alias_float.
22322 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22323 (fminf): Define using libm_alias_float.
22324 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22325 (llrintf): Define using libm_alias_float.
22326 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22327 (llroundf): Define using libm_alias_float.
22328 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22329 (lrintf): Define using libm_alias_float.
22330 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22331 (lroundf): Define using libm_alias_float.
22332 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22333 <libm-alias-float.h>.
22334 (nearbyintf): Define using libm_alias_float.
22335 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22336 (rintf): Define using libm_alias_float.
22337 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22338 (roundf): Define using libm_alias_float.
22339 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22340 (truncf): Define using libm_alias_float.
22341
5de60638
JM
22342 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22343 (ceil): Define using libm_alias_double.
22344 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22345 (copysign): Define using libm_alias_double.
22346 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22347 (fabs): Define using libm_alias_double.
22348 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22349 (floor): Define using libm_alias_double.
22350 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22351 (fmax): Define using libm_alias_double.
22352 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22353 (fmin): Define using libm_alias_double.
22354 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22355 (lrint): Define using libm_alias_double.
22356 (llrint): Likewise.
22357 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22358 (lround): Define using libm_alias_double.
22359 (llround): Likewise.
22360 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22361 (rint): Define using libm_alias_double.
22362 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22363 (trunc): Define using libm_alias_double.
22364
d8124864
JM
22365 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22366 (libm_alias_double_r): Add semicolon after weak_alias call.
22367
f07d2ec8
JM
223682017-11-27 Joseph Myers <joseph@codesourcery.com>
22369
22370 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22371 (ceil): Define using libm_alias_double.
22372 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22373 (floor): Define using libm_alias_double.
22374 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22375 (fma): Define using libm_alias_double.
22376 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22377 (fmax): Define using libm_alias_double.
22378 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22379 (fmin): Define using libm_alias_double.
22380 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22381 (llrint): Define using libm_alias_double.
22382 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22383 (llround): Define using libm_alias_double.
22384 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22385 (lrint): Define using libm_alias_double.
22386 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22387 (lround): Define using libm_alias_double.
22388 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22389 (nearbyint): Define using libm_alias_double.
22390 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22391 (rint): Define using libm_alias_double.
22392 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22393 (round): Define using libm_alias_double.
22394 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22395 (trunc): Define using libm_alias_double.
22396
4bab0224
FW
223972017-11-27 Florian Weimer <fweimer@redhat.com>
22398
22399 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22400 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22401 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22402 (tests): Add tst-mlock2.
22403 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22404 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22405 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22406 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22407 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22408 for mlock. Document mlock2.
22409
a23aa5b7
JM
224102017-11-27 Joseph Myers <joseph@codesourcery.com>
22411
22412 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22413 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22414 Likewise.
22415 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22416 Likewise.
22417 * sysdeps/x86/Makeconfig: New file.
22418 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22419 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22420 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22421 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22422 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22423 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22424 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22425 Likewise.
22426 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22427 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22428 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22429 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22430 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22431 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22432 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22433 * manual/math.texi (Mathematics): Document support for _Float64x.
22434 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22435 * stdlib/Versions (GLIBC_2.27): Likewise.
22436 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22437 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22438 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22439 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22440 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22441 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22442 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22443 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22444 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22445 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22446 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22447 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22449 Likewise.
22450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22451 Likewise.
22452 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22453 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22454 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22455 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22456 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22457 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22458 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22459 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22460 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22461 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22462 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22463 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22464 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22465 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22466
c2c299fd
AS
224672017-11-27 Andreas Schwab <schwab@suse.de>
22468
22469 * elf/Makefile (dl-routines): Add dl-sort-maps.
22470 * elf/dl-sort-maps.c: New file.
22471 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22472 (_dl_sort_maps): Declare.
22473 * elf/dl-fini.c (_dl_sort_fini): Remove.
22474 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22475 * elf/dl-close.c (_dl_close_worker): Likewise.
22476 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22477 open-coding it.
22478 * elf/dl-open.c (dl_open_worker): Likewise.
22479
9d4b0117
JM
224802017-11-24 Joseph Myers <joseph@codesourcery.com>
22481
de61465c
JM
22482 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22483 using libm_alias_float128.
22484 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22485 Likewise.
22486 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22487 Likewise.
22488 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22489 (setpayloadsigf128): Likewise.
22490 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22491 Likewise.
22492 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22493 Likewise.
22494
9ae6d171
JM
22495 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22496 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22497 -mfloat128 to CFLAGS.
22498 ($(foreach
22499 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22500 Likewise.
22501 (CFLAGS-libm-test-support-float64x.c): New variable.
22502 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22503 $(f128-loader-link) to gnulib-tests.
22504
6e70d156
JM
22505 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22506 (libm_alias_float128_other_r): If
22507 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22508 alias.
22509 (libm_alias_float128_r): Add semicolon after weak_alias call.
22510 * sysdeps/generic/libm-alias-ldouble.h
22511 (libm_alias_ldouble_other_r_f128): New macro.
22512 (libm_alias_ldouble_other_r_f64x): Likewise.
22513 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22514 and libm_alias_ldouble_other_r_f64x.
22515 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22516 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22517 (libm_alias_ldouble_other_r_f128): New macro.
22518 (libm_alias_ldouble_other_r_f64x): Likewise.
22519 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22520 and libm_alias_ldouble_other_r_f64x.
22521
df2806cd
JM
22522 * stdlib/strfroml.c: Always include <stdlib.h>.
22523 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22524 undefine as macro and define as weak alias.
22525 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22526 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22527 <stdlib.h>.
22528 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22529 Define and later undefine as macro and define as weak alias.
22530
0df4fe35
JM
22531 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22532 Define and later undefine as macro. Define as weak alias if
22533 [!USE_WIDE_CHAR].
22534 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22535 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22536 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22537 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22538 Define and later undefine as macro. Define as weak alias if
22539 [!USE_WIDE_CHAR].
22540 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22541 Define and later undefine as macro. Define as weak alias if
22542 [USE_WIDE_CHAR].
22543 * sysdeps/ieee754/float128/strtof128_l.c
22544 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22545 Define and later undefine as macro. Define as weak alias if
22546 [!USE_WIDE_CHAR].
22547 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22548 Define and later undefine as macro. Define as weak alias if
22549 [USE_WIDE_CHAR].
22550 * sysdeps/ieee754/ldbl-128/strtold_l.c
22551 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22552 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22553 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22554 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22555 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22556 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22557 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22558 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22559 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22560 * sysdeps/ieee754/ldbl-96/strtold_l.c
22561 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22562 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22563 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22564 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22565
ae7207d0
JM
22566 * math/test-float64x.h: New file.
22567 * math/Makefile (type-float64x-yes): New variable.
22568 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22569
9596fc69
JM
22570 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22571 function-like macro.
22572 (min_of_type_): Likewise.
22573 (min_of_type_l): Likewise.
22574 (min_of_type_f128): Likewise.
22575 (min_of_type): Pass () as last argument of __MATH_TG.
22576
46453c3c
JM
22577 * stdlib/tst-strtod-round-skeleton.c
22578 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22579 headers.
22580
01e659e7
JM
22581 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22582 for combinations of long double with _Float64 and _Float64x.
22583
5c60afdd
JM
22584 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22585 (__DECL_SIMD_cosf32): Likewise.
22586 (__DECL_SIMD_cosf64): Likewise.
22587 (__DECL_SIMD_cosf32x): Likewise.
22588 (__DECL_SIMD_cosf64x): Likewise.
22589 (__DECL_SIMD_cosf128x): Likewise.
22590 (__DECL_SIMD_sinf16): Likewise.
22591 (__DECL_SIMD_sinf32): Likewise.
22592 (__DECL_SIMD_sinf64): Likewise.
22593 (__DECL_SIMD_sinf32x): Likewise.
22594 (__DECL_SIMD_sinf64x): Likewise.
22595 (__DECL_SIMD_sinf128x): Likewise.
22596 (__DECL_SIMD_sincosf16): Likewise.
22597 (__DECL_SIMD_sincosf32): Likewise.
22598 (__DECL_SIMD_sincosf64): Likewise.
22599 (__DECL_SIMD_sincosf32x): Likewise.
22600 (__DECL_SIMD_sincosf64x): Likewise.
22601 (__DECL_SIMD_sincosf128x): Likewise.
22602 (__DECL_SIMD_logf16): Likewise.
22603 (__DECL_SIMD_logf32): Likewise.
22604 (__DECL_SIMD_logf64): Likewise.
22605 (__DECL_SIMD_logf32x): Likewise.
22606 (__DECL_SIMD_logf64x): Likewise.
22607 (__DECL_SIMD_logf128x): Likewise.
22608 (__DECL_SIMD_expf16): Likewise.
22609 (__DECL_SIMD_expf32): Likewise.
22610 (__DECL_SIMD_expf64): Likewise.
22611 (__DECL_SIMD_expf32x): Likewise.
22612 (__DECL_SIMD_expf64x): Likewise.
22613 (__DECL_SIMD_expf128x): Likewise.
22614 (__DECL_SIMD_powf16): Likewise.
22615 (__DECL_SIMD_powf32): Likewise.
22616 (__DECL_SIMD_powf64): Likewise.
22617 (__DECL_SIMD_powf32x): Likewise.
22618 (__DECL_SIMD_powf64x): Likewise.
22619 (__DECL_SIMD_powf128x): Likewise.
22620
9d4b0117
JM
22621 * stdlib/Versions (libc): Move entries for wcstof128 and
22622 wcstof128_l to ....
22623 * wcsmbs/Versions (libc): ... here.
22624 Include <float128-abi.h>.
22625
7911dd47
FW
226262017-11-24 Florian Weimer <fweimer@redhat.com>
22627
22628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22629 bits/mman-shared.h.
22630 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22631 <bits/mman-shared.h>.
22632 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22633 to ...
22634 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22635 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22636 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22637 <bits/mman-shared.h>.
22638
c45d78aa
AZ
226392017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22640
22641 [BZ #22457]
22642 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22643 posix_memalign/free.
22644 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22645
3ffc4cc1
MF
226462017-11-22 Mike FABIAN <mfabian@redhat.com>
22647
22648 [BZ #22469]
22649 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22650 and implement the collation rules for pl from CLDR on top of that.
22651 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22652 of locales to be built for testing.
22653 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22654
3a327316
JM
226552017-11-23 Joseph Myers <joseph@codesourcery.com>
22656
22657 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22658 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22659 libm_alias_ldouble_other.
22660 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22661 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22662 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22663 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22664 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22665 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22666 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22667 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22668 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22669 libm_alias_ldouble_r.
22670 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22671 libm_alias_ldouble_other.
22672 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22673 (log10l): Likewise.
22674 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22675 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22676 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22677 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22678 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22679 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22680 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22681 (atan2l): Likewise.
22682 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22683 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22684 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22685 libm_alias_ldouble.
22686 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22687 (cosl): Likewise.
22688 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22689 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22690 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22691 (expl): Likewise.
22692 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22693 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22694 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22695 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22696 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22697 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22698 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22699 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22700 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22701 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22702 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22703 libm_alias_ldouble.
22704 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22705 libm_alias_ldouble_other.
22706 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22707 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22708 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22709 libm_alias_ldouble.
22710 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22711 libm_alias_ldouble_other.
22712 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22713 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22714 * sysdeps/ia64/fpu/w_lgammal_main.c
22715 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22716 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22717
0a947e06
FW
227182017-11-23 Florian Weimer <fweimer@redhat.com>
22719
22720 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22721 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22722 alike. Remove freeres marker.
22723 * malloc/arena.c (arena_thread_freeres): Call
22724 tcache_thread_shutdown.
22725
67f36c79
FW
227262017-11-23 Florian Weimer <fweimer@redhat.com>
22727
22728 [BZ #22459]
22729 Export nscd hash function as __nss_hash.
22730 * include/nss.h (__nss_hash): Declare.
22731 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22732 symbol.
22733 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22734 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22735 of __nscd_hash.
22736 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22737 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22738 * nss/Makefiles (routines): Add nss_hash.
22739 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22740 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22741 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22742 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22743
cccb6d4e
FW
227442017-11-23 Florian Weimer <fweimer@redhat.com>
22745
22746 [BZ #22478]
22747 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22748 Return error code, not -1.
22749 * signal/tst-sigwait-eintr.c: New file.
22750 * signal/Makefile (tests): Add tst-sigwait-eintr.
22751
59d2cbb1
FW
227522017-11-23 Florian Weimer <fweimer@redhat.com>
22753
22754 Linux: Add memfd_create system call wrapper
22755 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22756 tst-memfd_create.
22757 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22758 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22759 [__USE_GNU] (memfd_create): Declare.
22760 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22761 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22762 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22763 * sysdeps/unix/sysv/linux/**.abilist: Update.
22764 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22765
a90d1ac2
JM
227662017-11-22 Joseph Myers <joseph@codesourcery.com>
22767
0a9d1d62
JM
22768 * localedata/gen-locale.sh: Fix typo in variable name.
22769
754034c4
JM
22770 * resolv/res_debug.c (p_secstodate): Condition definition on
22771 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22772 directly as __p_secstodate, and as a compat symbol. Do not use
22773 libresolv_hidden_def.
22774 * resolv/resolv.h (p_secstodate): Remove macro and function
22775 declaration.
22776 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22777 using p_secstodate.
22778 * include/resolv.h (__p_secstodate): Do not use
22779 libresolv_hidden_proto.
22780 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22781 (tests-internal): ... here.
22782 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22783 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22784 and declare and use __p_secstodate and use compat_symbol_reference
22785 in that case.
22786 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22787 implementation returning 77.
22788
f120cda6
JM
22789 [BZ #22463]
22790 * resolv/res_debug.c: Include <libc-diag.h>.
22791 (p_secstodate): Assert time_t at least as wide as u_long. On
22792 overflow, use integer seconds since the epoch as output, or use
22793 "<overflow>" as output and set errno to EOVERFLOW if integer
22794 seconds since the epoch would be 14 or more characters.
22795 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22796 for sprintf call.
22797 * resolv/tst-p_secstodate.c: New file.
22798 * resolv/Makefile (tests): Add tst-p_secstodate.
22799 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22800
a90d1ac2
JM
22801 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22802 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22803 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22804
0285e6bd
PE
228052017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22806
22807 * posix/regcomp.c (init_word_char): Add comments.
22808
4bae6150
JM
228092017-11-22 Joseph Myers <joseph@codesourcery.com>
22810
22811 [BZ #22447]
22812 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22813 strlen to compute length of ut_user and set trailing NUL byte of
22814 result explicitly.
22815
4b7af5fc
MF
228162017-11-21 Mike FABIAN <mfabian@redhat.com>
22817
22818 [BZ #15537]
22819 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22820 using “copy "iso14651_t1"” and then implementing the
22821 collation rules for lv from CLDR on top of that.
22822 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22823 of locales to be built for testing.
22824 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22825 sorting.
22826
922bb78c
JM
228272017-11-21 Joseph Myers <joseph@codesourcery.com>
22828
22829 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22830 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22831 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22832 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22833 [__USE_MISC] (MADV_HWPOISON): New macro.
22834 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22835
a3aaa598
AZ
228362017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22837
22838 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22839 -Wmissing-braces on GCC 4.9.
22840
8beba15d
SL
228412017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22842
22843 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22844 * sysdeps/s390/s390-32/start.S (_start): Likewise
22845 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22846 (thread_start): Likewise.
22847 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22848 (thread_start): Likewise.
22849 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22850 (__makecontext_ret): Likewise.
22851 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22852 (__makecontext_ret): Likewise.
22853
80eb52e3
SL
228542017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22855
22856 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22857 __wcschrnul): Remove attribute_hidden.
22858
567d8c1f
PE
228592017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22860
22861 regex: don't assume uint64_t or uint32_t
22862 This avoids -Werror=overflow errors for 32-bit systems in
22863 the 64-bit case. Problem reported by Joseph Myers in:
22864 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22865 Also, when this code is used in Gnulib it ports to platforms
22866 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22867 them, and on some 32-bit compilers there is no uint64_t.
22868 Problem reported by Gianluigi Tiesi in:
22869 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22870 * posix/regcomp.c (init_word_char): Don't assume that the types
22871 uint64_t and uint32_t exist. Adapted from Gnulib patch
22872 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22873 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22874
4d7632ff
SP
228752017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22876
5a67c4fa
SP
22877 * sysdeps/aarch64/memset-reg.h: New file.
22878 * sysdeps/aarch64/memset.S: Use it.
22879 (__memset): Rename to MEMSET macro.
22880 [ZVA_MACRO]: Use zva_macro.
22881 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22882 Add memset_generic and memset_falkor.
22883 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22884 (__libc_ifunc_impl_list): Add memset ifuncs.
22885 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22886 local variable zva_size.
22887 * sysdeps/aarch64/multiarch/memset.c: New file.
22888 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22889 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22890 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22891 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22892 (DCZID_DZP_MASK): New macro.
22893 (DCZID_BS_MASK): Likewise.
22894 (init_cpu_features): Read and set zva_size.
22895 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22896 (struct cpu_features): New member zva_size.
22897
eb332f9f
SP
22898 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22899 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22900 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22901
4d7632ff
SP
22902 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22903 backwards. Fix timing computation.
22904 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22905 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22906 on memset by N at a time. Fix timing computation.
22907
a465b89e
FW
229082017-11-20 Florian Weimer <fweimer@redhat.com>
22909
22910 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22911 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22912
0f74bbf5
FW
229132017-11-19 Florian Weimer <fweimer@redhat.com>
22914
22915 manual: Document mprotect
22916 * manual/memory.texi (Memory Protection): New section.
22917 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22918 documentation of PROT_* flags and reference the Memory Protection
22919 section instead.
22920
f6e965ee
FW
229212017-11-19 Florian Weimer <fweimer@redhat.com>
22922
22923 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22924 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22925 (Scatter-Gather): ... to here. Remove misleading comment.
22926
363e4519 229272017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 22928
5f9d1949
CB
22929 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22930 style.
22931
ea69a5c8
CB
22932 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22933 when /proc/<pid>/setgroups does not exist.
22934
8db7f48c
FW
229352017-11-18 Florian Weimer <fweimer@redhat.com>
22936
22937 * sysdeps/unix/sysv/linux/tst-ttyname.c
22938 (become_root_in_mount_ns): Remove.
22939 (do_in_chroot_1): Call support_enter_mount_namespace.
22940 (do_in_chroot_2): Likewise.
22941 (do_test): Call support_become_root early.
22942
273a0c49
FW
229432017-11-18 Florian Weimer <fweimer@redhat.com>
22944
22945 * support/namespace.h (support_enter_mount_namespace): Declare.
22946 * support/support_enter_mount_namespace.c: New file.
22947 * support/Makefile (libsupport-routines): Add
22948 support_enter_mount_namespace.
22949
8adfb0ee
FW
229502017-11-18 Florian Weimer <fweimer@redhat.com>
22951
22952 * support/temp_file.c (support_create_temp_directory): Use
22953 test_dir and do not rely on the presence of the XXXXXX suffix.
22954 * support/temp_file.h (support_create_temp_directory): Update
22955 comment.
22956 * support/tst-xreadlink.c (do_test): Adjust.
22957 * support/support_chroot.c (support_chroot_create): Likewise.
22958
df0c40ee
TMQMF
229592017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22960
22961 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22962 macro.
22963 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22964 htm-no-suspend.
22965
015c6dc2
JM
229662017-11-17 Joseph Myers <joseph@codesourcery.com>
22967
f58e5f48
JM
22968 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22969 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22970 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22971 (ceill): Define using libm_alias_ldouble.
22972 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22973 <libm-alias-ldouble.h>.
22974 (copysignl): Define using libm_alias_ldouble.
22975 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22976 (fabsl): Define using libm_alias_ldouble.
22977 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22978 (floorl): Define using libm_alias_ldouble.
22979 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22980 (fmaxl): Define using libm_alias_ldouble.
22981 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22982 (fminl): Define using libm_alias_ldouble.
22983 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22984 (llrintl): Define using libm_alias_ldouble.
22985 (lrintl): Likewise.
22986 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22987 <libm-alias-ldouble.h>.
22988 (nearbyintl): Define using libm_alias_ldouble.
22989 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22990 (truncl): Define using libm_alias_ldouble.
22991 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22992 <libm-alias-ldouble.h>.
22993 (lrintl): Define using libm_alias_ldouble.
22994
2ce30701
JM
22995 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22996 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22997 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22998 (asinhl): Define using libm_alias_ldouble.
22999 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23000 (atanl): Define using libm_alias_ldouble.
23001 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23002 (cbrtl): Define using libm_alias_ldouble.
23003 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23004 (ceill): Define using libm_alias_ldouble.
23005 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23006 (copysignl): Define using libm_alias_ldouble.
23007 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23008 (fabsl): Define using libm_alias_ldouble.
23009 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23010 (floorl): Define using libm_alias_ldouble.
23011 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23012 (fmaxl): Define using libm_alias_ldouble.
23013 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23014 (fminl): Define using libm_alias_ldouble.
23015 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23016 (frexpl): Define using libm_alias_ldouble.
23017 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23018 (llrintl): Define using libm_alias_ldouble.
23019 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23020 (logbl): Define using libm_alias_ldouble.
23021 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23022 (lrintl): Define using libm_alias_ldouble.
23023 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23024 (nearbyintl): Define using libm_alias_ldouble.
23025 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23026 (nextafterl): Define using libm_alias_ldouble.
23027 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23028 (remquol): Define using libm_alias_ldouble.
23029 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23030 (rintl): Define using libm_alias_ldouble.
23031 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23032 (truncl): Define using libm_alias_ldouble.
23033 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23034 (fmaxl): Define using libm_alias_ldouble.
23035 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23036 (fminl): Define using libm_alias_ldouble.
23037
015c6dc2
JM
23038 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23039 to C syntax instead of availability and properties of types.
23040 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23041 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23042 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23043 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23044 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23045 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23046
ce003e5d
FW
230472017-11-17 Florian Weimer <fweimer@redhat.com>
23048
23049 support_become_root: Enable file creation in namespaces.
23050 * support/support_become_root.c (setup_mapping): New function.
23051 (support_become_root): Call it.
23052
e7df6c5c
JM
230532017-11-17 Joseph Myers <joseph@codesourcery.com>
23054
23055 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23056 macro.
23057
58a813bf
AZ
230582017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23059
23060 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23061 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23062
f97773d1
JM
230632017-11-16 Joseph Myers <joseph@codesourcery.com>
23064
6a6aa1f3
JM
23065 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23066
f97773d1
JM
23067 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23068 version to 4.14.
23069
a306c790
SP
230702017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23071
7b0fb870
SP
23072 * INSTALL: Fix botched up regeneration.
23073
23074 * NEWS: Update sourceare link to https.
a306c790
SP
23075 * configure.ac: Likewise.
23076 * crypt/md5test-giant.c: Likewise.
23077 * dlfcn/bug-atexit1.c: Likewise.
23078 * dlfcn/bug-atexit2.c: Likewise.
23079 * localedata/README: Likewise.
23080 * malloc/tst-mallocfork.c: Likewise.
23081 * manual/install.texi: Likewise.
23082 * nptl/tst-pthread-getattr.c: Likewise.
23083 * stdio-common/tst-fgets.c: Likewise.
23084 * stdio-common/tst-fwrite.c: Likewise.
23085 * sunrpc/Makefile: Likewise.
23086 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23087 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
23088 * configure: Regenerate.
23089 * INSTALL: Regenerate.
a306c790 23090
7532837d
MS
230912017-11-15 Martin Sebor <msebor@redhat.com>
23092
23093 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23094 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23095 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23096
495a56fd
LS
230972017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23098
d9611e30
LS
23099 [BZ #22145]
23100 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23101 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23102
a09dfc19
LS
23103 [BZ #22145]
23104 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23105 Defer is_pty check until end of the function.
23106 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23107
2fbce9c2
LS
23108 [BZ #22145]
23109 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23110 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23111 (ttyname): Likewise.
23112 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23113 (__ttyname_r): Likewise.
23114
d10d6cab
LS
23115 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23116 int to bool.
23117
9b5a8750
LS
23118 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23119
495a56fd
LS
23120 * manual/terminal.texi (Is It a Terminal):
23121 Mention ENODEV for ttyname and ttyname_r.
23122
fa680dc6
JM
231232017-11-15 Joseph Myers <joseph@codesourcery.com>
23124
78cde19f
JM
23125 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23126 constant and macro.
23127
fa680dc6
JM
23128 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23129 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23130 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23131 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23132 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23133 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23134
ad4f43a2
AZ
231352017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23136
1ba1d8a4
AZ
23137 * signal/sigrelse.c (sigrelse): Optimize implementation.
23138
ad4f43a2
AZ
23139 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23140 (__sigpause): Rely on __sigsuspend to implement single thread
23141 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23142
d0212d42
JM
231432017-11-15 Joseph Myers <joseph@codesourcery.com>
23144
23145 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23146 kernel version to 4.14.
23147
2180fee1
SE
231482017-11-15 Steve Ellcey <sellcey@cavium.com>
23149
23150 [BZ #22442]
23151 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23152 Check if ifname is too long.
23153
cad7ca39
LS
231542017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23155
23156 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23157
58c9f659
MF
231582017-11-15 Mike FABIAN <mfabian@redhat.com>
23159
23160 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23161 was accidentally lost.
23162
0fa87c01
MF
231632017-11-15 Mike FABIAN <mfabian@redhat.com>
23164
23165 * localedata/locales/az_IR: Add standard copyright header.
23166
34eb4157
FW
231672017-11-15 Florian Weimer <fweimer@redhat.com>
23168
23169 [BZ #22439]
23170 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23171 not just the top one. Output a new "subheaps" statistic.
23172
7a9368a1
FW
231732017-11-15 Florian Weimer <fweimer@redhat.com>
23174
23175 [BZ #22408]
23176 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23177 under the per-arena lock.
23178 * malloc/Makefile (tests): Add tst-malloc_info.
23179 (tst-malloc_info): Link with libpthread.
23180 * malloc/tst-malloc_info.c: New file.
23181
be3a79a3
JM
231822017-11-15 Joseph Myers <joseph@codesourcery.com>
23183
23184 [BZ #21660]
23185 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23186 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23187 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23188 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23189 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23190 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23191 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23192 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23193 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23194 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23195 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23196 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23197 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23198 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23199 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23200 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23201 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23202 (__floating_type): Likewise.
23203 (__real_integer_type): Likewise.
23204 (__complex_integer_type): Likewise.
23205 (__expr_is_real): Likewise.
23206 (__tgmath_real_type_sub): Likewise.
23207 (__tgmath_real_type): Likewise.
23208 (__tgmath_complex_type_sub): Likewise.
23209 (__tgmath_complex_type): Likewise.
23210 (__TGMATH_F128): Likewise.
23211 (__TGMATH_CF128): Likewise.
23212 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23213 new macros.
23214 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23215 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23216 Likewise.
23217 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23218 Likewise.
23219 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23220 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23221 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23222 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23223 Likewise.
23224 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23225 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23226 Likewise.
23227 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23228 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23229 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23230 Likewise.
23231 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23232 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23233 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23234 (cimag): Likewise.
23235 (creal): Likewise.
23236
ec72135e
JM
232372017-11-14 Joseph Myers <joseph@codesourcery.com>
23238
2e64ec9c
JM
23239 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23240 for stpncpy calls for GCC 8.
23241 (test_strncat): Disable -Wstringop-truncation warning for strncat
23242 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23243 strncat call for GCC 7.
23244 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23245 calls for GCC 8.
23246 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23247 trailing NUL.
23248
ec72135e
JM
23249 * string/bug-strncat1.c: Include <libc-diag.h>.
23250 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23251
363e4519 232522017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
23253
23254 [BZ #22387]
23255 * localedata/locales/aa_DJ: Improved readibility by replacing
23256 <Uxxxx> sequences in the ASCII printable range by their ASCII
23257 character equivalents.
23258 * localedata/locales/aa_ER: Likewise.
23259 * localedata/locales/aa_ER@saaho: Likewise.
23260 * localedata/locales/aa_ET: Likewise.
23261 * localedata/locales/af_ZA: Likewise.
23262 * localedata/locales/agr_PE: Likewise.
23263 * localedata/locales/ak_GH: Likewise.
23264 * localedata/locales/am_ET: Likewise.
23265 * localedata/locales/anp_IN: Likewise.
23266 * localedata/locales/ar_AE: Likewise.
23267 * localedata/locales/ar_BH: Likewise.
23268 * localedata/locales/ar_DZ: Likewise.
23269 * localedata/locales/ar_EG: Likewise.
23270 * localedata/locales/ar_IN: Likewise.
23271 * localedata/locales/ar_IQ: Likewise.
23272 * localedata/locales/ar_JO: Likewise.
23273 * localedata/locales/ar_KW: Likewise.
23274 * localedata/locales/ar_LB: Likewise.
23275 * localedata/locales/ar_LY: Likewise.
23276 * localedata/locales/ar_MA: Likewise.
23277 * localedata/locales/ar_OM: Likewise.
23278 * localedata/locales/ar_QA: Likewise.
23279 * localedata/locales/ar_SA: Likewise.
23280 * localedata/locales/ar_SD: Likewise.
23281 * localedata/locales/ar_SS: Likewise.
23282 * localedata/locales/ar_SY: Likewise.
23283 * localedata/locales/ar_TN: Likewise.
23284 * localedata/locales/ar_YE: Likewise.
23285 * localedata/locales/as_IN: Likewise.
23286 * localedata/locales/ast_ES: Likewise.
23287 * localedata/locales/ayc_PE: Likewise.
23288 * localedata/locales/az_AZ: Likewise.
23289 * localedata/locales/az_IR: Likewise.
23290 * localedata/locales/be_BY: Likewise.
23291 * localedata/locales/be_BY@latin: Likewise.
23292 * localedata/locales/bem_ZM: Likewise.
23293 * localedata/locales/ber_DZ: Likewise.
23294 * localedata/locales/ber_MA: Likewise.
23295 * localedata/locales/bg_BG: Likewise.
23296 * localedata/locales/bhb_IN: Likewise.
23297 * localedata/locales/bho_IN: Likewise.
23298 * localedata/locales/bi_VU: Likewise.
23299 * localedata/locales/bn_BD: Likewise.
23300 * localedata/locales/bn_IN: Likewise.
23301 * localedata/locales/bo_CN: Likewise.
23302 * localedata/locales/bo_IN: Likewise.
23303 * localedata/locales/br_FR: Likewise.
23304 * localedata/locales/brx_IN: Likewise.
23305 * localedata/locales/bs_BA: Likewise.
23306 * localedata/locales/byn_ER: Likewise.
23307 * localedata/locales/ca_AD: Likewise.
23308 * localedata/locales/ca_ES: Likewise.
23309 * localedata/locales/ca_FR: Likewise.
23310 * localedata/locales/ca_IT: Likewise.
23311 * localedata/locales/ce_RU: Likewise.
23312 * localedata/locales/chr_US: Likewise.
23313 * localedata/locales/cmn_TW: Likewise.
23314 * localedata/locales/crh_UA: Likewise.
23315 * localedata/locales/cs_CZ: Likewise.
23316 * localedata/locales/csb_PL: Likewise.
23317 * localedata/locales/cv_RU: Likewise.
23318 * localedata/locales/cy_GB: Likewise.
23319 * localedata/locales/da_DK: Likewise.
23320 * localedata/locales/de_AT: Likewise.
23321 * localedata/locales/de_BE: Likewise.
23322 * localedata/locales/de_CH: Likewise.
23323 * localedata/locales/de_DE: Likewise.
23324 * localedata/locales/de_IT: Likewise.
23325 * localedata/locales/de_LI: Likewise.
23326 * localedata/locales/de_LU: Likewise.
23327 * localedata/locales/doi_IN: Likewise.
23328 * localedata/locales/dv_MV: Likewise.
23329 * localedata/locales/dz_BT: Likewise.
23330 * localedata/locales/el_CY: Likewise.
23331 * localedata/locales/el_GR: Likewise.
23332 * localedata/locales/en_AG: Likewise.
23333 * localedata/locales/en_AU: Likewise.
23334 * localedata/locales/en_BW: Likewise.
23335 * localedata/locales/en_CA: Likewise.
23336 * localedata/locales/en_DK: Likewise.
23337 * localedata/locales/en_GB: Likewise.
23338 * localedata/locales/en_HK: Likewise.
23339 * localedata/locales/en_IE: Likewise.
23340 * localedata/locales/en_IL: Likewise.
23341 * localedata/locales/en_IN: Likewise.
23342 * localedata/locales/en_NG: Likewise.
23343 * localedata/locales/en_NZ: Likewise.
23344 * localedata/locales/en_PH: Likewise.
23345 * localedata/locales/en_SG: Likewise.
23346 * localedata/locales/en_US: Likewise.
23347 * localedata/locales/en_ZA: Likewise.
23348 * localedata/locales/en_ZM: Likewise.
23349 * localedata/locales/en_ZW: Likewise.
23350 * localedata/locales/eo: Likewise.
23351 * localedata/locales/es_AR: Likewise.
23352 * localedata/locales/es_BO: Likewise.
23353 * localedata/locales/es_CL: Likewise.
23354 * localedata/locales/es_CO: Likewise.
23355 * localedata/locales/es_CR: Likewise.
23356 * localedata/locales/es_CU: Likewise.
23357 * localedata/locales/es_DO: Likewise.
23358 * localedata/locales/es_EC: Likewise.
23359 * localedata/locales/es_ES: Likewise.
23360 * localedata/locales/es_GT: Likewise.
23361 * localedata/locales/es_HN: Likewise.
23362 * localedata/locales/es_MX: Likewise.
23363 * localedata/locales/es_NI: Likewise.
23364 * localedata/locales/es_PA: Likewise.
23365 * localedata/locales/es_PE: Likewise.
23366 * localedata/locales/es_PR: Likewise.
23367 * localedata/locales/es_PY: Likewise.
23368 * localedata/locales/es_SV: Likewise.
23369 * localedata/locales/es_US: Likewise.
23370 * localedata/locales/es_UY: Likewise.
23371 * localedata/locales/es_VE: Likewise.
23372 * localedata/locales/et_EE: Likewise.
23373 * localedata/locales/eu_ES: Likewise.
23374 * localedata/locales/eu_ES@euro: Likewise.
23375 * localedata/locales/fa_IR: Likewise.
23376 * localedata/locales/ff_SN: Likewise.
23377 * localedata/locales/fi_FI: Likewise.
23378 * localedata/locales/fil_PH: Likewise.
23379 * localedata/locales/fo_FO: Likewise.
23380 * localedata/locales/fr_BE: Likewise.
23381 * localedata/locales/fr_CA: Likewise.
23382 * localedata/locales/fr_CH: Likewise.
23383 * localedata/locales/fr_FR: Likewise.
23384 * localedata/locales/fr_LU: Likewise.
23385 * localedata/locales/fur_IT: Likewise.
23386 * localedata/locales/fy_DE: Likewise.
23387 * localedata/locales/fy_NL: Likewise.
23388 * localedata/locales/ga_IE: Likewise.
23389 * localedata/locales/gd_GB: Likewise.
23390 * localedata/locales/gez_ER: Likewise.
23391 * localedata/locales/gez_ET: Likewise.
23392 * localedata/locales/gl_ES: Likewise.
23393 * localedata/locales/gu_IN: Likewise.
23394 * localedata/locales/gv_GB: Likewise.
23395 * localedata/locales/ha_NG: Likewise.
23396 * localedata/locales/hak_TW: Likewise.
23397 * localedata/locales/he_IL: Likewise.
23398 * localedata/locales/hi_IN: Likewise.
23399 * localedata/locales/hif_FJ: Likewise.
23400 * localedata/locales/hne_IN: Likewise.
23401 * localedata/locales/hr_HR: Likewise.
23402 * localedata/locales/hsb_DE: Likewise.
23403 * localedata/locales/ht_HT: Likewise.
23404 * localedata/locales/hu_HU: Likewise.
23405 * localedata/locales/hy_AM: Likewise.
23406 * localedata/locales/i18n: Likewise.
23407 * localedata/locales/ia_FR: Likewise.
23408 * localedata/locales/id_ID: Likewise.
23409 * localedata/locales/ig_NG: Likewise.
23410 * localedata/locales/ik_CA: Likewise.
23411 * localedata/locales/is_IS: Likewise.
23412 * localedata/locales/it_CH: Likewise.
23413 * localedata/locales/it_IT: Likewise.
23414 * localedata/locales/iu_CA: Likewise.
23415 * localedata/locales/ja_JP: Likewise.
23416 * localedata/locales/ka_GE: Likewise.
23417 * localedata/locales/kk_KZ: Likewise.
23418 * localedata/locales/kl_GL: Likewise.
23419 * localedata/locales/kn_IN: Likewise.
23420 * localedata/locales/ko_KR: Likewise.
23421 * localedata/locales/kok_IN: Likewise.
23422 * localedata/locales/ks_IN: Likewise.
23423 * localedata/locales/ks_IN@devanagari: Likewise.
23424 * localedata/locales/ku_TR: Likewise.
23425 * localedata/locales/kw_GB: Likewise.
23426 * localedata/locales/ky_KG: Likewise.
23427 * localedata/locales/lb_LU: Likewise.
23428 * localedata/locales/lg_UG: Likewise.
23429 * localedata/locales/li_BE: Likewise.
23430 * localedata/locales/li_NL: Likewise.
23431 * localedata/locales/lij_IT: Likewise.
23432 * localedata/locales/ln_CD: Likewise.
23433 * localedata/locales/lo_LA: Likewise.
23434 * localedata/locales/lt_LT: Likewise.
23435 * localedata/locales/lv_LV: Likewise.
23436 * localedata/locales/lzh_TW: Likewise.
23437 * localedata/locales/mag_IN: Likewise.
23438 * localedata/locales/mai_IN: Likewise.
23439 * localedata/locales/mg_MG: Likewise.
23440 * localedata/locales/mhr_RU: Likewise.
23441 * localedata/locales/mi_NZ: Likewise.
23442 * localedata/locales/mk_MK: Likewise.
23443 * localedata/locales/ml_IN: Likewise.
23444 * localedata/locales/mn_MN: Likewise.
23445 * localedata/locales/mni_IN: Likewise.
23446 * localedata/locales/mr_IN: Likewise.
23447 * localedata/locales/ms_MY: Likewise.
23448 * localedata/locales/mt_MT: Likewise.
23449 * localedata/locales/my_MM: Likewise.
23450 * localedata/locales/nan_TW: Likewise.
23451 * localedata/locales/nan_TW@latin: Likewise.
23452 * localedata/locales/nb_NO: Likewise.
23453 * localedata/locales/nds_DE: Likewise.
23454 * localedata/locales/nds_NL: Likewise.
23455 * localedata/locales/ne_NP: Likewise.
23456 * localedata/locales/nhn_MX: Likewise.
23457 * localedata/locales/niu_NU: Likewise.
23458 * localedata/locales/niu_NZ: Likewise.
23459 * localedata/locales/nl_AW: Likewise.
23460 * localedata/locales/nl_BE: Likewise.
23461 * localedata/locales/nl_NL: Likewise.
23462 * localedata/locales/nn_NO: Likewise.
23463 * localedata/locales/nr_ZA: Likewise.
23464 * localedata/locales/nso_ZA: Likewise.
23465 * localedata/locales/oc_FR: Likewise.
23466 * localedata/locales/om_ET: Likewise.
23467 * localedata/locales/om_KE: Likewise.
23468 * localedata/locales/or_IN: Likewise.
23469 * localedata/locales/os_RU: Likewise.
23470 * localedata/locales/pa_IN: Likewise.
23471 * localedata/locales/pa_PK: Likewise.
23472 * localedata/locales/pap_AW: Likewise.
23473 * localedata/locales/pap_CW: Likewise.
23474 * localedata/locales/pl_PL: Likewise.
23475 * localedata/locales/ps_AF: Likewise.
23476 * localedata/locales/pt_BR: Likewise.
23477 * localedata/locales/pt_PT: Likewise.
23478 * localedata/locales/quz_PE: Likewise.
23479 * localedata/locales/raj_IN: Likewise.
23480 * localedata/locales/ro_RO: Likewise.
23481 * localedata/locales/ru_RU: Likewise.
23482 * localedata/locales/ru_UA: Likewise.
23483 * localedata/locales/rw_RW: Likewise.
23484 * localedata/locales/sa_IN: Likewise.
23485 * localedata/locales/sat_IN: Likewise.
23486 * localedata/locales/sc_IT: Likewise.
23487 * localedata/locales/sd_IN: Likewise.
23488 * localedata/locales/sd_IN@devanagari: Likewise.
23489 * localedata/locales/se_NO: Likewise.
23490 * localedata/locales/sgs_LT: Likewise.
23491 * localedata/locales/shs_CA: Likewise.
23492 * localedata/locales/si_LK: Likewise.
23493 * localedata/locales/sid_ET: Likewise.
23494 * localedata/locales/sk_SK: Likewise.
23495 * localedata/locales/sl_SI: Likewise.
23496 * localedata/locales/sm_WS: Likewise.
23497 * localedata/locales/so_DJ: Likewise.
23498 * localedata/locales/so_ET: Likewise.
23499 * localedata/locales/so_KE: Likewise.
23500 * localedata/locales/so_SO: Likewise.
23501 * localedata/locales/sq_AL: Likewise.
23502 * localedata/locales/sq_MK: Likewise.
23503 * localedata/locales/sr_ME: Likewise.
23504 * localedata/locales/sr_RS: Likewise.
23505 * localedata/locales/sr_RS@latin: Likewise.
23506 * localedata/locales/ss_ZA: Likewise.
23507 * localedata/locales/st_ZA: Likewise.
23508 * localedata/locales/sv_FI: Likewise.
23509 * localedata/locales/sv_SE: Likewise.
23510 * localedata/locales/sw_KE: Likewise.
23511 * localedata/locales/sw_TZ: Likewise.
23512 * localedata/locales/szl_PL: Likewise.
23513 * localedata/locales/ta_IN: Likewise.
23514 * localedata/locales/ta_LK: Likewise.
23515 * localedata/locales/tcy_IN: Likewise.
23516 * localedata/locales/te_IN: Likewise.
23517 * localedata/locales/tg_TJ: Likewise.
23518 * localedata/locales/th_TH: Likewise.
23519 * localedata/locales/the_NP: Likewise.
23520 * localedata/locales/ti_ER: Likewise.
23521 * localedata/locales/ti_ET: Likewise.
23522 * localedata/locales/tig_ER: Likewise.
23523 * localedata/locales/tk_TM: Likewise.
23524 * localedata/locales/tl_PH: Likewise.
23525 * localedata/locales/tn_ZA: Likewise.
23526 * localedata/locales/to_TO: Likewise.
23527 * localedata/locales/tpi_PG: Likewise.
23528 * localedata/locales/tr_CY: Likewise.
23529 * localedata/locales/tr_TR: Likewise.
23530 * localedata/locales/ts_ZA: Likewise.
23531 * localedata/locales/tt_RU: Likewise.
23532 * localedata/locales/tt_RU@iqtelif: Likewise.
23533 * localedata/locales/ug_CN: Likewise.
23534 * localedata/locales/uk_UA: Likewise.
23535 * localedata/locales/unm_US: Likewise.
23536 * localedata/locales/ur_IN: Likewise.
23537 * localedata/locales/ur_PK: Likewise.
23538 * localedata/locales/uz_UZ: Likewise.
23539 * localedata/locales/uz_UZ@cyrillic: Likewise.
23540 * localedata/locales/ve_ZA: Likewise.
23541 * localedata/locales/vi_VN: Likewise.
23542 * localedata/locales/wa_BE: Likewise.
23543 * localedata/locales/wae_CH: Likewise.
23544 * localedata/locales/wal_ET: Likewise.
23545 * localedata/locales/wo_SN: Likewise.
23546 * localedata/locales/xh_ZA: Likewise.
23547 * localedata/locales/yi_US: Likewise.
23548 * localedata/locales/yo_NG: Likewise.
23549 * localedata/locales/yue_HK: Likewise.
23550 * localedata/locales/yuw_PG: Likewise.
23551 * localedata/locales/zh_CN: Likewise.
23552 * localedata/locales/zh_HK: Likewise.
23553 * localedata/locales/zh_SG: Likewise.
23554 * localedata/locales/zh_TW: Likewise.
23555 * localedata/locales/zu_ZA: Likewise.
23556
cae87e64
FW
235572017-11-13 Florian Weimer <fweimer@redhat.com>
23558
23559 * support/next_to_fault.h, support/next_to_fault.c: New files.
23560 * support/Makefile (libsupport-routines): Add next_to_fault.
23561 * resolv/tst-inet_pton.c (struct next_to_fault)
23562 (next_to_fault_allocate, next_to_fault_free): Remove.
23563 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23564
4a306ef1
L
235652017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23566
23567 * elf/dl-support.c: Include <dl-procruntime.c>.
23568 * include/link.h: Include <link_map.h>.
23569 * sysdeps/generic/dl-procruntime.c: New file.
23570 * sysdeps/generic/link_map.h: Likewise.
23571 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23572 the writable ld.so namespace.
23573
e69897bf
PE
235742017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23575
23576 timezone: pacify GCC -Wstringop-truncation
23577 Problem reported by Martin Sebor in:
23578 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23579 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23580
1ffe1ccb
FW
235812017-11-12 Florian Weimer <fweimer@redhat.com>
23582
eceed671
FW
23583 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23584 tst-xreadlink.
23585 (tests): Add tst-xreadlink.
1ffe1ccb
FW
23586 * support/support.h (xstrndup): Declare.
23587 * support/xunistd.h (xunlink, xreadlink): Declare.
23588 * support/temp_file.h (support_create_temp_directory): Declare.
23589 * support/temp_file.c (support_create_temp_directory): New function.
23590 * support/support_chroot.c (support_chroot_create): Use it.
23591 * support/xreadlink.c: New file.
23592 * support/xstrndup.c: Likewise.
23593 * support/xunlink.c: Likewise.
23594 * support/tst-xreadlink.c: Likewise.
23595
456b40a9
JDA
235962017-11-11 John David Anglin <danglin@gcc.gnu.org>
23597
23598 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23599
c0a25aa9
FW
236002017-11-11 Florian Weimer <fweimer@redhat.com>
23601
23602 [BZ #22409]
23603 [BZ #22412]
23604 * resolv/res_comp.c (printable_string, binary_hnok)
23605 (binary_leading_dash): New functions.
23606 (res_hnok): Reimplement using these functions and ns_name_pton.
23607 (res_ownok): Likewise.
23608 (res_mailok): Reimplement using printable_string, ns_name_pton and
23609 binary_hnok.
23610 (res_dnok): Reimplement using printable_string and ns_name_pton.
23611 * resolv/tst-res_hnok.c (tests): Add additional tests.
23612 (LETTERDIGITS, PRINTABLE): Define.
23613 (do_test): Adjust one_char results.
23614
9e0ad304
FW
236152017-11-11 Florian Weimer <fweimer@redhat.com>
23616
23617 [BZ #22413]
23618 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23619 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23620
e2a9fca8
FW
236212017-11-11 Florian Weimer <fweimer@redhat.com>
23622
23623 * resolv/tst-ns_name_pton.c: New file.
23624 * resolv/Makefile (tests): Add tst-ns_name_pton.
23625 (tst-ns_name_pton): Link against libresolv.
23626
5c1a6923
FW
236272017-11-11 Florian Weimer <fweimer@redhat.com>
23628
23629 * resolv/tst-res_hnok.c: New file.
23630 * resolv/Makefile (tests): Add tst-res_hnok.
23631 (tst-res_hnok): Link against libresolv.
23632
a19c0a1d
FW
236332017-11-11 Florian Weimer <fweimer@redhat.com>
23634
23635 * resolv/tst-resolv-network.c: Use test framework instead explicit
23636 main function.
23637
8cb5295d
L
236382017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23639
23640 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23641 <jmp_buf-macros.h>.
23642 [!_ISOMAC] (STR_HELPER): New.
23643 [!_ISOMAC] (STR): Likewise.
23644 [!_ISOMAC] (TEST_SIZE): Likewise.
23645 [!_ISOMAC] (TEST_ALIGN): Likewise.
23646 [!_ISOMAC] (TEST_OFFSET): Likewise.
23647 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23648 field offsets of jmp_buf as well as sigjmp_buf.
23649 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23650 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23651 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23652 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23653 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23654 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23655 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23656 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23657 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23658 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23659 Likewise.
23660 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23661 Likewise.
23662 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23664 Likewise.
23665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23666 Likewise.
23667 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23668 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23669 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23670 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23671 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23673 Likewise.
23674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23675 Likewise.
23676 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23677 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23678 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23679
58c4a161
JM
236802017-11-07 Joseph Myers <joseph@codesourcery.com>
23681
3683b423
JM
23682 * include/float.h
23683 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23684 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23685 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23686 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23687 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23688 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23689 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23690 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23691 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23692 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23693 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23694 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23695 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23696 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23697 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23698 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23699 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23700 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23701 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23702 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23703 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23704 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23705 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23706 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23707 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23708 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23709 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23710 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23711 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23712 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23713 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23714 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23715 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23716 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23717 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23718 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23719 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23720 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23721 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23722 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23723 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23724 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23725 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23726 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23727 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23728 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23729 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23730 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23731 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23732 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23733 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23734 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23735 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23736 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23737 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23738 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23739 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23740 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23741 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23742 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23743 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23744 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23745 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23746 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23747 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23748 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23749 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23750 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23751 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23752 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23753 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23754 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23755 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23756 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23757 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23758 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23759 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23760 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23761 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23762 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23763 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23764 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23765 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23766 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23767 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23768 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23769 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23770 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23771
58c4a161
JM
23772 * stdlib/tst-strtod.h (F16): New macro.
23773 (F32): Likewise.
23774 (F64): Likewise.
23775 (F32X): Likewise.
23776 (F64X): Likewise.
23777 (F128X): Likewise.
23778 (IF_FLOAT16): Likewise.
23779 (IF_FLOAT32): Likewise.
23780 (IF_FLOAT64): Likewise.
23781 (IF_FLOAT32X): Likewise.
23782 (IF_FLOAT64X): Likewise.
23783 (IF_FLOAT128X): Likewise.
23784 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23785 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23786 (STRTOD_TEST_FOREACH): Likewise.
23787 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23788 (CHOOSE_f64): Likewise.
23789 (CHOOSE_f32x): Likewise.
23790 (CHOOSE_f64x): Likewise.
23791
feda96a1
AS
237922017-11-07 Andreas Schwab <schwab@suse.de>
23793
23794 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23795
1bd0cbb8
MF
237962017-11-07 Mike FABIAN <mfabian@redhat.com>
23797
23798 [BZ #22403]
23799 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23800 to be escaped.
23801 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23802 to be escaped.
23803
363e4519 238042017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
23805
23806 [BZ #22403]
23807 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23808 to be escaped.
23809 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23810 to be escaped.
23811 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23812 to be escaped.
23813
dff91cd4
AZ
238142017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23815
06be6368
AZ
23816 [BZ #22298]
23817 * nptl/allocatestack.c (allocate_stack): Check if
23818 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23819 __PTHREAD_MUTEX_HAVE_PREV is defined.
23820 * nptl/descr.h (pthread): Likewise.
23821 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23822 Likewise.
23823 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23824 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23825 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23826 * sysdeps/nptl/bits/thread-shared-types.h
23827 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23828 defines.
23829 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23830 of __WORDSIZE for internal layout.
23831 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23832 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23833 instead of __WORDSIZE whether to use an union for __spins and __list
23834 fields.
23835 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23836 case.
23837 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23838 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23839 defines.
23840 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23841 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23842 Likewise.
23843 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23844 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23845 Likewise.
23846 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23847 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23848 Likewise.
23849 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23850 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23851 Likewise.
23852 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23853 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23854 Likewise.
23855 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23856 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23857 Likewise.
23858 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23859 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23860 Likewise.
23861 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23862 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23863 Likewise.
23864 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23865 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23866 Likewise.
23867 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23868 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23869 Likewise.
23870 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23871 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23872 Likewise.
23873 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23874 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23875 Likewise.
23876 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23877 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23878 Likewise.
23879 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23880 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23881 Likewise.
23882
72b3c6ee
AZ
23883 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23884 New macros.
23885 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23886 checks for expected input type size.
23887 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23888 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23889 Likewise.
23890 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23891 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23892 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23893 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23894 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23895 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23896 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23897 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23898 superflous runtime assert check.
23899 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23900 Likewise.
23901 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23902 Likewise.
23903 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23904 Likewise.
23905 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23906 Likewise.
23907 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23908 Likewise.
23909 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23910 Likewise.
23911 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23912 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23913 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23914 Likewise.
23915 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23916 Likewise.
23917 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23918 Likewise.
23919 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23920 Likewise.
23921 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23922 Likewise.
23923 * nptl/pthread_attr_setinheritsched.c
23924 (__pthread_attr_setinheritsched): Likewise.
23925 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23926 Likewise.
23927 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23928 Likewise.
23929 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23930 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23931 __old_pthread_attr_setstack): Likewise.
23932 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23933 Likewise.
23934 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23935 Likewise.
23936 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23937 Likewise.
23938 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23939 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23940 Likewise.
23941 * nptl/tst-typesizes.c: Remove file.
23942
dff91cd4
AZ
23943 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23944 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23945 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23946 checks for internal pthread_mutex_t offsets.
23947 * sysdeps/aarch64/nptl/pthread-offsets.h
23948 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23949 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23950 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23951 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23952 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23953 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23954 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23955 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23956 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23957 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23958 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23959 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23960 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23961 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23962 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23963 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23964 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23965 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23966
b7fc95f8
FW
239672017-11-07 Florian Weimer <fweimer@redhat.com>
23968
23969 * bits/mman-linux.h: Move ...
23970 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23971 comment.
23972 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23973 outdated comment.
23974
6b860364
RS
239752017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23976
23977 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23978 Redefine STRNLEN as __strnlen_power8.
23979
802c1f16
AZ
239802017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23981
d83da3a4
AZ
23982 * signal/sighold.c (sighold): Optimize implementation.
23983
6a4235f1
AZ
23984 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23985 __NR_rt_sigqueueinfo.
23986
8b0e795a
AZ
23987 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23988 __sigtimedwait.
23989 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23990 assume __NR_rt_sigtimedwait.
23991 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23992 and add LIBC_CANCEL_HANDLED for cancellation marking.
23993 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23994
a1a638dd
AZ
23995 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23996 (sysdeps_routines): Add memchr_noneon.
23997 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23998 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23999 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24000 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24001 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24002 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24003 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24004
802c1f16
AZ
24005 * sysdeps/arm/arm-ifunc.h: New file.
24006 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24007 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24008 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24009 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24010 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24011 (__memcpy_neon): Avoid create hidden alias.
24012 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24013 (__memcpy_vfp): Likewise.
24014 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24015 (sysdep_routines): Add memcpy_arm.
24016 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24017
abcb584d
L
240182017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24019
24020 [BZ #22362]
24021 * Makerules (make-link-multidir): New.
24022 * config.make.in (multidir): New.
24023 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24024 * configure: Regenerated.
24025 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24026 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24027 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24028 New target.
24029
4e2dff67
JM
240302017-11-06 Joseph Myers <joseph@codesourcery.com>
24031
24032 [BZ #22402]
24033 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24034 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24035
a1c7cd3c
MF
240362017-11-04 Mike FABIAN <mfabian@redhat.com>
24037
24038 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24039 to be escaped.
24040
b9af29c0
FW
240412017-11-04 Florian Weimer <fweimer@redhat.com>
24042
24043 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24044
4ca70e1a
JM
240452017-11-03 Joseph Myers <joseph@codesourcery.com>
24046
24047 * math/math.h [__HAVE_DISTINCT_FLOAT16
24048 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24049 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24050 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24051 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24052 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24053 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24054 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24055 (__MATH_TG_F32): New macro.
24056 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24057 (__MATH_TG_F64X): Likewise.
24058 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24059 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24060
ba0e6668
DL
240612017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24062
24063 * po/de.po: Update translations.
24064 * po/ru.po: Likewise.
24065
bc18a6d3
FW
240662017-11-03 Florian Weimer <fweimer@redhat.com>
24067
24068 * manual/filesys.texi (Hard Links): Document linkat.
24069
97255170
JM
240702017-11-03 Joseph Myers <joseph@codesourcery.com>
24071
86ec4865
JM
24072 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24073 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24074 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24075 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24076 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24077 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24078 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24079 the same as _Float128.
24080 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24081 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24082 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24083
97255170
JM
24084 * stdlib/stdlib.h
24085 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24086 Declare.
24087 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24088 Likewise.
24089 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24090 Likewise.
24091 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24092 (strtof32x): Likewise.
24093 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24094 (strtof64x): Likewise.
24095 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24096 (strtof128x): Likewise.
24097 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24098 (strfromf16): Likewise.
24099 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24100 (strfromf32): Likewise.
24101 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24102 (strfromf64): Likewise.
24103 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24104 (strfromf32x): Likewise.
24105 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24106 (strfromf64x): Likewise.
24107 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24108 (strfromf128x): Likewise.
24109 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24110 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24111 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24112 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24113 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24114 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24115
6d58ce5e
RH
241162017-11-03 Richard Henderson <rth@twiddle.net>
24117
24118 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24119
659ca267
SN
241202017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24121
24122 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24123
94d2f0af
SN
241242017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24125
24126 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24127 DT_TLSDESC_GOT initialization.
24128 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24129 (_dl_tlsdesc_resolve_hold): Likewise.
24130 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24131 (_dl_tlsdesc_resolve_hold): Likewise.
24132 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24133 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24134
28e1ddf3
SN
241352017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24136
24137 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24138
0ca3d1d6
SN
241392017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24140
24141 [BZ #18572]
24142 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24143 non-lazily for R_ARM_TLS_DESC.
24144
2c1d4e5f
SN
241452017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24146
24147 [BZ #17078]
24148 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24149 R_ARM_TLS_DESC case.
24150 (elf_machine_lazy_rel): Remove the prelink check.
24151
91c5a366
SN
241522017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24153
24154 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24155 DT_TLSDESC_GOT initialization.
24156 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24157 (_dl_tlsdesc_resolve_rela): Likewise.
24158 (_dl_tlsdesc_resolve_hold): Likewise.
24159 (_dl_tlsdesc_undefweak): Remove ldar.
24160 (_dl_tlsdesc_dynamic): Likewise.
24161 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24162 (_dl_tlsdesc_resolve_rela): Likewise.
24163 (_dl_tlsdesc_resolve_hold): Likewise.
24164 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24165 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24166 (_dl_tlsdesc_resolve_rela): Likewise.
24167 (_dl_tlsdesc_resolve_hold): Likewise.
24168
b7cf203b
SN
241692017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24170
24171 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24172 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24173
0cc5b022
SN
241742017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24175
24176 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24177 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24178
43ddff2e
JM
241792017-11-02 Joseph Myers <joseph@codesourcery.com>
24180
24181 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24182 Declare.
24183 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24184 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24185 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24186 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24187 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24188 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24189 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24190 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24191 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24192 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24193 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24194
5baac970
MF
241952017-11-02 Mike FABIAN <mfabian@redhat.com>
24196
24197 [BZ #22382]
24198 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24199 * localedata/locales/tpi_PG: Add standard header.
24200
ef11081f
FW
242012017-11-02 Florian Weimer <fweimer@redhat.com>
24202
24203 test-errno-linux: quotactl can fail with EPERM in containers.
24204 * sysdeps/unix/sysv/linux/test-errno-linux.c
24205 (LIST, LIST_FORWARD): New macros.
24206 (check_error_in_list): New function.
24207 (test_wrp_rv): Accept list of permitted error codes.
24208 (test_wrp_rv2): Remove.
24209 (test_wrp): Call test_wrp_rv with list of error codes.
24210 (test_wrp2): Accept list of error codes.
24211 (do_test): Adjust. Allow EPERM for quotactl.
24212
d10b132b
FW
242132017-11-02 Florian Weimer <fweimer@redhat.com>
24214
24215 * stdio-common/bug16.c (do_test): Use array_length.
24216 * stdio-common/errlist.c (_sys_nerr): Likewise.
24217 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24218 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24219 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24220 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24221 (do_test): Use array_length.
24222 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24223 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24224 * stdio-common/tst-printf-round.c (do_test): Likewise.
24225 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24226 (CHECK): Use array_length.
24227 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24228 * stdio-common/tstscanf.c (main): Likewise.
24229 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24230
c94a5688
FW
242312017-11-02 Florian Weimer <fweimer@redhat.com>
24232
24233 Add array_length and array_end macros.
24234 * include/array_length.h: New file.
24235
2fac6a6c
FW
242362017-11-02 Florian Weimer <fweimer@redhat.com>
24237
24238 [BZ #22332]
24239 * posix/tst-glob-tilde.c (do_noescape): New variable.
24240 (one_test): Process it.
24241 (do_test): Set do_noescape. Add unescaping test case.
24242
2f1b212e
JM
242432017-11-01 Joseph Myers <joseph@codesourcery.com>
24244
260fbd0a
JM
24245 * math/complex.h
24246 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24247 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24248 with appropriate macros defined and undefined.
24249 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24250 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24251 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24252 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24253 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24254 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24255 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24256 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24257 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24258 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24259
2f1b212e
JM
24260 * math/complex.h
24261 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24262 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24263 that for long double. Do not condition define and undefine of
24264 _Mdouble_complex_ on [__CFLOAT128].
24265
95b93c6e
L
242662017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24267
24268 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24269 of <sysdeps/generic/sysdep.h>.
24270 (ALIGNARG): Removed.
24271 (ASM_SIZE_DIRECTIVE): Likewise.
24272 (ENTRY): Likewise.
24273 (END): Likewise.
24274 (ENTRY_CHK): Likewise.
24275 (END_CHK): Likewise.
24276 (syscall_error): Likewise.
24277 (mcount): Likewise.
24278 (PSEUDO_END): Likewise.
24279 (L): Likewise.
24280 (atom_text_section): Likewise.
24281 * sysdeps/x86/sysdep.h: New file.
24282 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24283 of <sysdeps/generic/sysdep.h>.
24284 (ALIGNARG): Removed.
24285 (ASM_SIZE_DIRECTIVE): Likewise.
24286 (ENTRY): Likewise.
24287 (END): Likewise.
24288 (ENTRY_CHK): Likewise.
24289 (END_CHK): Likewise.
24290 (syscall_error): Likewise.
24291 (mcount): Likewise.
24292 (PSEUDO_END): Likewise.
24293 (L): Likewise.
24294 (atom_text_section): Likewise.
24295
1bb36539
RL
242962017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24297
24298 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24299 category of LC_CTYPE set to "i18n:2012".
24300 * localedata/locales/i18n_ctype: Regenerate.
24301
067f5d97 243022017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 24303
87bbc4cf
YN
24304 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24305 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24306 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24307 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24308
e8681faa
YN
24309 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24310 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24311 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24312 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24313
540af6e2
JM
243142017-10-31 Joseph Myers <joseph@codesourcery.com>
24315
43e66283
JM
24316 * math/complex.h
24317 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24318 New macro.
24319 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24320 Likewise.
24321 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24322 Likewise.
24323 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24324 (CMPLXF32X): Likewise.
24325 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24326 (CMPLXF64X): Likewise.
24327 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24328 (CMPLXF128X): Likewise.
24329
540af6e2
JM
24330 * math/math.h
24331 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24332 (__MATH_EVAL_FMT2): Define to add 0.0f.
24333
58af72b4
AM
243342017-10-31 Alan Modra <amodra@gmail.com>
24335
24336 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24337 include sysdep.h.
24338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24352 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24353 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24354 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24355 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24356 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24357 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24360 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24362 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24363 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24364 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24365 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24366 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24367 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24368 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24369 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24370 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24371 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24372 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24373 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24374 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24375 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24376 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24377 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24378 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24379 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24380 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24381 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24382 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24383 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24384 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24385 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24386 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24387 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24388 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24389 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24390 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24391 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24392 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24393 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24394 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24395 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24396 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24397 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24398 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24399 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24400 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24401 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24402 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24403 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24404 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24405 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24406 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24407
24408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24409 include sysdep.h and math_ldbl_opt.h.
24410
24411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24412 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24437
112f30b3
AM
244382017-10-31 Alan Modra <amodra@gmail.com>
24439
24440 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24441 string/strncase_l.c, not string/strncase.c.
24442 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24443 (libc_hidden_def): Redefine.
24444
e9e7eced
AM
244452017-10-31 Alan Modra <amodra@gmail.com>
24446
24447 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24448 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24449 (__strcasecmp): Don't define.
24450
f7b465cf
AM
244512017-10-31 Alan Modra <amodra@gmail.com>
24452
24453 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24454 IS_IN (libc).
24455 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24456 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24457 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24458
d46b09f9
AM
244592017-10-31 Alan Modra <amodra@gmail.com>
24460
24461 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24462 USE_AS_STPNCPY.
24463
e9b8e194
AM
244642017-10-31 Alan Modra <amodra@gmail.com>
24465
24466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24467 Redefine only when SHARED.
24468
eda162dd
JM
244692017-10-30 Joseph Myers <joseph@codesourcery.com>
24470
b61afe8c
JM
24471 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24472 Include <bits/math-finite.h> with appropriate macros defined and
24473 undefined.
24474 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24475 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24476 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24477 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24478 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24479
eda162dd
JM
24480 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24481 [!_Mlong_double_] (_Mlong_double_): Likewise.
24482 [!_Mfloat16_] (_Mfloat16_): Likewise.
24483 [!_Mfloat32_] (_Mfloat32_): Likewise.
24484 [!_Mfloat64_] (_Mfloat64_): Likewise.
24485 [!_Mfloat128_] (_Mfloat128_): Likewise.
24486 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24487 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24488 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24489 (_Mdouble_): Define without indirection through those macros.
24490 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24491 [!_Mfloat128_] (_Mfloat128_): Likewise.
24492 [_Mlong_double_] (_Mlong_double_): Likewise.
24493 (_Mdouble_): Define without indirection through those macros.
24494 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24495 not add -D_Mlong_double_=double.
24496 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24497 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24498
4ad5106e
L
244992017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24500
24501 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24502
fe326df7
L
245032017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24504
24505 * sysdeps/x86/libc-start.c: Reformat.
24506
c5cc4514
L
245072017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24508
24509 [BZ #22353]
24510 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24511 (1): Renamed to ...
24512 (L(Src0)): This.
24513 (L(Src1)): New.
24514 (L(Src2)): Likewise.
24515 (L(1)): Renamed to ...
24516 (L(Src3)): This.
24517
ce12269f
JM
245182017-10-30 Joseph Myers <joseph@codesourcery.com>
24519
24520 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24521 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24522 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24523 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24524 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24525 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24526 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24527 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24528 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24529 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24530 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24531 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24532 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24533 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24534 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24535 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24536 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24537 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24538 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24539 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24540 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24541 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24542 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24543 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24544 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24545 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24546 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24547 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24548 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24549 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24550 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24551 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24552 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24553 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24554 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24555 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24556 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24557 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24558 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24559 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24560 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24561 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24562 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24563 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24564 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24565 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24566 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24567 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24568 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24569 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24570 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24571 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24572 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24573 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24574 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24575 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24576 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24577 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24578 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24579 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24580 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24581 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24582 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24583 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24584 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24585 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24586
4484b9e2
FW
245872017-10-30 Florian Weimer <fweimer@redhat.com>
24588
24589 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24590 always defined.
24591 * io/tst-mkdirat.c (do_test): Likewise.
24592 * io/tst-mkfifoat.c (do_test): Likewise.
24593 * io/tst-mknodat.c (do_test): Likewise.
24594 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24595 * locale/programs/locale.c (select_dirs): Likewise.
24596 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24597 * posix/bug-glob2.c (my_readdir): Likewise.
24598 * posix/tst-dir.c (main): Likewise.
24599 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24600 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24601
68fe16dd
FW
246022017-10-30 Florian Weimer <fweimer@redhat.com>
24603
24604 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24605 just __USE_GNU.
24606
dadf23f0
FW
246072017-10-30 Florian Weimer <fweimer@redhat.com>
24608
24609 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24610 Convert to support/test-driver.c.
24611 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24612 New macro parameters.
24613 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24614 * posix/tst-gnuglob.c: New file.
24615 * posix/tst-gnuglob64.c: Likewise.
24616 * posix/Makefile (tests): Add tst-gnuglob64.
24617
363e4519 246182017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
24619
24620 [BZ #19485]
24621 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24622 and use a better translation for March in “mon”.
24623 * localedata/locales/csb_PL: Use more ASCII to improve the
24624 readability of the source.
24625
b110af82
MF
246262017-10-30 Mike FABIAN <mfabian@redhat.com>
24627
24628 [BZ #13953]
24629 * localedata/locales/km_KH: Use ASCII as much
24630 as possible for better readability of the source and
24631 remove useless comments.
24632 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24633 was commented out and apparently wrong anyway because it was
24634 using Lao characters. If Buddhist era should be used
24635 for km_KH, a native speaker should write the correct formaat
24636 for Khmer.
24637 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24638 (According to CLDR, the first weekday for Cambodia is Sunday).
24639 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24640 (These were using Lao characters which must be wrong. If we get
24641 the correct data from a native speaker, we could add it back, until
24642 then it is better not to have name_mr and name_mrs at all than
24643 having it wrong).
24644
f301e533
RL
246452017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24646
24647 * locale/loadlocale.c: Correct size of
24648 _nl_value_type_LC_<category> arrays.
24649
7e9d7073
JM
246502017-10-27 Joseph Myers <joseph@codesourcery.com>
24651
24652 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24653 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24654 with appropriate macros defined and undefined.
24655 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24656 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24657 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24658 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24659 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24660
63d3b468
L
246612017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24662
24663 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24664 "-O2 -march=i586".
24665
a4cc02c7
MF
246662017-10-27 Mike FABIAN <mfabian@redhat.com>
24667
24668 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24669 with lowercase letters to make it agree with CLDR.
24670
1e5971ec
MF
246712017-10-27 Mike FABIAN <mfabian@redhat.com>
24672
24673 [BZ #15260]
24674 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24675 first letters of yesstr and nostr in yesexpr and noexpr,
24676 not for the full words.
24677 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24678 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24679 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24680 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24681 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24682 first letters of yesstr and nostr in yesexpr and noexpr,
24683 until now only English was matched in yesexpr and noexpr.
24684 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24685 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24686 fil but not for tl. As tl and fil are very similar, using fil
24687 is probably better than using English.
24688
363e4519 246892017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
24690
24691 [BZ #21706]
24692 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24693 in yesstr and nostr.
24694
5d220788
JM
246952017-10-26 Joseph Myers <joseph@codesourcery.com>
24696
ecc7da5b
JM
24697 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24698 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24699 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24700 Likewise.
24701 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24702 Likewise.
24703 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24704 Likewise.
24705 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24706 Likewise.
24707 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24708 (SNANF128X): Likewise.
24709
5d220788
JM
24710 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24711 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24712 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24713 (HUGE_VAL_F32): Likewise.
24714 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24715 (HUGE_VAL_F64): Likewise.
24716 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24717 (HUGE_VAL_F32X): Likewise.
24718 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24719 (HUGE_VAL_F64X): Likewise.
24720 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24721 (HUGE_VAL_F128X): Likewise.
24722
363e4519 247232017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
24724
24725 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24726 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24727 for the br_FR locale.
24728
363e4519 247292017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
24730
24731 [BZ #21706]
24732 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24733
337ff3c5
CD
247342017-10-25 Carlos O'Donell <carlos@redhat.com>
24735
02eec681
CD
24736 * locale/programs/record-status.h: Define globals, and function
24737 prototypes. Move function bodies...
24738 * locale/programs/record-status.c: ... to here. New file.
24739 * iconv/Makefile (iconv_prog-modules): Add record-status.
24740 * locale/Makefile (lib-modules): Likewise.
24741 * iconv/iconv_prog.c: Remove verbose.
24742 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24743 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24744 record a warning about ASCII compatibility.
24745 * locale/programs/ld-monetary.c (monetary_finish): If
24746 warn_int_curr_symbol is true then record a warning about the symbol
24747 not being in our ISO 4217 list.
24748 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24749 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24750 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24751 (OPT_NO_WARN): Define.
24752 (OPT_WARN): Define.
24753 (options): Add entry for --no-warnings, and --warnings.
24754 (set_warnings): New function to enable/disable warnings.
24755 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24756 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24757 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24758 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24759 Pass flags to generate_locale.
24760 (generate_locale): Accept new flag argument and pass it to localedef
24761 invocation.
24762 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24763 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24764
56fa555a
CD
24765 * localedata/Makefile (test-input-data): Use full file name.
24766 * localedata/da_DK.in: Rename to...
24767 * localedata/da_DK.ISO-8859-1.in: ...this.
24768 * localedata/de_DE.in: Rename to...
24769 * localedata/de_DE.ISO-8859-1.in: ...this.
24770 * localedata/en_US.in: Rename to...
24771 * localedata/en_US.ISO-8859-1.in: ...this.
24772 * localedata/fr_FR.in: Rename to...
24773 * localedata/fr_FR.UTF-8.in: ... this.
24774 * localedata/hr_HR.in: Rename to...
24775 * localedata/hr_HR.ISO-8859-2.in: ...this.
24776 * localedata/hu_HU.in: Rename to...
24777 * localedata/hu_HU.UTF-8.in: ...this.
24778 * localedata/si_LK.in: Rename to...
24779 * localedata/si_LK.UTF-8.in: ...this.
24780 * localedata/sv_SE.in: Rename to...
24781 * localedata/sv_SE.ISO-8859-1.in: ...this.
24782 * localedata/tr_TR.in: Rename to...
24783 * localedata/tr_TR.UTF-8.in: ...this.
24784 * localedata/uk_UA.in: Rename to...
24785 * localedata/uk_UA.UTF-8.in: ...this.
24786 * localedata/sort-test.sh: Test file is locale name with the
24787 suffix.
24788
337ff3c5
CD
24789 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24790 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24791 file.
24792 * localedata/locales/i18n_ctype: Regenerate.
24793 * localedata/locales/tr_TR: Likewise.
24794 * localedata/locales/translit_circle: Likewise.
24795 * localedata/locales/translit_cjk_compat: Likewise.
24796 * localedata/locales/translit_combining: Likewise.
24797 * localedata/locales/translit_compat: Likewise.
24798 * localedata/locales/translit_font: Likewise.
24799 * localedata/locales/translit_fraction: Likewise.
24800
63da5cd4
RS
248012017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24802
24803 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24804 lxvd2x/stxvd2x with lvx/stvx.
24805 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24806
a122dbfb
L
248072017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24808
24809 * include/alloc_buffer.h: Replace "if if " with "if " in
24810 comments.
24811 * sysdeps/mips/memcpy.S: Likkewise.
24812 * sysdeps/mips/memset.S: Likewise.
24813 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24814 Likewise.
24815 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24816 Likewise.
24817 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24818 Likewise.
24819
9be7530c
MF
248202017-10-25 Mike FABIAN <mfabian@redhat.com>
24821
24822 [BZ #15261]
24823 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24824 yesexpr and noexpr.
24825 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24826 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24827 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24828 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24829 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24830 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24831 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24832
6ccbf6ff
MF
248332017-10-25 Mike FABIAN <mfabian@redhat.com>
24834
24835 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24836 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24837 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24838 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24839 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24840 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24841 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24842 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24843 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24844 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24845 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24846 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24847
58b1a7ea
MF
248482017-10-25 Mike FABIAN <mfabian@redhat.com>
24849
24850 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24851 as possible for better readability of the source.
24852 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24853 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24854 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24855 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24856 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24857 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24858 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24859 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24860 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24861 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24862 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24863 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24864 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24865 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24866 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24867 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24868 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24869 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24870 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24871 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24872 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24873 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24874 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24875 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24876 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24877 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24878 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24879 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24880 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24881 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24882 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24883 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24884 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24885 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24886 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24887 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24888 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24889 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24890 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24891 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24892 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24893 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24894 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24895 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24896 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24897 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24898 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24899 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24900 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24901 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24902 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24903 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24904 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24905 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24906 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24907 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24908 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24909 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24910 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24911 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24912 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24913 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24914 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24915 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24916 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24917 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24918 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24919 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24920 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24921 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24922 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24923 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24924 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24925 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24926 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24927 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24928 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24929 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24930 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24931 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24932 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24933 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24934 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24935 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24936 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24937 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24938 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24939 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24940 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24941 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24942 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24943 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24944 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24945 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24946 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24947 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24948 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24949 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24950 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24951 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24952 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24953 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24954 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24955 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24956 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24957 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24958 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24959 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24960 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24961 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24962 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24963 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24964 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24965 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24966 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24967 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24968 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24969 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24970 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24971 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24972 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24973 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24974 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24975 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24976 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24977 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24978 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24979 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24980 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24981 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24982 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24983 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24984 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24985 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24986 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24987 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24988 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24989 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24990 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24991 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24992 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24993 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24994 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24995 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24996 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24997 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24998 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24999 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25000 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25001 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25002 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25003 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25004 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25005 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25006 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25007 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25008 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25009 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25010 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25011 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25012 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25013 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25014 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25015 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25016 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25017 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25018 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25019 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25020 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25021 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25022 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25023 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25024 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25025 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25026
17e78edb
MF
250272017-10-25 Mike FABIAN <mfabian@redhat.com>
25028
25029 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25030 (Use first letters of yesstr and nostr correctly instead of using
25031 full words).
25032
74e7284f
MF
250332017-10-25 Mike FABIAN <mfabian@redhat.com>
25034
25035 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25036 (Use first letters of yesstr and nostr correctly).
25037
b41a0ff1
MF
250382017-10-25 Mike FABIAN <mfabian@redhat.com>
25039
25040 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25041 also check for the first characters of yesstr and nostr.
25042 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25043 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25044
d971f380
MF
250452017-10-25 Mike FABIAN <mfabian@redhat.com>
25046
25047 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25048 also check for Chinese characters.
25049
effc9e1d
MF
250502017-10-25 Mike FABIAN <mfabian@redhat.com>
25051
25052 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25053 match also for the contents of yesstr and nostr. As the first letter
25054 of yesstr and nostr is equal, checking only for the first letter
25055 is not enough.
25056
10320881
MF
250572017-10-25 Mike FABIAN <mfabian@redhat.com>
25058
25059 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25060 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25061
d8682a15
MF
250622017-10-25 Mike FABIAN <mfabian@redhat.com>
25063
25064 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25065 of main contributor.
25066
1bfb86ae
MF
250672017-10-25 Mike FABIAN <mfabian@redhat.com>
25068
25069 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25070 instead of using English.
25071
da33d60b
MF
250722017-10-25 Mike FABIAN <mfabian@redhat.com>
25073
25074 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25075 by including the first letters of nostr and yesexpr in the regexp.
25076 Also make it more readable by using ASCII where possible.
25077
725bbb3e
MF
250782017-10-25 Mike FABIAN <mfabian@redhat.com>
25079
25080 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25081 the first letter of nostr in the regexp. It agrees with CLDR now.
25082 Also make it more readable by using ASCII where possible.
25083
fe043d8a
MF
250842017-10-24 Mike FABIAN <mfabian@redhat.com>
25085
25086 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25087 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25088 these strings contain a U+17D6 (which somewhat looks like a colon)
25089 instead of a real colon to separate the full words for “yes”
25090 and “no” from the single letter responses.
25091
360a8df3
MF
250922017-10-24 Mike FABIAN <mfabian@redhat.com>
25093
25094 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25095 it agree with CLDR (include the first letter of yesstr).
25096 Also make it more readable by using ASCII where possible.
25097
bab7b6b0
MF
250982017-10-24 Mike FABIAN <mfabian@redhat.com>
25099
25100 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25101 and improve yesexpr and noexpr. The yesstr and nostr apparently
25102 came from CLDR. And CLDR has a bug there: these strings contain
25103 a U+0903 (which looks like a colon) instead of a real colon
25104 to separate the full words for “yes” and “no” from the single
25105 letter responses.
25106
3e79f758
MF
251072017-10-24 Mike FABIAN <mfabian@redhat.com>
25108
25109 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25110 letters of the full yesstr and nostr in yesexpr and noexpr.
25111
4960c879
MF
251122017-10-24 Mike FABIAN <mfabian@redhat.com>
25113
25114 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25115 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25116 * localedata/locales/an_ES: Make source more readable by using ASCII
25117 where possible.
25118
b06a054f
MF
251192017-10-24 Mike FABIAN <mfabian@redhat.com>
25120
25121 [BZ #20952]
25122 * localedata/locales/yuw_PG: New file.
25123 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25124 * locale/iso-639.def: Add Yau (Uruwa).
25125
905a7725
WD
251262017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25127
25128 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25129
3f6bb8a3
WD
251302017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25131
25132 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25133 (__libc_realloc): Likewise.
25134 (_mid_memalign): Likewise.
25135 (__libc_calloc): Likewise.
25136
1d479c8c
MF
251372017-10-23 Mike FABIAN <mfabian@redhat.com>
25138
25139 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25140 by adding the generic +1 and -0 as in all other locales.
25141 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25142 day names and make it more readable by using ASCII where possible.
25143
91c3985c
JM
251442017-10-24 Joseph Myers <joseph@codesourcery.com>
25145
25146 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25147 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25148
aa95a241
AZ
251492017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25150
25151 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25152 WNOHANG in waitpid call.
25153
db9bab09
SP
251542017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25155
a2e0a7f1
SP
25156 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25157 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25158
db9bab09
SP
25159 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25160 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25161 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25162 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25163 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25164 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25165 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25166 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25167 variables.
25168
5062680c
MC
251692017-10-23 Michael Collison <michael.collison@arm.com>
25170
25171 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25172 with __builtin_sqrt.
25173 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25174 with __builtin_sqrtf.
25175 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25176 with __builtin_ceil.
25177 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25178 with __builtin_ceilf.
25179 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25180 with __builtin_floor.
25181 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25182 with __builtin_floorf.
25183 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25184 with __builtin_fma.
25185 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25186 with __builtin_fmaf.
25187 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25188 with __builtin_fmax.
25189 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25190 with __builtin_fmaxf.
25191 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25192 with __builtin_fmin.
25193 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25194 with __builtin_fminf.
25195 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25196 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25197 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25198 with builtin_rint and conversion to int.
25199 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25200 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25201 with builtin_llround.
25202 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25203 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25204 with builtin_rint and conversion to long int.
25205 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25206 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25207 with builtin_lround.
25208 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25209 with builtin_lroundf.
25210 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25211 statements with __builtin_nearbyint.
25212 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25213 statements with __builtin_nearbyintf.
25214 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25215 with __builtin_rint.
25216 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25217 with __builtin_rintf.
25218 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25219 with __builtin_round.
25220 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25221 with __builtin_roundf.
25222 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25223 with __builtin_trunc.
25224 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25225 with __builtin_truncf.
be080b6c
SN
25226 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25227 and s_l[l]round[f].c too.
5062680c 25228
174935af
AM
252292017-10-23 Alan Modra <amodra@gmail.com>
25230
25231 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25232 Adjust stack after restoring regs. Add missing LR cfi_restore.
25233
750a0e49
AM
252342017-10-23 Alan Modra <amodra@gmail.com>
25235
25236 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25237 Move LR save and frame setup/teardown and LR restore to
25238 immediately around memset call. Provide cfi.
25239
5313581c
L
252402017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25241
25242 * sysdeps/i386/fpu/e_powf.S: Removed.
25243 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25244 * sysdeps/i386/fpu/w_powf.c: Likewise.
25245 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25246 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25247 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25248 Add e_powf-sse2.
25249 (CFLAGS-e_powf-sse2.c): New.
25250 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25251 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25252
6089a3ee
L
252532017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25254
25255 * sysdeps/i386/fpu/e_log2f.S: Removed.
25256 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25257 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25258 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25259 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25260 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25261 Add e_log2f-sse2.
25262 (CFLAGS-e_log2f-sse2.c): New.
25263 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25264 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25265
80bb5935
L
252662017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25267
25268 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25269 Add e_powf-fma.
25270 (CFLAGS-e_powf-fma.c): New.
25271 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25272 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25273
5c7adbd8
L
252742017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25275
25276 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25277 Add e_log2f-fma.
25278 (CFLAGS-e_log2f-fma.c): New.
25279 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25280 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25281
0ccc7153
L
252822017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25283
25284 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25285 Add e_logf-fma.
25286 (CFLAGS-e_logf-fma.c): New.
25287 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25288 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25289
fe596486
L
252902017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25291
25292 * sysdeps/i386/fpu/e_logf.S: Removed.
25293 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25294 * sysdeps/i386/fpu/w_logf.c: Likewise.
25295 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25296 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25297 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25298 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25299 Add e_logf-sse2.
25300 (CFLAGS-e_logf-sse2.c): New.
25301 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25302 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25303
7eda65f6
L
253042017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25305
25306 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25307 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25308 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25309 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25310 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25311 Add e_exp2f-sse2.
25312 (CFLAGS-e_exp2f-sse2.c): New.
25313 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25314 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25315
5d15c969
L
253162017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25317
25318 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25319 Add e_exp2f-fma.
25320 (CFLAGS-e_exp2f-fma.c): New.
25321 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25322 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25323
b2f6137e
L
253242017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25325
25326 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25327 * sysdeps/i386/fpu/e_expf.S: Likewise.
25328 * sysdeps/i386/fpu/math_errf.c: Likewise.
25329 * sysdeps/i386/fpu/w_expf.c: Likewise.
25330 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25331 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25332 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25333 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25334 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25335 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25336 Remove e_expf-ia32.
25337 (CFLAGS-e_expf-sse2.c): New.
25338 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25339 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25340
e1f59beb
L
253412017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25342
25343 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25344 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25345 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25346 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25347 e_expf.c.
25348 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25349 New.
25350 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25351 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25352 Renamed to ...
25353 (__redirect_expf): This.
25354 (SYMBOL_NAME): Changed to expf.
25355 (__ieee754_expf): Renamed to ...
25356 (__expf): This.
25357 (__GI___expf): This.
25358 (__ieee754_expf): Add strong_alias.
25359 (__expf_finite): Likewise.
25360 (__expf): New.
25361 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25362
363e4519 253632017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
25364
25365 [BZ #22332]
25366 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25367 unescaping.
25368
e80fc1fc
FW
253692017-10-21 Florian Weimer <fweimer@redhat.com>
25370
25371 * posix/Makefile (tests): Add tst-glob-tilde.
25372 (tests-special): Add tst-glob-tilde-mem.out
25373 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25374 (tst-glob-tilde-mem.out): Add mtrace check.
25375 * posix/tst-glob-tilde.c: New file.
25376
797ba44b
JM
253772017-10-20 Joseph Myers <joseph@codesourcery.com>
25378
25379 * bits/floatn-common.h: New file.
25380 * math/Makefile (headers): Add bits/floatn-common.h.
25381 * bits/floatn.h: Include <bits/floatn-common.h>.
25382 * sysdeps/ia64/bits/floatn.h: Likewise.
25383 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25384 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25385 * sysdeps/powerpc/bits/floatn.h: Likewise.
25386 * sysdeps/x86/bits/floatn.h: Likewise.
25387
fe05e1cb
AZ
253882017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25389
8f6f5362
AZ
25390 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25391 indicates whether compiler emits an warning for alias for
25392 functions with incompatible types.
25393
fe05e1cb
AZ
25394 [BZ #22273]
25395 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25396 the auxiliary process is terminated by a signal before calling _exit
25397 or execve.
25398
b52b0d79
L
253992017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25400
25401 [BZ #21265]
25402 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25403 New.
25404 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25405 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25406 and bit_arch_XSAVEC_Usable if needed.
25407 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25408 and bit_arch_Use_dl_runtime_resolve_opt.
25409 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25410 Removed.
25411 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25412 (bit_arch_Prefer_No_AVX512): Updated.
25413 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25414 (bit_arch_XSAVEC_Usable): New.
25415 (STATE_SAVE_OFFSET): Likewise.
25416 (STATE_SAVE_MASK): Likewise.
25417 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25418 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25419 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25420 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25421 (index_arch_XSAVEC_Usable): New.
25422 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25423 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25424 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25425 is enabled.
25426 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25427 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25428 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25429 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25430 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25431 _dl_runtime_resolve_xsavec.
25432 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25433 Removed.
25434 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25435 instead of VEC_SIZE.
25436 (REGISTER_SAVE_BND0): Removed.
25437 (REGISTER_SAVE_BND1): Likewise.
25438 (REGISTER_SAVE_BND3): Likewise.
25439 (REGISTER_SAVE_RAX): Always defined to 0.
25440 (VMOV): Removed.
25441 (_dl_runtime_resolve_avx): Likewise.
25442 (_dl_runtime_resolve_avx_slow): Likewise.
25443 (_dl_runtime_resolve_avx_opt): Likewise.
25444 (_dl_runtime_resolve_avx512): Likewise.
25445 (_dl_runtime_resolve_avx512_opt): Likewise.
25446 (_dl_runtime_resolve_sse): Likewise.
25447 (_dl_runtime_resolve_sse_vex): Likewise.
25448 (USE_FXSAVE): New.
25449 (_dl_runtime_resolve_fxsave): Likewise.
25450 (USE_XSAVE): Likewise.
25451 (_dl_runtime_resolve_xsave): Likewise.
25452 (USE_XSAVEC): Likewise.
25453 (_dl_runtime_resolve_xsavec): Likewise.
25454 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25455 Removed.
25456 (_dl_runtime_resolve_avx512_opt): Likewise.
25457 (_dl_runtime_resolve_avx): Likewise.
25458 (_dl_runtime_resolve_avx_opt): Likewise.
25459 (_dl_runtime_resolve_sse): Likewise.
25460 (_dl_runtime_resolve_sse_vex): Likewise.
25461 (_dl_runtime_resolve_fxsave): New.
25462 (_dl_runtime_resolve_xsave): Likewise.
25463 (_dl_runtime_resolve_xsavec): Likewise.
25464
363e4519 254652017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
25466
25467 [BZ #22320]
25468 CVE-2017-15670
25469 * posix/glob.c (__glob): Fix one-byte overflow.
25470
6d43de4b
WD
254712017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25472
25473 * malloc/malloc.c (sysdep-cancel.h): Add include.
25474
a15d53e2
WD
254752017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25476
25477 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25478
b9a558e7
WH
254792017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25480
25481 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25482 (tests): Remove $(objpfx)ga_test depdendency.
25483 * resolv/ga_test.c: Remove file.
25484
b6b08b8e
MF
254852017-10-20 Mike FABIAN <mfabian@redhat.com>
25486
25487 [BZ #18812]
25488 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25489 * localedata/locales/kab_DZ: New file.
25490
9ba7e810
L
254912017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25492
25493 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25494 _dl_relocate_static_pie instead of _dl_start to compute load
25495 address in static PIE.
25496
4027a4fd
L
254972017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25498
25499 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25500
2f9314b4
MF
255012017-10-20 Mike FABIAN <mfabian@redhat.com>
25502
25503 [BZ #13605]
25504 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25505 * localedata/locales/shn_MM: New file.
25506
63b4baa4
FW
255072017-10-20 Florian Weimer <fweimer@redhat.com>
25508
25509 [BZ #22321]
25510 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25511 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25512 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25513 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25514 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25515 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25516
95ccb619
L
255172017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25518
25519 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25520
37bb78cb
JM
255212017-10-19 Joseph Myers <joseph@codesourcery.com>
25522
76f2ed92
JM
25523 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25524
37bb78cb
JM
25525 [BZ #22322]
25526 * sysdeps/mips/bits/long-double.h: Move to ....
25527 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25528
d74e6f6c
WD
255292017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25530
25531 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25532
363e4519 255332017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
25534 H.J. Lu <hongjiu.lu@intel.com>
25535
25536 [BZ #22299]
25537 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25538 GLRO(dl_platform) to NULL.
25539 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25540 (modules-names): Add tst-platformmod-1 and
25541 x86_64/tst-platformmod-2.
25542 (CFLAGS-tst-platform-1.c): New.
25543 (CFLAGS-tst-platformmod-1.c): Likewise.
25544 (CFLAGS-tst-platformmod-2.c): Likewise.
25545 (LDFLAGS-tst-platformmod-2.so): Likewise.
25546 ($(objpfx)tst-platform-1): Likewise.
25547 ($(objpfx)tst-platform-1.out): Likewise.
25548 (tst-platform-1-ENV): Likewise.
25549 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25550 * sysdeps/x86_64/tst-platform-1.c: New file.
25551 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25552 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25553
4b0fa403
MF
255542017-10-19 Mike FABIAN <mfabian@redhat.com>
25555
25556 [BZ #13994]
25557 * locale/iso-639.def: Add Karbi.
25558 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25559 * localedata/locales/mjw_IN: New file.
25560
81325b12
JM
255612017-10-18 Joseph Myers <joseph@codesourcery.com>
25562
25563 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25564 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25565 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25566 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25567 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25568 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25569 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25570 <bits/floatn.h>.
25571 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25572 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25573 * manual/math.texi (Mathematics): Document additional architecture
25574 support for _Float128.
25575 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25576 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25577 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25578 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25579 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25580 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25581 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25582 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25583 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25584 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25585 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25586 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25587 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25588 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25589 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25590
a68ba2f3
SN
255912017-10-18 Renlin Li <renlin.li@arm.com>
25592
25593 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25594 _DYNAMIC symbol to calculate load address.
25595
346729f6
PC
255962017-10-18 Paul A. Clarke <pc@us.ibm.com>
25597
25598 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25599 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25600 summary bits.
25601 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25602 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25603
508b1e71
MF
256042017-10-18 Mike FABIAN <mfabian@redhat.com>
25605
25606 [BZ #16777]
25607 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25608 and improve readability by using more ASCII.
25609 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25610 and improve readability by using more ASCII.
25611
2c2245b9
WD
256122017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25613
25614 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25615 not all targets support atomics on bool.
25616
13c92696
JM
256172017-10-17 Joseph Myers <joseph@codesourcery.com>
25618
25619 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25620 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25621 __f128.
25622 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25623 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25624 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25625 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25626 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25627 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25628
71d85045
AZ
256292017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25630
25631 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25632 defines.
25633
3381be5c
WD
256342017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25635
25636 [BZ #22159]
25637 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25638 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25639 (do_check_remalloced_chunk): Fix build bug.
25640 (do_check_malloc_state): Add assert that checks arena->top.
25641 (malloc_consolidate): Remove initialization.
25642 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 25643 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 25644
e956075a
WD
256452017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25646
25647 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25648 (have_fastchunks): Remove.
25649 (clear_fastchunks): Remove.
25650 (set_fastchunks): Remove.
25651 (malloc_state): Add have_fastchunks.
25652 (malloc_init_state): Use have_fastchunks.
25653 (do_check_malloc_state): Remove incorrect invariant checks.
25654 (_int_malloc): Use have_fastchunks.
25655 (_int_free): Likewise.
25656 (malloc_consolidate): Likewise.
25657
e4dd4ace
WD
256582017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25659
25660 * malloc/malloc.c (tcache_put): Inline.
25661 (tcache_get): Inline.
25662
5bf58bc7
AJ
256632017-10-17 Jordi Mallach <jordi@gnu.org>
25664
25665 Aurelien Jarno <aurelien@aurel32.net>
25666 [BZ #2522]
25667 * localedata/locales/ca_ES@valencia: New file.
25668 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25669
386e1c26
RN
256702017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25671
25672 [BZ #22296]
25673 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25674 < 6.x
25675
4e17c78e
AZ
256762017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25677
3d265601
AZ
25678 * scripts/build-many-glibcs.py (Context.add_all_configs):
25679 Add arm-linux-gnueabihf multiarch extra_glibcs.
25680
4e17c78e
AZ
25681 * sysdeps/generic/ifunc-init.h: New file.
25682 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25683
56a752ab
MF
256842017-10-17 Mike FABIAN <mfabian@redhat.com>
25685
25686 [BZ #22019]
25687 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25688 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25689 * stdlib/tst-strfmon_l.c: adapt test case.
25690
c38a4bfd
JM
256912017-10-16 Joseph Myers <joseph@codesourcery.com>
25692
25693 * sysdeps/generic/float128-abi.h: New file.
25694 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25695 non-__prefixed symbols to ....
25696 * math/Versions: ... here. Include <float128-abi.h>.
25697 * stdlib/Versions ... and here. Include <float128-abi.h>
25698
76009b26
FW
256992017-10-16 Florian Weimer <fweimer@redhat.com>
25700
25701 * version.h (VERSION): Switch to ".9000" as the development
25702 version suffix.
25703
7ece6cd5
FW
257042017-10-16 Florian Weimer <fweimer@redhat.com>
25705
25706 [BZ #22050]
25707 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25708 compat_symbol_reference to access non-default version.
25709
d8287b36
FW
257102017-10-16 Florian Weimer <fweimer@redhat.com>
25711
25712 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25713
3480ddc4
CD
257142017-10-16 Carlos O'Donell <carlos@redhat.com>
25715
25716 * include/shlib-compat.h (compat_symbol_reference): Update
25717 comment.
25718
02010e79
JM
257192017-10-16 Joseph Myers <joseph@codesourcery.com>
25720
596f7013
JM
25721 * math/Makefile (test-types): Add
25722 $(type-float128-$(float128-alias-fcts)).
25723 * math/test-float128.h (TYPE_STR): Define conditional on
25724 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25725 (ULP_IDX): Likewise.
25726 (ULP_I_IDX): Likewise.
25727
02010e79
JM
25728 * stdlib/strtold.c: Include <bits/floatn.h>
25729 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25730 and later undefine as macro. Define as weak alias if
25731 [!USE_WIDE_CHAR].
25732 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25733 and later undefine as macro. Define as weak alias if
25734 [USE_WIDE_CHAR].
25735 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25736 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25737 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25738 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25739 Define and later undefine as macro. Define as weak alias if
25740 [USE_WIDE_CHAR].
25741 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25742 <bits/floatn.h>.
25743 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25744 Define and later undefine as macro. Define as weak alias if
25745 [!USE_WIDE_CHAR].
25746 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25747 Define and later undefine as macro. Define as weak alias if
25748 [USE_WIDE_CHAR].
25749
ea91c315
CD
257502017-10-15 Carlos O'Donell <carlos@redhat.com>
25751
25752 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25753 record_verbose messages.
25754
8e57c943
L
257552017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25756
25757 [BZ #22052]
25758 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25759 to silence -O3 -Wall warning with GCC 7.
25760
a4777c46
L
257612017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25762
25763 * Makeconfig (+link-static-before-libc): Use the first of
25764 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25765 * gmon/Makefile (tests): Add tst-gmon-static.
25766 (tests-static): Likewise.
25767 (CFLAGS-tst-gmon-static.c): New.
25768 (CRT-tst-gmon-static): Likewise.
25769 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25770 (tst-gmon-static-ENV): Likewise.
25771 (tests-special): Likewise.
25772 ($(objpfx)tst-gmon-static.out): Likewise.
25773 (clean-tst-gmon-static-data): Likewise.
25774 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25775 * gmon/tst-gmon-static-gprof.sh: New file.
25776 * gmon/tst-gmon-static.c: Likewise.
25777
bc3821bb
CD
257782017-10-13 Carlos O'Donell <carlos@redhat.com>
25779
25780 [BZ #22295]
25781 * locale/programs/linereader.c (get_string): Don't warn on
25782 non-symbolic character.
25783
a3e23a2c
CD
25784 [BZ #22294]
25785 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25786 int_curr_symbol.
25787
f16491eb
CD
25788 [BZ #22292]
25789 * locale/programs/record-status.h: New file
25790 * locale/programs/locale.c: Add comment.
25791 * locale/programs/charmap-dir.c: Don't include error.h.
25792 (charmap_opendir): Use record_error.
25793 * locale/programs/charmap.c: Don't include error.h.
25794 (charmap_read): Use record_error, and record_warning.
25795 (parse_charmap): Likewise.
25796 * locale/programs/ld-address.c: Don't include error.h.
25797 (address_finish): Use record_error, and record_warning.
25798 * locale/programs/ld-collate.c: Don't include error.h.
25799 (collate_finish): Use record_error, and record_error_at_line.
25800 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25801 (ctype_class_new): Likewise.
25802 (ctype_map_new): Likewise.
25803 (set_one_default): Likewise.
25804 (set_class_defaults): Likewise.
25805 (translit_flatten): Likewise.
25806 (allocate_arrays): Use record_error, and record_verbose.
25807 * locale/programs/ld-identification.c: Don't include error.h.
25808 (indentation_finish): Use record_error and record_warning.
25809 * locale/programs/ld-measurement.c: Don't include error.h.
25810 (measurement_finish): Use record_error.
25811 * locale/programs/ld-messages.c
25812 (message_finish): Likewise.
25813 * locale/programs/ld-monetary.c
25814 (monetary_finish): Likewise.
25815 * locale/programs/ld-name.c (name_finish): Use record_error
25816 and record_warning.
25817 * locale/programs/ld-numeric.c
25818 (numeric_finish): Use record_error.
25819 * locale/programs/ld-paper.c: Don't include error.h.
25820 (paper_finish): Use record_error.
25821 * locale/programs/ld-telephone.c: Don't include error.h.
25822 (telephone_finish): Use record_error.
25823 * locale/programs/ld-time.c (time_finish): Likewise.
25824 * locale/programs/linereader.h (lr_error): Make inline func.
25825 * locale/programs/localedef.c: Define recorded_warning_count,
25826 and recorded_error_count.
25827 (main): Use record_error. Use recorded_error_count and
25828 recorded_warning_count to issue correct error returns.
25829 (add_to_readlist): Use record_error.
25830 (find_locale): Likewise.
25831 (load_locale): Likewise.
25832 * locale/programs/localedef.h: Remove be_quiet
25833 and WITH_CUR_LOCALE.
25834 * locale/programs/locarchive.c (compare_from_file): Use
25835 record_error.
25836 * locale/programs/locfile.c (write_locale_data): Use
25837 record_error.
25838 * locale/programs/repertoire.c: Dont include error.h.
25839 (repertoire_complain): Use record_error.
25840 * localedata/tst-fmon.sh: Expect failures from localedef.
25841 * localedata/tst-locale.sh: Likewise.
25842 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25843
8dc8be75
CD
25844 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25845 (REPORTS): Likewise.
25846 (check): Likewise.
25847 (i18n): Rename to...
25848 (i18n_ctype): ...this.
25849 (i18n-report): Rename to...
25850 (i18n_ctype-report): ...this.
25851 * localedata/locales/i18n_ctype: Regenerate.
25852 * localedata/locales/i18n: copy i18n_ctype.
25853
f8718a9e
JM
258542017-10-13 Joseph Myers <joseph@codesourcery.com>
25855
18c08b96
JM
25856 * stdlib/strfroml.c: Include <bits/floatn.h>.
25857 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25858 Define before include of <stdlib.h> and undefine afterwards, then
25859 define as weak alias.
25860
f8718a9e
JM
25861 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25862 Undefine and restore default definition. Use
25863 libm_alias_ldouble_other.
25864
e4f530da
PZ
258652017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25866
25867 [BZ #22153]
25868 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25869 in coredumps.
25870
86445888
JC
258712017-10-13 James Clarke <jrtc27@jrtc27.com>
25872
25873 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25874 Assign sym_map to be map for local symbols, as TLS relocations
25875 use sym_map to determine whether the symbol is defined and to
25876 extract the TLS information.
25877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25879
179dcdb7
TMQMF
258802017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25881
e8dbd6a3
TMQMF
25882 [BZ #22189]
25883 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25884 (math_force_eval): Add powerpc version.
25885
179dcdb7
TMQMF
25886 [BZ #22142]
25887 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25888 -DBL_MAX.
25889 (do_test): Likewise.
25890 * stdio-common/tst-printf.sh: Likewise.
25891 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25892 ifdef clause in order to set the carry bit right. Replace r0 by
25893 0 without changing the behavior.
25894
7d25d410
JM
258952017-10-13 Joseph Myers <joseph@codesourcery.com>
25896
006e7664
JM
25897 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25898 <libm-alias-ldouble.h>.
25899 (fabsl): Define using libm_alias_ldouble.
25900 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25901 <libm-alias-ldouble.h>.
25902 (fabsl): Define using libm_alias_ldouble.
25903
1def91b3
JM
25904 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25905 Remove conditional code.
25906
7d25d410
JM
25907 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25908 Rename to __clog10_internal_l.
25909 (__clog10_internal_l): Define aliases using
25910 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25911 with __clog10.
25912
077ee129
RS
259132017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25914
25915 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25916 * benchtests/sincosf-inputs: New file.
25917 * benchtests/cosf-inputs: New file.
25918 * benchtests/sinf-inputs: New file.
25919
5ba41de9
SN
259202017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25921
25922 * posix/tst-spawn.c (do_test): Wait for both children.
25923
d165ca64
L
259242017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25925
25926 [BZ #22284]
25927 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25928 tests-pie): Add tst-gmon-pie.
25929 (CFLAGS-tst-gmon-pie.c): New.
25930 (CRT-tst-gmon-pie): Likewise.
25931 (tst-gmon-pie-ENV): Likewise.
25932 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25933 ($(objpfx)tst-gmon-pie.out): Likewise.
25934 (clean-tst-gmon-pie-data): Likewise.
25935 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25936 * gmon/gmon.c [PIC]: Include <link.h>.
25937 [PIC] (callback): New function.
25938 (write_hist): Add an argument for load address. Subtract load
25939 address from PCs.
25940 (write_call_graph): Likewise.
25941 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25942 it to write_hist and write_call_graph.
7bacdcfc 25943 * gmon/tst-gmon-pie.c: New file.
d165ca64 25944
bc9620d0
JM
259452017-10-11 Joseph Myers <joseph@codesourcery.com>
25946
25947 * math/Makefile (test-types-basic): New variable.
25948 (test-types): Likewise.
25949 (libm-test-support): Use $(test-types) instead of $(types).
25950 (libm-tests-base-normal): Likewise.
25951 (libm-tests-base-finite): Likewise.
25952 (libm-tests-base-inline): Likewise.
25953 (generated): Likewise.
25954 ($(objpfx)libm-test-support-$(t).c): Likewise.
25955 (libm-tests-for-type iterator): Likewise.
25956 (libm-test-support iterator): Likewise.
25957 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25958 (ulp_idx): Use ULP_IDX.
25959 * math/test-ldouble.h: Include <float.h>.
25960 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25961 (ULP_IDX): New macro.
25962 (ULP_I_IDX): Likewise.
25963 * math/test-double.h (ULP_IDX): Likewise.
25964 (ULP_I_IDX): Likewise.
25965 * math/test-float.h (ULP_IDX): Likewise.
25966 (ULP_I_IDX): Likewise.
25967 * math/test-float128.h (ULP_IDX): Likewise.
25968 (ULP_I_IDX): Likewise.
25969
09c76a74
AZ
259702017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25971
25972 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25973 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25974 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25975 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25976 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25977 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25978 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25981 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25982 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25983 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25984 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25985 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25986 (SINGLE_THREAD_BY_GLOBAL): Define.
25987 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25988 Likewise.
25989 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25990 Likewise.
25991 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25992 Likewise.
25993 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25994 Likewise.
25995 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25996 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25998 Likewise.
25999
2faa42da
AS
260002017-10-11 Andreas Schwab <schwab@suse.de>
26001
26002 * nis/Makefile (aux): Remove.
26003 * nscd/Makefile (aux): Add nscd_hash.
26004 (nscd-modules): Likewise.
26005 ($(objpfx)nscd): Don't depend on libnsl.
26006 * nscd/nscd_hash.c: New file.
26007 * nscd/nscd_hash.h: Likewise.
26008 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26009 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26010 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26011 instead of <nis/rpcsvc/nis.h>.
26012 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26013
d8425e11
FW
260142017-10-11 Florian Weimer <fweimer@redhat.com>
26015
26016 [BZ #22078]
26017 Avoid large NSS buffers with many addresses, aliases.
26018 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26019 using dynarrays and struct alloc_buffer.
26020 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26021 (tst-nss-files-hosts-multi): Link with -ldl.
26022 * nss/tst-nss-files-hosts-multi.c: New file.
26023
78e806fd
FW
260242017-10-11 Florian Weimer <fweimer@redhat.com>
26025
26026 [BZ #18023]
26027 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26028 scratch_buffer. Eliminate gotos.
26029
541f19ba
JM
260302017-10-11 Joseph Myers <joseph@codesourcery.com>
26031
0ff64d3a
JM
26032 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26033 libm_alias_ldouble_other.
26034 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26035 undefine and redefine.
26036 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26037 (exp10l): Do not define here.
26038 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26039 (weak_alias): Undefine and redefine.
26040 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26041 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26042 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26043 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26044
541f19ba
JM
26045 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26046 [!__fma] (fma): Define using libm_alias_double.
26047 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26048 [!__fmaf] (fmaf): Define using libm_alias_float.
26049 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26050 (fmal): Define using libm_alias_ldouble.
26051
24b6515d
JM
260522017-10-10 Joseph Myers <joseph@codesourcery.com>
26053
26054 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26055 New macro.
26056 (libm_alias_double_other): Likewise.
26057 (libm_alias_double_r): Use libm_alias_double_other_r.
26058 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26059 New macro.
26060 (libm_alias_float_other): Likewise.
26061 (libm_alias_float_r): Use libm_alias_float_other_r.
26062 * sysdeps/generic/libm-alias-float128.h
26063 (libm_alias_float128_other_r): New macro.
26064 (libm_alias_float128_other): Likewise.
26065 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26066 * sysdeps/generic/libm-alias-ldouble.h
26067 (libm_alias_ldouble_other_r): New macro.
26068 (libm_alias_ldouble_other): Likewise.
26069 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26070 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26071 (libm_alias_double_other_r): New macro.
26072 (libm_alias_double_other): Likewise.
26073 (libm_alias_double_r): Use libm_alias_double_other_r.
26074 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26075 (libm_alias_ldouble_other_r): New macro.
26076 (libm_alias_ldouble_other): Likewise.
26077 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26078 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26079 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26080 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26081 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26082 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26083 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26084 * math/w_exp2f.c: Use libm_alias_float_other.
26085 * math/w_expf.c: Likewise.
26086 * math/w_log2f.c: Likewise.
26087 * math/w_logf.c: Likewise.
26088 * math/w_powf.c: Likewise.
26089 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26090 [!__exp2f]: Use libm_alias_float_other.
26091 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26092 [!__expf]: Use libm_alias_float_other.
26093 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26094 [!__log2f]: Use libm_alias_float_other.
26095 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26096 [!__logf]: Use libm_alias_float_other.
26097 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26098 [!__powf]: Use libm_alias_float_other.
26099
8ed70de2
FW
261002017-10-10 Florian Weimer <fweimer@redhat.com>
26101
26102 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26103 function.
26104 (_nss_files_gethostbyname3_r): Call it.
26105
a8dce619
JM
261062017-10-09 Joseph Myers <joseph@codesourcery.com>
26107
26108 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26109 error. Remove default definition of declare_mgen_alias.
26110 [!declare_mgen_alias_r]: Likewise.
26111 * sysdeps/generic/math-type-macros-double.h
26112 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26113 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26114 (declare_mgen_alias_r): Likewise.
26115 * sysdeps/generic/math-type-macros-float128.h
26116 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26117 * sysdeps/generic/math-type-macros-ldouble.h
26118 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26119 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26120 macro.
26121 (declare_mgen_alias_r_s): Likewise.
26122 (declare_mgen_alias_r): Likewise.
26123 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26124 (lgamma_r): Define using libm_alias_double_r.
26125 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26126 (lgammaf_r): Define using libm_alias_float_r.
26127 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26128 (lgammal_r): Define using libm_alias_ldouble_r.
26129 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26130 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26131
bedac136
AZ
261322017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26133
26134 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26135 extern declaration.
26136
c7509db2
JM
261372017-10-09 Joseph Myers <joseph@codesourcery.com>
26138
26139 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26140
d6c064e9
JW
261412017-10-09 Jonathan Wakely <jwakely@redhat.com>
26142
26143 [BZ #21326]
26144 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26145 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26146 * math/Makefile (test-math-cxx11): New test.
26147 * math/test-math-cxx11.cc: New file.
26148
98e07420
CB
261492017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26150
26151 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26152
645ac9aa
CB
26153 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26154 call to allocate the slave pty file descriptor.
26155
fd3b4e7c
JM
261562017-10-06 Joseph Myers <joseph@codesourcery.com>
26157
f85a176f
JM
26158 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26159 [!__fma] (fma): Define using libm_alias_double.
26160 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26161 [!__fma] (fma): Define using libm_alias_double.
26162
fd3b4e7c
JM
26163 * sysdeps/ieee754/float128/float128_private.h: Include
26164 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26165 (libm_alias_ldouble_r): Undefine and redefine.
26166 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26167 <libm-alias-ldouble.h>.
26168 (asinhl): Define using libm_alias_ldouble.
26169 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26170 <libm-alias-ldouble.h>.
26171 (atanl): Define using libm_alias_ldouble.
26172 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26173 <libm-alias-ldouble.h>.
26174 (cbrtl): Define using libm_alias_ldouble.
26175 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26176 <libm-alias-ldouble.h>.
26177 (ceill): Define using libm_alias_ldouble.
26178 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26179 <libm-alias-ldouble.h>.
26180 (copysignl): Define using libm_alias_ldouble.
26181 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26182 <libm-alias-ldouble.h>.
26183 (cosl): Define using libm_alias_ldouble.
26184 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26185 <libm-alias-ldouble.h>.
26186 (erfl): Define using libm_alias_ldouble.
26187 (erfcl): Likewise.
26188 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26189 <libm-alias-ldouble.h>.
26190 (expm1l): Define using libm_alias_ldouble.
26191 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26192 <libm-alias-ldouble.h>.
26193 (fabsl): Define using libm_alias_ldouble.
26194 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26195 <libm-alias-ldouble.h>.
26196 (floorl): Define using libm_alias_ldouble.
26197 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26198 <libm-alias-ldouble.h>.
26199 (fmal): Define using libm_alias_ldouble.
26200 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26201 <libm-alias-ldouble.h>.
26202 (frexpl): Define using libm_alias_ldouble.
26203 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26204 libm_alias_ldouble.
26205 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26206 <libm-alias-ldouble.h>.
26207 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26208 libm_alias_ldouble.
26209 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26210 <libm-alias-ldouble.h>.
26211 (getpayloadl): Define using libm_alias_ldouble.
26212 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26213 <libm-alias-ldouble.h>.
26214 (llrintl): Define using libm_alias_ldouble.
26215 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26216 <libm-alias-ldouble.h>.
26217 (llroundl): Define using libm_alias_ldouble.
26218 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26219 <libm-alias-ldouble.h>.
26220 (logbl): Define using libm_alias_ldouble.
26221 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26222 <libm-alias-ldouble.h>.
26223 (lrintl): Define using libm_alias_ldouble.
26224 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26225 <libm-alias-ldouble.h>.
26226 (lroundl): Define using libm_alias_ldouble.
26227 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26228 <libm-alias-ldouble.h>.
26229 (modfl): Define using libm_alias_ldouble.
26230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26231 <libm-alias-ldouble.h>.
26232 (nearbyintl): Define using libm_alias_ldouble.
26233 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26234 <libm-alias-ldouble.h>.
26235 (nextafterl): Define using libm_alias_ldouble.
26236 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26237 <libm-alias-ldouble.h>.
26238 (nextupl): Define using libm_alias_ldouble.
26239 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26240 <libm-alias-ldouble.h>.
26241 (remquol): Define using libm_alias_ldouble.
26242 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26243 <libm-alias-ldouble.h>.
26244 (rintl): Define using libm_alias_ldouble.
26245 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26246 <libm-alias-ldouble.h>.
26247 (roundevenl): Define using libm_alias_ldouble.
26248 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26249 <libm-alias-ldouble.h>.
26250 (roundl): Define using libm_alias_ldouble.
26251 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26252 using libm_alias_ldouble.
26253 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26254 <libm-alias-ldouble.h>.
26255 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26256 Define using libm_alias_ldouble.
26257 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26258 <libm-alias-ldouble.h>.
26259 (sincosl): Define using libm_alias_ldouble.
26260 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26261 <libm-alias-ldouble.h>.
26262 (sinl): Define using libm_alias_ldouble.
26263 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26264 <libm-alias-ldouble.h>.
26265 (tanhl): Define using libm_alias_ldouble.
26266 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26267 <libm-alias-ldouble.h>.
26268 (tanl): Define using libm_alias_ldouble.
26269 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26270 <libm-alias-ldouble.h>.
26271 (totalorderl): Define using libm_alias_ldouble.
26272 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26273 <libm-alias-ldouble.h>.
26274 (totalordermagl): Define using libm_alias_ldouble.
26275 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26276 <libm-alias-ldouble.h>.
26277 (truncl): Define using libm_alias_ldouble.
26278 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26279 libm_alias_ldouble.
26280 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26281 libm_alias_ldouble.
26282 * sysdeps/ieee754/ldbl-64-128/s_copysignl.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 (copysignl): Define with long_double_symbol only if [IS_IN
26287 (libc)].
26288 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26289 <libm-alias-ldouble.h>.
26290 (weak_alias): Do not undefine and redefine.
26291 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26292 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26293 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26294 <libm-alias-ldouble.h>.
26295 (weak_alias): Do not undefine and redefine.
26296 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26297 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26298 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26299 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26302 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26304 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26305 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26307 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26308 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26315 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26322
1e26d351
CD
263232017-10-06 Carlos O'Donell <carlos@redhat.com>
26324
26325 [BZ #22111]
26326 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26327 (tcache_thread_freeres): Set tcache_shutting_down before
26328 freeing the tcache.
26329 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26330 * malloc/tst-malloc-tcache-leak.c: New file.
26331
d1386762
RS
263322017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26333
26334 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26335 back to powerpc32 file.
26336 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26337 (memrchr): Add __memrchr_power8 to ifunc list.
26338 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26339 extra bytes for unaligned inputs.
26340
6dff1983
JM
263412017-10-06 Joseph Myers <joseph@codesourcery.com>
26342
26343 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26344 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26348
86f9568a
JM
263492017-10-05 Joseph Myers <joseph@codesourcery.com>
26350
0db0b931
JM
26351 * sysdeps/arm/libm-test-ulps: Update.
26352
86f9568a
JM
26353 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26354 <libm-alias-ldouble.h>.
26355 (asinhl): Define using libm_alias_ldouble.
26356 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26357 <libm-alias-ldouble.h>.
26358 (cbrtl): Define using libm_alias_ldouble.
26359 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26360 <libm-alias-ldouble.h>.
26361 (copysignl): Define using libm_alias_ldouble.
26362 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26363 <libm-alias-ldouble.h>.
26364 (cosl): Define using libm_alias_ldouble.
26365 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26366 <libm-alias-ldouble.h>.
26367 (erfl): Define using libm_alias_ldouble.
26368 (erfcl): Likewise.
26369 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26370 <libm-alias-ldouble.h>.
26371 (fmal): Define using libm_alias_ldouble.
26372 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26373 <libm-alias-ldouble.h>.
26374 (frexpl): Define using libm_alias_ldouble.
26375 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26376 libm_alias_ldouble.
26377 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26378 <libm-alias-ldouble.h>.
26379 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26380 libm_alias_ldouble.
26381 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26382 <libm-alias-ldouble.h>.
26383 (getpayloadl): Define using libm_alias_ldouble.
26384 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26385 <libm-alias-ldouble.h>.
26386 (llrintl): Define using libm_alias_ldouble.
26387 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26388 <libm-alias-ldouble.h>.
26389 (llroundl): Define using libm_alias_ldouble.
26390 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26391 <libm-alias-ldouble.h>.
26392 (lrintl): Define using libm_alias_ldouble.
26393 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26394 <libm-alias-ldouble.h>.
26395 (lroundl): Define using libm_alias_ldouble.
26396 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26397 <libm-alias-ldouble.h>.
26398 (modfl): Define using libm_alias_ldouble.
26399 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26400 <libm-alias-ldouble.h>.
26401 (nextupl): Define using libm_alias_ldouble.
26402 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26403 <libm-alias-ldouble.h>.
26404 (remquol): Define using libm_alias_ldouble.
26405 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26406 <libm-alias-ldouble.h>.
26407 (roundevenl): Define using libm_alias_ldouble.
26408 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26409 <libm-alias-ldouble.h>.
26410 (roundl): Define using libm_alias_ldouble.
26411 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26412 using libm_alias_ldouble.
26413 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26414 <libm-alias-ldouble.h>.
26415 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26416 <libm-alias-ldouble.h>.
26417 (setpayloadsigl): Define using libm_alias_ldouble.
26418 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26419 <libm-alias-ldouble.h>.
26420 (sincosl): Define using libm_alias_ldouble.
26421 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26422 <libm-alias-ldouble.h>.
26423 (sinl): Define using libm_alias_ldouble.
26424 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26425 <libm-alias-ldouble.h>.
26426 (tanhl): Define using libm_alias_ldouble.
26427 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26428 <libm-alias-ldouble.h>.
26429 (tanl): Define using libm_alias_ldouble.
26430 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26431 <libm-alias-ldouble.h>.
26432 (totalorderl): Define using libm_alias_ldouble.
26433 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26434 <libm-alias-ldouble.h>.
26435 (totalordermagl): Define using libm_alias_ldouble.
26436 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26437 libm_alias_ldouble.
26438 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26439 libm_alias_ldouble.
26440
9ec87fd2
SP
264412017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26442
dd5bc7f1
SP
26443 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26444 memmove_falkor.
26445 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26446 (__libc_ifunc_impl_list): Likewise.
26447 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26448 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26449
5bfb0404
SP
26450 * benchtests/bench-memmove-walk.c: New file.
26451 * benchtests/Makefile (string-benchset): Add it.
26452
36bb8edf
SP
26453 * benchtests/bench-memset-walk.c: New file.
26454 * benchtests/Makefile (string-benchset): Add it.
26455
9ec87fd2
SP
26456 * benchtests/bench-memcpy-walk.c: New file.
26457 * benchtests/Makefile (string-benchset): Add it.
26458
1e9522c6
FW
264592017-10-05 Florian Weimer <fweimer@redhat.com>
26460
26461 nscd: Eliminate compilation time dependency in the build output.
26462 * nscd/nscd_stat.c (STATDATA_VERSION)
26463 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26464 (STATDATA_VERSION_FULL): New macro definitions.
26465 (compilation): Remove.
26466 (struct statdata): Adjust version member.
26467 (send_stats): Set version from STATDATA_VERSION_FULL.
26468 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26469
644d3857
JM
264702017-10-05 Joseph Myers <joseph@codesourcery.com>
26471
26472 * configure.ac (--enable-add-ons): Remove option.
26473 (machine): Do not mention add-ons in comment.
26474 (LIBC_PRECONFIGURE): Likewise.
26475 (add_ons): Remove variable and sanity checks and logic to locate
26476 add-ons.
26477 (add_ons_automatic): Remove variable.
26478 (configured_add_ons): Likewise.
26479 (add_ons_sfx): Likewise.
26480 (add_ons_pfx): Likewise.
26481 (add_on_subdirs): Likewise.
26482 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26483 consideration of add-ons in Implies handling.
26484 (sysdeps_add_ons): Likewise.
26485 * configure: Regenerated.
26486 * libidn/configure.ac: Remove.
26487 * libidn/configure: Likewise.
26488 * sysdeps/unix/inet/configure.ac: New file.
26489 * sysdeps/unix/inet/configure: New generated file.
26490 * sysdeps/unix/inet/Subdirs: Add libidn.
26491 * Makeconfig (sysdeps-srcdirs): Remove variable.
26492 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26493 ($(common-objpfx)config.status): Do not depend on add-on files.
26494 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26495 comment.
26496 (all-subdirs): Do not include $(add-on-subdirs).
26497 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26498 * config.make.in (add-ons): Remove variable.
26499 (add-on-subdirs): Likewise.
26500 (sysdeps-add-ons): Likewise.
26501 * manual/Makefile (add-chapters): Remove.
26502 ($(objpfx)texis): Do not depend on $(add-chapters).
26503 (nonexamples): Do not handle $(add-chapters).
26504 (examples): Do not handle $(add-ons).
26505 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26506 libc-texinfo.sh.
26507 * manual/install.texi (Installation): Do not mention add-ons.
26508 (--enable-add-ons): Do not document configure option.
26509 * INSTALL: Regenerated.
26510 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26511 * manual/maint.texi (Hierarchy Conventions): Do not mention
26512 add-ons.
26513 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26514 --enable-add-ons.
26515 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26516 add-ons.
26517 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26518 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26519
19f82f35
AS
265202017-10-05 Andreas Schwab <schwab@suse.de>
26521
26522 [BZ #15142]
26523 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26524 (_IO_flush_all_lockp): Always lock list_all_lock.
26525 (_IO_flush_all_linebuffered): Likewise.
26526 (_IO_unbuffer_all): Likewise.
26527
91e7cf98
FW
265282017-10-05 Florian Weimer <fweimer@redhat.com>
26529
26530 [BZ #15436]
26531 Do not flush stdio streams on abort.
26532 * stdlib/abort.c (fflush): Remove macro definition.
26533 (abort): Remove stages related to stdio flushing.
26534
0c251257
FW
265352017-10-05 Florian Weimer <fweimer@redhat.com>
26536
26537 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26538
7ea59e3e
SL
265392017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26540
26541 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26542
84d0e6f0
FW
265432017-10-05 Florian Weimer <fweimer@redhat.com>
26544
26545 * support/support_format_hostent.c (support_format_hostent): Add
26546 more error information for NETDB_INTERNAL.
26547
ee417882
L
265482017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26549
26550 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26551 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26552 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26553 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26554 AC_DEFINE if multi-arch is enabled.
26555 * sysdeps/i386/configure: Regenerated.
26556
a67029ff
L
265572017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26558
26559 * Makeconfig (+link-static-before-libc): Use
26560 $(DEFAULT-LDFLAGS-$(@F)).
26561 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26562 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26563 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26564
5dba84b3
L
265652017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26566
26567 * elf/Makefile (tests): Add tst-main1.
26568 (modules-names): Add tst-main1mod.
26569 ($(objpfx)tst-main1): New.
26570 (CRT-tst-main1): Likewise.
26571 (LDFLAGS-tst-main1): Likewise.
26572 (LDLIBS-tst-main1): Likewise.
26573 (tst-main1mod.so-no-z-defs): Likewise.
26574 * elf/tst-main1.c: New file.
26575 * elf/tst-main1mod.c: Likewise.
26576
758f1bfa
L
265772017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26578
26579 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26580
7e16a5d1
JM
265812017-10-04 Joseph Myers <joseph@codesourcery.com>
26582
26583 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26584 (fma): Define using libm_alias_double.
26585 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26586 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26587 <math_ldbl_opt.h>.
26588 (fmal): Do not define as compat symbol here.
26589 * sysdeps/alpha/fpu/s_fma.c: New file.
26590
db4f87ba
SN
265912017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26592
26593 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26594
72d13ed1
JM
265952017-10-04 Joseph Myers <joseph@codesourcery.com>
26596
32d372d5
JM
26597 [BZ #22229]
26598 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26599 <math_ldbl_opt.h>
26600 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26601 and libc.
26602 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26603 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26604 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26605 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26607 Include <math_ldbl_opt.h>
26608 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26609 and libc.
26610 (compat_symbol): Undefine and redefine.
26611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26612 <math_ldbl_opt.h>
26613 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26614 (compat_symbol): Undefine and redefine.
26615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26616 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26617 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26618 GLIBC_2_1 for libm.
26619 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26620 GLIBC_2.0 copysignl symbol.
26621 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26622 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26623
72d13ed1
JM
26624 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26625
11c4f501
FW
266262017-10-04 Florian Weimer <fweimer@redhat.com>
26627
26628 * scripts/check-local-headers.sh: Ignore nspr4 header file
26629 directory in addition to nspr.
26630
57b4af19
GT
266312017-10-04 Guido Trentalancia <guido@trentalancia.net>
26632
26633 [BZ #17956]
26634 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26635 * configure: Regenerate.
26636 * crypt/Makefile (nss-cpp-flags): New variable.
26637 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26638 (CPPFLAGS-md5-crypt.c): Use it.
26639 * scripts/check-local-headers.sh: Ignore nspr header file
26640 directory.
26641
64d1e08e
AS
266422017-10-04 Andreas Schwab <schwab@suse.de>
26643
26644 * nis/Makefile (services): Remove compat.
26645 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26646 ($(objpfx)libnss_compat.so): Remove rule.
26647 * nis/Versions (libnss_compat): Remove.
26648 * nss/Makefile (services): Add compat.
26649 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26650 * nss/Versions (libnss_compat): Define.
26651 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26652 Don't include <rpc/types.h>. Replace bool_t by bool.
26653 * nss/nss_compat/compat-initgroups.c: Likewise.
26654 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26655 instead of <rpcsrv/ypclnt.h>.
26656 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26657 yp_get_default_domain.
26658 * nss/nss_compat/compat-pwd.c: Likewise.
26659 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26660 yp_get_default_domain.
26661 * nss/nss_compat/nisdomain.c: New file.
26662 * nss/nss_compat/nisdomain.h: Likewise.
26663
86c27ade
SN
266642017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26665
26666 [BZ #22244]
26667 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26668 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26669
8f8f8ef7
SN
266702017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26671
26672 [BZ #22243]
26673 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26674 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26675
95577475
L
266762017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26677
26678 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26679 "movl main@GOTOFF(%ebx), %eax".
26680
02d2d892
L
266812017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26682
26683 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26684 allow undefined _DYNAMIC in PIE libc.a.
26685 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26686 Likewse.
26687
0c609d19
L
266882017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26689
26690 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26691 check _DYNAMIC.
26692
c34a19ed
L
266932017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26694
26695 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26696 check _DYNAMIC.
26697
cdd4155d
L
266982017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26699
26700 * math/test-math-iscanonical.cc (error): Replace bool with int.
26701
4699cb8b
JM
267022017-10-03 Joseph Myers <joseph@codesourcery.com>
26703
d8f619b3
JM
26704 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26705 (modf): Define using libm_alias_double, only if [!__modf].
26706 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26707 <libm-alias-double.h>.
26708 (modf): Define using libm_alias_double, only if [!__modf].
26709 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26710 compat symbol here.
26711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26712 (weak_alias): Do not undefine and redefine.
26713 (strong_alias): Likewise.
26714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26715 (weak_alias): Likewise.
26716 (strong_alias): Likewise.
26717
4699cb8b
JM
26718 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26719 (logb): Define using libm_alias_double, only if [!__logb].
26720 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26721 <libm-alias-double.h>.
26722 (logb): Define using libm_alias_double, only if [!__logb].
26723 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26725 (weak_alias): Do not undefine and redefine.
26726 (strong_alias): Likewise.
26727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26728 (weak_alias): Likewise.
26729 (strong_alias): Likewise.
26730
bcc4e4bb
L
267312017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26732
26733 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26734 Check SHARED instead PIC.
26735
39793865
JM
267362017-10-03 Joseph Myers <joseph@codesourcery.com>
26737
7f1cbdf8
JM
26738 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26739 [!__fmaf] (fmaf): Define using libm_alias_float.
26740
39793865
JM
26741 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26742 (frexp): Define using libm_alias_double.
26743 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26744 <libm-alias-double.h>.
26745 (frexp): Define using libm_alias_double.
26746 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26747 compat symbol here.
26748
aa0235df
GG
267492017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26750
26751 [BZ #22235]
26752 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26753 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26754 (CFLAGS-test-math-iscanonical.cc): New variable.
26755 * math/test-math-iscanonical.cc: New file.
26756 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26757 Provide a C++ implementation based on function overloading,
26758 rather than using __MATH_TG, which uses C-only builtins.
26759 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26760 Likewise.
26761 * sysdeps/powerpc/powerpc64le/Makefile
26762 (CFLAGS-test-math-iscanonical.cc): New variable.
26763
a1132b5e
JM
267642017-10-03 Joseph Myers <joseph@codesourcery.com>
26765
26766 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26767 (ceil): Define using libm_alias_double.
26768 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26769 (floor): Define using libm_alias_double.
26770 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26771 <libm-alias-double.h>.
26772 (llround): Define using libm_alias_double.
26773 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26774 <libm-alias-double.h>.
26775 (lround): Define using libm_alias_double.
26776 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26777 <libm-alias-double.h>.
26778 (nearbyint): Define using libm_alias_double.
26779 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26780 <libm-alias-double.h>.
26781 (remquo): Define using libm_alias_double.
26782 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26783 (rint): Define using libm_alias_double.
26784 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26785 (round): Define using libm_alias_double.
26786 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26787 (trunc): Define using libm_alias_double.
26788 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26789 <libm-alias-double.h>.
26790 (ceil): Define using libm_alias_double.
26791 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26792 <libm-alias-double.h>.
26793 (floor): Define using libm_alias_double.
26794 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26795 <libm-alias-double.h>.
26796 (llround): Define using libm_alias_double.
26797 [_LP64] (lround): Likewise.
26798 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26799 <libm-alias-double.h>.
26800 [!_LP64] (lround): Define using libm_alias_double.
26801 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26802 <libm-alias-double.h>.
26803 (nearbyint): Define using libm_alias_double.
26804 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26805 <libm-alias-double.h>.
26806 (remquo): Define using libm_alias_double.
26807 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26808 <libm-alias-double.h>.
26809 (rint): Define using libm_alias_double.
26810 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26811 <libm-alias-double.h>.
26812 (round): Define using libm_alias_double.
26813 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26814 <libm-alias-double.h>.
26815 (trunc): Define using libm_alias_double.
26816 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26817 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26818 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26819 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26820 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26821 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26822 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26823 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26824 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26825
f275f64e
SN
268262017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26827
26828 * math/w_remainder.c: New file.
26829 * math/w_remainderf.c: New file.
26830 * math/w_remainderl.c: New file.
26831
b8818ab5
L
268322017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26833
26834 * elf/rtld.c (BOOTSTRAP_MAP): New.
26835 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26836 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26837 Likewise.
26838 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26839 Likewise.
26840 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26841 Likewise.
26842
3d1870fa
ST
268432017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26844
26845 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26846 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26847 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26848 rtld_hidden_data_ver): Define to empty.
26849 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26850 __assert_perror_fail): Likewise.
26851 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26852 (__rewinddir): Likewise.
26853 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26854 (__profile_frequency): Likewise.
26855 * include/setjmp.h (__sigsetjmp): Likewise.
26856 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26857 __libc_sigaction): Likewise.
26858 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26859 not set hidden attribute.
26860 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26861 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26862 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26863 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26864 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26865 __fxstatat64): Likewise.
26866 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26867 (__uname): Likewise.
26868 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26869 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26870 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26871 (NO_RTLD_HIDDEN): Set.
26872 * sysdeps/mach/hurd/configure: Refresh.
26873 * config.h.in: Refresh.
26874
527cd19c
JM
268752017-10-02 Joseph Myers <joseph@codesourcery.com>
26876
38722448
JM
26877 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26878 (atan): Define using libm_alias_double.
26879 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26880 (tan): Define using libm_alias_double.
26881 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26882 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26883
527cd19c
JM
26884 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26885 define as weak alias of __atan. Do not define any aliases if
26886 [__atan].
26887 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26888 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26889 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26890 as weak alias of __tan. Do not define any aliases if [__tan].
26891 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26892 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26893 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26894 __atan.
26895 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26896 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26897 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26898 and define as weak alias of __atan.
26899 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26900 __atan.
26901 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26902 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26903 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26904 define as weak alias of __tan.
26905
bdc5c592
SN
269062017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26907
26908 * math/w_lgamma.c: New file.
26909 * math/w_lgammaf.c: New file.
26910 * math/w_lgammal.c: New file.
26911
bd4430c2
SN
269122017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26913
26914 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26915 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26916 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26917 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26918 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26919 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26920 * sysdeps/i386/fpu/w_log2f.c: New file.
26921 * sysdeps/i386/fpu/w_logf.c: New file.
26922 * sysdeps/i386/fpu/w_powf.c: New file.
26923 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26924 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26925 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26926
f7a0b063
SN
269272017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26928 H.J. Lu <hongjiu.lu@intel.com>
26929
26930 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26931 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26932 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26933 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26934 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26935 the new expf code.
26936 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26937 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26938 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26939 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26940 * sysdeps/i386/fpu/w_exp2f.c: New file.
26941 * sysdeps/i386/fpu/w_expf.c: New file.
26942 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26943 * sysdeps/x86_64/fpu/w_expf.c: New file.
26944
72d3d281
SN
269452017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26946
26947 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26948 (log2f): Likewise.
26949 (powf): Likewise.
26950 * math/w_log2f.c: New file.
26951 * math/w_logf.c: New file.
26952 * math/w_powf.c: New file.
26953 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26954 * math/w_logf_compat.c (__logf_compat): Likewise.
26955 * math/w_powf_compat.c (__powf_compat): Likewise.
26956 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26957 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26958 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26959 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26960 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26961 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26962 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26963 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26964 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26965 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26966 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26967 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26968 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26969 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26970 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26972 Likewise.
26973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26974 Likewise.
26975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26976 Likewise.
26977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26978 Likewise.
26979 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26980 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26981 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26982 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26983 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26985 Likewise.
26986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26987 Likewise.
26988 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26989 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26990 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26991
59ba2d2b
RS
269922017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26993
26994 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26995 (sysdep_routines): Add memrchr_power8.
26996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26997 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26998 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26999 New file.
27000 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27001 (memrchr): Add __memrchr_power8 to ifunc list.
27002 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27003
397286ea
L
270042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27005
27006 [BZ #18822]
27007 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27008 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27009 libc_hidden_def.
27010 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27011 (__posix_fallocate64_l64): Likewise.
27012
d0a4512b
L
270132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27014
27015 [BZ #18822]
27016 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27017 (__sched_setaffinity_new): Add libc_hidden_proto and
27018 libc_hidden_def.
27019
c0769f70
L
270202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27021
27022 [BZ #18822]
27023 * include/glob.h (__glob64): Add libc_hidden_proto.
27024 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27025 libc_hidden_def.
27026
0e7d5b6e
L
270272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27028
27029 [BZ #18822]
27030 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27031 attribute_hidden.
27032
bde06c87
L
270332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27034
27035 [BZ #18822]
27036 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27037
fa426590
L
270382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27039
27040 [BZ #18822]
27041 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27042 libc_hidden_def.
27043
2f8a05d8
L
270442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27045
27046 [BZ #18822]
27047 * csu/version.c (__libc_print_version): Add attribute_hidden.
27048
7bfd08ac
L
270492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27050
27051 [BZ #18822]
27052 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27053
0e1fd06c
L
270542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27055
27056 [BZ #18822]
27057 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27058
36e7ae1e
L
270592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27060
27061 [BZ #18822]
27062 * nscd/nscd_helper.c (__nis_hash): New prototype.
27063
87078544
L
270642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27065
27066 [BZ #18822]
27067 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27068 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27069 libc_hidden_def.
27070 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27071 * termios/tcgetattr.c (__tcgetattr): Likewise.
27072
dd3121df
L
270732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27074
27075 [BZ #18822]
27076 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27077 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27078 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27079 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27080 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27081
047d1a81
L
270822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27083
27084 [BZ #18822]
27085 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27086
fd331b11
L
270872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27088
27089 [BZ #18822]
27090 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27091 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27092
57f859bd
L
270932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27094
27095 [BZ #18822]
27096 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27097
d1903329
L
270982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27099
27100 [BZ #18822]
27101 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27102 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27103
b4744101
L
271042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27105
27106 [BZ #18822]
27107 * include/ifreq.h: New file.
27108 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27109 (__ifreq): Likewise.
27110 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27111 (__ifreq): Likewise.
27112
43b7dfd1
L
271132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27114
27115 [BZ #18822]
27116 * include/idna.h: New file.
27117 * inet/getnameinfo.c: Include <idna.h> instead of
27118 <libidn/idna.h>.
27119 (__idna_to_unicode_lzlz): Removed.
27120 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27121 <libidn/idna.h>.
27122 (__idna_to_ascii_lz): Removed.
27123 (__idna_to_unicode_lzlz): Likewise.
27124
2c0cd8f8
L
271252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27126
27127 [BZ #18822]
27128 * include/plural-exp.h: New file.
27129 * intl/plural-exp.c: Include <plural-exp.h> instead of
27130 "plural-exp.h".
27131
8369d216
L
271322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27133
27134 [BZ #18822]
27135 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27136 "getsourcefilter.h".
27137 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27138 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27139 "getsourcefilter.h".
27140 (__get_sol): Removed.
27141
a0aef783
L
271422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27143
27144 [BZ #18822]
27145 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27146 to ...
27147 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27148
3ee8209b
L
271492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27150
27151 [BZ #18822]
27152 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27153 attribute_hidden.
27154
6036fc38
L
271552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27156
27157 [BZ #18822]
27158 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27159
fe84fed0
L
271602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27161
27162 [BZ #18822]
27163 * include/search.h (__tdestroy): Add libc_hidden_proto.
27164 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27165
048dd681
L
271662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27167
27168 [BZ #18822]
27169 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27170
6e342af6
L
271712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27172
27173 [BZ #18822]
27174 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27175 attribute_hidden.
27176
6a088436
L
271772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27178
27179 [BZ #18822]
27180 * include/signal.h (__kill): Add libc_hidden_proto.
27181 (__sigblock): Likewise.
27182 (__sigprocmask): Likewise.
27183 (__sigaltstack): Likewise.
27184 * signal/kill.c (__kill): Add libc_hidden_def.
27185 * signal/sigblock.c (__sigblock): Likewise.
27186 * signal/sigprocmask.c (__sigprocmask): Likewise.
27187 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27188 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27189 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27190 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27191 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27192 Likewise.
27193 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27194 Likewise.
27195 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27196 (__sigprocmask): Likewise.
27197 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27198 Likewise.
27199 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27200 (__sigprocmask): Likewise.
27201 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27202 Likewise.
27203
78cf1d74
L
272042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27205
27206 [BZ #18822]
27207 * include/string.h (__strsep): Add libc_hidden_proto.
27208 * string/strsep.c (__strsep): Add libc_hidden_def.
27209
85b35894
L
272102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27211
27212 [BZ #18822]
27213 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27214 attribute_hidden.
27215 (__spawni): Likewise.
27216
225f7eec
L
272172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27218
27219 [BZ #18822]
27220 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27221 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27222 libc_hidden_def.
27223
372fe247
L
272242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27225
27226 [BZ #18822]
27227 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27228
9e5ee8b8
L
272292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27230
27231 [BZ #18822]
27232 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27233 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27234 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27235 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27236 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27237 Likewise.
27238 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27239 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27240
2ff16592
L
272412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27242
27243 [BZ #18822]
27244 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27245 (__dcigettext): Likewise.
27246
b5648377
L
272472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27248
27249 [BZ #18822]
27250 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27251 libc_hidden_proto.
27252 (__get_nprocs): Likewise.
27253 (__get_phys_pages): Likewise.
27254 (__get_avphys_pages): Likewise.
27255 (__get_child_max): Add attribute_hidden.
27256 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27257 (__get_nprocs): Likewise.
27258 (__get_phys_pages): Likewise.
27259 (__get_avphys_pages): Likewise.
27260 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27261 libc_hidden_def.
27262 (__get_nprocs): Likewise.
27263 (__get_phys_pages): Likewise.
27264 (__get_avphys_pages): Likewise.
27265 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27266 libc_hidden_def.
27267 (__get_nprocs_conf): Likewise.
27268 (__get_phys_pages): Likewise.
27269 (__get_avphys_pages): Likewise.
27270
0389a6aa
L
272712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27272
27273 [BZ #18822]
27274 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27275 attribute_hidden.
27276 (__netlink_close): Likewise.
27277 (__netlink_free_handle): Likewise.
27278 (__netlink_request): Likewise.
27279
d48354d8
L
272802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27281
27282 [BZ #18822]
27283 * include/rpc/rpc.h (__rpc_thread_variables): Add
27284 attribute_hidden.
27285 (__rpc_thread_svc_cleanup): Likewise.
27286 (__rpc_thread_clnt_cleanup): Likewise.
27287 (__rpc_thread_key_cleanup): Likewise.
27288
d6daff12
L
272892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27290
27291 [BZ #18822]
27292 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27293 (__writev): Likewise.
27294 * misc/readv.c (__readv): Add libc_hidden_def.
27295 * misc/writev.c (__writev): Likewise.
27296 * sysdeps/posix/readv.c (__readv): Likewise.
27297 * sysdeps/posix/writev.c (__writev): Likewise.
27298 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27299 (__readv): Likewise.
27300 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27301 (__writev): Likewise.
27302
b68f8620
L
273032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27304
27305 [BZ #18822]
27306 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27307 (__regcomp): Add libc_hidden_proto.
27308 (__regexec): Likewise.
27309 (__regfree): Likewise.
27310 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27311 (__regfree): Likewise.
27312 * posix/regexec.c (__regexec): Likewise.
27313
59c04e67
L
273142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27315
27316 [BZ #18822]
27317 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27318 (__getutent): Likewise.
27319 (__getutid): Likewise.
27320 (__getutline): Likewise.
27321 (__pututline): Likewise.
27322 (__getutent_r): Likewise.
27323 (__getutid_r): Likewise.
27324 (__getutline_r): Likewise.
27325 (__utmpname): Add attribute_hidden.
27326 (__setutent): Likewise.
27327 (__endutent): Likewise.
27328 * login/getutent.c (__getutent): Add libc_hidden_def.
27329 * login/getutent_r.c (__getutent_r): Likewise.
27330 (__pututline): Likewise.
27331 * login/getutid.c (__getutid): Likewise.
27332 * login/getutid_r.c (__getutid_r): Likewise.
27333 * login/getutline.c (__getutline): Likewise.
27334 * login/getutline_r.c (__getutline_r): Likewise.
27335 * login/updwtmp.c (__updwtmp): Likewise.
27336
4587a421
L
273372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27338
27339 [BZ #18822]
27340 * include/dirent.h (__opendir): Always add attribute_hidden.
27341 (__fdopendir): Likewise.
27342 (__closedir): Likewise.
27343 (__readdir): Likewise.
27344 (__readdir64): Add libc_hidden_proto.
27345 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27346 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27347 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27348 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27349 New alias.
27350
9635ce69
L
273512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27352
27353 [BZ #18822]
27354 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27355 * include/netdb.h (__gethostbyaddr_r): Likewise.
27356 (__gethostbyname_r): Likewise.
27357 (__gethostbyname2_r): Likewise.
27358 (__getnetbyaddr_r): Likewise.
27359 (__getnetbyname_r): Likewise.
27360 (__getservbyname_r): Likewise.
27361 (__getservbyport_r): Likewise.
27362 (__getprotobyname_r): Likewise.
27363 (__getprotobynumber_r): Likewise.
27364 (__getnetgrent_r): Likewise.
27365 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27366 (__getrpcbynumber_r): Likewise.
27367 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27368
2e0a6909
L
273692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27370
27371 [BZ #18822]
27372 * include/stdio.h (__fcloseall): Add attribute_hidden.
27373 (__getline): Likewise.
27374 (__path_search): Likewise.
27375 (__gen_tempname): Likewise.
27376 (__libc_message): Likewise.
27377 (__flockfile): Likewise.
27378 (__funlockfile): Likewise.
27379 (__fxprintf): Likewise.
27380 (__fxprintf_nocancel): Likewise.
27381
94fd682c
L
273822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27383
27384 [BZ #18822]
27385 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27386 (__sgetsgent_r): Likewise.
27387
e1b33bba
L
273882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27389
27390 [BZ #18822]
27391 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27392 (__statfs64): Likewise.
27393 (__fstatfs64): Likewise.
27394 * include/sys/statvfs.h (__statvfs64): Likewise.
27395 (__fstatvfs64): Likewise.
27396 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27397 (__statfs_filesize_max): Likewise.
27398 (__statfs_symlinks): Likewise.
27399 (__statfs_chown_restricted): Likewise.
27400
b0f56784
L
274012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27402
27403 [BZ #18822]
27404 * include/time.h (__tzstring): Add attribute_hidden.
27405 (__tzfile_read): Likewise.
27406 (__tzfile_compute): Likewise.
27407 (__tzfile_default): Likewise.
27408 (__tzset_parse_tz): Likewise.
27409 (__offtime): Likewise.
27410 (__asctime_r): Likewise.
27411 (__tzset): Likewise.
27412 (__tz_convert): Likewise.
27413 (__getdate_r): Likewise.
27414 (__getclktck): Likewise.
27415
a4338d99
L
274162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27417
27418 [BZ #18822]
27419 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27420 (__nscd_unmap): Likewise.
27421 (__nscd_cache_search): Likewise.
27422 (__nscd_get_nl_timestamp): Likewise.
27423 (__nscd_getpwnam_r): Likewise.
27424 (__nscd_getpwuid_r): Likewise.
27425 (__nscd_getgrnam_r): Likewise.
27426 (__nscd_getgrgid_r): Likewise.
27427 (__nscd_gethostbyname_r): Likewise.
27428 (__nscd_gethostbyname2_r): Likewise.
27429 (__nscd_gethostbyaddr_r): Likewise.
27430 (__nscd_getai): Likewise.
27431 (__nscd_getgrouplist): Likewise.
27432 (__nscd_getservbyname_r): Likewise.
27433 (__nscd_getservbyport_r): Likewise.
27434 (__nscd_innetgr): Likewise.
27435 (__nscd_setnetgrent): Likewise.
27436
a2ca1652
L
274372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27438
27439 [BZ #18822]
27440 * include/gmp.h: Declare internal functions only if _ISOMAC is
27441 undefined.
27442 (__mpn_extract_double): Add attribute_hidden.
27443 (__mpn_extract_long_double): Likewise.
27444 (__mpn_extract_float128): Likewise.
27445 (__mpn_construct_float): Likewise.
27446 (__mpn_construct_double): Likewise.
27447 (__mpn_construct_long_double): Likewise.
27448 (__mpn_construct_float128): Likewise.
27449 (mpn_add_1): Likewise.
27450 (mpn_addmul_1): Likewise.
27451 (mpn_add_n): Likewise.
27452 (mpn_cmp): Likewise.
27453 (mpn_divrem): Likewise.
27454 (mpn_lshift): Likewise.
27455 (mpn_mul): Likewise.
27456 (mpn_mul_1): Likewise.
27457 (mpn_rshift): Likewise.
27458 (mpn_sub_1): Likewise.
27459 (mpn_submul_1): Likewise.
27460 (mpn_sub_n): Likewise.
27461
44af8a32
L
274622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27463
27464 [BZ #18822]
27465 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27466 (__wcscat): Likewise.
27467 (__btowc): Likewise.
27468 (__wcrtomb): Likewise.
27469 (__mbsrtowcs): Likewise.
27470 (__wcsrtombs): Likewise.
27471 (__mbsnrtowcs): Likewise.
27472 (__wcsnrtombs): Likewise.
27473 (__wcsncpy): Likewise.
27474 (__wcpncpy): Likewise.
27475 (__wmemcpy): Likewise.
27476 (__wmempcpy): Likewise.
27477 (__wmemmove): Likewise.
27478 (__wcschrnul): Likewise.
27479 (__vfwscanf): Likewise.
27480 (__vswprintf): Likewise.
27481 (__fwprintf): Likewise.
27482 (__vfwprintf): Likewise.
27483
783cd767
L
274842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27485
27486 [BZ #18822]
27487 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27488 (__getgrgid_r): Likewise.
27489 (__getgrnam_r): Likewise.
27490 * include/pwd.h (__getpwuid_r): Likewise.
27491 (__getpwnam_r): Likewise.
27492 (__fgetpwent_r): Likewise.
27493 * include/shadow.h (__getspnam_r): Likewise.
27494 (__sgetspent_r): Likewise.
27495 (__fgetspent_r): Likewise.
27496
7ec4b39a
L
274972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27498
27499 [BZ #18822]
27500 * include/unistd.h (__access): Add attribute_hidden.
27501 (__lseek64): Likewise.
27502 (__libc_pread64): Likewise.
27503 (__pipe2): Likewise.
27504 (__sleep): Likewise.
27505 (__chdir): Likewise.
27506 (__fchdir): Likewise.
27507 (__getcwd): Likewise.
27508 (__rmdir): Likewise.
27509 (__execvpe): Likewise.
27510 (__execve): Likewise.
27511 (__setsid): Likewise.
27512 (__getuid): Likewise.
27513 (__geteuid): Likewise.
27514 (__getgid): Likewise.
27515 (__getegid): Likewise.
27516 (__getgroups): Likewise.
27517 (__group_member): Likewise.
27518 (__ttyname_r): Likewise.
27519 (__isatty): Likewise.
27520 (__readlink): Likewise.
27521 (__unlink): Likewise.
27522 (__gethostname): Likewise.
27523 (__profil): Likewise.
27524 (__getdtablesize): Likewise.
27525 (__brk): Likewise.
27526 (__ftruncate): Likewise.
27527 (__ftruncate64): Likewise.
27528
8345a760
L
275292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27530
27531 [BZ #18822]
27532 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27533 * argp/argp-fs-xinl.c: Likewise.
27534 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27535 * argp/argp-parse.c: Include <argp.h>.
27536 * argp/argp-xinl.c: Likewise.
27537 * include/argp-fmtstream.h: New file.
27538 * include/argp.h (__argp_error): Add attribute_hidden.
27539 (__argp_failure): Likewise.
27540 (__argp_input): Likewise.
27541 (__argp_state_help): Likewise.
27542
c26dd7c6
L
275432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27544
27545 [BZ #18822]
27546 * include/wchar.h (____wcstof_l_internal): New prototype.
27547 (____wcstod_l_internal): Likewise.
27548 (____wcstold_l_internal): Likewise.
27549 (____wcstol_l_internal): Likewise.
27550 (____wcstoul_l_internal): Likewise.
27551 (____wcstoll_l_internal): Likewise.
27552 (____wcstoull_l_internal): Likewise.
27553 (____wcstof128_l_internal): Likewise.
27554 * sysdeps/ieee754/float128/wcstof128.c
27555 (____wcstof128_l_internal): Removed.
27556 * sysdeps/ieee754/float128/wcstof128_l.c
27557 (____wcstof128_l_internal): Likewise.
27558 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27559 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27560 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27561 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27562 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27563 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27564 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27565 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27566 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27567 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27568
3aff5644
L
275692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27570
27571 [BZ #18822]
27572 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27573 instead of <sys/statvfs.h>.
27574 (__internal_statvfs): Removed.
27575 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27576 instead of <sys/statvfs.h>.
27577 (__internal_statvfs64): Removed.
27578 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27579 "internal_statvfs.h" instead of <sys/statvfs.h>.
27580 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27581 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27582 instead of <sys/statvfs.h>.
27583 (__internal_statvfs): Removed.
27584 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27585 instead of <sys/statvfs.h>.
27586 (__internal_statvfs64): Removed.
27587
8bcdb7e0
L
275882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27589
27590 [BZ #18822]
27591 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27592 (__gconv_close): Likewise.
27593 (__gconv): Likewise.
27594 (__gconv_find_transform): Likewise.
27595 (__gconv_lookup_cache): Likewise.
27596 (__gconv_compare_alias_cache): Likewise.
27597 (__gconv_load_cache): Likewise.
27598 (__gconv_get_path): Likewise.
27599 (__gconv_close_transform): Likewise.
27600 (__gconv_release_cache): Likewise.
27601 (__gconv_find_shlib): Likewise.
27602 (__gconv_release_shlib): Likewise.
27603 (__gconv_get_builtin_trans): Likewise.
27604 (__gconv_compare_alias): Likewise.
27605 * include/dlfcn.h (_dlerror_run): Likewise.
27606 * include/stdio.h (__fortify_fail_abort): Likewise.
27607 * include/time.h (__tz_compute): Likewise.
27608 (__strptime_internal): Likewise.
27609 * intl/gettextP.h (_nl_find_domain): Likewise.
27610 (_nl_load_domain): Likewise.
27611 (_nl_find_msg): Likewise.
27612 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27613 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27614 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27615 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27616 (__gai_find_request): Likewise.
27617 (__gai_remove_request): Likewise.
27618 (__gai_notify): Likewise.
27619 (__gai_notify_only): Likewise.
27620 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27621 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27622 (_dl_non_dynamic_init): Likewise.
27623 (_dl_aux_init): Likewise.
27624 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27625 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27626 Likewise.
27627 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27628 (__wcsmbs_clone_conv): Likewise.
27629 (__wcsmbs_named_conv): Likewise.
27630
8ed3b643
L
276312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27632
27633 [BZ #18822]
27634 * include/stdlib.h (__random): Add attribute_hidden.
27635 (__random_r): Likewise.
27636 (__srandom_r): Likewise.
27637 (__initstate_r): Likewise.
27638 (__setstate_r): Likewise.
27639 (__erand48_r): Likewise.
27640 (__nrand48_r): Likewise.
27641 (__jrand48_r): Likewise.
27642 (__srand48_r): Likewise.
27643 (__seed48_r): Likewise.
27644 (__lcong48_r): Likewise.
27645 (__drand48_iterate): Likewise.
27646 (__setenv): Likewise.
27647 (__unsetenv): Likewise.
27648 (__clearenv): Likewise.
27649 (__ptsname_r): Likewise.
27650 (__posix_openpt): Likewise.
27651 (__add_to_environ): Likewise.
27652 (__realpath): Add libc_hidden_proto.
27653 (__ecvt_r): Likewise.
27654 (__fcvt_r): Likewise.
27655 (__qecvt_r): Likewise.
27656 (__qfcvt_r): Likewise.
27657 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27658 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27659
ef9b6f73
L
276602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27661
27662 [BZ #18822]
27663 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27664 * include/time.h (__mktime_internal): Likewise.
27665 * libio/iolibio.h (__fopen_internal): Likewise.
27666
8da92e72
JDA
276672017-10-01 John David Anglin <danglin@gcc.gnu.org>
27668
27669 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27670 pointer in frame.
27671 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27672 Correct offset used to restore PIC register.
27673
388784cf
JDA
276742017-09-30 John David Anglin <danglin@gcc.gnu.org>
27675
27676 [BZ libc/22165]
27677 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27678 code to load address of __getcontext_ret when generating PIC code.
27679
2000067a
L
276802017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27681
27682 * elf/Makefile (tests-static-internal): Add
27683 tst-tls1-static-non-pie.
27684 (LDFLAGS-tst-tls1-static-non-pie): New.
27685 * elf/tst-tls1-static-non-pie.c: New file.
27686
1e2bffd0
JM
276872017-09-29 Joseph Myers <joseph@codesourcery.com>
27688
27689 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27690 (asinh): Define using libm_alias_double.
27691 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27692 (cbrt): Define using libm_alias_double.
27693 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27694 <libm-alias-double.h>.
27695 (copysign): Define using libm_alias_double.
27696 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27697 (erf): Define using libm_alias_double.
27698 (erfc): Likewise.
27699 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27700 (expm1): Define using libm_alias_double.
27701 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27702 (fabs): Define using libm_alias_double.
27703 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27704 libm_alias_double.
27705 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27706 <libm-alias-double.h>.
27707 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27708 libm_alias_double.
27709 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27710 <libm-alias-double.h>.
27711 (getpayload): Define using libm_alias_double.
27712 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27713 <libm-alias-double.h>.
27714 (llrint): Define using libm_alias_double.
27715 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27716 (lrint): Define using libm_alias_double.
27717 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27718 <libm-alias-double.h>.
27719 (nextup): Define using libm_alias_double.
27720 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27721 <libm-alias-double.h>.
27722 (roundeven): Define using libm_alias_double.
27723 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27724 libm_alias_double.
27725 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27726 <libm-alias-double.h>.
27727 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27728 using libm_alias_double.
27729 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27730 (cos): Define using libm_alias_double.
27731 (sin): Likewise.
27732 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27733 <libm-alias-double.h>.
27734 (sincos): Define using libm_alias_double.
27735 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27736 (tanh): Define using libm_alias_double.
27737 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27738 <libm-alias-double.h>.
27739 (totalorder): Define using libm_alias_double.
27740 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27741 <libm-alias-double.h>.
27742 (totalordermag): Define using libm_alias_double.
27743 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27744 libm_alias_double.
27745 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27746 libm_alias_double.
27747 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27748 <libm-alias-double.h>.
27749 (getpayload): Define using libm_alias_double.
27750 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27751 <libm-alias-double.h>.
27752 (roundeven): Define using libm_alias_double.
27753 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27754 <libm-alias-double.h>.
27755 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27756 <libm-alias-double.h>.
27757 (totalorder): Define using libm_alias_double.
27758 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27759 <libm-alias-double.h>.
27760 (totalordermag): Define using libm_alias_double.
27761 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27762 libc compat symbol here.
27763 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27764 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27765 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27766 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27767 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27768 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27769 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27770 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27771 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27772 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27773
8172aad9
L
277742017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27775
27776 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27777 _dl_relocate_static_pie instead of _dl_start to compute load
27778 address in static PIE. Return 0 if _DYNAMIC is undefined for
27779 static executable.
27780
54464e74
L
277812017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27782
27783 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27784 _DYNAMIC is undefined for static executable.
27785
f6c5e5bc
L
277862017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27787
27788 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27789
2f92505d
JM
277902017-09-29 Joseph Myers <joseph@codesourcery.com>
27791
27792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27793
bd8d53bb
WD
277942017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27795
27796 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27797 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27798 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27799 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27800 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27801 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27802 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27803 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27804 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27805 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27806 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27807 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27808 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27809 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27810 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27811 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27812 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27813
fffb1507
WD
278142017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27815
27816 * math/bits/cmathcalls.h (cimag): Remove inline.
27817 (creal): Remove inline.
27818 (conj): Remove inline.
27819
4ea49f4c
SN
278202017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27821
27822 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27823 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27824 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27825 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27826 (issignalingf_inline): Likewise.
27827 (POWF_LOG2_TABLE_BITS): Likewise.
27828 (POWF_LOG2_POLY_ORDER): Likewise.
27829 (POWF_SCALE_BITS): Likewise.
27830 (POWF_SCALE): Likewise.
27831 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27832 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27833 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27834
875c76c7
SN
278352017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27836
27837 * math/Makefile (type-float-routines): Add e_log2f_data.
27838 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27839 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27840 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27841 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27842 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27843 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27844 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27845
90c42e40
SN
278462017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27847
27848 * math/Makefile (type-float-routines): Add e_logf_data.
27849 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27850 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27851 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27852 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27853 * sysdeps/i386/fpu/e_logf_data.c: New file.
27854 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27855 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27856
4088d8dd
L
278572017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27858
27859 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27860 undefined _DYNAMIC in PIE libc.a.
27861 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27862 Likewse.
27863
4d3693ec
WD
278642017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27865
27866 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27867 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27868 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27869 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27870 (__signbit): Remove.
27871 (__signbitl): Remove.
27872 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27873 (__signbit): Remove.
27874 (__signbitl): Remove.
27875 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27876 (__signbit): Remove.
27877 (__signbitl): Remove.
27878 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27879 (__signbit): Remove.
27880 (__signbitl): Remove.
27881 * sysdeps/tile/bits/mathinline.h: Delete file.
27882 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27883 (__signbit): Remove.
27884 (__signbitl): Remove.
27885
1e6d0723
WD
278862017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27887
27888 * math/math.h: Improve handling of C99 isgreater macros.
27889 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27890 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27891 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27892 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27893 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27894
b2f03cf3
SN
278952017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27896
27897 * sysdeps/aarch64/libm-test-ulps: Update.
27898
f124cb38
JM
278992017-09-28 Joseph Myers <joseph@codesourcery.com>
27900
27901 [BZ #22225]
27902 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27903 math_opt_barrier on argument when doing arithmetic on it.
27904 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27905 Likewise. Use math_force_eval not math_opt_barrier after
27906 arithmetic.
27907 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27908 math_opt_barrier on argument when doing arithmetic on it.
27909 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27910 Likewise.
27911
7edd0691
L
279122017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27913
27914 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27915 libc_hidden_def.
27916 (__freeifaddrs): Likewise.
27917
2c7bbfaf
ST
279182017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27919
27920 * include/dirent.h (__dirfd): New declaration.
27921 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27922 alias.
27923 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27924 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27925 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
27926 * include/unistd.h (__revoke): New declaration.
27927 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27928 alias.
27929 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27930 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27931 revoke.
64a4af28
ST
27932 * include/dirent.h (__seekdir): New declaration.
27933 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27934 redefine as weak alias.
27935 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27936 of seekdir.
4009ddc6
ST
27937 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27938 and use libc_hidden_def on them.
27939 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27940 them.
27941 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27942 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27943 instead of getifaddrs and freeifaddrs.
2c7bbfaf 27944
825adeee
L
279452017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27946
27947 [BZ #18822]
27948 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27949 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27950 (__dso_handle): Remove declaration.
27951 * dlfcn/tstatexit.c (__dso_handle): Removed.
27952 (main): Don't check __dso_handle.
27953 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27954 (main): Don't check __dso_handle.
27955 * include/dso_handle.h: New file.
27956 * malloc/mtrace.c: Include <dso_handle.h>.
27957 (mtrace): Pass __dso_handle directly.
27958 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27959 (__dso_handle): Remove declaration.
27960 (__pthread_atfork): Pass __dso_handle directly.
27961 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27962 (__dso_handle): Removed.
27963 * posix/wordexp-test.c: Include <dso_handle.h>.
27964 (__dso_handle): Remove declaration.
27965 (__app_register_atfork): Pass __dso_handle directly.
27966 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27967 (__dso_handle): Remove declaration.
27968 (at_quick_exit): Pass __dso_handle directly.
27969 * stdlib/atexit.c: Include <dso_handle.h>.
27970 (__dso_handle): Remove declaration.
27971 (atexit): Pass __dso_handle directly.
27972 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27973 (__dso_handle): Removed.
27974
bfb0deb3
JM
279752017-09-26 Joseph Myers <joseph@codesourcery.com>
27976
27977 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27978 using VDSO.
27979
cebcb9f8
AM
279802017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27981
27982 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27983 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27984 values to correct default value for given type.
27985
592d5c75
L
279862017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27987
27988 [BZ #22101]
27989 * elf/Makefile (tests): Add tst-debug1.
27990 ($(objpfx)tst-debug1): New.
27991 ($(objpfx)tst-debug1.out): Likewise.
27992 ($(objpfx)tst-debug1mod1.so): Likewise.
27993 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27994 with p_filesz == 0.
27995 * elf/tst-debug1.c: New file.
27996
2d9193f2
JM
279972017-09-26 Joseph Myers <joseph@codesourcery.com>
27998
27999 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28000 Define using __ifunc.
28001
4c5a7a02
TMQMF
280022017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28003
28004 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28005 exp2f() values.
28006
12ef66c4
JM
280072017-09-26 Joseph Myers <joseph@codesourcery.com>
28008
28009 [BZ #22156]
28010 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28011
44dade71
FW
280122017-09-26 Florian Weimer <fweimer@redhat.com>
28013
28014 * resolv/Makefile (tests-internal): Fix typo in comment.
28015
eaca16f1
FW
280162017-09-26 Florian Weimer <fweimer@redhat.com>
28017
28018 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28019
ccf970c7
AZ
280202017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28021
5f9f31ad
AZ
28022 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28023 Use an union instead of a max_align_t array for __space,
28024 so that __space is the same size on all platforms.
28025 * malloc/scratch_buffer_grow_preserve.c
28026 (__libc_scratch_buffer_grow_preserve): Likewise.
28027
ccf970c7
AZ
28028 [BZ #22183]
28029 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28030 version to 2.
28031 * posix/Makefile (routines): Add glob-lstat-compat and
28032 glob64-lstat-compat.
28033 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28034 * posix/glob-lstat-compat.c: New file.
28035 * posix/glob64-lstat-compat.c: Likewise.
28036 * posix/tst-glob_lstat_compat.c: Likewise.
28037 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28038 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28039 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28040 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28041 Likewise.
28042 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28043 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28044 * posix/glob.c (glob_lstat): New function.
28045 (glob): Rename to __glob and add versioned symbol to 2.27.
28046 (glob_in_dir): Use glob_lstat.
28047 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28048 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28049 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28050 2.27.
28051 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28052 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28053 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28054 gl_lstat on glob call.
28055 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28056 and glob64 symbols.
28057 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28058 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28059 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28060 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28061 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28062 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28063 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28064 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28065 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28066 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28067 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28068 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28070 Likewise.
28071 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28073 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28074 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28075 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28076 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28077 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28080 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28081 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28082 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28083
b4396163
L
280842017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28085
28086 * configure.ac (AS): Require binutils 2.25 or later.
28087 * configure: Regenerated.
28088
8f834987
PP
280892017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28090
28091 [BZ #22207]
28092 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28093 VM size.
28094
3de93d19
DD
280952017-09-25 DJ Delorie <dj@redhat.com>
28096
28097 [BZ #22161]
28098 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28099 resetting timeout.
28100
9947638d
SL
281012017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28102
28103 * sysdeps/ieee754/dbl-64/sincos32.h
28104 [SINCCOS32_H]: Remove define.
28105 [SINCOS32_H]: Define.
28106
f5f0f526
SN
281072017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28108
28109 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28110 (exp2f): Likewise.
28111 * math/w_exp2f.c: New file.
28112 * math/w_expf.c: New file.
28113 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28114 * math/w_expf_compat.c (__expf_compat): Likewise.
28115 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28116 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28117 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28118 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28119 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28120 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28121 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28122 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28123 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28124 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28125 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28126 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28127 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28128 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28130 Likewise.
28131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28132 Likewise.
28133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28134 Likewise.
28135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28136 Likewise.
28137 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28138 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28139 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28140 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28141 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28143 Likewise.
28144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28145 Likewise.
28146 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28147 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28148 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28149
72aa6233
SN
281502017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28151
28152 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28153 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28154 (roundtoint, converttoint): Likewise.
28155 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28156 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28157 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28158 * sysdeps/ieee754/flt-32/math_config.h: New file.
28159 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28160 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28161 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28162 * sysdeps/i386/fpu/math_errf.c: New file.
28163 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28164 * sysdeps/ia64/fpu/math_errf.c: New file.
28165 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28166 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28167
5e6f3253
ST
281682017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28169
28170 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28171 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28172 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28173 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28174 to make sure that these symbols are defined.
b38a42a0
ST
28175 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28176 of <limits.h>
28177 (__need_NULL): Do not define.
28178 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28179 alignment.
28180 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28181 CMGROUP_MAX, cmsgcred): Do not define.
28182 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28183 NULL.
28184 * bits/socket.h: Likewise.
fcafcd16
ST
28185 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28186 __gettimeofday instead of gettimeofday.
28187 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28188 instead of settimeofday.
5e6f3253 28189
2f49ce7d
JM
281902017-09-22 Joseph Myers <joseph@codesourcery.com>
28191
28192 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28193 (asinhf): Define using libm_alias_float.
28194 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28195 (atanf): Define using libm_alias_float.
28196 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28197 (cbrtf): Define using libm_alias_float.
28198 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28199 (ceilf): Define using libm_alias_float.
28200 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28201 <libm-alias-float.h>.
28202 (copysignf): Define using libm_alias_float.
28203 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28204 (cosf): Define using libm_alias_float.
28205 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28206 (erff): Define using libm_alias_float.
28207 (erfcf): Likewise.
28208 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28209 (expm1f): Define using libm_alias_float.
28210 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28211 (fabsf): Define using libm_alias_float.
28212 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28213 (floorf): Define using libm_alias_float.
28214 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28215 (frexpf): Define using libm_alias_float.
28216 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28217 libm_alias_float.
28218 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28219 <libm-alias-float.h>.
28220 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28221 libm_alias_float.
28222 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28223 <libm-alias-float.h>.
28224 (getpayloadf): Define using libm_alias_float.
28225 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28226 <libm-alias-float.h>.
28227 (llrintf): Define using libm_alias_float.
28228 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28229 <libm-alias-float.h>.
28230 (llroundf): Define using libm_alias_float.
28231 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28232 (logbf): Define using libm_alias_float.
28233 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28234 (lrintf): Define using libm_alias_float.
28235 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28236 (lroundf): Define using libm_alias_float.
28237 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28238 (modff): Define using libm_alias_float.
28239 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28240 <libm-alias-float.h>.
28241 (nearbyintf): Define using libm_alias_float.
28242 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28243 <libm-alias-float.h>.
28244 (nextafterf): Define using libm_alias_float.
28245 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28246 <libm-alias-float.h>.
28247 (nextupf): Define using libm_alias_float.
28248 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28249 <libm-alias-float.h>.
28250 (remquof): Define using libm_alias_float.
28251 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28252 (rintf): Define using libm_alias_float.
28253 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28254 <libm-alias-float.h>.
28255 (roundevenf): Define using libm_alias_float.
28256 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28257 (roundf): Define using libm_alias_float.
28258 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28259 using libm_alias_float.
28260 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28261 <libm-alias-float.h>.
28262 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28263 Define using libm_alias_float.
28264 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28265 <libm-alias-float.h>.
28266 (sincosf): Define using libm_alias_float.
28267 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28268 (sinf): Define using libm_alias_float.
28269 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28270 (tanf): Define using libm_alias_float.
28271 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28272 (tanhf): Define using libm_alias_float.
28273 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28274 <libm-alias-float.h>.
28275 (totalorderf): Define using libm_alias_float.
28276 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28277 <libm-alias-float.h>.
28278 (totalordermagf): Define using libm_alias_float.
28279 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28280 (truncf): Define using libm_alias_float.
28281 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28282 libm_alias_float.
28283 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28284 libm_alias_float.
28285
c5c4a626
GG
282862017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28287
28288 [BZ #22146]
28289 math/math.h: Let fpclassify use the builtin in C++ mode, even
28290 when optimazing for size.
28291
23947846
JM
282922017-09-22 Joseph Myers <joseph@codesourcery.com>
28293
28294 * csu/Makefile (generated): Do not add version-info.h.
28295 (before-compile): Likewise.
28296 (all-Banner-files): Remove variable.
28297 ($(objpfx)version-info.h): Remove rule.
28298 * csu/version.c (banner): Do not include "version-info.h".
28299 * libidn/Banner: Remove.
28300 * manual/contrib.texi (Simon Josefsson): New entry.
28301
9ac3c682
GG
283022017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28303
28304 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28305 Remove conditionals on LDBL_MANT_DIG.
28306 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28307 (__ieee754_lgammal_r): Likewise.
28308
d2f0ed09
GG
283092017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28310
28311 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28312 _Float128 and L().
28313 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28314 _Float128 and L(). Replace _Float128 with long double and L(x)
28315 with xL, throughout the file.
28316 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28320
c5c2e667
GG
283212017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28322
28323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28324 sysdeps/ieee754/ldbl-128ibm.
28325 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28326 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28327 of including it. Keep _Float128 and L() intact. These will be
28328 reviewed by a separate patch.
28329 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28330 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28331 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28332 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28333
e010deb2
GG
283342017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28335
28336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28337 (__finitef128): Define to __redirect___finitef128.
28338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28339 (__isinff128): Define to __redirect___isinff128.
28340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28341 (__isnanf128): Define to __redirect___isnanf128.
28342
ffa44804
GG
283432017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28344
28345 * sysdeps/powerpc/powerpc64le/Makefile
28346 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28347 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28348
e5e4d7cc
PP
283492017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28350 Carlos O'Donell <carlos@redhat.com>
28351
28352 [BZ #22180]
28353 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28354 * stdlib/test-dlclose-exit-race.c: New file.
28355 * stdlib/test-dlclose-exit-race-helper.c: New file.
28356 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28357
c10c5267
JM
283582017-09-21 Joseph Myers <joseph@codesourcery.com>
28359
28360 * crypt/Banner: Remove file.
28361 * nptl/Banner: Likewise.
28362 * resolv/Banner: Likewise.
28363 * soft-fp/Banner: Likewise.
28364 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28365 ($(objpfx)version.d): Remove dependency on banner.h.
28366 ($(objpfx)version.os): Likewise.
28367 * nptl/version.c (banner): Do not include banner.h.
28368 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28369 Jelinek and BIND code.
28370
1cc9e59a
PP
283712017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28372 Carlos O'Donell <carlos@redhat.com>
28373
28374 * support/xdlfcn.h: New file.
28375 * support/xdlfcn.c: New file.
28376 * support/Makefile (libsupport-routines): Add xdlfcn.
28377 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28378
ae8372d7
JM
283792017-09-20 Joseph Myers <joseph@codesourcery.com>
28380
28381 [BZ #20142]
28382 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28383 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28384 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28385 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28386 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28387 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28388 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28389 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28390
26e70aec 283912017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
28392 Ricky Zhou <rickyz@google.com>
28393 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
28394
28395 [BZ #14333]
28396 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28397 Remove atomics.
28398 (__new_exitfn): Fail registration when we finished at_exit processing.
28399 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28400 * stdlib/on_exit.c (__on_exit): Likewise.
28401 * stdlib/exit.c (__exit_funcs_done): New variable.
28402 (__run_exit_handlers): Use __exit_funcs_lock.
28403 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28404 declarations.
28405 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28406 (test-cxa_atexit-race, test-on_exit-race): New tests.
28407 * stdlib/test-atexit-race-common.c: New file.
28408 * stdlib/test-atexit-race.c: New file.
28409 * stdlib/test-at_quick_exit-race.c: New file.
28410 * stdlib/test-cxa_atexit-race.c: New file.
28411 * stdlib/test-on_exit-race.c: New file.
28412
0525ce48
SN
284132017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28414
28415 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28416 * benchtests/exp2f-inputs: Copy of expf-inputs.
28417 * benchtests/log2f-inputs: Copy of logf-inputs.
28418
d82468d1
JM
284192017-09-19 Joseph Myers <joseph@codesourcery.com>
28420
28421 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28422 Explicitly take address of first element of array arguments in
28423 call to INLINE_SYSCALL.
28424
43ffc53a
AS
284252017-09-19 Andreas Schwab <schwab@suse.de>
28426
28427 [BZ #22134]
28428 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28429 execveat first.
28430 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28431 unimplemented.
28432 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28433 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28434 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28435 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28436 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28437 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28438 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28439 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28440 * posix/Makefile (tests): Add tst-fexecve.
28441 * posix/tst-fexecve.c: New file.
28442
a5dcc87e
WD
284432017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28444
28445 * benchtests/Makefile: Add logf benchmark.
28446 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28447
7024d544
WD
284482017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28449
28450 * benchtests/Makefile: Add expf benchmark.
28451 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28452
ca3a382e
WD
284532017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28454
28455 * csu/Makefile: Add -funwind-tables to libc-start.c.
28456 * debug/Makefile: Add -funwind-tables to backtrace.c.
28457 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28458 * sysdeps/arm/Makefile: Likewise.
28459 * sysdeps/i386/Makefile: Likewise.
28460 * sysdeps/m68k/Makefile: Likewise.
28461 * sysdeps/mips/Makefile: Likewise.
28462 * sysdeps/nios2/Makefile: Likewise.
28463 * sysdeps/sh/Makefile: Likewise.
28464 * sysdeps/sparc/Makefile: Likewise.
28465
eb375def
JM
284662017-09-19 Joseph Myers <joseph@codesourcery.com>
28467
28468 * benchtests/Makefile (bench-math): Add trunc and truncf.
28469 (CFLAGS-bench-trunc.c): New variable.
28470 (CFLAGS-bench-truncf.c): Likewise.
28471 * benchtests/trunc-inputs: New file.
28472 * benchtests/truncf-inputs: Likewise.
28473
bd17ba29
RS
284742017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28475
28476 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28477
92892fdb
JM
284782017-09-18 Joseph Myers <joseph@codesourcery.com>
28479
6d9b0b5a
JM
28480 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28481 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28482 redefine.
28483 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28484 (exp10l): Define as weak alias.
28485 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28486 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28487 and redefine.
28488 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28489 (remainderl): Define as weak alias.
28490
92892fdb
JM
28491 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28492 (fmal): Define using libm_alias_ldouble.
28493 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28494 (acoshl): Define using libm_alias_ldouble.
28495 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28496 (acosl): Define using libm_alias_ldouble.
28497 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28498 (asinl): Define using libm_alias_ldouble.
28499 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28500 (atan2l): Define using libm_alias_ldouble.
28501 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28502 (atanhl): Define using libm_alias_ldouble.
28503 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28504 (coshl): Define using libm_alias_ldouble.
28505 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28506 (exp10l): Define using libm_alias_ldouble.
28507 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28508 (exp2l): Define using libm_alias_ldouble.
28509 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28510 (expl): Define using libm_alias_ldouble.
28511 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28512 (fmodl): Define using libm_alias_ldouble.
28513 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28514 (hypotl): Define using libm_alias_ldouble.
28515 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28516 (j0l): Define using libm_alias_ldouble.
28517 (y0l): Likewise.
28518 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28519 (j1l): Define using libm_alias_ldouble.
28520 (y1l): Likewise.
28521 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28522 (jnl): Define using libm_alias_ldouble.
28523 (ynl): Likewise.
28524 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28525 (log10l): Define using libm_alias_ldouble.
28526 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28527 (log2l): Define using libm_alias_ldouble.
28528 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28529 (logl): Define using libm_alias_ldouble.
28530 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28531 (powl): Define using libm_alias_ldouble.
28532 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28533 (remainderl): Define using libm_alias_ldouble.
28534 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28535 (sinhl): Define using libm_alias_ldouble.
28536 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28537 (sqrtl): Define using libm_alias_ldouble.
28538 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28539 (tgammal): Define using libm_alias_ldouble.
28540 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28541 (exp10l): Do not use long_double_symbol here.
28542 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28543 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28544 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28545 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28546 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28547 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28548 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28549 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28550 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28551 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28552 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28553 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28554 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28555 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28556 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28557 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28558 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28559 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28560 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28561 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28562 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28563 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28564
6cd380dd
WB
285652017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28566
28567 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28568 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28569
1c6d89e9
ST
285702017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28571
28572 * io/read.c (read): Add libc_hidden_weak.
28573 * sysdeps/mach/hurd/read.c (read): Likewise.
28574 * io/write.c (write): Likewise.
28575 * sysdeps/mach/hurd/write.c (write): Likewise.
28576 * io/pread64.c (__pread64): Likewise.
28577 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28578 * posix/pread64.c (__pread64): Add libc_hidden_def.
28579
06b1de23
SP
285802017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28581
140647ea
SP
28582 * benchtests/scripts/compare_strings.py: New option -g.
28583 (draw_graph): Print a message that a graph is being generated.
28584 (process_results): Generate graph only if -g is passed.
28585 (main): Process option -g.
28586
5a6547b7
SP
28587 * benchtests/scripts/compare_strings.py (process_results):
28588 Better spacing for output.
28589
06b1de23
SP
28590 * benchtests/scripts/compare_strings.py: Use argparse.
28591 * benchtests/README: Document existence of compare_strings.py.
28592
c67a2328
JM
285932017-09-15 Joseph Myers <joseph@codesourcery.com>
28594
9ac44708
JM
28595 * math/s_fma.c: Include <libm-alias-double.h>.
28596 (fma): Define using libm_alias_double.
28597 * math/s_nextafter.c: Include <libm-alias-double.h>.
28598 (nextafter): Define using libm_alias_double.
28599 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28600 (acos): Define using libm_alias_double.
28601 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28602 (aocsh): Define using libm_alias_double.
28603 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28604 (asin): Define using libm_alias_double.
28605 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28606 (atan2): Define using libm_alias_double.
28607 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28608 (atanh): Define using libm_alias_double.
28609 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28610 (cosh): Define using libm_alias_double.
28611 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28612 (exp10): Define using libm_alias_double.
28613 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28614 (exp2): Define using libm_alias_double.
28615 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28616 (exp): Define using libm_alias_double.
28617 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28618 (fmod): Define using libm_alias_double.
28619 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28620 (hypot): Define using libm_alias_double.
28621 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28622 (j0): Define using libm_alias_double.
28623 (y0): Likewise.
28624 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28625 (j1): Define using libm_alias_double.
28626 (y1): Likewise.
28627 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28628 (jn): Define using libm_alias_double.
28629 (yn): Likewise.
28630 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28631 (log10): Define using libm_alias_double.
28632 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28633 (log2): Define using libm_alias_double.
28634 * math/w_log_compat.c: Include <libm-alias-double.h>.
28635 (log): Define using libm_alias_double.
28636 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28637 (pow): Define using libm_alias_double.
28638 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28639 (remainder): Define using libm_alias_double.
28640 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28641 (sinh): Define using libm_alias_double.
28642 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28643 (sqrt): Define using libm_alias_double.
28644 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28645 (tgamma): Define using libm_alias_double.
28646 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28647 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28648 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28649 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28650 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28651 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28652 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28653 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28654 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28655 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28656 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28657 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28658 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28659 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28660 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28661 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28662 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28663 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28664 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28665 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28666 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28667 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28668 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28669 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28670 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28671
c67a2328
JM
28672 * math/e_acoshl.c: Remove.
28673 * math/e_acosl.c: Likewise.
28674 * math/e_asinl.c: Likewise.
28675 * math/e_atan2l.c: Likewise.
28676 * math/e_atanhl.c: Likewise.
28677 * math/e_coshl.c: Likewise.
28678 * math/e_expl.c: Likewise.
28679 * math/e_fmodl.c: Likewise.
28680 * math/e_gammal_r.c: Likewise.
28681 * math/e_hypotl.c: Likewise.
28682 * math/e_j0l.c: Likewise.
28683 * math/e_j1l.c: Likewise.
28684 * math/e_jnl.c: Likewise.
28685 * math/e_lgammal_r.c: Likewise.
28686 * math/e_log10l.c: Likewise.
28687 * math/e_log2l.c: Likewise.
28688 * math/e_logl.c: Likewise.
28689 * math/e_powl.c: Likewise.
28690 * math/e_rem_pio2l.c: Likewise.
28691 * math/e_sinhl.c: Likewise.
28692 * math/e_sqrtf128.c: Likewise.
28693 * math/e_sqrtl.c: Likewise.
28694 * math/k_cosl.c: Likewise.
28695 * math/k_sinl.c: Likewise.
28696 * math/k_tanl.c: Likewise.
28697 * math/s_asinhl.c: Likewise.
28698 * math/s_atanl.c: Likewise.
28699 * math/s_cbrtl.c: Likewise.
28700 * math/s_erfl.c: Likewise.
28701 * math/s_expm1l.c: Likewise.
28702 * math/s_log1pl.c: Likewise.
28703 * math/s_tanhl.c: Likewise.
28704
61c45f25
TMQMF
287052017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28706
28707 [BZ #21745]
28708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28709 [$(subdir) = math] (sysdep_calls): New variable. Has the
28710 previous contents of sysdep_routines, but re-sorted..
28711 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28712 sysdep_calls.
28713 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28714 defined in sysdep_calls and replace by the respective m_* names.
28715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28716 (compat_symbol): Undefine to avoid duplicated compat symbols in
28717 libc.
28718
5bcdb315
JM
287192017-09-15 Joseph Myers <joseph@codesourcery.com>
28720
28721 * math/s_fmaf.c: Include <libm-alias-float.h>.
28722 (fmaf): Define using libm_alias_float.
28723 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28724 (acosf): Define using libm_alias_float.
28725 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28726 (acoshf): Define using libm_alias_float.
28727 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28728 (asinf): Define using libm_alias_float.
28729 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28730 (atan2f): Define using libm_alias_float.
28731 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28732 (atanhf): Define using libm_alias_float.
28733 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28734 (coshf): Define using libm_alias_float.
28735 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28736 (exp10f): Define using libm_alias_float.
28737 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28738 (fmodf): Define using libm_alias_float.
28739 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28740 (hypotf): Define using libm_alias_float.
28741 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28742 (j0f): Define using libm_alias_float.
28743 (y0f): Likewise.
28744 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28745 (j1f): Define using libm_alias_float.
28746 (y1f): Likewise.
28747 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28748 (jnf): Define using libm_alias_float.
28749 (ynf): Likewise.
28750 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28751 (log10f): Define using libm_alias_float.
28752 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28753 (log2f): Define using libm_alias_float.
28754 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28755 (logf): Define using libm_alias_float.
28756 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28757 (powf): Define using libm_alias_float.
28758 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28759 (remainderf): Define using libm_alias_float.
28760 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28761 (sinhf): Define using libm_alias_float.
28762 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28763 (sqrtf): Define using libm_alias_float.
28764 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28765 (tgammaf): Define using libm_alias_float.
28766
01f28812
JM
287672017-09-14 Joseph Myers <joseph@codesourcery.com>
28768
28769 * include/math.h (roundeven): Change hidden_proto call to
28770 __roundeven.
28771 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28772 alias.
28773 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28774 (y0): Rename to __y0 and define as weak alias.
28775 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28776 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28777 alias.
28778 (y0f): Rename to __y0f and define as weak alias.
28779 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28780 alias.
28781 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28782 (y1): Rename to __y1 and define as weak alias.
28783 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28784 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28785 alias.
28786 (y1f): Rename to __y1f and define as weak alias.
28787 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28788 alias.
28789 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28790 (yn): Rename to __yn and define as weak alias.
28791 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28792 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28793 alias.
28794 (ynf): Rename to __ynf and define as weak alias.
28795 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28796 (fromfp): Define as weak alias.
28797 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28798 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28799 (fromfpx): Define as weak alias.
28800 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28801 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28802 __getpayload and define as weak alias.
28803 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28804 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28805 __roundeven and define as weak alias.
28806 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28807 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28808 __setpayload.
28809 (setpayload): Define as weak alias.
28810 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28811 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28812 __setpayloadsig.
28813 (setpayloadsig): Define as weak alias.
28814 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28815 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28816 __totalorder and define as weak alias.
28817 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28818 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28819 to __totalordermag and define as weak alias.
28820 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28821 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28822 (ufromfp): Define as weak alias.
28823 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28824 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28825 __ufromfpx.
28826 (ufromfpx): Define as weak alias.
28827 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28828 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28829 Rename to __getpayload and define as weak alias.
28830 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28831 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28832 Rename to __roundeven and define as weak alias.
28833 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28834 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28835 Rename to __totalorder and define as weak alias.
28836 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28837 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28838 (totalordermag): Rename to __totalordermag and define as weak
28839 alias.
28840 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28841 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28842 macro.
28843 (__roundevenl): Likewise.
28844 (__totalorderl): Likewise.
28845 (__totalordermagl): Likewise
28846 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28847 __fromfpf128.
28848 (fromfpf128): Define as weak alias.
28849 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28850 __fromfpxf128.
28851 (fromfpxf128): Define as weak alias.
28852 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28853 __setpayloadf128.
28854 (setpayloadf128): Define as weak alias.
28855 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28856 __setpayloadsigf128.
28857 (setpayloadsigf128): Define as weak alias.
28858 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28859 __ufromfpf128.
28860 (ufromfpf128): Define as weak alias.
28861 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28862 __ufromfpxf128.
28863 (ufromfpxf128): Define as weak alias.
28864 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28865 (fromfpf): Define as weak alias.
28866 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28867 __fromfpxf.
28868 (fromfpxf): Define as weak alias.
28869 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28870 __getpayloadf and define as weak alias.
28871 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28872 __roundevenf and define as weak alias.
28873 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28874 __setpayloadf.
28875 (setpayloadf): Define as weak alias.
28876 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28877 __setpayloadsigf.
28878 (setpayloadsigf): Define as weak alias.
28879 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28880 __totalorderf and define as weak alias.
28881 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28882 Rename to __totalordermagf and define as weak alias.
28883 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28884 __ufromfpf.
28885 (ufromfpf): Define as weak alias.
28886 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28887 __ufromfpxf.
28888 (ufromfpxf): Define as weak alias.
28889 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28890 __fromfpl.
28891 (fromfpl): Define as weak alias.
28892 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28893 __fromfpxl.
28894 (fromfpxl): Define as weak alias.
28895 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28896 to __getpayloadl and define as weak alias.
28897 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28898 __roundevenl and define as weak alias.
28899 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28900 __setpayloadl.
28901 (setpayloadl): Define as weak alias.
28902 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28903 __setpayloadsigl.
28904 (setpayloadsigl): Define as weak alias.
28905 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28906 to __totalorderl and define as weak alias.
28907 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28908 Rename to __totalordermagl and define as weak alias.
28909 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28910 __ufromfpl.
28911 (ufromfpl): Define as weak alias.
28912 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28913 __ufromfpxl.
28914 (ufromfpxl): Define as weak alias.
28915 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28916 __fromfpl.
28917 (fromfpl): Define as weak alias.
28918 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28919 __fromfpxl.
28920 (fromfpxl): Define as weak alias.
28921 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28922 Rename to __getpayloadl and define as weak alias.
28923 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28924 to __roundevenl and define as weak alias. Call __roundeven
28925 instead of roundeven.
28926 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28927 __setpayloadl.
28928 (setpayloadl): Define as weak alias.
28929 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28930 __setpayloadsigl.
28931 (setpayloadsigl): Define as weak alias.
28932 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28933 Rename to __totalorderl and define as weak alias.
28934 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28935 Rename to __totalordermagl and define as weak alias.
28936 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28937 __ufromfpl.
28938 (ufromfpl): Define as weak alias.
28939 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28940 __ufromfpxl.
28941 (ufromfpxl): Define as weak alias.
28942 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28943 __fromfpl.
28944 (fromfpl): Define as weak alias.
28945 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28946 __fromfpxl.
28947 (fromfpxl): Define as weak alias.
28948 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28949 __getpayloadl and define as weak alias.
28950 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28951 __roundevenl and define as weak alias.
28952 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28953 __setpayloadl.
28954 (setpayloadl): Define as weak alias.
28955 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28956 __setpayloadsigl.
28957 (setpayloadsigl): Define as weak alias.
28958 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28959 __totalorderl and define as weak alias.
28960 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28961 Rename to __totalordermagl and define as weak alias.
28962 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28963 __ufromfpl.
28964 (ufromfpl): Define as weak alias.
28965 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28966 __ufromfpxl.
28967 (ufromfpxl): Define as weak alias.
28968
29c933fb
SP
289692017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28970
503c92c3
SP
28971 * benchtests/bench-string.h (realloc_bufs): New function.
28972 (test_init): Call it.
28973 * benchtests/bench-memset-large.c (do_test): Likewise.
28974 * benchtests/bench-memset.c (do_test): Likewise.
28975
29c933fb
SP
28976 * benchtests/bench-memset-large.c: Print output in JSON
28977 format.
28978 * benchtests/bench-memset.c: Likewise.
28979
799c8d69
MF
289802017-09-14 Mike FABIAN <mfabian@redhat.com>
28981
28982 [BZ #21084]
28983 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28984 * iconvdata/Makefile: Add IBM858.
28985 * iconvdata/gconv-modules: Likewise.
28986 * iconvdata/tst-tables.sh: Likewise.
28987 * iconvdata/ibm858.c: New file.
28988 * localedata/charmaps/IBM858: Likewise.
28989
c207f7ce 289902017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
28991
28992 [BZ #22023]
28993 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28994 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28995
f28a0926
AK
289962017-09-14 Mike FABIAN <mfabian@redhat.com>
28997
28998 [BZ #22112]
28999 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29000 and add tel_int_fmt.
29001
02093e62
JM
290022017-09-14 Joseph Myers <joseph@codesourcery.com>
29003
29004 * sysdeps/generic/libm-alias-float128.h: New file.
29005 * sysdeps/generic/math-type-macros-float128.h: Include
29006 <libm-alias-float128.h>.
29007 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29008
1aae75ef
JM
290092017-09-13 Joseph Myers <joseph@codesourcery.com>
29010
29011 * sysdeps/generic/libm-alias-ldouble.h: New file.
29012 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29013 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29014 * sysdeps/generic/math-type-macros-ldouble.h: Include
29015 <libm-alias-ldouble.h>.
29016 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29017 libm_alias_ldouble.
29018
bcea7ad6
SN
290192017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29020
29021 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29022 * math/w_exp_compat.c: ... here.
29023 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29024 * math/w_expf_compat.c: ... here.
29025 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29026 * math/w_expl_compat.c: ... here.
29027 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29028 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29029 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29030 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29031
0fc56478
JM
290322017-09-13 Joseph Myers <joseph@codesourcery.com>
29033
29034 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29035 redefine.
29036 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29037 macro.
29038 (ldexpl): Only define as compat symbol for libc, not libm.
29039 (scalbnl): Define as compat symbol for libc here.
29040 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29041 define for [IS_IN (libc)].
29042 (__ldexpl_2): Remove alias.
29043 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29044 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29045 name in long_double_symbol call.
29046 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29047 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29048 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29049 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29050 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29051 Remove macro.
29052 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29053 Define as compat symbol.
29054
3ca622e4
AZ
290552017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29056
29057 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29058 * sysdeps/unix/sysv/linux/alpha/Makefile
29059 [$(subdir) = csu] (sysdep_routines): Remove rule.
29060
620ff9ee
JM
290612017-09-13 Joseph Myers <joseph@codesourcery.com>
29062
29063 * sysdeps/generic/libm-alias-double.h: New file.
29064 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29065 * sysdeps/generic/math-type-macros-double.h: Include
29066 <libm-alias-double.h>.
29067 [declare_mgen_alias] (declare_mgen_alias): Define to use
29068 libm_alias_double.
29069 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29070 (M_LIBM_NEED_COMPAT): Remove macro.
29071 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29072 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29073 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29074 code.
29075 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29076 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29077 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29078 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29079 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29080 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29081 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29082 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29083 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29084 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29085 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29086 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29087 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29088 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29089 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29090 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29091 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29092 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29093 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29094 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29095 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29096 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29097 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29098 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29099 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29100 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29101 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29102 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29103 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29104 macro.
29105 (declare_mgen_alias): New macro.
29106 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29107 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29109 (M_LIBM_NEED_COMPAT): Remove macro.
29110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29111 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29112 <first-versions.h>.
29113 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29114 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29115
a891caff
JM
291162017-09-12 Joseph Myers <joseph@codesourcery.com>
29117
29118 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29119 (declare_mgen_alias_2): Remove.
29120 * sysdeps/generic/math-type-macros-double.h
29121 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29122 Likewise.
29123 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29124 alias.
29125 (ldexp): Define with declare_mgen_alias.
29126 (scalbn): Likewise.
29127
a1a78204
SE
291282017-09-12 Steve Ellcey <sellcey@cavium.com>
29129
29130 * grp/initgroups.c: Include config.h.
29131 (DEFAULT_CONFIG): New macro.
29132 (internal_getgrouplist): Use DEFAULT_CONFIG.
29133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29134 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29135 (DEFAULT_DEFCONFIG): New macro.
29136 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29137 * nss/grp-lookup.c: Include config.h
29138 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29139 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29140 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29141 * manual/nss.texi: Update default values section.
29142
ef8adeb0
L
291432017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29144
29145 [BZ #21967]
29146 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29147 New.
29148 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29149 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29150 Handle MathVec_Prefer_No_AVX512.
29151 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29152 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29153 is set.
29154
a166531f
ST
291552017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29156
29157 * posix/sched_primax.c (__sched_get_priority_max): Add
29158 libc_hidden_def.
29159 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29160 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29161 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29162 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29163 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29164 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29165 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29166 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29167 Add aliases.
29168
4b7d1efb
JM
291692017-09-11 Joseph Myers <joseph@codesourcery.com>
29170
29171 * sysdeps/generic/libm-alias-float.h: New file.
29172 * sysdeps/generic/math-type-macros-float.h: Include
29173 <libm-alias-float.h>.
29174 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29175
45ff3463
L
291762017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29177
29178 [BZ #22093]
29179 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29180 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29181 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29182 (HWCAP_IMPORTANT): Likewise.
29183 (HWCAP_X86_64): New enum.
29184 (HWCAP_X86_AVX512_1): Updated.
29185 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29186 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29187 (modules-names): Add x86_64/tst-x86_64mod-1.
29188 (LDFLAGS-tst-x86_64mod-1.so): New.
29189 ($(objpfx)tst-x86_64-1): Likewise.
29190 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29191 (tst-x86_64-1-clean): Likewise.
29192 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29193 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29194
891abfd3
SP
291952017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29196
29197 * po/sv.po: Update translations.
29198 * po/fr.po: Likewise.
29199
00c3da43
ST
292002017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29201
29202 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29203 seconds.
3bdfd9fb
ST
29204 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29205 seconds.
65b22ebc 29206 * elf/rtld-Rules: Fix $(error) use.
00c3da43 29207
96480903
MF
292082017-09-09 Mike FABIAN <mfabian@redhat.com>
29209
29210 [BZ #14925]
29211 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29212 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29213 * localedata/locales/bn_BD: “Bengali” was still used in some
29214 comments. Change it to “Bangla”.
29215
4c03a696
MT
292162017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29217
29218 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29219
9c9ec581
SE
292202017-09-08 Steve Ellcey <sellcey@cavium.com>
29221
29222 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29223 thunderx2t99p1 to list of cpu names.
29224 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29225 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29226
f00bce74
SE
292272017-09-08 Steve Ellcey <sellcey@cavium.com>
29228
29229 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29230 Use strcmp instead of tunable_is_name.
29231
27342d17
JM
292322017-09-08 Joseph Myers <joseph@codesourcery.com>
29233
af1b7c8c
JM
29234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29235 (F_GET_RW_HINT): New macro.
29236 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29237 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29238 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29239 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29240 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29241 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29242 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29243 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29244 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29245
27342d17
JM
29246 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29247 (F_ADD_SEALS): New macro.
29248 [__USE_GNU] (F_GET_SEALS): Likewise.
29249 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29250 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29251 [__USE_GNU] (F_SEAL_GROW): Likewise.
29252 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29253
c66c9082
AZ
292542017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29255
07b4f49d
AZ
29256 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29257 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29258 * posix/glob_internal.h (__glob_pattern_type):
29259 * posix/glob.c (glob):
29260 * posix/glob_pattern_p.c (__glob_pattern_p):
29261 Use them.
29262
116f1c64
AZ
29263 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29264 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29265 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29266 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29267 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29269 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29270 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29271 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29272 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29273 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29274 * sysdeps/wordsize-64/glob.c: Likewise.
29275 * sysdeps/wordsize-64/glob64.c: Likewise.
29276 * sysdeps/wordsize-64/globfree.c: Likewise.
29277 * sysdeps/wordsize-64/globfree64.c: Likewise.
29278 * sysdeps/unix/sysv/linux/glob.c: New file.
29279 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29280 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29281 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29282 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29283 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29284 adds !GLOB_NO_OLD_VERSION as an extra condition.
29285 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29286 using relative path instead of absolute one.
29287 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29288 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29289 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29290 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29291 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29292 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29293
ffca8901
AZ
29294 [BZ #1062]
29295 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29296 (glob): Use the same scratch buffer for both getlogin_r and
29297 getpwnam_r. Don’t require preallocation of the login name. This
29298 simplifies storage allocation, and corrects the handling of
29299 long login names.
29300
5a79f975
AZ
29301 [BZ #1062]
29302 * posix/glob.c (glob): Port recent patches to platforms
29303 lacking getpwnam_r.
29304 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29305 returns an error number rather than setting errno.
29306
e00f2425
AZ
29307 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29308 instead of GCC extension.
29309 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29310 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29311 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29312
5554304f
AZ
29313 [BZ #866]
29314 [BZ #1062]
29315 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29316 * posix/bug-glob1.c: Remove file.
29317 * posix/tst-glob_symlinks.c: New file.
29318 * posix/glob.c (__lstat64): New macro.
29319 (is_dir): New function.
29320 (glob, glob_in_dir): Match symlinks even if they are dangling.
29321 (link_stat, link_exists_p): Remove. All uses removed.
29322
686f2ea1
AZ
29323 [BZ #1062]
29324 [BZ #19971]
29325 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29326 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29327 All uses removed.
29328
c66c9082 29329 [BZ #1062]
914c9994 29330 CVE-2017-15671
c66c9082
AZ
29331 * posix/Makefile (routines): Add globfree, globfree64, and
29332 glob_pattern_p.
29333 * posix/flexmember.h: New file.
29334 * posix/glob_internal.h: Likewise.
29335 * posix/glob_pattern_p.c: Likewise.
29336 * posix/globfree.c: Likewise.
29337 * posix/globfree64.c: Likewise.
29338 * sysdeps/gnu/globfree64.c: Likewise.
29339 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29340 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29341 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29342 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29343 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29344 * sysdeps/wordsize-64/globfree.c: Likewise.
29345 * sysdeps/wordsize-64/globfree64.c: Likewise.
29346 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29347 [NDEBUG): Remove comments.
29348 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29349 (dirent_type): New type. Use uint_fast8_t not
29350 uint8_t, as C99 does not require uint8_t.
29351 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29352 (struct readdir_result): Use dirent_type. Do not define skip_entry
29353 unless it is needed; this saves a byte on platforms lacking d_ino.
29354 (readdir_result_type, readdir_result_skip_entry):
29355 New functions, replacing ...
29356 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 29357 these functions, which were removed. This makes the callers
c66c9082
AZ
29358 easier to read. All callers changed.
29359 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29360 (size_add_wrapv, glob_use_alloca): New static functions.
29361 (glob, glob_in_dir): Check for size_t overflow in several places,
29362 and fix some size_t checks that were not quite right.
29363 Remove old code using SHELL since Bash no longer
29364 uses this.
29365 (glob, prefix_array): Separate MS code better.
29366 (glob_in_dir): Remove old Amiga and VMS code.
29367 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29368 separate files.
29369 (glob_in_dir): Do not rely on undefined behavior in accessing
29370 struct members beyond their bounds. Use a flexible array member
29371 instead
29372 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29373 0/1. Caller changed.
29374 (glob): Fix memory leaks.
29375 * posix/glob64 (globfree64): Move to separate file.
29376 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29377 (globfree64): Remove hidden alias.
29378 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29379 oldglob.
29380 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29381 separate file.
29382 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29383 define.
29384 Move compat code to separate file.
29385 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29386 separate file.
29387
78bfa877
L
293882017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29389
29390 * resolv/tst-resolv-qtypes.c (domain): Changed to
29391 "const char domain[] =".
29392
05f0011f
JM
293932017-09-07 Joseph Myers <joseph@codesourcery.com>
29394
85bec0f2
JM
29395 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29396 version to 3.1.6.
29397
5c23ee6e
JM
29398 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29399 (TCP_MD5SIG_EXT): Likewise.
29400 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29401 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29402 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29403
05f0011f
JM
29404 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29405
7c9c5be9
MF
294062017-09-07 Mike FABIAN <mfabian@redhat.com>
29407
29408 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29409
c207f7ce 294102017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
29411
29412 [BZ #22100]
29413 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29414
507fe027
ST
294152017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29416
29417 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29418 before assuming that the file is empty. Avoid testing buffer content
29419 when nread == 0.
29420
65687ac7
AZ
294212017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29422
7bbbb4b9 29423 [BZ #18858]
65687ac7
AZ
29424 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29425 Remove define.
29426 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29427 Likewise.
29428 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29429 Likewise.
29430 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29431 Likewise.
29432 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29433 Likewise.
29434 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29435 Likewise.
29436 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29437 Likewise.
29438
ab5ac271
FW
294392017-09-06 Florian Weimer <fweimer@redhat.com>
29440
29441 * malloc/dynarray_emplace_enlarge.c
29442 (__libc_dynarray_emplace_enlarge): Add missing else.
29443
a8304730
FW
294442017-09-06 Florian Weimer <fweimer@redhat.com>
29445
29446 [BZ #22096]
29447 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29448 case of failure to obtain the global conf object.
29449
5670c4ab
FW
294502017-09-06 Florian Weimer <fweimer@redhat.com>
29451
29452 [BZ #22095]
29453 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29454 dynarray allocation failure.
29455
c77eb969
FW
294562017-09-06 Florian Weimer <fweimer@redhat.com>
29457
29458 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29459 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29460 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29461 New functions.
29462 (response): Call them. Add 'p', '6' flag processing.
29463 (test_reverse): New function.
29464 (test_get2_any): Call it.
29465 (test_no_inet6): Add 'p' test.
29466 (test_inet6): Likewise.
29467
5e9c4d17
FW
294682017-09-06 Florian Weimer <fweimer@redhat.com>
29469
29470 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29471 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29472 the QNAME.
29473 (test_gai): Adjust query names. Add additional tests.
29474 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29475 test_get2. Adjust query names. Add additional tests.
29476 (test_no_inet6): New function, extracted from threadfunc.
29477 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29478 Add additional tests.
29479
2ae5be04
MF
294802017-09-06 Mike FABIAN <mfabian@redhat.com>
29481
29482 [BZ #22070]
29483 * localedata/unicode-gen/utf8_gen.py: Set the width for
29484 characters with Prepended_Concatenation_Mark property to 1
29485 * localedata/charmaps/UTF-8: Updated using the improved script.
29486
af83ed5c
MF
294872017-09-06 Mike FABIAN <mfabian@redhat.com>
29488
29489 [BZ #21750]
29490 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29491 use the range notation for all ranges of neighbouring characters
29492 with the same width.
29493
4f3647e4
JM
294942017-09-05 Joseph Myers <joseph@codesourcery.com>
29495
29496 * sysdeps/generic/math-type-macros-double.h: Include
29497 <math-svid-compat.h>.
29498 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29499 * sysdeps/generic/math-type-macros-float.h: Include
29500 <math-svid-compat.h>.
29501 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29502 * sysdeps/generic/math-type-macros-ldouble.h: Include
29503 <math-svid-compat.h>.
29504 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29505 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29506 condition.
29507 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29508 * math/w_acosf_compat.c: Likewise.
29509 * math/w_acosh_compat.c: Likewise.
29510 * math/w_acoshf_compat.c: Likewise.
29511 * math/w_acoshl_compat.c: Likewise.
29512 * math/w_acosl_compat.c: Likewise.
29513 * math/w_asin_compat.c: Likewise.
29514 * math/w_asinf_compat.c: Likewise.
29515 * math/w_asinl_compat.c: Likewise.
29516 * math/w_atan2_compat.c: Likewise.
29517 * math/w_atan2f_compat.c: Likewise.
29518 * math/w_atan2l_compat.c: Likewise.
29519 * math/w_atanh_compat.c: Likewise.
29520 * math/w_atanhf_compat.c: Likewise.
29521 * math/w_atanhl_compat.c: Likewise.
29522 * math/w_cosh_compat.c: Likewise.
29523 * math/w_coshf_compat.c: Likewise.
29524 * math/w_coshl_compat.c: Likewise.
29525 * math/w_exp10_compat.c: Likewise.
29526 * math/w_exp10f_compat.c: Likewise.
29527 * math/w_exp10l_compat.c: Likewise.
29528 * math/w_exp2_compat.c: Likewise.
29529 * math/w_exp2f_compat.c: Likewise.
29530 * math/w_exp2l_compat.c: Likewise.
29531 * math/w_fmod_compat.c: Likewise.
29532 * math/w_fmodf_compat.c: Likewise.
29533 * math/w_fmodl_compat.c: Likewise.
29534 * math/w_hypot_compat.c: Likewise.
29535 * math/w_hypotf_compat.c: Likewise.
29536 * math/w_hypotl_compat.c: Likewise.
29537 * math/w_j0_compat.c: Likewise.
29538 * math/w_j0f_compat.c: Likewise.
29539 * math/w_j0l_compat.c: Likewise.
29540 * math/w_j1_compat.c: Likewise.
29541 * math/w_j1f_compat.c: Likewise.
29542 * math/w_j1l_compat.c: Likewise.
29543 * math/w_jn_compat.c: Likewise.
29544 * math/w_jnf_compat.c: Likewise.
29545 * math/w_jnl_compat.c: Likewise.
29546 * math/w_lgamma_r_compat.c: Likewise.
29547 * math/w_lgammaf_r_compat.c: Likewise.
29548 * math/w_lgammal_r_compat.c: Likewise.
29549 * math/w_log10_compat.c: Likewise.
29550 * math/w_log10f_compat.c: Likewise.
29551 * math/w_log10l_compat.c: Likewise.
29552 * math/w_log2_compat.c: Likewise.
29553 * math/w_log2f_compat.c: Likewise.
29554 * math/w_log2l_compat.c: Likewise.
29555 * math/w_log_compat.c: Likewise.
29556 * math/w_logf_compat.c: Likewise.
29557 * math/w_logl_compat.c: Likewise.
29558 * math/w_pow_compat.c: Likewise.
29559 * math/w_powf_compat.c: Likewise.
29560 * math/w_powl_compat.c: Likewise.
29561 * math/w_remainder_compat.c: Likewise.
29562 * math/w_remainderf_compat.c: Likewise.
29563 * math/w_remainderl_compat.c: Likewise.
29564 * math/w_sinh_compat.c: Likewise.
29565 * math/w_sinhf_compat.c: Likewise.
29566 * math/w_sinhl_compat.c: Likewise.
29567 * math/w_sqrt_compat.c: Likewise.
29568 * math/w_sqrtf_compat.c: Likewise.
29569 * math/w_sqrtl_compat.c: Likewise.
29570 * math/w_tgamma_compat.c: Likewise.
29571 * math/w_tgammaf_compat.c: Likewise.
29572 * math/w_tgammal_compat.c: Likewise.
29573 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29574 [LIBM_SVID_COMPAT].
29575 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29576 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29577 [LIBM_SVID_COMPAT].
29578 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29579 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29580 [LIBM_SVID_COMPAT].
29581 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29582 * sysdeps/i386/fpu/w_sqrt.c: New file.
29583 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29584 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29585 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29586 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29587 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29588 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29589 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29590 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29591 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29592 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29593 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29594 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29595 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29596 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29597 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29598 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29599 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29600 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29601 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29602 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29603 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29604 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29605 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29606 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29607 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29608 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29609 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29610 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29611 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29612 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29613 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29614 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29615 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29616 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29617 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29618 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29619 * sysdeps/ia64/fpu/w_log.c: Likewise.
29620 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29621 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29622 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29623 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29624 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29625 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29626 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29627 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29628 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29629 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29630 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29631 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29632 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29633 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29634 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29635 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29636 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29637 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29638 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29639 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29640 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29641 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29642 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29643 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29644 [LIBM_SVID_COMPAT].
29645 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29646 * sysdeps/ieee754/k_standard.c: Likewise.
29647 * sysdeps/ieee754/k_standardf.c: Likewise.
29648 * sysdeps/ieee754/k_standardl.c: Likewise.
29649 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29650 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29651 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29652 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29653 long_double_symbol call on [LIBM_SVID_COMPAT].
29654 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29655 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29656 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29657 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29658 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29659 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29660 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29661 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29662 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29663 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29664 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29665 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29666 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29667 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29668 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29669 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29670 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29671 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29672 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29673 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29674 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29675 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29676
05b38d64
SE
296772017-09-05 Steve Ellcey <sellcey@cavium.com>
29678
29679 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29680 * malloc/tst-mallocstate.c: Convert from test-skeleton
29681 to test-driver. Ifdef code using TEST_COMPAT macro.
29682 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29683 * math/test-matherr.c: Likewise.
29684
99d67918
JM
296852017-09-05 Joseph Myers <joseph@codesourcery.com>
29686
29687 [BZ #22086]
29688 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29689 comparing word with byte-swapped constant.
29690
c207f7ce 296912017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
29692
29693 [BZ #20498]
29694 * locale/iso-639.def: add Miskito.
29695 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29696 * localedata/locales/miq_NI: New file.
29697
0a587a8a
L
296982017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29699
29700 [BZ #18822]
29701 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29702 (__mkdir): Likewise.
29703 * io/chmod.c (__chmod): Add libc_hidden_def.
29704 * io/mkdir.c (__mkdir): Likewise.
29705 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29706 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29707 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29708 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29709
f3a129b8
JM
297102017-09-04 Joseph Myers <joseph@codesourcery.com>
29711
1650e192
JM
29712 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29713 version to 4.13.
29714
f3a129b8
JM
29715 [BZ #22082]
29716 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29717 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29718
b38042f5
FW
297192017-09-04 Florian Weimer <fweimer@redhat.com>
29720
29721 * math/math.h: Issue warning if log is defined.
29722
059b6404
JM
297232017-09-04 Joseph Myers <joseph@codesourcery.com>
29724
29725 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29726 kernel version to 4.13.
29727
b794e16b
ST
297282017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29729
29730 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
29731 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29732 parameter.
01969395
ST
29733 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29734 just <bits/types.h>.
dd2b31de 29735 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 29736 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 29737 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 29738 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
29739 * misc/preadv2.c: Include <errno.h>.
29740 * misc/preadv64v2.c: Include <errno.h>.
29741 * misc/pwritev2.c: Include <errno.h>.
29742 * misc/pwritev64v2.c: Include <errno.h>.
29743 * sysdeps/posix/preadv2.c: Include <errno.h>.
29744 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29745 Fix <unistd.h> inclusion.
29746 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29747 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
29748 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29749 __strtoul_internal): New functions.
127e7773
ST
29750 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29751 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
29752 * sysdeps/mach/hurd/i386/Makefile
29753 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29754 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29755 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
29756 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29757 __feraiseexcept_renamed to feraiseexcept instead of
29758 __GI_feraiseexcept.
56bf5497 29759 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 29760 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
29761 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29762 RWF_NOWAIT): Define to 0 if undefined already.
29763 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29764 boils down to 0.
6547ec0a
ST
29765 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29766 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 29767
5a80d39d
JM
297682017-09-01 Joseph Myers <joseph@codesourcery.com>
29769
29770 * manual/math.texi (pow10): Do not document.
29771 (pow10f): Likewise.
29772 (pow10l): Likewise.
29773 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29774 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29775 * math/libm-test-exp10.inc (pow10_test): Remove.
29776 (do_test): Do not call pow10.
29777 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29778 [NO_LONG_DOUBLE] (pow10l): Likewise.
29779 * math/w_exp10f_compat.c (pow10f): Likewise.
29780 * math/w_exp10l_compat.c (pow10l): Likewise.
29781 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29782 (pow10): Make into compat symbol.
29783 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29784 (pow10f): Make into compat symbol.
29785 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29786 (pow10l): Make into compat symbol.
29787 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29788 pow10.
29789 (CFLAGS-nldbl-pow10.c): Remove variable..
29790 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29791 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29792 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29793 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29794 Undefine and redefine.
29795 (pow10l): Make into compat symbol.
29796 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29797 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29798 * sysdeps/arm/libm-test-ulps: Likewise.
29799 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29800 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29801 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29802 * sysdeps/microblaze/libm-test-ulps: Likewise.
29803 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29804 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29805 * sysdeps/nios2/libm-test-ulps: Likewise.
29806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29807 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29808 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29809 * sysdeps/sh/libm-test-ulps: Likewise.
29810 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29811 * sysdeps/tile/libm-test-ulps: Likewise.
29812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29813
3824fc38
PP
298142017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29815
29816 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29817
b3008279
L
298182017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29819
29820 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29821 "../ChangeLog.old/ChangeLog.8".
29822 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29823 "../ChangeLog.old/ChangeLog.14".
29824
136fa185
L
298252017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29826
29827 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29828 Threads Library.
29829
c18d50a2
JM
298302017-09-01 Joseph Myers <joseph@codesourcery.com>
29831
29832 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29833
bedbd859
L
298342017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29835
29836 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29837 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29838
50c66c7a
PP
298392017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29840
29841 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29842 32 atexit handlers.
29843
a617bd11
ZW
298442017-09-01 Zack Weinberg <zackw@panix.com>
29845
29846 * math/math.h (HUGE_VAL): Improve commentary.
29847
e0d2eb5a
AZ
298482017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29849 Andreas Schwab <schwab@suse.de>
29850
29851 [BZ #21530]
29852 * include/stdio.h (__gen_tempfd): New function.
29853 * stdio-common/Makefile (routines): Add gentempfd.
29854 * stdio-common/gentempfd.c: New file.
29855 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29856 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29857 unnamed file first.
29858
f4a6be25
FW
298592017-09-01 Florian Weimer <fweimer@redhat.com>
29860
29861 [BZ #21915]
29862 [BZ #21922]
29863 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29864 result to determine success or failure, not the errno value.
29865 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29866 (tst-nss-files-hosts-erange): Link with -ldl.
29867 * nss/tst-nss-files-hosts-erange.c: New file.
29868 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29869 (do_test): Add NO_DATA tests.
29870 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29871 (do_test): Call it.
29872
5f8340f5
FW
298732017-09-01 Florian Weimer <fweimer@redhat.com>
29874
29875 [BZ #21922]
29876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29877 coming from gethostbyname2_r.
29878
65329bd2
FW
298792017-09-01 Florian Weimer <fweimer@redhat.com>
29880
29881 * support/namespace.h (struct support_chroot_configuration): Add
29882 hosts, host_conf.
29883 (struct support_chroot): Add path_hosts, path_host_conf.
29884 * support/support_chroot.c (write_file): New function.
29885 (support_chroot_create): Call it to process /etc/resolv.conf,
29886 /etc/hosts, /etc/host.conf.
29887 (support_chroot_free): Update.
29888
a2881ef0
FW
298892017-09-01 Florian Weimer <fweimer@redhat.com>
29890
29891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29892 status indicates it is set.
29893
ad816a5e
FW
298942017-09-01 Florian Weimer <fweimer@redhat.com>
29895
63b52889 29896 [BZ #20532]
ad816a5e
FW
29897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29898 function lookup failures more reliable.
29899
53250a21
FW
299002017-09-01 Florian Weimer <fweimer@redhat.com>
29901
29902 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29903 (getcanonname): Likewise.
29904 (gaih_inet): Likewise.
29905
924b121c
FW
299062017-09-01 Florian Weimer <fweimer@redhat.com>
29907
29908 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29909 (getcanonname): Likewise.
29910 (gaih_inet): Likewise.
29911
d9ff799a 299122017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 29913 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
29914
29915 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29916 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29917 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29918 (IREG_SIZE, OREG_SIZE): New macros.
29919 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29920 (IREG_SIZE, OREG_SIZE): New macros.
29921 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29922 (IREG_SIZE): New macro.
29923 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29924 (IREG_SIZE): New macro.
29925 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29926 New includes.
29927 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29928 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29929 (__CONCATX): Handle exceptions correctly on large values that may
29930 set FE_INVALID.
29931 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29932 Initialize if not already set.
b39d961c 29933 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 29934
102dde84
AZ
299352017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29936
29937 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29938 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29939 Likewise.
29940 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29941 Likewise.
29942 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29943 Likewise.
29944 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29945 Likewise.
29946 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29947 Likewise.
29948 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29949 Likewise.
29950 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29951 Likewise.
29952 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29953 (NO_CANCELLATION): Likewise.
29954 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29955 Likewise.
29956 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29957 Likewise.
29958 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29959 Likewise.
29960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29961 (NO_CANCELLATION): Likewise.
29962 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29963 (NO_CANCELLATION): Likewise.
29964 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29965 Likewise
29966 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29967 Likewise.
29968 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29969 Likewise.
29970 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29971 Likewise.
29972 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29973 hidden prototype.
29974 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29975 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29976
9eee633b
SE
299772017-08-31 Steve Ellcey <sellcey@cavium.com>
29978
29979 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29980 in resolver call.
29981
65284eb7
FW
299822017-08-31 Florian Weimer <fweimer@redhat.com>
29983
29984 * include/libc-symbols.h (internal_function): Remove.
29985
41ad5ca6
FW
299862017-08-31 Florian Weimer <fweimer@redhat.com>
29987
29988 * stdlib/fmtmsg.c (internal_addseverity): Remove
29989 internal_function.
29990
2fa6d086
FW
299912017-08-31 Florian Weimer <fweimer@redhat.com>
29992
29993 * stdio-common/printf_fp.c (group_number): Remove
29994 internal_function.
29995 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29996
b41bd5bc
FW
299972017-08-31 Florian Weimer <fweimer@redhat.com>
29998
29999 * posix/fnmatch.c (internal_function): Remove definition.
30000 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30001 * posix/regcomp.c (peek_token, init_word_char)
30002 (duplicate_node_closure, fetch_token, peek_token)
30003 (peek_token_bracket, build_range_exp, build_collating_symbol):
30004 Likewise.
30005 * posix/regex_internal.c (re_string_construct_common)
30006 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30007 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30008 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30009 (re_string_translate_buffer, re_string_reconstruct)
30010 (re_string_peek_byte_case, re_string_fetch_byte_case)
30011 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30012 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30013 (re_node_set_add_intersect, re_node_set_init_union)
30014 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30015 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30016 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30017 (re_acquire_state_context): Likewise.
30018 * posix/regex_internal.h (internal_function): Remove definition.
30019 (re_string_realloc_buffers, build_wcs_buffer)
30020 (build_wcs_upper_buffer, build_upper_buffer)
30021 (re_string_translate_buffer, re_string_context_at)
30022 (re_string_char_size_at, re_string_wchar_at)
30023 (re_string_elem_size_at): Likewise.
30024 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30025 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30026 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30027 (re_search_internal, re_search_2_stub, re_search_stub)
30028 (re_copy_regs, prune_impossible_nodes, check_matching)
30029 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30030 (free_fail_stack_return, sift_states_iter_mb)
30031 (sift_states_backward, build_sifted_states)
30032 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30033 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30034 (check_subexp_limits, sift_states_bkref, merge_state_array)
30035 (find_recover_state, transit_state, merge_state_with_log)
30036 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30037 (transit_state_mb, transit_state_bkref, get_subexp)
30038 (get_subexp_sub, find_subexp_node, check_arrival)
30039 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30040 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30041 (check_node_accept_bytes, find_collation_sequence_value)
30042 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30043 (acquire_init_state_context, check_halt_node_context)
30044 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30045 (sub_epsilon_src_nodes): Likewise.
30046 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30047 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30048 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30049 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30050 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30051 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30052 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30053 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30054 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30055 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30056 (PREADV): Likewise.
30057 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30058 (PREADV): Likewise.
30059 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30060 (PWRITEV): Likewise.
30061 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30062 (PWRITEV): Likewise.
30063 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30064 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30065
83b09837
FW
300662017-08-31 Florian Weimer <fweimer@redhat.com>
30067
30068 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30069 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30070 Remove internal_function.
30071 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30072 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30073 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30074 (__deallocate_stack, __libc_pthread_init)
30075 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30076 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30077 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30078 Likewise.
30079 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30080 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30081 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30082 Likewise.
30083 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30084 (__pthread_mutex_unlock_usercnt): Likewise.
30085
116ac301
FW
300862017-08-31 Florian Weimer <fweimer@redhat.com>
30087
30088 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30089 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30090 (fts_safe_changedir): Remove internal_function.
30091 * io/ftw.c (internal_function): Remove definition.
30092 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30093
9da93bd7
FW
300942017-08-31 Florian Weimer <fweimer@redhat.com>
30095
30096 * inet/deadline.c (__deadline_current_time)
30097 (__deadline_from_timeval, __deadline_to_ms): Remove
30098 internal_function.
30099 * inet/getnameinfo.c (nrl_domainname): Likewise.
30100 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30101 * inet/inet6_option.c (add_pad): Likewise.
30102 * inet/net-internal.h (__deadline_current_time)
30103 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30104 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30105 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30106 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30107
a60eca2e
JM
301082017-08-31 Joseph Myers <joseph@codesourcery.com>
30109
c0c49d60
JM
30110 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30111 include <bits/nan.h>.
30112 * math/Makefile (headers): Remove bits/nan.h.
30113 * bits/nan.h: Remove.
30114 * sysdeps/ieee754/bits/nan.h: Likewise.
30115 * sysdeps/mips/bits/nan.h: Likewise.
30116
5ef1b213
JM
30117 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30118 not include <bits/inf.h>.
30119 * math/Makefile (headers): Remove bits/inf.h.
30120 * bits/inf.h: Remove.
30121 * sysdeps/ieee754/bits/inf.h: Likewise.
30122
a60eca2e
JM
30123 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30124 bits/huge_vall.h or bits/huge_val_flt128.h.
30125 (HUGE_VAL): Define directly here.
30126 [__USE_ISOC99] (HUGE_VALF): Likewise.
30127 [__USE_ISOC99] (HUGE_VALL): Likewise.
30128 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30129 (HUGE_VAL_F128): Likewise.
30130 * math/Makefile (headers): Remove bits/huge_val.h,
30131 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30132 * bits/huge_val.h: Remove.
30133 * bits/huge_val_flt128.h: Likewise.
30134 * bits/huge_valf.h: Likewise.
30135 * bits/huge_vall.h: Likewise.
30136 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30137 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30138 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30139 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30140 * sysdeps/sh/bits/huge_val.h: Likewise.
30141 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30142 * sysdeps/x86/bits/huge_vall.h: Likewise.
30143
17e00cc6
FW
301442017-08-31 Florian Weimer <fweimer@redhat.com>
30145
30146 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30147 internal_function.
30148 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30149 Likewise.
30150 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30151 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30152 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30153 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30154 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30155 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30156 * elf/dl-libc.c (dlerror_run): Likewise.
30157 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30158 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30159 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30160 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30161 Likewise.
30162 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30163 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30164 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30165 * elf/dl-profile.c (_dl_start_profile): Likewise.
30166 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30167 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30168 Likewise.
30169 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30170 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30171 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30172 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30173 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30174 (_dl_allocate_tls_storage): Likewise.
30175 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30176 (_dl_check_all_versions): Likewise.
30177 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30178 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30179 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30180 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30181 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30182 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30183 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30184 internal_function from __dl_start.
30185 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30186 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30187 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30188 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30189 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30190 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30191 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30192 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30193 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30194 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30195 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30196 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30197 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30198 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30199 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30200 Likewise.
30201 (struct rtld_global_ro): Remove internal_function from the
30202 _dl_lookup_symbol_x member.
30203 (_dl_symbol_value): Remove. No longer defined anywhere.
30204 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30205 internal_function.
30206 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30207 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30208 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30209 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30210 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30211 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30212 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30213 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30214 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30215 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30216 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30217 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30218
8d2f9410
FW
302192017-08-31 Florian Weimer <fweimer@redhat.com>
30220
30221 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30222 Remove internal_function.
30223 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30224 Likewise.
30225 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30226 Likewise.
30227
86e4919f
FW
302282017-08-31 Florian Weimer <fweimer@redhat.com>
30229
30230 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30231 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30232 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30233
59bd52b0
FW
302342017-08-31 Florian Weimer <fweimer@redhat.com>
30235
30236 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30237 (__gai_enqueue_request): Remove internal_function.
30238 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30239 (__gai_remove_request, __gai_notify, __gai_notify_only)
30240 (__gai_sigqueue): Likewise.
30241 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30242 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30243 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30244 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30245 Likewise.
30246
fc3d9497
FW
302472017-08-31 Florian Weimer <fweimer@redhat.com>
30248
30249 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30250 * include/dirent.h (__opendirat, __getdents, __getdents64)
30251 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30252 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30253 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30254 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30255 Likewise.
30256 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30257
18c54fac
FW
302582017-08-31 Florian Weimer <fweimer@redhat.com>
30259
30260 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30261 internal_function.
30262 (GETCWD_RETURN_TYPE): Likewise.
30263
7e01f080
FW
302642017-08-31 Florian Weimer <fweimer@redhat.com>
30265
30266 * include/time.h (__tz_compute, __strptime_internal): Remove
30267 internal_function.
30268 * time/strptime_l.c (__strptime_internal): Likewise.
30269 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30270
d7ccc6c9
FW
302712017-08-31 Florian Weimer <fweimer@redhat.com>
30272
30273 * iconv/gconv.c (__gconv): Remove internal_function.
30274 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30275 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30276 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30277 (__gconv_release_cache): Likewise.
30278 * iconv/gconv_close.c (__gconv_close): Likewise.
30279 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30280 (read_conf_file, __gconv_get_path): Likewise.
30281 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30282 (__gconv_release_step, gen_steps, increment_counter)
30283 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30284 (__gconv_close_transform, free_modules_db): Likewise.
30285 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30286 Likewise.
30287 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30288 (__gconv_find_transform, __gconv_lookup_cache)
30289 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30290 (__gconv_close_transform, __gconv_release_cache)
30291 (__gconv_loaded_object, __gconv_release_shlib)
30292 (__gconv_compare_alias): Likewise.
30293 * iconv/gconv_open.c (__gconv_open): Likewise.
30294 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30295 * iconv/iconvconfig.c (add_module): Likewise.
30296 * intl/dcigettext.c (plural_lookup, guess_category_value)
30297 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30298 * intl/eval-plural.h (plural_eval): Likewise.
30299 * intl/finddomain.c (_nl_find_domain): Likewise.
30300 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30301 (_nl_load_domain, _nl_find_msg): Likewise.
30302 (internal_function): Remove definition.
30303 * intl/loadinfo.h (internal_function): Likewise.
30304 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30305 internal_function.
30306 * intl/localealias.c (internal_function): Remove definition.
30307 (read_alias_file): Remove internal_function.
30308 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30309 * intl/plural-exp.h (internal_function): Remove definition.
30310 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30311 internal_function.
30312 * intl/plural.c: Regenerate.
30313 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30314 * locale/coll-lookup.c (__collidx_table_lookup)
30315 (__collseq_table_lookup): Likewise.
30316 * locale/coll-lookup.h (__collidx_table_lookup)
30317 (__collseq_table_lookup): Likewise.
30318 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30319 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30320 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30321 (_nl_unload_locale): Likewise.
30322 * locale/localeinfo.h (struct __locale_data): Remove
30323 internal_function from cleanup member.
30324 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30325 (_nl_remove_locale, _nl_load_locale_from_archive)
30326 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30327 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30328 (_nl_cleanup_time): Remove internal_function.
30329 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30330 (_nl_parse_alt_digit): Likewise.
30331 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30332 (_nl_select_era_entry): Likewise.
30333 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30334 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30335 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
30336 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30337 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 30338
dab0eece
FW
303392017-08-31 Florian Weimer <fweimer@redhat.com>
30340
30341 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30342 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30343 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30344 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30345 Likewise.
30346 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30347 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30348 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30349 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30350 Likewise.
30351 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30352
ab5bf7cf
FW
303532017-08-31 Florian Weimer <fweimer@redhat.com>
30354
30355 * misc/getttyent.c (skip, value): Remove internal_function.
30356 * misc/syslog.c (openlog_internal): Likewise.
30357 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30358
75b3047e
FW
303592017-08-31 Florian Weimer <fweimer@redhat.com>
30360
30361 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30362 (__nss_rewrite_field): Remove internal_function.
30363 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30364 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30365 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30366 * nss/nsswitch.c (nss_parse_file, nss_getline)
30367 (nss_parse_service_list, nss_new_service): Likewise.
30368 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30369 * nss/valid_field.c (__nss_valid_field): Likewise.
30370 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30371
0c71122c
FW
303722017-08-31 Florian Weimer <fweimer@redhat.com>
30373
30374 * malloc/arena.c (__malloc_fork_lock_parent)
30375 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30376 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30377 internal_function from defintions.
30378 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30379 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30380 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30381 internal_function from declarations.
30382 * malloc/malloc.c (internal_function): Do not define.
30383 (mem2mem_check): Remove internal_function from declaration.
30384 (munmap_chunk, mremap_chunk): Remove internal_function.
30385 * malloc/mtrace.c (tr_where): Likewise.
30386
ca4ec803
FW
303872017-08-31 Florian Weimer <fweimer@redhat.com>
30388
30389 * include/rpc/pmap_clnt.h (__get_socket): Remove
30390 internal_function.
30391 * sunrpc/auth_des.c (synchronize): Likewise.
30392 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30393 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30394 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30395 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30396 (key_call): Likewise.
30397 * sunrpc/pm_getport.c (__get_socket): Likewise.
30398 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30399 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30400 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30401 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30402 (invalidate): Likewise.
30403 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30404 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30405 (set_input_fragment, get_input_bytes): Likewise.
30406
24cffce7
FW
304072017-08-31 Florian Weimer <fweimer@redhat.com>
30408
30409 * malloc/malloc.c (_int_free): Remove locked variable and related
30410 asserts.
30411
ecd0747d
L
304122017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30413
30414 [BZ #22051]
30415 * Makerules (build-module-helper-objlist): Filter out
30416 $(elf-objpfx)sofini.os.
30417 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30418 needed.
30419
5f0704b6
FW
304202017-08-31 Florian Weimer <fweimer@redhat.com>
30421
30422 * libio/fcloseall.c: Assume weak_alias is defined.
30423 * libio/feof.c: Likewise.
30424 * libio/fileno.c: Likewise.
30425 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30426 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30427 definitions.
30428 (_IO_file_open): Call __open directly.
30429 (_IO_new_file_sync): Assume ESPIPE is defined.
30430 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30431 (_IO_new_file_write): Call __write directly.
30432 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30433 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30434 * libio/genops.c: Assume _LIBC is defined.
30435 (save_for_backup): Remove internal_function.
30436 * libio/getc.c: Assume weak_alias is defined.
30437 * libio/getwc.c: Likewise.
30438 * libio/iofclose.c: Assume _LIBC is defined.
30439 * libio/iofdopen.c: Likewise.
30440 (_IO_fcntl): Remove macro definition.
30441 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30442 Call __fcntl directly.
30443 * libio/iofflush.c: Assume weak_alias is defined.
30444 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30445 defined.
30446 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30447 * libio/iofgets.c: Likewise.
30448 * libio/iofopen.c: Assume _LIBC is defined.
30449 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30450 * libio/iofputs.c: Assume weak_alias is defined.
30451 * libio/iofread.c: Likewise.
30452 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30453 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30454 * libio/ioftell.c: Assume weak_alias is defined.
30455 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30456 * libio/iofwide.c: Assume _LIBC is defined.
30457 (_IO_fwide): Drop SHARED conditional because it is implied by
30458 SHLIB_COMPAT.
30459 * libio/iofwrite.c: Assume weak_alias is defined.
30460 * libio/iogetdelim.c: Likewise.
30461 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30462 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30463 (_IO_getwline): Call __wmemcpy directly.
30464 * libio/iopopen.c: Assume _LIBC is defined.
30465 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30466 (_IO_close): Remove macro definitions.
30467 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30468 _exit directly.
30469 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30470 directly.
30471 * libio/ioputs.c: Assume weak_alias is defined.
30472 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30473 * libio/iosetbuffer.c: Assume weak_alias is defined.
30474 * libio/iosetvbuf.c: Likewise.
30475 * libio/ioungetc.c: Likewise.
30476 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30477 libc_hidden_def, libc_hidden_weak, NULL are defined.
30478 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30479 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30480 defined.
30481 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30482 definitions.
30483 (_IO_old_file_init_internal): Drop SHARED conditional because it
30484 is implied by SHLIB_COMPAT.
30485 (_IO_old_file_fopen): Call __open directly.
30486 (_IO_old_file_sync): Assume ESPIPE is defined.
30487 (_IO_old_file_write): Call __write directly.
30488 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30489 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30490 Call __fcntl directly.
30491 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30492 (_IO_old_fgetpos): Assume EIO is defined.
30493 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30494 (_IO_old_fgetpos64): Assume EIO is defined.
30495 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30496 (_IO_old_fsetpos): Assume EIO is defined.
30497 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30498 (_IO_old_fsetpos64): Assume EIO is defined.
30499 * libio/oldiopopen.c: Assume _LIBC is defined.
30500 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30501 (_IO_close): Remove macro definitions.
30502 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30503 directly.
30504 (_IO_old_proc_close): Call __close, __waitpid directly.
30505 * libio/put.c: Assume weak_alias is defined.
30506 * libio/stdfiles.c: Assume _LIBC is defined.
30507 * libio/stdio.c: Likewise.
30508 * libio/wfileops.c: Likewise.
30509 (_IO_wfile_sync): Assume ESPIPE is defined.
30510 * libio/wgenops.c: Assume _LIBC is defined.
30511 (save_for_wbackup): Remove internal_function.
30512
5129873a
FW
305132017-08-31 Florian Weimer <fweimer@redhat.com>
30514
30515 * malloc/malloc.c (top_check): Change return type to void. Remove
30516 internal_function.
30517 * malloc/hooks.c (top_check): Likewise.
30518 (malloc_check, realloc_check, memalign_check): Adjust.
30519
4fa9b3bf
JM
305202017-08-30 Joseph Myers <joseph@codesourcery.com>
30521
30522 [BZ #21457]
30523 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30524 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30525 sigcontext and namespace requirements.
30526 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30527 * sysdeps/m68k/sys/ucontext.h: Likewise.
30528 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30529 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30530 <bits/sigcontext.h>.
30531 (__ctx): Define earlier.
30532 (mcontext_t): Define structure contents rather than using struct
30533 sigcontext.
30534 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30535 __glibc_reserved1 instead of __reserved.
30536 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30537 <bits/sigcontext.h>.
30538 (__ctx): Define earlier.
30539 (mcontext_t): Define structure contents rather than using struct
30540 sigcontext.
30541 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30542 mcontext_t instead of struct sigcontext.
30543 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30544 <bits/sigcontext.h>.
30545 (__ctx): Define earlier.
30546 (mcontext_t): Define structure contents rather than using struct
30547 sigcontext.
30548 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30549 <bits/sigcontext.h>.
30550 (__ctx): Define earlier.
30551 (mcontext_t): Define structure contents rather than using struct
30552 sigcontext.
30553 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30554 mcontext_t instead of struct sigcontext.
30555 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30556 mcontext_t instead of struct sigcontext.
30557 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30558 <bits/sigcontext.h>.
30559 (__ctx): New macro.
30560 (struct __ia64_fpreg_mcontext): New type.
30561 (mcontext_t): Define structure contents rather than using struct
30562 sigcontext.
30563 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30564 (uc_sigmask): Define using __ctx.
30565 (uc_stack): Likewise.
30566 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30567 <bits/sigcontext.h>.
30568 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30569 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30570 <bits/sigcontext.h>.
30571 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30572 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30573 <bits/sigcontext.h>.
30574 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30575 <bits/sigcontext.h>.
30576 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30577 <bits/sigcontext.h>.
30578 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30579 <bits/sigcontext.h>.
30580 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30581 <bits/sigcontext.h>.
30582 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30583 <bits/sigcontext.h>.
30584 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30585 <bits/sigcontext.h>.
30586 (__ctx): Define earlier.
30587 (mcontext_t): Define structure contents rather than using struct
30588 sigcontext.
30589 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30590 <bits/sigcontext.h>. Include <bits/types.h>.
30591 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30592 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30593 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30594 (test-xfail-UNIX98/signal.h/conform): Likewise.
30595 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30596 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30597 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30598 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30599 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30600 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30601 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30602 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30603 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30604
5898f454
FW
306052017-08-30 Florian Weimer <fweimer@redhat.com>
30606
30607 * malloc/dynarray_emplace_enlarge.c
30608 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30609 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30610 * malloc/tst-dynarray.c (test_long_overflow): New function.
30611 (do_test): Call it.
30612
a9da0bb2
FW
306132017-08-30 Florian Weimer <fweimer@redhat.com>
30614
30615 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30616 (set_arena_corrupt): Remove definitions.
30617 (mtrim): Do not check for corrupt arena.
30618 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30619 Likewise.
30620
ac3ed168
FW
306212017-08-30 Florian Weimer <fweimer@redhat.com>
30622
30623 [BZ #21754]
30624 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30625 check_action.
30626 (ptmalloc_init): Do not set or use check_action.
30627 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30628 call to malloc_printerr. Remove return statement.
30629 (free_check): Likewise. Remove arena unlock.
30630 (top_check): Update comment. Adjust call to malloc_printerr.
30631 Remove heap repair code.
30632 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30633 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30634 (sysmalloc): Adjust call to malloc_printerr.
30635 (munmap_chunk, __libc_realloc): Likewise. Remove return
30636 statement.
30637 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30638 Remove errout label and corresponding gotos.
30639 (_int_free): Likewise. Remove arena unlock.
30640 (do_set_mallopt_check): Do not set check_action.
30641 (malloc_printerr): Adjust parameter list. Do not mark arena as
30642 corrupt.
30643 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30644 comment.
30645 * manual/probes.texi (Memory Allocation Probes): Remove
30646 memory_mallopt_check_action.
30647
44bcba80
SE
306482017-08-30 Steve Ellcey <sellcey@cavium.com>
30649
30650 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30651 Use pointer to uint64_t instead of long int for sp.
30652
ec2c1fce
FW
306532017-08-30 Florian Weimer <fweimer@redhat.com>
30654
30655 [BZ #21754]
30656 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30657 without printing a backtrace. Do not leak any information in the
30658 error message.
30659 * manual/memory.texi (Heap Consistency Checking): Update.
30660 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30661
9ce673b6
FW
306622017-08-30 Florian Weimer <fweimer@redhat.com>
30663
30664 Do not scale NPTL tests with available number of CPUs.
30665 * nptl/tst-cond16.c (count): Set to constant value of 8.
30666 * nptl/tst-cond18.c (count): Likewise.
30667
2f1aef19
JM
306682017-08-29 Joseph Myers <joseph@codesourcery.com>
30669
30670 [BZ #22035]
30671 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30672 Define to take a second argument that is a macro that
30673 concatentates a suffix, not the suffix itself.
30674 (__CONCAT_d): New macro.
30675 (__CONCAT_f): Likewise.
30676 (__CONCAT_l): Likewise.
30677
8325b477
PP
306782017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30679
30680 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30681 by child.
30682
319cbbf6
AZ
306832017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30684 Aurelien Jarno <aurelien@aurel32.net>
30685 Maciej W. Rozycki <macro@imgtec.com>
30686
30687 [BZ #21956]
30688 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30689 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30690 `mips16-syscall6' and `mips16-syscall7'.
30691 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30692 (CFLAGS-mips16-syscall7.c): Remove.
30693 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30694 Remove `__mips16_syscall5', `__mips16_syscall6' and
30695 `__mips16_syscall7'.
30696 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30697 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30698 `__mips_syscall_return'.
30699 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30700 (__mips16_syscall1): Likewise.
30701 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30702 (__mips16_syscall2): Likewise.
30703 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30704 (__mips16_syscall3): Likewise.
30705 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30706 (__mips16_syscall4): Likewise.
30707 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30708 Remove.
30709 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30710 Remove.
30711 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30712 Remove.
30713 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30714 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30715 `__mips16_syscall5'. Remove prototype.
30716 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30717 `__mips16_syscall6'. Remove prototype.
30718 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30719 `__mips16_syscall7'. Remove prototype.
30720 (__nomips16, __mips16_syscall_return): Move to...
30721 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30722 (__nomips16, __mips_syscall_return): ... here.
30723 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30724 `__mips16_syscall_return' to `__mips_syscall_return'.
30725 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30726 `internal_syscall##nr'.
30727 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30728 `internal_syscall##nr'.
30729 (FORCE_FRAME_POINTER): Remove.
30730 (__mips_syscall5): New prototype.
30731 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30732 (__mips_syscall6): New prototype.
30733 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30734 (__mips_syscall7): New prototype.
30735 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30736 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30737 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30738 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30739 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30740 (sysdep_routines): Add libc-do-syscall.
30741 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30742 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30743
01b87c65
AZ
307442017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30745
30746 [BZ #21672]
30747 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30748 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30749 (advise_stack_range): New function.
30750 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30751 stack non required to advise_stack_range at allocatestack.c
30752
16f138a4
SN
307532017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30754
30755 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30756
251bccfa
FW
307572017-08-29 Florian Weimer <fweimer@redhat.com>
30758
30759 [BZ #22026]
30760 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30761 __end_fct. Mangle __end_fct after setting it to NULL.
30762 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30763 (modules-names, modules-names-tests): Add
30764 tst-gconv-init-failure-mod.
30765 (gconv-modules): New target.
30766 (tst-gconv-init-failure-mod.so): Link against libsupport.
30767 (tst-gconv-init-failure): Depend on gconv-modules,
30768 tst-gconv-init-failure-mod.so.
30769 * iconv/tst-gconv-init-failure-mod.c: New file.
30770 * iconv/tst-gconv-init-failure.c: Likewise.
30771 * iconv/test-gconv-modules: Likewise.
30772
e7c18b9d
FW
307732017-08-29 Florian Weimer <fweimer@redhat.com>
30774
30775 [BZ #22025]
30776 * iconv/gconv_db.c (free_derivation): Remove redundant
30777 parentheses.
30778 (gen_steps): Unconditionally mangle __btowc_fct after
30779 initialization.
30780 (increment_counter): Likewise. Do not call init_fct for internal
30781 modules.
30782
7daada03
JM
307832017-08-29 Joseph Myers <joseph@codesourcery.com>
30784
30785 [BZ #22028]
30786 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30787 (_MSUF_): Remove macro.
30788 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30789 Likewise.
30790 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30791 (__REDIRFROM_X): New macro.
30792 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30793 Likewise.
30794 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30795 (__REDIRTO_X): Likewise.
30796 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30797 arguments.
30798 (__MATH_REDIRCALL_2): Likewise.
30799 (__MATH_REDIRCALL_INTERNAL): Likewise.
30800 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30801 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30802 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30803 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30804 * math/test-finite-macros.c: New file.
30805 * math/Makefile (tests): Add test-finite-macros.
30806 (CFLAGS-test-finite-macros.c): New variable.
30807
1cf1232c
PF
308082017-08-29 Patsy Franklin <pfrankli@redhat.com>
30809 Jeff Law <law@redhat.com>
30810
30811 [BZ #22025]
30812 Mangle NULL pointers in iconv/gconv.
30813 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30814 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30815 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30816 is non-NULL before demangling the end_fct. Check for NULL
30817 end_fct after demangling.
30818 (__gconv_release_step): Demangle the end_fct before checking
30819 it for NULL. Remove assert on __shlibc_handle != NULL.
30820 (gen_steps): Don't check btowc_fct for NULL before mangling.
30821 Demangle init_fct before checking for NULL.
30822 (increment_counter): Likewise.
30823 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30824 end_fct for NULL before mangling.
30825 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30826 for NULL.
30827
c207f7ce 308282017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
30829
30830 [BZ #21971]
30831 * locale/iso-639.def: add Morisyen.
30832
42496114
GG
308332017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30834
30835 [BZ #21930]
30836 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30837 (iszero): New C++ implementation that does not use
30838 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30839 signaling nans are enabled, since __builtin_types_compatible_p
30840 is a C-only feature.
30841 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30842 defined, include ieee754_float128.h for access to the union and
30843 member ieee854_float128.ieee.
30844 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30845 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30846 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30847 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30848 options of test-math-zero on powerpc64le.
30849
5e2bc4ff
L
308502017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30851
30852 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30853 Change double to float.
30854
a48c0fb4
JM
308552017-08-28 Joseph Myers <joseph@codesourcery.com>
30856
30857 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30858 unconditional.
30859 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30860 conditional code; define contents only for [LIBM_SVID_COMPAT].
30861
ee17d4e9
FW
308622017-08-28 Florian Weimer <fweimer@redhat.com>
30863
30864 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30865 (abi-lp64_be-options): Remove.
30866 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30867 (abi-hard-options): Likewise.
30868 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30869 (abi-o32_hard-options, abi-o32_soft_2008-options)
30870 (abi-o32_hard_2008-options, abi-n32_soft-options)
30871 (abi-n32_hard-options, abi-n32_soft_2008-options)
30872 (abi-n32_hard_2008-options, abi-n64_soft-options)
30873 (abi-n64_hard-options, abi-n64_soft_2008-options)
30874 (abi-n64_hard_2008-options): Likewise.
30875 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30876 (abi-64-v1-options, abi-64-v2-options): Likewise.
30877 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30878 (abi-64-options): Likewise.
30879 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30880 (abi-64-options): Likewise.
30881 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30882 (abi-64-options): Likewise.
30883 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30884 (abi-64-options, abi-x32-options): Likewise.
30885
2dba5ce7
FW
308862017-08-28 Florian Weimer <fweimer@redhat.com>
30887
30888 Store supported list of SYS_* system calls in the source tree.
30889 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30890 (bits/syscall.h): Generate from list file.
30891 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30892 [$(subdir) = misc] (tests): Add tst-syscall-list.
30893 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30894 [$(subdir) = misc] (tst-syscall-list-macros.list)
30895 [$(subdir) = misc] (tst-syscall-list-nr.list)
30896 (tst-syscall-list-sys.list): Helper targets for new
30897 tst-syscall-list test.
30898 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30899 tst-syscall-list.sh.
30900 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30901 target. Do not include bits/syscall.d.
30902 [$(subdir) = misc] (generated): Do not update.
30903 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30904 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30905 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30906 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30907
5f3b183d
PP
309082017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30909
30910 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30911 (tst-cxa_atexit, tst-on_exit): Likewise.
30912 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30913 tst-cxa_atexit, and tst-on_exit.
30914 * stdlib/tst-atexit-common.c: New file.
30915 * stdlib/tst-atexit.c: New file.
30916 * stdlib/tst-at_quick_exit.c: New file.
30917 * stdlib/tst-cxa_atexit.c: New file.
30918 * stdlib/tst-on_exit.c: New file.
30919
2ef8d469
ST
309202017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30921
30922 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
30923 * mach/stack_chk_fail_local.c: New file.
30924 * hurd/stack_chk_fail_local.c: New file.
30925 * mach/Machrules ($(interface-library)-routines): Add
30926 stack_chk_fail_local.
99ee4d26
ST
30927 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30928 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30929 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30930 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30931 * hurd/Makefile (CFLAGS-hurdstartup.o,
30932 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 30933
7ab70c98
L
309342017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30935
30936 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30937 (index_cpu_*, index_arch_*): Removed.
30938
39e7a5a6
SN
309392017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30940
30941 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30942 Use uint64_t instead of unsigned long.
30943
bba5c930
JM
309442017-08-25 Joseph Myers <joseph@codesourcery.com>
30945
a6ccdb08
JM
30946 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30947 [__HAVE_DISTINCT_FLOAT128].
30948
23761119
JM
30949 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30950 of <bits/math-finite.h>.
30951 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30952 inclusion of <bits/math-finite.h>.
30953 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30954 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30955 __NO_LONG_DOUBLE_MATH].
30956 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30957 (__MATH_REDIRCALL_2): Likewise.
30958 (__MATH_REDIRCALL_INTERNAL): Likewise.
30959 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30960 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30961 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30962
bba5c930
JM
30963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30964 Remove file.
30965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30966 Likewise.
30967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30968 Likewise.
30969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30970 Likewise.
30971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30972 Likewise.
30973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30974 Likewise.
30975 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30976 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30977 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30978 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30980 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30981 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30982 w_sqrtf_compat-ppc32.
30983
3d7b66f6
GG
309842017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30985
30986 * math/math.h [defined __cplusplus] (issignaling): In the long
30987 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30988 is not defined. Call __issignaling, otherwise.
30989
ebd6f007
AZ
309902017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30991
30992 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30993 syscall definitions and replace __builtin_expect with __glibc_likely.
30994 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30995 syscall.
6b5c8607 30996 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
30997 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30998 definition.
30999 (PSEUDO_END): Likewise.
31000 [IS_IN (libpthread)] (CENABLE): Likewise.
31001 [IS_IN (libpthread)] (CDISABLE): Likewise.
31002 [IS_IN (libc)] (CENABLE): Likewise.
31003 [IS_IN (libc)] (CENABLE): Likewise.
31004 [IS_IN (librt)] (CDISABLE): Likewise.
31005 [IS_IN (librt)] (CDISABLE): Likewise.
31006 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31007 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31008 definition.
31009 (PSEUDO_END): Likewise.
31010 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31011 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31012 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31013 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31014 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31015 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31016 (CENABLE): Likewise.
31017 (CDISABLE): Likewise.
31018 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31019 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31020 defintion.
31021 (PSEUDO_END): Likewise.
31022 [IS_IN (libpthread)] (CENABLE): Likewise.
31023 [IS_IN (libpthread)] (CDISABLE): Likewise.
31024 [IS_IN (libc)] (CENABLE): Likewise.
31025 [IS_IN (libc)] (CENABLE): Likewise.
31026 [IS_IN (librt)] (CDISABLE): Likewise.
31027 [IS_IN (librt)] (CDISABLE): Likewise.
31028 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31029 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31030 definition.
31031 (PSEUDO_END): Likewise.
31032 [IS_IN (libpthread)] (CENABLE): Likewise.
31033 [IS_IN (libpthread)] (CDISABLE): Likewise.
31034 [IS_IN (libc)] (CENABLE): Likewise.
31035 [IS_IN (libc)] (CENABLE): Likewise.
31036 [IS_IN (librt)] (CDISABLE): Likewise.
31037 [IS_IN (librt)] (CDISABLE): Likewise.
31038 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31039 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31040 definition.
31041 (PSEUDO_END): Likewise.
31042 [IS_IN (libpthread)] (CENABLE): Likewise.
31043 [IS_IN (libpthread)] (CDISABLE): Likewise.
31044 [IS_IN (libc)] (CENABLE): Likewise.
31045 [IS_IN (libc)] (CENABLE): Likewise.
31046 [IS_IN (librt)] (CDISABLE): Likewise.
31047 [IS_IN (librt)] (CDISABLE): Likewise.
31048 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31049 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31050 definition.
31051 (PSEUDO_END): Likewise.
31052 [IS_IN (libpthread)] (CENABLE): Likewise.
31053 [IS_IN (libpthread)] (CDISABLE): Likewise.
31054 [IS_IN (libc)] (CENABLE): Likewise.
31055 [IS_IN (libc)] (CENABLE): Likewise.
31056 [IS_IN (librt)] (CDISABLE): Likewise.
31057 [IS_IN (librt)] (CDISABLE): Likewise.
31058 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31059 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31060 definition.
31061 (PSEUDO_END): Likewise.
31062 [IS_IN (libpthread)] (CENABLE): Likewise.
31063 [IS_IN (libpthread)] (CDISABLE): Likewise.
31064 [IS_IN (libc)] (CENABLE): Likewise.
31065 [IS_IN (libc)] (CENABLE): Likewise.
31066 [IS_IN (librt)] (CDISABLE): Likewise.
31067 [IS_IN (librt)] (CDISABLE): Likewise.
31068 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31069 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31070 definition.
31071 (PSEUDO_END): Likewise.
31072 [IS_IN (libpthread)] (CENABLE): Likewise.
31073 [IS_IN (libpthread)] (CDISABLE): Likewise.
31074 [IS_IN (libc)] (CENABLE): Likewise.
31075 [IS_IN (libc)] (CENABLE): Likewise.
31076 [IS_IN (librt)] (CDISABLE): Likewise.
31077 [IS_IN (librt)] (CDISABLE): Likewise.
31078 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31079 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31080 Remove definition.
31081 (PSEUDO_END): Likewise.
31082 [IS_IN (libpthread)] (CENABLE): Likewise.
31083 [IS_IN (libpthread)] (CDISABLE): Likewise.
31084 [IS_IN (libc)] (CENABLE): Likewise.
31085 [IS_IN (libc)] (CENABLE): Likewise.
31086 [IS_IN (librt)] (CDISABLE): Likewise.
31087 [IS_IN (librt)] (CDISABLE): Likewise.
31088 (SINGLE_THREAD_P): Likewise.
31089 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31090 definition.
31091 (PSEUDO_END): Likewise.
31092 [IS_IN (libpthread)] (CENABLE): Likewise.
31093 [IS_IN (libpthread)] (CDISABLE): Likewise.
31094 [IS_IN (libc)] (CENABLE): Likewise.
31095 [IS_IN (libc)] (CENABLE): Likewise.
31096 [IS_IN (librt)] (CDISABLE): Likewise.
31097 [IS_IN (librt)] (CDISABLE): Likewise.
31098 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31099 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31100 definition.
31101 (PSEUDO_END): Likewise.
31102 [IS_IN (libpthread)] (CENABLE): Likewise.
31103 [IS_IN (libpthread)] (CDISABLE): Likewise.
31104 [IS_IN (libc)] (CENABLE): Likewise.
31105 [IS_IN (libc)] (CENABLE): Likewise.
31106 [IS_IN (librt)] (CDISABLE): Likewise.
31107 [IS_IN (librt)] (CDISABLE): Likewise.
31108 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31109 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31110 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31111 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31112 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31113 definition.
31114 (PSEUDO_END): Likewise.
31115 [IS_IN (libpthread)] (CENABLE): Likewise.
31116 [IS_IN (libpthread)] (CDISABLE): Likewise.
31117 [IS_IN (libc)] (CENABLE): Likewise.
31118 [IS_IN (libc)] (CENABLE): Likewise.
31119 [IS_IN (librt)] (CDISABLE): Likewise.
31120 [IS_IN (librt)] (CDISABLE): Likewise.
31121 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31123 definition.
31124 (PSEUDO_END): Likewise.
31125 [IS_IN (libpthread)] (CENABLE): Likewise.
31126 [IS_IN (libpthread)] (CDISABLE): Likewise.
31127 [IS_IN (libc)] (CENABLE): Likewise.
31128 [IS_IN (libc)] (CENABLE): Likewise.
31129 [IS_IN (librt)] (CDISABLE): Likewise.
31130 [IS_IN (librt)] (CDISABLE): Likewise.
31131 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31132 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31133 definition.
31134 (PSEUDO_END): Likewise.
31135 [IS_IN (libpthread)] (CENABLE): Likewise.
31136 [IS_IN (libpthread)] (CDISABLE): Likewise.
31137 [IS_IN (libc)] (CENABLE): Likewise.
31138 [IS_IN (libc)] (CENABLE): Likewise.
31139 [IS_IN (librt)] (CDISABLE): Likewise.
31140 [IS_IN (librt)] (CDISABLE): Likewise.
31141 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31144 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31145 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31146 definition.
31147 (PSEUDO_END): Likewise.
31148 [IS_IN (libpthread)] (CENABLE): Likewise.
31149 [IS_IN (libpthread)] (CDISABLE): Likewise.
31150 [IS_IN (libc)] (CENABLE): Likewise.
31151 [IS_IN (libc)] (CENABLE): Likewise.
31152 [IS_IN (librt)] (CDISABLE): Likewise.
31153 [IS_IN (librt)] (CDISABLE): Likewise.
31154 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31155 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31156 definition.
31157 (PSEUDO_END): Likewise.
31158 [IS_IN (libpthread)] (CENABLE): Likewise.
31159 [IS_IN (libpthread)] (CDISABLE): Likewise.
31160 [IS_IN (libc)] (CENABLE): Likewise.
31161 [IS_IN (libc)] (CENABLE): Likewise.
31162 [IS_IN (librt)] (CDISABLE): Likewise.
31163 [IS_IN (librt)] (CDISABLE): Likewise.
31164 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31165
8aa48656
SN
311662017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31167
31168 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31169
fcaaca41
L
311702017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31171
31172 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31173
376b40a2
L
311742017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31175
31176 [BZ #21982]
31177 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31178 middle and outer with size_t instead of int. Repleace %d and
31179 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31180 "MAX (outer, nchars - 64)" to support unsigned outer and
31181 nchars. Also exit loop when outer == 0.
31182
2b0b9a1c
AZ
311832017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31184
31185 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31186 * include/signal.h (__sigsuspend_nocancel): Likewise.
31187 * include/time.h (__nanosleep_nocancel): Likewise.
31188 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31189 * login/utmp_file.c: Include non cancellable syscall header.
31190 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31191 prototype.
31192
b9eaca8f
L
311932017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31194
31195 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31196 .byte sequences with AVX512F instructions.
31197 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31198 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31199 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31200 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31201 Likewise.
31202 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31203 Likewise.
31204
5a706f64
SE
312052017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31206 Steve Ellcey <sellcey@cavium.com>
31207
31208 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31209 Use PTR_REG macro in cmp instruction.
31210
b513da7e
GG
312112017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31212
31213 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31214 Change the return type of the ifunc resolver to match the return
31215 type of the target function.
31216
78ca091c
AZ
312172017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31218
b70b6026
AZ
31219 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31220 (preadv64): Likewise.
31221 (pwrite64(: Likewise.
31222 (pwritev64): Likewise.
31223
78ca091c
AZ
31224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31225 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31226 (LOAD_ARGS_0): Likewise.
31227 (LOAD_ARGS_1): Likewise.
31228 (LOAD_ARGS_2): Likewise.
31229 (LOAD_ARGS_3): Likewise.
31230 (LOAD_ARGS_4): Likewise.
31231 (LOAD_ARGS_5): Likewise.
31232 (LOAD_ARGS_6): Likewise.
31233 (LOAD_REGS_0): Likewise.
31234 (LOAD_REGS_1): Likewise.
31235 (LOAD_REGS_2): Likewise.
31236 (LOAD_REGS_3): Likewise.
31237 (LOAD_REGS_4): Likewise.
31238 (LOAD_REGS_5): Likewise.
31239 (LOAD_REGS_6): Likewise.
31240 (ASM_ARGS_0): Likewise.
31241 (ASM_ARGS_1): Likewise.
31242 (ASM_ARGS_2): Likewise.
31243 (ASM_ARGS_3): Likewise.
31244 (ASM_ARGS_4): Likewise.
31245 (ASM_ARGS_5): Likewise.
31246 (ASM_ARGS_6): Likewise.
31247 (LOAD_ARGS_TYPES_1): Likewise.
31248 (LOAD_ARGS_TYPES_2): Likewise.
31249 (LOAD_ARGS_TYPES_3): Likewise.
31250 (LOAD_ARGS_TYPES_4): Likewise.
31251 (LOAD_ARGS_TYPES_5): Likewise.
31252 (LOAD_ARGS_TYPES_6): Likewise.
31253 (LOAD_REGS_TYPES_1): Likewise.
31254 (LOAD_REGS_TYPES_2): Likewise.
31255 (LOAD_REGS_TYPES_3): Likewise.
31256 (LOAD_REGS_TYPES_4): Likewise.
31257 (LOAD_REGS_TYPES_5): Likewise.
31258 (LOAD_REGS_TYPES_6): Likewise.
31259 (TYPEFY): New define.
31260 (ARGIFY): Likewise.
31261 (internal_syscall0): Likewise.
31262 (internal_syscall1): Likewise.
31263 (internal_syscall2): Likewise.
31264 (internal_syscall3): Likewise.
31265 (internal_syscall4): Likewise.
31266 (internal_syscall5): Likewise.
31267 (internal_syscall6): Likewise.
31268 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31269 (INTERNAL_SYSCALL_NCS): Remove define.
31270 (internal_syscall1): Add define.
31271
453a493d
GG
312722017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31273
31274 * math/w_remainder_compat.c: Remove duplicate inclusion of
31275 math-svid-compat.h.
31276 * math/w_remainderf_compat.c: Likewise.
31277 * math/w_remainderl_compat.c: Likewise.
31278
f2f048a5
GG
312792017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31280
31281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31282
d9bef9c0
JM
312832017-08-22 Joseph Myers <joseph@codesourcery.com>
31284
31285 [BZ #21684]
31286 * math/tgmath.h (__floating_type): Simplify definitions.
31287 (__real_integer_type): New macro.
31288 (__complex_integer_type): Likewise.
31289 (__expr_is_real): Likewise.
31290 (__tgmath_real_type_sub): Update comment to describe handling of
31291 complex types.
31292 (__tgmath_complex_type_sub): New macro.
31293 (__tgmath_complex_type): Likewise.
31294 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31295 (__TGMATH_CF128): Use __expr_is_real.
31296 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31297 __expr_is_real.
31298 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31299 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31300 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31301 integer types.
31302
08d6eb46
AZ
313032017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31304
988f991b
AZ
31305 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31306 macro.
31307 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31308 alias.
31309 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31310 Likewise.
31311
6f33fd04
AZ
31312 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31313 nanosleep_not_cancel with __nanosleep_nocancel.
31314 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31315 (__nanosleep_nocancel): New macro.
31316 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31317 function.
31318 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31319 macro.
31320 (__nanosleep_nocancel): New prototype.
31321
08d6eb46
AZ
31322 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31323 pause_not_cancel with __pause_nocancel.
31324 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31325 (__pause_nocancel): New macro.
31326 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31327 macro.
31328 (__pause_nocancel): New prototype.
31329 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31330
ee4e992e
MS
313312017-08-22 Martin Sebor <msebor@redhat.com>
31332
31333 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31334 to return a pointer to the same type as the target function.
31335
20962acb
L
313362017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31337
31338 [BZ #18822]
31339 [BZ #21986]
31340 * include/printf.h (__printf_fphex): Add attribute_hidden.
31341 (__guess_grouping): New prototype.
31342 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31343 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31344 libc_hidden_proto and libc_hidden_def.
31345 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31346 (__vstrfmon_l): Remove the third argument passed to
31347 __guess_grouping.
31348
a16e8bc0
GG
313492017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31350
31351 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31352 definition for issignaling that does not rely on __MATH_TG,
31353 since __MATH_TG uses __builtin_types_compatible_p, which is only
31354 available in C mode.
31355 (CFLAGS-test-math-issignaling.cc): New variable.
31356 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31357 * math/test-math-issignaling.cc: New test for C++ implementation
31358 of type-generic issignaling.
31359 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31360 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31361 options of test-math-issignaling on powerpc64le.
31362
8d2ec553
L
313632017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31364
31365 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31366 building libc.a.
31367 (hidden_proto): Likewise.
31368 (hidden_tls_proto): Likewise.
31369 (__hidden_proto): Likewise.
31370
a4d57b79
FW
313712017-08-22 Florian Weimer <fweimer@redhat.com>
31372
31373 math: Statically link tests of internal functionality.
31374 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31375 atest-exp2.
31376 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31377 (gmp-objs): Remove assignment.
31378 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31379
75dfe623
JM
313802017-08-22 Joseph Myers <joseph@codesourcery.com>
31381
80f91666
JM
31382 [BZ #21987]
31383 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31384 and copy to ...
31385 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31386 ... here.
31387 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31388 ... and here.
31389
75dfe623
JM
31390 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31391 variable definitions above inclusion of ../Rules.
31392
ea99fcd0
JM
313932017-08-21 Joseph Myers <joseph@codesourcery.com>
31394
31395 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31396 case calling __builtin_unreachable.
31397
19926de9
AZ
313982017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31399
a8410a5f
AZ
31400 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31401 __waitpid_nocancel.
31402 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31403 (__waitpid_nocancel): New macro.
31404 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31405 macro.
31406 (__waitpid_nocancel): Replace macro with a function.
31407 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31408 function.
31409
7369800c
AZ
31410 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31411 __fcntl_nocancel.
31412 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31413 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31414
19926de9
AZ
31415 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31416 __writev_nocancel_nostatus.
31417 (write_call_graph): Likewise.
31418 (write_bb_counts): Likewise.
31419 * resolv/herror.c (herror): Likewise.
31420 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31421 macro.
31422 (__writev_nocancel_nostatus): New macro.
31423 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31424 Remove macro.
31425 (__writev_nocancel_nostatus): New function.
31426
813378e9
JM
314272017-08-21 Joseph Myers <joseph@codesourcery.com>
31428
df1deda6
JM
31429 Revert:
31430 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31431
31432 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31433 building libc.a.
31434 (hidden_proto): Likewise.
31435 (hidden_tls_proto): Likewise.
31436 (__hidden_proto): Likewise.
31437
831bbd55
JM
31438 [BZ #21973]
31439 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31440 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31442 Likewise.
31443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31444 Likewise.
31445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31446 Likewise.
31447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31448 Likewise.
31449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31451 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31452 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31453 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31454 GLIBC_2.0 sqrtl symbol.
31455
813378e9
JM
31456 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31457 [__USE_MISC] (_LIB_VERSION): Likewise.
31458 [__USE_MISC] (struct exception): Likewise.
31459 [__USE_MISC] (matherr): Likewise.
31460 [__USE_MISC] (DOMAIN): Likewise.
31461 [__USE_MISC] (SING): Likewise.
31462 [__USE_MISC] (OVERFLOW): Likewise.
31463 [__USE_MISC] (UNDERFLOW): Likewise.
31464 [__USE_MISC] (TLOSS): Likewise.
31465 [__USE_MISC] (PLOSS): Likewise.
31466 [__USE_MISC] (HUGE): Likewise.
31467 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31468 * math/math-svid-compat.h: New file.
31469 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31470 and matherrl.
31471 * include/math.h [!_ISOMAC] (__matherr): Remove.
31472 * manual/arith.texi (FP Exceptions): Do not document matherr.
31473 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31474 (tests-internal): New variable.
31475 (install-lib): Do not add libieee.a.
31476 (non-lib.a): Likewise.
31477 (extra-objs): Do not add libieee.a and ieee-math.o.
31478 (CPPFLAGS-s_lib_version.c): Remove variable.
31479 ($(objpfx)libieee.a): Remove rule.
31480 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31481 * math/ieee-math.c: Remove.
31482 * math/libm-test-support.c (matherr): Remove.
31483 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31484 and license notices. Include <math-svid-compat.h> and
31485 <shlib-compat.h>.
31486 (matherr): Undefine as macro. Use compat_symbol_reference.
31487 (_LIB_VERSION): Likewise.
31488 * math/test-matherr-2.c: New file.
31489 * math/test-matherr-3.c: Likewise.
31490 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31491 declaration.
31492 (__kernel_standard_f): Likewise.
31493 (__kernel_standard_l): Likewise.
31494 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31495 <math_private.h>. Include <math-svid-compat.h>.
31496 (_LIB_VERSION): Undefine as macro.
31497 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31498 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31499 [LIBM_SVID_COMPAT], use compat_symbol.
31500 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31501 <math_private.h>. Include <math-svid-compat.h>.
31502 (matherr): Undefine as macro.
31503 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31504 compat_symbol.
31505 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31506 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31507 compat_symbol_reference.
31508 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31509 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31510 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31511 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31512 (MATHERR_D): Remove declaration.
31513 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31514 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31515 [LIBM_BUILD] (pmatherrf): Likewise.
31516 [LIBM_BUILD] (pmatherr): Likewise.
31517 [LIBM_BUILD] (pmatherrl): Likewise.
31518 (DOMAIN): Likewise.
31519 (SING): Likewise.
31520 (OVERFLOW): Likewise.
31521 (UNDERFLOW): Likewise.
31522 (TLOSS): Likewise.
31523 (PLOSS): Likewise.
31524 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31525 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31526 compat_symbol.
31527 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31528 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31529 compat_symbol.
31530 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31531 * math/w_acos_compat.c: Likewise.
31532 * math/w_acosf_compat.c: Likewise.
31533 * math/w_acosh_compat.c: Likewise.
31534 * math/w_acoshf_compat.c: Likewise.
31535 * math/w_acoshl_compat.c: Likewise.
31536 * math/w_acosl_compat.c: Likewise.
31537 * math/w_asin_compat.c: Likewise.
31538 * math/w_asinf_compat.c: Likewise.
31539 * math/w_asinl_compat.c: Likewise.
31540 * math/w_atan2_compat.c: Likewise.
31541 * math/w_atan2f_compat.c: Likewise.
31542 * math/w_atan2l_compat.c: Likewise.
31543 * math/w_atanh_compat.c: Likewise.
31544 * math/w_atanhf_compat.c: Likewise.
31545 * math/w_atanhl_compat.c: Likewise.
31546 * math/w_cosh_compat.c: Likewise.
31547 * math/w_coshf_compat.c: Likewise.
31548 * math/w_coshl_compat.c: Likewise.
31549 * math/w_exp10_compat.c: Likewise.
31550 * math/w_exp10f_compat.c: Likewise.
31551 * math/w_exp10l_compat.c: Likewise.
31552 * math/w_exp2_compat.c: Likewise.
31553 * math/w_exp2f_compat.c: Likewise.
31554 * math/w_exp2l_compat.c: Likewise.
31555 * math/w_fmod_compat.c: Likewise.
31556 * math/w_fmodf_compat.c: Likewise.
31557 * math/w_fmodl_compat.c: Likewise.
31558 * math/w_hypot_compat.c: Likewise.
31559 * math/w_hypotf_compat.c: Likewise.
31560 * math/w_hypotl_compat.c: Likewise.
31561 * math/w_j0_compat.c: Likewise.
31562 * math/w_j0f_compat.c: Likewise.
31563 * math/w_j0l_compat.c: Likewise.
31564 * math/w_j1_compat.c: Likewise.
31565 * math/w_j1f_compat.c: Likewise.
31566 * math/w_j1l_compat.c: Likewise.
31567 * math/w_jn_compat.c: Likewise.
31568 * math/w_jnf_compat.c: Likewise.
31569 * math/w_jnl_compat.c: Likewise.
31570 * math/w_lgamma_main.c: Likewise.
31571 * math/w_lgamma_r_compat.c: Likewise.
31572 * math/w_lgammaf_main.c: Likewise.
31573 * math/w_lgammaf_r_compat.c: Likewise.
31574 * math/w_lgammal_main.c: Likewise.
31575 * math/w_lgammal_r_compat.c: Likewise.
31576 * math/w_log10_compat.c: Likewise.
31577 * math/w_log10f_compat.c: Likewise.
31578 * math/w_log10l_compat.c: Likewise.
31579 * math/w_log2_compat.c: Likewise.
31580 * math/w_log2f_compat.c: Likewise.
31581 * math/w_log2l_compat.c: Likewise.
31582 * math/w_log_compat.c: Likewise.
31583 * math/w_logf_compat.c: Likewise.
31584 * math/w_logl_compat.c: Likewise.
31585 * math/w_pow_compat.c: Likewise.
31586 * math/w_powf_compat.c: Likewise.
31587 * math/w_powl_compat.c: Likewise.
31588 * math/w_remainder_compat.c: Likewise.
31589 * math/w_remainderf_compat.c: Likewise.
31590 * math/w_remainderl_compat.c: Likewise.
31591 * math/w_scalb_compat.c: Likewise.
31592 * math/w_scalbf_compat.c: Likewise.
31593 * math/w_scalbl_compat.c: Likewise.
31594 * math/w_sinh_compat.c: Likewise.
31595 * math/w_sinhf_compat.c: Likewise.
31596 * math/w_sinhl_compat.c: Likewise.
31597 * math/w_sqrt_compat.c: Likewise.
31598 * math/w_sqrtf_compat.c: Likewise.
31599 * math/w_sqrtl_compat.c: Likewise.
31600 * math/w_tgamma_compat.c: Likewise.
31601 * math/w_tgammaf_compat.c: Likewise.
31602 * math/w_tgammal_compat.c: Likewise.
31603 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31604 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31605 * sysdeps/ieee754/k_standard.c: Likewise.
31606 * sysdeps/ieee754/k_standardf.c: Likewise.
31607 * sysdeps/ieee754/k_standardl.c: Likewise.
31608 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31609 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31610 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31611 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31612 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31613 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31614 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31615 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31616 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31618 Likewise.
31619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31620 Likewise.
31621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31622 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31623 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31624 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31625
4504783c
FW
316262017-08-21 Florian Weimer <fweimer@redhat.com>
31627
31628 [BZ #21864]
31629 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31630 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31631 Move before inclusion of ../Rules.
31632
b5889d25
FW
316332017-08-21 Florian Weimer <fweimer@redhat.com>
31634
31635 [BZ #21972]
31636 * assert/assert.h (assert): Use static_cast (bool) for C++.
31637 Use the ternary operator in the warning branch for GNU C.
31638 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31639 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31640 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31641 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31642 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31643
41e673c1
L
316442017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31645
31646 [BZ #18822]
31647 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31648 (__syscall_clock_gettime): Add attribute_hidden.
31649 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31650 (__start_context): Likewise.
31651
568ff429
L
316522017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31653
31654 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31655 building libc.a.
31656 (hidden_proto): Likewise.
31657 (hidden_tls_proto): Likewise.
31658 (__hidden_proto): Likewise.
31659
7c41b4a1
L
316602017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31661
31662 * include/libc-symbols.h (attribute_hidden): Enable hidden
31663 visibility in libc.a compiled with PIE.
31664
483d7068
L
316652017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31666
31667 [BZ #18822]
31668 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31669 Add attribute_hidden.
31670
316712017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31672
31673 [BZ #21864]
31674 * Makerules (all-nonlib): Add $(others-extras).
31675 * catgets/Makefile (others-extras): New.
31676 * elf/Makefile (others-extras): Likewise.
31677 * nss/Makefile (others-extras): Likewise.
31678
54e4b8f2
L
316792017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31680
31681 [BZ #18822]
31682 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31683 * elf/dl-open.c: Include <libc-internal.h>.
31684 (__libc_multiple_libcs): Removed.
31685 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31686 <hp-timing.h>.
31687 * include/libc-internal.h (__libc_multiple_libcs): New.
31688 * misc/sbrk.c: Include <libc-internal.h>.
31689 (__libc_multiple_libcs): Removed.
31690
1dbbb1ec
L
316912017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31692
31693 [BZ #18822]
31694 * grp/initgroups.c (__nss_group_database): Removed.
31695 (__nss_initgroups_database): Likewise.
31696 * nscd/gai.c (__nss_hosts_database): Likewise.
31697 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31698 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31699 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31700 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31701 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31702 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31703 attribute_hidden.
31704 * nss/nsswitch.c (__nss_database_custom): Define only if
31705 USE_NSCD is defined.
31706 (__nss_configure_lookup): Use __nss_database_custom only if
31707 USE_NSCD is defined.
31708 * nss/nsswitch.h (__nss_database_custom): Declare only if
31709 USE_NSCD is defined. Add attribute_hidden.
31710 (__nss_setent): Add attribute_hidden.
31711 (__nss_endent): Likewise.
31712 (__nss_getent_r): Likewise.
31713 (__nss_getent): Likewise.
31714 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31715
2585d7b8
L
317162017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31717
31718 [BZ #18822]
31719 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31720 libc_hidden_proto and libc_hidden_def.
31721
c8dfa99c
L
317222017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31723
31724 [BZ #18822]
31725 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31726 Add libc_hidden_proto.
31727 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31728 Add libc_hidden_def.
31729
7ed87317
L
317302017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31731
31732 [BZ #21974]
31733 * gmon/Makefile (routines): Remove bb_init_func and
31734 bb_exit_func.
31735 (elide-routines.os): Removed.
9476b904
L
31736 * gmon/bb_exit_func.c: Likewise.
31737 * gmon/bb_init_func.c: Likewise.
7ed87317
L
31738 * include/sys/gmon.h (__bb): Likewise.
31739 (__bb_init_func): Likewise.
31740 (__bb_exit_func): Likewise.
91695eb1 31741 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 31742
94e6ba15
L
317432017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31744
31745 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31746 * include/setjmp.h (____longjmp_chk): Here. Add
31747 attribute_hidden.
31748
7550717e
L
317492017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31750
31751 [BZ #18822]
31752 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31753 attribute_hidden.
31754 (__strspn_sse2): Likewise.
31755
0bb2fabc
AZ
317562017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31757
c181840c
AZ
31758 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31759 (close_not_cancel_no_status): Likewise.
31760 (__close_nocancel): New macro.
31761 (__close_nocancel_nostatus): Likewise.
31762 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31763 macro.
31764 (close_not_cancel): Likewise.
31765 (close_not_cancel_no_status): Likewise.
31766 (__close_nocancel): New prototype.
31767 (__close_nocancel_nostatus): New function.
31768 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31769 * catgets/open_catalog.c (__open_catalog): Replace
31770 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31771 * gmon/gmon.c (write_gmon): Likewise.
31772 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31773 * intl/loadmsgcat.c (close): Likewise.
31774 * io/ftw.c (open_dir_stream): Likewise.
31775 (ftw_startup): Likewise.
31776 * libio/fileops.c (_IO_file_open): Likewise.
31777 (_IO_file_close_mmap): Likewise.
31778 (_IO_file_close): Likewise.
31779 * libio/iopopen.c (_IO_dup2): Likewise.
31780 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31781 * locale/loadlocale.c (_nl_load_locale): Likewise.
31782 * login/utmp_file.c (pututline_file): Likewise.
31783 (endutent_file): Likewise.
31784 * misc/daemon.c (daemon): Likewise.
31785 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31786 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31787 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31788 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31789 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31790 * nscd/nscd_helper.c (open_socket): Likewise.
31791 (__nscd_open_socket): Likewise.
31792 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31793 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31794 (__nscd_innetgr): Likewise.
31795 * nss/nss_db/db-open.c (internal_setent): Likewise.
31796 * resolv/res-close.c (__res_iclose): Likewise.
31797 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31798 * sysdeps/posix/closedir.c (__closedir): Likewise.
31799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31800 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31801 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31802 (opendir_tail): Likewise.
31803 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31804 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31805 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31806 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31807 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31808 (gethostid): Likewise.
31809 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31810 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31811 Likewise.
31812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31813 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31814 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31815 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31816 Likewise.
31817 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31818 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31819 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31820 Likewise.
31821 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31822 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31823 Likewise.
31824 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31825 Likewise.
31826 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31827 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31828 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31829 __close_nocancel.
31830
0bb2fabc
AZ
31831 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31832 (openat_not_cancel_3): Likewise.
31833 (openat64_not_cancel_3): Likewise).
31834 (openat_not_cancel_3): Likewise).
31835 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31836 macro.
31837 (openat_not_cancel_3): Likewise.
31838 (openat64_not_cancel): Likewise.
31839 (openat64_not_cancel_3): Likewise.
31840 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31841 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31842 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31843 __open{64}_nocancel.
31844 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31845 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31846 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31847
65a086db
L
318482017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31849
31850 [BZ #18822]
31851 * include/argz.h (__argz_create_sep): New function prototype.
31852 (__argz_append): Likewise.
31853 (__argz_add): Likewise.
31854 (__argz_add_sep): Likewise.
31855 (__argz_delete): Likewise.
31856 (__argz_insert): Likewise.
31857 (__argz_replace): Likewise.
31858 * string/argz.h (__argz_create_sep): Removed.
31859 (__argz_append): Likewise.
31860 (__argz_add): Likewise.
31861 (__argz_add_sep): Likewise.
31862 (__argz_delete): Likewise.
31863 (__argz_insert): Likewise.
31864 (__argz_replace): Likewise.
31865
62753d2c
L
318662017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31867
31868 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31869 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31870 (GNU_PROPERTY_STACK_SIZE): Likewie.
31871 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31872 (GNU_PROPERTY_LOPROC): Likewise.
31873 (GNU_PROPERTY_HIPROC): Likewise.
31874 (GNU_PROPERTY_LOUSER): Likewise.
31875 (GNU_PROPERTY_HIUSER): Likewise.
31876 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31877 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31878 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31879 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31880 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31881 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31882 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31883 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31884 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31885 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31886 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31887 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31888 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31889 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31890 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31891 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31892 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31893 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31894 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31895 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31896 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31897 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31898 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31899
6913ad65
GG
319002017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31901
31902 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31903 in C++ mode.
31904
47a67213
GG
319052017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31906
31907 [BZ #21930]
31908 * math/math.h (isinf): Check if in C or C++ mode before using
31909 __builtin_types_compatible_p, since this is a C mode feature.
31910
a748eb31
AZ
319112017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31912
c647fb88
AZ
31913 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31914 (__write_nocancel): New macro.
31915 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31916 Rewrite as a function prototype.
31917 (write_not_cancel): Remove macro.
31918 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31919 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31920 (write_gmon): Likewise.
31921 * libio/fileops.c (_IO_new_file_write): Likewise.
31922 * login/utmp_file.c (pututline_file): Likewise.
31923 (updwtmp_file): Likewise.
31924 * stdio-common/psiginfo.c (psiginfo): Likewise.
31925 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31926 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31927 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31928 Likewise.
31929 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31930 Likewise.
31931
a748eb31
AZ
31932 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31933 (__read_nocancel): New macro.
31934 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31935 __read_nocancel.
31936 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31937 macro.
31938 (__read_nocancel): New prototype.
31939 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31940 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31941 with __read_nocancel.
31942 * intl/loadmsgcat.c (read): Likewise.
31943 * libio/fileops.c (_IO_file_read): Likewise.
31944 * locale/loadlocale.c (_nl_load_locale): Likewise.
31945 * login/utmp_file.c (getutent_r_file): Likewise.
31946 (internal_getut_r): Likewise.
31947 (getutline_r_file): Likewise.
31948 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31949 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31950 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31951 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31952 Likewise.
31953 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31954 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31955 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31956 Likewise.
31957 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31958 Likewise.
31959 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31960 Likewise.
31961 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31962 Likewise.
31963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31964
098b9dd4
L
319652017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31966
31967 [BZ #21966]
31968 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31969 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31970 usable.
31971
a3fe6a20
DD
319722017-08-17 DJ Delorie <dj@redhat.com>
31973
31974 * bug17079.c: Update to new test harness.
31975 * test-digits-dots.c: Likewise.
31976 * test-netdb.c: Likewise.
31977 * tst-field.c: Likewise.
31978 * tst-nss-getpwent.c: Likewise.
31979 * tst-nss-static.c: Likewise.
31980 * tst-nss-test1.c: Likewise.
31981 * tst-nss-test2.c: Likewise.
31982 * tst-nss-test3.c: Likewise.
31983 * tst-nss-test4.c: Likewise.
31984 * tst-nss-test5.c: Likewise.
31985
c2284574
AZ
319862017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31987
31988 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31989 (open_not_cancel_2): Likewise.
31990 (open_nocancel): New macro.
31991 (open64_nocancel): Likewise.
31992 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31993 (open_not_cancel_2): Likewise.
31994 (__open_nocancel): New prototype.
31995 (__open64_nocancel): Likewise.
31996 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31997 __open_nocancel.
31998 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31999 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32000 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32001 with __open_nocancel.
32002 * csu/check_fds.c (check_one_fd): Likewise.
32003 * gmon/gmon.c (write_gmon): Likewise.
32004 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32005 * intl/loadmsgcat.c (open): Likewise.
32006 * libio/fileops.c (_IO_file_open): Likewise.
32007 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32008 * locale/loadlocale.c (_nl_load_locale): Likewise.
32009 * login/utmp_file.c (setutent_file): Likewise.
32010 * misc/daemon.c (daemon): Likewise.
32011 * nss/nss_db/db-open.c (internal_setent): Likewise.
32012 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32013 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32014 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32015 (__opendir): Likewise.
32016 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32017 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32018 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32019 (gethostid): Likewise.
32020 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32021 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32022 Likewise.
32023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32024 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32025 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32026 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32027 Likewise.
32028 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32029 Likewise.
32030 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32031 Likewise.
32032 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32033 Likewise.
32034 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32035 Likewise.
32036 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32037 Likewise.
32038 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32039 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32040
d4505b89
WD
320412017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32042
32043 * benchtests/bench-skeleton.c (main): Add support for
32044 latency benchmarking.
32045 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32046
34d6a3cb
L
320472017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32048
32049 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32050 the startup object.
32051
038d1caf
FW
320522017-08-17 Florian Weimer <fweimer@redhat.com>
32053
32054 * include/sys/socket.h (__opensock): Remove internal_function.
32055 * socket/opensock.c (__opensock): Likewise.
32056 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32057
67f0aff0
JM
320582017-08-16 Joseph Myers <joseph@codesourcery.com>
32059
32060 [BZ #21944]
32061 * signal/bits/types/__sigval_t.h: New file.
32062 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32063 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32064 and define sigval_t using __sigval_t.
32065 * include/bits/types/__sigval_t.h: New file.
32066 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32067 instead of <bits/types/__sigval_t.h>.
32068 (struct sigevent): Use __sigval_t instead of sigval_t.
32069 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32070 instead of <bits/types/__sigval_t.h>.
32071 (siginfo_t): Use __sigval_t instead of sigval_t.
32072 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32073 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32074 (struct sigevent): Use __sigval_t instead of sigval_t.
32075 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32076 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32077 (siginfo_t): Use __sigval_t instead of sigval_t.
32078 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32079
87e7bf4d
L
320802017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32081
32082 * NEWS: Remove "[Add new features here]" for 2.27.
32083
5047057f
JM
320842017-08-16 Joseph Myers <joseph@codesourcery.com>
32085
32086 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32087 libc.so.
32088
20c7b195
L
320892017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32090
32091 * NEWS: Mention x86-64 FMA optimization.
32092
24a2e658
L
320932017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32094
32095 [BZ #21912]
32096 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32097 Add e_expf-fma.
32098 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32099 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32100 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32101
eedca977
AS
321022017-08-16 Andreas Schwab <schwab@suse.de>
32103
403143e1
FW
32104 [BZ #16750]
32105 CVE-2009-5064
eedca977
AS
32106 * elf/ldd.bash.in: Never run file directly.
32107
f59f7adb
L
321082017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32109
32110 [BZ #21955]
32111 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32112 (L(SP_INF_0)): Likewise.
32113
6b11a6ad
FW
321142017-08-15 Florian Weimer <fweimer@redhat.com>
32115
32116 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32117 run-built-tests.
32118
bbf5c438
FW
321192017-08-15 Florian Weimer <fweimer@redhat.com>
32120
32121 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32122 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32123 BROKEN_THREAD_SIGNALS code.
32124 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32125 request_list): Remove caller_pid member used for
32126 BROKEN_THREAD_SIGNALS.
32127 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32128 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32129 Remove BROKEN_THREAD_SIGNALS support.
32130 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32131 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32132
6014c65d
FW
321332017-08-15 Florian Weimer <fweimer@redhat.com>
32134
32135 * gmon/Makefile (tests): Add tst-gmon.
32136 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32137 Set.
32138 (tests-special): Add tst-gmon-prof.out.
32139 (tst-gmon.out): Depend on clean-tst-gmon-data.
32140 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32141 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32142 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32143 startup object.
32144 * aclocal.m4 (GPROF): Set and substitute.
32145 * config.amke.in (GPROF): Set.
32146 * configure: Regenerate.
32147
ee72219a
GR
321482017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32149
32150 * elf/elf.h A (NT_PPC_TAR): New macro.
32151 (NT_PPC_PPR): Likewise.
32152 (NT_PPC_DSCR): Likewise.
32153 (NT_PPC_EBB): Likewise.
32154 (NT_PPC_PMU): Likewise.
32155 (NT_PPC_TM_CGPR): Likewise.
32156 (NT_PPC_TM_CFPR): Likewise.
32157 (NT_PPC_TM_CVMX): Likewise.
32158 (NT_PPC_TM_CVSX): Likewise.
32159 (NT_PPC_TM_SPR): Likewise.
32160 (NT_PPC_TM_CTAR): Likewise.
32161 (NT_PPC_TM_CPPR): Likewise.
32162 (NT_PPC_TM_CDSCR): Likewise.
32163
4ebf934e
FW
321642017-08-15 Florian Weimer <fweimer@redhat.com>
32165
32166 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32167 regparm (2) instead of internal_function.
32168 (_MCOUNT_DECL): Adjust.
32169
e9f57484
SL
321702017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32171
32172 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32173 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32174
88ff4d55
JM
321752017-08-14 Joseph Myers <joseph@codesourcery.com>
32176
32177 * conform/data/sys/wait.h-data (si_value): Do not expect for
32178 XPG42.
32179
c88ffc23
FW
321802017-08-14 Florian Weimer <fweimer@redhat.com>
32181
32182 [BZ #21962]
32183 NSS: Create stubs for accidentally exported lookup functions.
32184 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32185 Remove declaration.
32186 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32187 (ether_hostton): Call __nss_ethers_lookup2 instead.
32188 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32189 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32190 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32191 (setup): Call __nss_netgroup_lookup2 instead.
32192 * nss/Makefile (routines): Add compat-lookup.
32193 * nss/Versions (GLIBC_2.27): Add symbol version.
32194 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32195 (DB_COMPAT_FCT): Remove.
32196 * nss/compat-lookup.c: New file.
32197 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32198 from databases.def.
32199 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32200 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32201 (netname2user): Call __nss_publickey_lookup2 instead.
32202 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32203 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32204 instead.
32205
35a29136 322062017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
32207 Sergei Trofimovich <slyfox@inbox.ru>
32208
32209 [BZ #21908]
32210 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32211 Rename to MMAP2_PAGE_UNIT.
32212 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32213 __OFF_T_MATCHES_OFF64_T is not defined.
32214 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32215 uint64_t.
32216 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32217 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32218
fbdc1e3e
FW
322192017-08-14 Florian Weimer <fweimer@redhat.com>
32220
32221 i386: Do not set internal_function.
32222 * config.h.in (USE_REGPARMS, internal_function): Remove.
32223 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32224 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32225
b3f85fd2
FW
322262017-08-14 Florian Weimer <fweimer@redhat.com>
32227
32228 * elf/dl-init.c (_dl_init): Remove internal_function.
32229 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32230 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32231
630bf491
FW
322322017-08-14 Florian Weimer <fweimer@redhat.com>
32233
32234 * elf/rtld.c (_dl_start): Remove internal_function.
32235 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32236 _dl_start.
32237
9fa7449b
FW
322382017-08-14 Florian Weimer <fweimer@redhat.com>
32239
32240 * elf/dl-fini.c (_dl_fini): Remove internal_function
32241 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32242
73322d5f
L
322432017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32244
d863cd71 32245 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
32246 (bit_cpu_SHSTK): Likewise.
32247 (index_cpu_IBT): Likewise.
32248 (index_cpu_SHSTK): Likewise.
32249 (reg_IBT): Likewise.
32250 (reg_SHSTK): Likewise.
32251 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32252 Handle index_cpu_IBT and index_cpu_SHSTK.
32253
dbc303ef
MF
322542017-08-14 Mike FABIAN <mfabian@redhat.com>
32255
32256 [BZ #19982]
32257 * po/fr.po: Fix spelling mistake.
32258
3012cfb0
FW
322592017-08-13 Florian Weimer <fweimer@redhat.com>
32260
32261 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32262 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32263 (_dl_catch_error, _dl_receive_error): Likewise.
32264 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32265 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32266 (_dl_deallocate_tls): Likewise.
32267 * include/dlfcn.h (_dl_addr): Likewise.
32268 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32269 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32270 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32271 Likewise.
32272
52bcdf26
FW
322732017-08-13 Florian Weimer <fweimer@redhat.com>
32274
32275 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32276 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32277 internal_function.
32278 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32279
e1d2ae8d
FW
322802017-08-13 Florian Weimer <fweimer@redhat.com>
32281
32282 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32283 internal_function.
32284 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32285 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32286 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32287 internal_function from _dl_make_stack_executable_hook member.
32288 (_dl_make_stack_executable): Remove internal_function.
32289 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32290 Likewise.
32291 * sysdeps/unix/sysv/linux/dl-execstack.c
32292 (_dl_make_stack_executable): Likewise.
32293
c4ce0382
FW
322942017-08-13 Florian Weimer <fweimer@redhat.com>
32295
32296 * sysdeps/unix/sysv/linux/netlinkaccess.h
32297 (__netlink_assert_response): Remove internal_function.
32298 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32299 (__netlink_assert_response): Likewise.
32300
c4d767f7
FW
323012017-08-13 Florian Weimer <fweimer@redhat.com>
32302
32303 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32304 internal_function.
32305 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32306
b2297409
FW
323072017-08-13 Florian Weimer <fweimer@redhat.com>
32308
32309 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32310 internal_function.
32311 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32312 * inet/netgroup.h (__internal_setnetgrent)
32313 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32314 * inet/getnetgrent_r.c (__internal_setnetgrent)
32315 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32316 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32317 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32318 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32319 * nss/nsswitch.h (db_lookup_function): Likewise.
32320
1b0bfc69
FW
323212017-08-13 Florian Weimer <fweimer@redhat.com>
32322
32323 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32324 Remove internal_function.
32325 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32326 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32327 message argument on the stack.
32328 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32329 Likeweise.
32330
a6bd8722
MF
323312017-08-12 Mike FABIAN <mfabian@redhat.com>
32332
32333 Adapt test case data to the changes in the thousands
32334 separators.
32335
32336 [BZ #20756]
32337 * localedata/tst-langinfo.sh: Adapt test case data.
32338 * stdlib/tst-strfmon_l.c: Likewise.
32339 * stdlib/tst-strtod4.c: Likewise.
32340 * stdlib/tst-strtod5i.c: Likewise.
32341
8b2c63e4
FW
323422017-08-11 Florian Weimer <fweimer@redhat.com>
32343
32344 [BZ #21242]
32345 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32346 Suppress pedantic warning resulting from statement expression.
32347 (__ASSERT_FUNCTION): Add missing __extension__.
32348
61c98291
SP
323492017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32350
86c6519e
SP
32351 * benchtests/bench-memmove-large.c: Print output in JSON
32352 format.
32353 * benchtests/bench-memmove.c: Likewise.
32354
61c98291
SP
32355 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32356 * benchtests/bench-memchr.c (do_one_test): Likewise.
32357 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32358 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32359 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32360 * benchtests/bench-memmove.c (do_one_test): Likewise.
32361 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32362 * benchtests/bench-memset.c (do_one_test): Likewise.
32363 * benchtests/bench-string.h (test_init): Remove memsets.
32364
925733a9
RJ
323652017-08-10 Rical Jasan <ricaljasan@pacific.net>
32366
32367 * manual/lang.texi
32368 (Computing the Width of an Integer Data Type): Rename section to
32369 "Width of an Integer Type". Remove inaccurate statement regarding
32370 lack of C language facilities for determining width of integer
32371 types, and reorder content to improve flow and context of
32372 discussion.
32373
4fcdfbfc
RJ
323742017-08-10 Rical Jasan <ricaljasan@pacific.net>
32375
32376 * lang.texi (va_copy): Change standard from ISO to C99.
32377 (__va_copy): Add standard and header annotation.
32378 Update description for clarity of origins and current use.
32379
4d98ace9
GG
323802017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32381
32382 [BZ #21941]
32383 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32384 xssqrtqp requires operands to be in Vector Registers
32385 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32386 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32387 (__ieee754_sqrtf128): Likewise.
32388
92236903
WD
323892017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32390
32391 * sysdeps/aarch64/memcmp.S (memcmp):
32392 Rewrite of optimized memcmp.
32393
2449ae7b
FW
323942017-08-10 Florian Weimer <fweimer@redhat.com>
32395
32396 Introduce ld.so exceptions.
32397 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32398 (_dl_exception_create, _dl_exception_create_format)
32399 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32400 (_dl_catch_exception): Declare.
32401 (_dl_catch_error): Update comment.
32402 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32403 errstring, malloced members with exception member.
32404 (_dl_out_of_memory): Remove.
32405 (fatal_error): New function, extracted from _dl_signal_error.
32406 (_dl_signal_exception, _dl_signal_cexception): New functions.
32407 (_dl_signal_error): Call _dl_exception_create to allocate an
32408 exception object.
32409 (_dl_catch_exception): New function, based on _dl_catch_error.
32410 (_dl_catch_error): Implement using _dl_catch_exception.
32411 * elf/dl-exception.c: New file.
32412 * elf/Makefile (dl-routines): Add dl-exception.
32413 (elide-routines.os): Likewise.
32414 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32415 _dl_exception_create_format, _dl_exception_free.
32416 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32417 _dl_signal_exception.
32418 * elf/dl-lookup.c (make_string): Remove.
32419 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32420 _dl_signal_cexception, _dl_exception_free.
32421 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32422 _dl_signal_exception.
32423 * elf/dl-sym.c (do_sym): Likewise.
32424 * elf/dl-version.c (make_string): Remove.
32425 (match_symbol): Use _dl_exception_create_format,
32426 _dl_signal_cexception, _dl_exception_free.
32427 (_dl_check_map_versions): Likewise.
32428 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32429 _dl_catch_exception.
32430 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32431 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32432 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32433 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32434 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32435 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32436 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32437 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32438 Likewise.
32439 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32441 (ld.so): Likewise.
32442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32443 (ld.so): Likewise.
32444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32445 Likewise.
32446 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32447 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32448 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32449 Likewise.
32450 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32451 Likewise.
32452 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32453
f87cc2bf
FW
324542017-08-10 Florian Weimer <fweimer@redhat.com>
32455
32456 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32457 attribute_hidden, internal_function.
32458 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32459 internal_function.
32460
eac43cbb
FW
324612017-08-10 Florian Weimer <fweimer@redhat.com>
32462
32463 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32464 function which calls __builtin_unreachable.
32465
bd80111e
MF
324662017-08-10 Mike FABIAN <mfabian@redhat.com>
32467
32468 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32469 Indian monetary formatting
32470 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32471 test cases.
32472
60e2846e
DL
324732017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32474
68dc02d1
DL
32475 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32476 Fix typo in comment.
32477
60e2846e
DL
32478 [BZ #21928]
32479 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32480 PTRACE_SEIZE_DEVEL): Remove.
32481 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32482 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32483 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32484 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32485 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32486
3d452dab
JM
324872017-08-09 Joseph Myers <joseph@codesourcery.com>
32488
24d9f53a
JM
32489 * posix/bits/types.h (__qaddr_t): Remove.
32490
3d452dab
JM
32491 [BZ #21457]
32492 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32493 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32494 __glibc_reserved1.
32495 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32496 (ucontext_t): Use __ctx with uc_flags.
32497 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32498 (__ctxt): Likewise.
32499 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32500 __glibc_reserved1.
32501 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32502 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32503 __glibc_reserved1.
32504 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32505 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32506 __glibc_reserved1.
32507 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32508 macro.
32509 (ucontext_t): Use __ctx with uc_flags.
32510 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32511 (ucontext_t): Use __ctx with uc_flags.
32512 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32513 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32514 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32515 (ucontext_t): Use __ctx with uc_flags.
32516 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32517 undefine further down.
32518 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32519 __glibc_reserved1.
32520 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32521 undefine further down.
32522 (ucontext_t): Use __ctx with uc_flags.
32523 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32524 undefine further down.
32525 (ucontext_t): Use __ctx with uc_flags.
32526 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32527 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32528 Rename uc_pad to __glibc_reserved1.
32529 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32530 undefine further down.
32531 (ucontext_t): Use __ctx with uc_flags.
32532 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32533 further down.
32534 (ucontext_t): Use __ctx with uc_flags.
32535 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32536 __ctx with uc_flags.
32537 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32538 (ucontext_t): Use __ctx with uc_flags.
32539 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32540 __ctx with uc_flags.
32541
30161498
FW
325422017-08-09 Florian Weimer <fweimer@redhat.com>
32543
32544 [BZ #21932]
32545 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32546 before early return.
32547
5797b410
AS
325482017-08-09 Andreas Schwab <schwab@suse.de>
32549
139237a4 32550 [BZ #21041]
5797b410
AS
32551 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32552 renamed alias.
32553
139237a4 32554 [BZ #21041]
40c06a3d
AS
32555 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32556 tst-compat-forwarder.
32557 (modules-names): Add tst-compat-forwarder-mod.
32558 ($(objpfx)tst-compat-forwarder): Depend on
32559 $(objpfx)tst-compat-forwarder-mod.so.
32560 * nptl/tst-compat-forwarder.c: New file.
32561 * nptl/tst-compat-forwarder-mod.c: New file.
32562
36ada5f6
SP
325632017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32564
0e02b510
SP
32565 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32566 comments.
32567
36ada5f6
SP
32568 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32569 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32570 memcpy_falkor.
32571 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32572 Bump.
32573 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32574 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32575 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32576 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32577 Add falkor.
32578 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32579 New macro.
32580
9995c839
AZ
325812017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32582
32583 [BZ #759]
32584 * manual/setjmp.texi (getcontex): Document uc_stack value
32585 compatibility differences.
32586
f17a4233
JM
325872017-08-08 Joseph Myers <joseph@codesourcery.com>
32588
32589 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32590 (old_malloc_hook): Likewise.
32591 (old_memalign_hook): Likewise.
32592 (old_realloc_hook): Likewise.
32593 (struct hdr): Likewise.
32594 (flood): Likewise.
32595 (freehook): Likewise.
32596 (mallochook): Likewise.
32597 (memalignhook): Likewise.
32598 (reallochook): Likewise.
32599 (mprobe): Likewise.
32600 * malloc/mtrace.c (mallwatch): Likewise.
32601 (tr_old_free_hook): Likewise.
32602 (tr_old_malloc_hook): Likewise.
32603 (tr_old_realloc_hook): Likewise.
32604 (tr_old_memalign_hook): Likewise.
32605 (tr_where): Likewise.
32606 (lock_and_info): Likewise.
32607 (tr_freehook): Likewise.
32608 (tr_mallochook): Likewise.
32609 (tr_reallochook): Likewise.
32610 (tr_memalignhook): Likewise.
32611 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32612 * misc/mmap.c (__mmap): Likewise.
32613 * misc/mmap64.c (__mmap64): Likewise.
32614 * misc/mprotect.c (__mprotect): Likewise.
32615 * misc/msync.c (msync): Likewise.
32616 * misc/munmap.c (__munmap): Likewise.
32617 * posix/posix_madvise.c (posix_madvise): Likewise.
32618 * socket/send.c (__send): Likewise.
32619 * socket/sendto.c (__sendto): Likewise.
32620 * socket/setsockopt.c (__setsockopt): Likewise.
32621 * string/memcmp.c (__ptr_t): Remove macro.
32622 (MEMCMP): Use void * instead of ptr_t.
32623 * string/memrchr.c (__ptr_t): Remove macro.
32624 (__memrchr): Use void * instead of ptr_t.
32625 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32626 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32627 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32628 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32629 * sysdeps/mach/msync.c (msync): Likewise.
32630 * sysdeps/mach/munmap.c (__munmap): Likewise.
32631 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32632 Likewise.
32633 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32634 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32635 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32636 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32637 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32638 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32639 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32640 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32641 Likewise.
32642 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32643 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32644 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32645 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32646 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32647 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32648 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32649 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32650 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32651 Likewise.
32652 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32653 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32654 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32655 (MEMCMP): Use void * instead of ptr_t.
32656 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32657 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32658
0df595b2
FW
326592017-08-08 Florian Weimer <fweimer@redhat.com>
32660
32661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32662 return statement.
32663
086df229
L
326642017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32665
32666 [BZ #21913]
32667 * csu/libc-tls.c: Include <startup.h> first.
32668 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32669 * elf/dl-tunables.c: Include <startup.h> first.
32670 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32671 * sysdeps/generic/startup.h: New file.
32672 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32673 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32674 (I386_USE_SYSENTER): New. Defined to 0.
32675
fc5ad702
AS
326762017-08-08 Andreas Schwab <schwab@suse.de>
32677
32678 [BZ #21041]
32679 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32680 * nptl/pt-system.c (system): Likewise.
32681
852d6312
AZ
326822017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32683
32684 [BZ #21780]
32685 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32686 EOPNOTSUPP.
32687 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32688 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32689 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32690 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32691 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32692 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32693 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32694
8b164787
JM
326952017-08-07 Joseph Myers <joseph@codesourcery.com>
32696
cd65836b
JM
32697 [BZ #21899]
32698 * bits/sigaction.h (struct sigaction): Define sa_handler and
32699 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32700 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32701 [__USE_XOPEN_EXTENDED].
32702 (SA_RESTART): Likewise.
32703 (SA_NODEFER): Likewise.
32704 (SA_RESETHAND): Likewise.
32705 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32706 (struct sigaction): Define sa_handler and sa_sigaction using union
32707 also for [__USE_XOPEN_EXTENDED].
32708 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32709 [__USE_XOPEN_EXTENDED].
32710 (SA_RESTART): Likewise.
32711 (SA_NODEFER): Likewise.
32712 (SA_RESETHAND): Likewise.
32713 * sysdeps/unix/sysv/linux/bits/sigaction.h
32714 (struct sigaction): Define sa_handler and sa_sigaction using union
32715 also for [__USE_XOPEN_EXTENDED].
32716 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32717 [__USE_XOPEN_EXTENDED].
32718 (SA_RESTART): Likewise.
32719 (SA_NODEFER): Likewise.
32720 (SA_RESETHAND): Likewise.
32721 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32722 (struct sigaction): Define sa_handler and sa_sigaction using union
32723 also for [__USE_XOPEN_EXTENDED].
32724 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32725 [__USE_XOPEN_EXTENDED].
32726 (SA_RESTART): Likewise.
32727 (SA_NODEFER): Likewise.
32728 (SA_RESETHAND): Likewise.
32729 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32730 (struct sigaction): Define sa_handler and sa_sigaction using union
32731 also for [__USE_XOPEN_EXTENDED].
32732 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32733 [__USE_XOPEN_EXTENDED].
32734 (SA_RESTART): Likewise.
32735 (SA_NODEFER): Likewise.
32736 (SA_RESETHAND): Likewise.
32737 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32738 (struct sigaction): Define sa_handler and sa_sigaction using union
32739 also for [__USE_XOPEN_EXTENDED].
32740 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32741 [__USE_XOPEN_EXTENDED].
32742 (SA_RESTART): Likewise.
32743 (SA_NODEFER): Likewise.
32744 (SA_RESETHAND): Likewise.
32745 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32746 (struct sigaction): Define sa_handler and sa_sigaction using union
32747 also for [__USE_XOPEN_EXTENDED].
32748 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32749 [__USE_XOPEN_EXTENDED].
32750 (SA_RESTART): Likewise.
32751 (SA_NODEFER): Likewise.
32752 (SA_RESETHAND): Likewise.
32753 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32754 (struct sigaction): Define sa_handler and sa_sigaction using union
32755 also for [__USE_XOPEN_EXTENDED].
32756 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32757 [__USE_XOPEN_EXTENDED].
32758 (SA_RESTART): Likewise.
32759 (SA_NODEFER): Likewise. Define directly rather than as alias.
32760 (SA_RESETHAND): Likewise.
32761 (SA_INTERRUPT): Define only for [__USE_MISC].
32762 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32763 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32764 [__USE_MISC].
32765 (SA_STACK): Define only for [__USE_MISC].
32766 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32767 (struct sigaction): Define sa_handler and sa_sigaction using union
32768 also for [__USE_XOPEN_EXTENDED].
32769 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32770 [__USE_XOPEN_EXTENDED].
32771 (SA_RESTART): Likewise.
32772 (SA_NODEFER): Likewise.
32773 (SA_RESETHAND): Likewise.
32774 (SA_NOPTRACE): Define only for [__USE_MISC].
32775
d9fee042
JM
32776 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32777 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32778 (struct catalog_info): Likewise.
32779 * inet/htontest.c (lo): Likewise.
32780 (foo): Likewise.
32781 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32782 * inet/inet_net.c (inet_network): Likewise.
32783 * inet/inet_netof.c (inet_netof): Likewise.
32784 * inet/rcmd.c (__ivaliduser): Likewise.
32785 (iruserok): Likewise.
32786 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32787 * locale/programs/locale-spec.c (locale_special): Likewise.
32788 * nis/nis_findserv.c (struct findserv_req): Likewise.
32789 (__nis_findfastest_with_timeout): Likewise.
32790 * nss/test-netdb.c (test_network): Likewise.
32791 * resolv/inet_neta.c (inet_neta): Likewise.
32792 * resolv/ns_date.c (ns_datetosecs): Likewise.
32793 (SECS_PER_DAY): Likewise.
32794 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32795 Likewise.
32796 * resolv/res_comp.c (__putlong): Likewise.
32797 (__putshort): Likewise.
32798 (_getlong): Likewise.
32799 (_getshort): Likewise.
32800 * resolv/res_debug.c (p_time): Likewise.
32801 (precsize_ntoa): Likewise.
32802 (precsize_aton): Likewise.
32803 (latlon2ul): Likewise.
32804 (loc_aton): Likewise.
32805 (loc_ntoa): Likewise.
32806 * resolv/res_hconf.c (struct netaddr): Likewise.
32807 (_res_hconf_reorder_addrs): Likewise.
32808 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32809 (clnttcp_control): Likewise.
32810 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32811 (clntudp_control): Likewise.
32812 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32813 (clntunix_control): Likewise.
32814 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32815 * sunrpc/rpc/auth.h (union des_block): Likewise.
32816 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32817 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32818 (xdrrec_create): Likewise.
32819 (xdrrec_endofrecord): Likewise.
32820 (flush_out): Likewise.
32821 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32822 (xdrstdio_putlong): Likewise.
32823 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32824 Likewise.
32825
8b164787
JM
32826 * misc/sys/cdefs.h (__long_double_t): Remove.
32827 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32828 instead of __long_double_t,
32829 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32830
7ee38e60
SP
328312017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32832
dd3e86ad
SP
32833 * benchtests/scripts/compare_strings.py: Avoid display error when
32834 running on a text terminal.
32835
b115e819
SP
32836 * benchtests/scripts/compare_strings.py (main): Add an
32837 optional -base option.
32838 (process_results): New argument base_func.
32839
7ee38e60
SP
32840 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32841 hardcoding memcpy.
32842 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32843 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32844
d5afb385
AS
328452017-08-07 Andreas Schwab <schwab@suse.de>
32846
32847 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32848 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32849 * intl/Makefile ($(objpfx)tst-gettext.out)
32850 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32851 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32852 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32853 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32854 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32855 * posix/Makefile ($(objpfx)globtest.out)
32856 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32857 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32858 ($(objpfx)tst-printf.out): Likewise.
32859 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32860 ($(objpfx)tst-setcontext3.out): Likewise.
32861
57a72fa3
L
328622017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32863
32864 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32865 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32866 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32867 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32868 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32869 and mptan-fma.
32870 (CFLAGS-doasin-fma.c): New.
32871 (CFLAGS-dosincos-fma.c): Likewise.
32872 (CFLAGS-e_asin-fma.c): Likewise.
32873 (CFLAGS-e_atan2-fma.c): Likewise.
32874 (CFLAGS-e_exp-fma.c): Likewise.
32875 (CFLAGS-e_log-fma.c): Likewise.
32876 (CFLAGS-e_pow-fma.c): Likewise.
32877 (CFLAGS-halfulp-fma.c): Likewise.
32878 (CFLAGS-mpa-fma.c): Likewise.
32879 (CFLAGS-mpatan-fma.c): Likewise.
32880 (CFLAGS-mpatan2-fma.c): Likewise.
32881 (CFLAGS-mpexp-fma.c): Likewise.
32882 (CFLAGS-mplog-fma.c): Likewise.
32883 (CFLAGS-mpsqrt-fma.c): Likewise.
32884 (CFLAGS-mptan-fma.c): Likewise.
32885 (CFLAGS-s_atan-fma.c): Likewise.
32886 (CFLAGS-sincos32-fma.c): Likewise.
32887 (CFLAGS-slowexp-fma.c): Likewise.
32888 (CFLAGS-slowpow-fma.c): Likewise.
32889 (CFLAGS-s_sin-fma.c): Likewise.
32890 (CFLAGS-s_tan-fma.c): Likewise.
32891 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32892 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32893 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32894 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32895 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32896 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32897 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32898 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32899 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32900 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32901 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32902 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32903 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32904 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32905 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32906 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32907 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32908 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32909 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32910 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32911 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32912 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32913 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32914 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32915 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32916 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32917 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32918 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32919 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32920 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32921 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32922
219dd320
JM
329232017-08-04 Joseph Myers <joseph@codesourcery.com>
32924
32925 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32926 (min_of_type_f): New macro.
32927 (min_of_type_): Likewise.
32928 (min_of_type_l): Likewise.
32929 (min_of_type_f128): Likewise.
32930 (min_of_type): Define using __MATH_TG and taking an expression
32931 argument.
32932 (math_check_force_underflow): Pass expression instead of type to
32933 min_of_type.
32934 (math_check_force_underflow_nonneg): Likewise.
32935
64d4dea6
L
329362017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32937
32938 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32939 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32940 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32941
973da22a
L
329422017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32943
32944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32945 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32946 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32947 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32948 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32949 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32950 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32951 memmove_chk-nonshared and memset_chk-nonshared
32952 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32953 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32954 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32955 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32956 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32957 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32958 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32959 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32960 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32961 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32962 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32963 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32964 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32965 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32966 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32967 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32968 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32969 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32970 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32971 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32972 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32973 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32974 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32975 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32976 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32977 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32978 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32979 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32980 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32981 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32982 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32983 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32984 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32985 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32986 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32987 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32988 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32989 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32990 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32991 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32992 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32993 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32994 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32995 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32996 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32997 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32998 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32999 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33000 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33001 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33002 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33003 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33004 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33005 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33006 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33007 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33008 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33009 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33010 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33011 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33012 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33013 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33014 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33015 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33016 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33017 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33018 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33019 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33020 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33021 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33022 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33023 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33024 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33025 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33026 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33027 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33028 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33029 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33030 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33031 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33032 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33033 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33034 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33035 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33036 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33037 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33038 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33039 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33040 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33041 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33042 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33043 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33044 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33045 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33046 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33047 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33048 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33049 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33050 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33051 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33052 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33053 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33054 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33055 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33056 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33057 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33058 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33059 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33060
8537e0f6
L
330612017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33062
33063 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33064 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33065 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33066 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33067 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33068 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33069 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33070 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33071 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33072 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33073 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33074 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33075 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33076 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33077 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33078 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33079 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33080 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33081 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33082 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33083 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33084 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33085 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33086 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33087 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33088 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33089 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33090 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33091 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33092 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33093 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33094 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33095 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33096 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33097 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33098 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33099 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33100 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33101 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33102 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33103 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33104 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33105 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33106 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33107 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33108 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33109 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33110 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33111 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33112 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33113 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33114 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33116 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33117 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33118 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33119 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33120 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33121 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33122 ...
33123 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33124 Don't include <sysdep.h> nor <init-arch.h>.
33125 (_ZGVbN2v_cos): Removed.
33126 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33127 ...
33128 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33129 Don't include <sysdep.h> nor <init-arch.h>.
33130 (_ZGVdN4v_cos): Removed.
33131 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33132 ...
33133 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33134 Don't include <sysdep.h> nor <init-arch.h>.
33135 (_ZGVeN8v_cos): Removed.
33136 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33137 ...
33138 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33139 Don't include <sysdep.h> nor <init-arch.h>.
33140 (_ZGVbN2v_exp): Removed.
33141 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33142 ...
33143 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33144 Don't include <sysdep.h> nor <init-arch.h>.
33145 (_ZGVdN4v_exp): Removed.
33146 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33147 ...
33148 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33149 Don't include <sysdep.h> nor <init-arch.h>.
33150 (_ZGVeN8v_exp): Removed.
33151 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33152 ...
33153 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33154 Don't include <sysdep.h> nor <init-arch.h>.
33155 (_ZGVbN2v_log): Removed.
33156 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33157 ...
33158 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33159 Don't include <sysdep.h> nor <init-arch.h>.
33160 (_ZGVdN4v_log): Removed.
33161 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33162 ...
33163 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33164 Don't include <sysdep.h> nor <init-arch.h>.
33165 (_ZGVeN8v_log): Removed.
33166 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33167 ...
33168 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33169 Don't include <sysdep.h> nor <init-arch.h>.
33170 (_ZGVbN2vv_pow): Removed.
33171 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33172 ...
33173 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33174 Don't include <sysdep.h> nor <init-arch.h>.
33175 (_ZGVdN4vv_pow): Removed.
33176 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33177 ...
33178 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33179 Don't include <sysdep.h> nor <init-arch.h>.
33180 (_ZGVeN8vv_pow): Removed.
33181 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33182 ...
33183 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33184 Don't include <sysdep.h> nor <init-arch.h>.
33185 (_ZGVbN2v_sin): Removed.
33186 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33187 ...
33188 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33189 Don't include <sysdep.h> nor <init-arch.h>.
33190 (_ZGVbN4v_sin): Removed.
33191 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33192 ...
33193 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33194 Don't include <sysdep.h> nor <init-arch.h>.
33195 (_ZGVbN8v_sin): Removed.
33196 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33197 ...
33198 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33199 Don't include <sysdep.h> nor <init-arch.h>.
33200 (_ZGVbN2vvv_sincos): Removed.
33201 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33202 ...
33203 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33204 Don't include <sysdep.h> nor <init-arch.h>.
33205 (_ZGVdN4vvv_sincos): Removed.
33206 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33207 ...
33208 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33209 Don't include <sysdep.h> nor <init-arch.h>.
33210 (_ZGVeN8vvv_sincos): Removed.
33211 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33212 ...
33213 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33214 Don't include <sysdep.h> nor <init-arch.h>.
33215 (_ZGVeN16v_cosf): Removed.
33216 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33217 ...
33218 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33219 Don't include <sysdep.h> nor <init-arch.h>.
33220 (_ZGVbN4v_cosf): Removed.
33221 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33222 ...
33223 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33224 Don't include <sysdep.h> nor <init-arch.h>.
33225 (_ZGVdN8v_cosf): Removed.
33226 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33227 ...
33228 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33229 Don't include <sysdep.h> nor <init-arch.h>.
33230 (_ZGVeN16v_expf): Removed.
33231 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33232 ...
33233 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33234 Don't include <sysdep.h> nor <init-arch.h>.
33235 (_ZGVbN4v_expf): Removed.
33236 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33237 ...
33238 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33239 Don't include <sysdep.h> nor <init-arch.h>.
33240 (_ZGVdN8v_expf): Removed.
33241 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33242 ...
33243 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33244 Don't include <sysdep.h> nor <init-arch.h>.
33245 (_ZGVeN16v_logf): Removed.
33246 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33247 ...
33248 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33249 Don't include <sysdep.h> nor <init-arch.h>.
33250 (_ZGVbN4v_logf): Removed.
33251 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33252 ...
33253 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33254 Don't include <sysdep.h> nor <init-arch.h>.
33255 (_ZGVdN8v_logf): Removed.
33256 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33257 ...
33258 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33259 Don't include <sysdep.h> nor <init-arch.h>.
33260 (_ZGVeN16vv_powf): Removed.
33261 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33262 ...
33263 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33264 Don't include <sysdep.h> nor <init-arch.h>.
33265 (_ZGVbN4vv_powf): Removed.
33266 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33267 ...
33268 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33269 Don't include <sysdep.h> nor <init-arch.h>.
33270 (_ZGVdN8vv_powf): Removed.
33271 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33272 ...
33273 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33274 Don't include <sysdep.h> nor <init-arch.h>.
33275 (_ZGVeN16vvv_sincosf): Removed.
33276 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33277 ...
33278 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33279 Don't include <sysdep.h> nor <init-arch.h>.
33280 (_ZGVbN4vvv_sincosf): Removed.
33281 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33282 ...
33283 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33284 Don't include <sysdep.h> nor <init-arch.h>.
33285 (_ZGVdN8vvv_sincosf): Removed.
33286 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33287 ...
33288 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33289 Don't include <sysdep.h> nor <init-arch.h>.
33290 (_ZGVeN16v_sinf): Removed.
33291 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33292 ...
33293 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33294 Don't include <sysdep.h> nor <init-arch.h>.
33295 (_ZGVbN4v_sinf): Removed.
33296 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33297 ...
33298 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33299 Don't include <sysdep.h> nor <init-arch.h>.
33300 (_ZGVdN8v_sinf): Removed.
33301
10a87ca4
L
333022017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33303
33304 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33305 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33306 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33307 s_rint-sse4_1 and s_rintf-sse4_1.
33308 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33309 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33310 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33311 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33312 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33315 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33316 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33317 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33318 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33319 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33320 (__ceil): Removed.
33321 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33322 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33323 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33324 (__ceilf): Removed.
33325 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33326 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33327 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33328 (__floor): Removed.
33329 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33330 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33331 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33332 (__floorf): Removed.
33333 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33334 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33335 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33336 (__nearbyint): Removed.
33337 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33338 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33339 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33340 (__nearbyintf): Removed.
33341 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33342 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33343 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33344 (__rint): Removed.
33345 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33346 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33347 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33348 (__rintf): Removed.
33349
1e8e527d
L
333502017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33351
33352 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33353 SHARED. Avoid dynamic relocation against main in static PIE.
33354
e13daad7
L
333552017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33356
33357 [BZ #21815]
33358 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33359 (LDFLAGS-tst-prelink): Likewise.
33360
627c69c8
L
333612017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33362
33363 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33364 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33365 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33366 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33367 (INTERNAL_SYSCALL_NCS): Likewise.
33368 (LOADARGS_1): Likewise.
33369 (LOADARGS_5): Likewise.
33370 (RESTOREARGS_1): Likewise.
33371 (RESTOREARGS_5): Likewise.
33372
fc11ff8d
L
333732017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33374
33375 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33376 (MEMPCPY_SYMBOL): Likewise.
33377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33378 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33379 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33380 in libc.a.
33381 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33382 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33383 Likewise.
33384 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33385 (__hidden_ver1): Don't use in libc.a.
33386 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33387 (__mempcpy): Don't create a weak alias in libc.a.
33388 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33389 libc.a.
33390 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33391 (__hidden_ver1): Don't use in libc.a.
33392
19f1a11e
L
333932017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33394
33395 * config.make.in (have-insert): New.
33396 * configure.ac (libc_cv_insert): New. Set to yes if linker
33397 supports INSERT in linker script.
33398 (AC_SUBST(libc_cv_insert): New.
33399 * configure: Regenerated.
33400 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33401 if $(have-insert) == yes.
33402
3093fd5e
L
334032017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33404
33405 * elf/Makefile (tests): Add vismain only if
33406 $(have-protected-data) == yes.
33407 (tests-pie): Likewise.
33408
d2cf37c0
L
334092017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33410
33411 [BZ #21871]
33412 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33413 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33414
c8a0e6ec
L
334152017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33416
33417 [BZ #21790]
33418 * sysdeps/i386/i586/memset.S
33419 (__memset_zero_constant_len_parameter): Removed.
33420 * sysdeps/i386/i686/memset.S
33421 (__memset_zero_constant_len_parameter): Likewise.
33422 * sysdeps/i386/i686/multiarch/memset_chk.S
33423 (__memset_zero_constant_len_parameter): Likewise.
33424 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33425 Likewise.
33426
2b34e271
AJ
334272017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33428
33429 * stdlib/getentropy.c (getentropy): Change return type to int.
33430
144bdab0
AJ
334312017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33432
33433 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33434
24ab7723
JM
334352017-08-03 Joseph Myers <joseph@codesourcery.com>
33436
33437 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33438 u_intN_t.
33439 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33440 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33441 Likewise.
33442 (ieee_float_shape_type): Likewise.
33443 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33444 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33445 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33446 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33447 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33448 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33449 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33450 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33451 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33452 Likewise.
33453 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33454 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33455 (__ieee754_yn): Likewise.
33456 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33457 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33458 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33459 Likewise.
33460 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33461 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33462 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33463 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33464 (__erfc): Likewise.
33465 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33466 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33467 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33468 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33469 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33470 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33471 Likewise.
33472 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33473 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33474 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33475 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33476 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33477 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33478 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33479 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33480 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33481 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33482 (__issignaling): Likewise.
33483 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33484 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33485 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33486 Likewise.
33487 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33488 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33489 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33490 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33491 Likewise.
33492 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33493 Likewise.
33494 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33495 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33496 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33497 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33498 (__erfcf): Likewise.
33499 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33500 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33501 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33502 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33503 Likewise.
33504 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33505 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33506 Likewise.
33507 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33508 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33509 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33510 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33511 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33512 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33513 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33514 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33515 Likewise.
33516 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33517 Likewise.
33518 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33519 Likewise.
33520 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33521 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33522 Likewise.
33523 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33524 Likewise.
33525 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33526 (__ieee754_ynl): Likewise.
33527 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33528 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33529 Likewise.
33530 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33531 Likewise.
33532 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33533 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33534 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33535 Likewise.
33536 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33537 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33538 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33539 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33540 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33541 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33542 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33543 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33544 Likewise.
33545 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33546 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33547 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33548 Likewise.
33549 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33550 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33551 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33552 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33553 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33554 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33555 Likewise.
33556 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33557 Likewise.
33558 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33559 Likewise.
33560 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33561 Likewise.
33562 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33563 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33564 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33565 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33566 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33567 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33568 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33569 Likewise.
33570 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33571 Likewise.
33572 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33573 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33574 Likewise.
33575 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33576 (__ieee754_remainderl): Likewise.
33577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33578 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33579 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33580 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33581 Likewise.
33582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33583 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33584 Likewise.
33585 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33586 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33587 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33588 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33589 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33590 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33591 Likewise.
33592 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33593 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33594 (__ieee754_y0l): Likewise.
33595 (pzero): Likewise.
33596 (qzero): Likewise.
33597 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33598 (__ieee754_y1l): Likewise.
33599 (pone): Likewise.
33600 (qone): Likewise.
33601 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33602 (__ieee754_ynl): Likewise.
33603 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33604 (__ieee754_lgammal_r): Likewise.
33605 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33606 Likewise.
33607 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33608 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33609 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33610 (__erfcl): Likewise.
33611 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33612 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33613 Likewise.
33614 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33615 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33616 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33617 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33618 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33619 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33620 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33621 Likewise.
33622 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33623 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33624 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33625 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33626 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33627 Likewise.
33628 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33629 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33630 Likewise.
33631 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33632 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33633 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33634 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33635 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33636
964263bb
FW
336372017-08-03 Florian Weimer <fweimer@redhat.com>
33638
33639 [BZ #21885]
33640 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33641 on memory allocation failure.
33642
e98c925f
AM
336432017-08-03 Alan Modra <amodra@gmail.com>
33644
33645 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33646 tst-tlsopt-powerpc.c with function name change and no test harness.
33647 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33648 Call tls_get_addr_opt_test.
33649 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33650 (modules-names): Add mod-tlsopt-powerpc.
33651 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33652 (tst-tlsopt-powerpc): Depend on .so.
33653 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33654 define. Expand use in TLS_GD and TLS_LD.
33655
8ee1abdb
ST
336562017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33657
33658 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33659 function.
3da5756e 33660 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 33661
42df8d59
JM
336622017-08-02 Joseph Myers <joseph@codesourcery.com>
33663
33664 [BZ #21686]
33665 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33666 comparing size with that of double.
33667 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33668 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33669 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33670 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33671 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33672 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33673 unsigned __int128 types.
33674
b7f95f49
SE
336752017-08-02 Steve Ellcey <sellcey@cavium.com>
33676
33677 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33678 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33679 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33680 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33681 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33682
5b736bc9
L
336832017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33684
33685 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33686
dfc93c41
L
336872017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33688
33689 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33690 of SHARED.
33691 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33692 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33693 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33694 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33695 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33696 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33697 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33698
2fee621d
JM
336992017-08-02 Joseph Myers <joseph@codesourcery.com>
33700
33701 [BZ #21685]
33702 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33703 bit-field expressions passed to sizeof or typeof.
33704 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33705 (__TGMATH_F128): Likewise.
33706 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33707 (__TGMATH_CF128): Likewise.
33708 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33709 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33710 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33711 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33712 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33713 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33714 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33715 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33716 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33717 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33718 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33719 (__TGMATH_UNARY_IMAG): Likewise.
33720 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33721 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33722 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33723 type.
33724 (define_vars_for_type): Handle bit_field type specially.
33725 (Tests.__init__): Declare structure with bit-field element.
33726
b358255f
L
337272017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33728
33729 [BZ #21791]
33730 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33731 (MEMCPY_CHK): Define only if SHARED is defined.
33732 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33733 Likewise.
33734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33735 Likewise.
edf66db1
SP
33736
33737See ChangeLog.18 for earlier changes.