]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
elf: Fix tst-pldd for non-default --prefix and/or --bindir (BZ#24544)
[thirdparty/glibc.git] / ChangeLog
1 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 [BZ #24544]
4 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
5 pre-defined value.
6
7 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
8 * support/support.h (support_bindir_prefix): New variable.
9 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
10
11 * config.make.in (bindir): New variable.
12
13 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
14 (lll_trylock): Call __lll_trylock.
15 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
16 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
17 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
18 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
20 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
21 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
24 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
25 lowlevellock-futex.h.
26
27 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
28 initialization for LLL_LOCK_INITIALIZER different than 0.
29 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
30 Assume LLL_LOCK_INITIALIZER being 0.
31 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
32 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
33 Likewise.
34 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
35 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
36
37 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
38 Optimize futex call and add systemtap probe.
39
40 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
41 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
42 __libc_disable_asynccancel, __librt_enable_asynccancel,
43 __libc_disable_asynccancel, __librt_enable_asynccancel,
44 __librt_disable_asynccancel): Move to ...
45 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
46 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
47 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
48 * sysdeps/generic/single-thread.h: New file.
49 * sysdeps/unix/sysdep.h: Include single-thread.h.
50 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
51 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
52
53 2019-05-08 Mike FABIAN <mfabian@redhat.com>
54
55 [BZ #24535]
56 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
57 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
58 Unicode 12.1.0.
59 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
60 * localedata/unicode-gen/PropList.txt: Likewise.
61 * localedata/unicode-gen/UnicodeData.txt: Likewise.
62 * localedata/charmaps/UTF-8: Regenerate.
63 * localedata/locales/i18n_ctype: Likewise.
64 * localedata/locales/tr_TR: Likewise.
65 * localedata/locales/translit_circle: Likewise.
66 * localedata/locales/translit_cjk_compat: Likewise.
67 * localedata/locales/translit_combining: Likewise.
68 * localedata/locales/translit_compat: Likewise.
69 * localedata/locales/translit_font: Likewise.
70 * localedata/locales/translit_fraction: Likewise.
71
72 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
73
74 [BZ #24531]
75 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
76 (do_set_tcache_count): Only update if count is small enough.
77 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
78
79 2019-05-10 Florian Weimer <fweimer@redhat.com>
80
81 * nptl/sem_close.c (struct walk_closure): Define.
82 (walker): Adjust for __twalk_r.
83 (sem_close): Call __twalk_r.
84
85 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
86
87 * support/timespec.c (test_timespec_before_impl,
88 test_timespec_equal_or_after_impl): print timespec member as intmax_t
89 insted of long int.
90
91 2019-05-09 Mike Crowe <mac@mcrowe.com>
92
93 * nptl/tst-abstime.c: Use libsupport.
94
95 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
96 small bug where only tv.tv_usec was checked which could cause an
97 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
98 than a second.
99
100 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
101 libsupport.
102
103 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
104 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
105
106 * nptl/tst-cond11.c: Use libsupport.
107
108 * support/timespec.h: New file. Provide timespec helper functions
109 along with macros in the style of those in check.h.
110 * support/timespec.c: New file. Implement check functions declared
111 in support/timespec.h.
112 * support/timespec-add.c: New file from gnulib containing
113 timespec_add implementation that handles overflow.
114 * support/timespec-sub.c: New file from gnulib containing
115 timespec_sub implementation that handles overflow.
116 * support/README: Mention timespec.h.
117
118 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
119
120 [BZ #24537]
121 * nptl/Makefile: Move tst-eintr1 to xtests.
122
123 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
124
125 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
126 TRUNC handling.
127 (round_mode): Add definition for TRUNC.
128 * sysdeps/powerpc/fpu/s_trunc.c: New file.
129 * sysdeps/powerpc/fpu/s_truncf.c: New file.
130 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
131 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
132 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
133 Likewise.
134 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
135 Likewise.
136 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
137 Likewise.
138 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
139 Likewise.
140 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
141 file.
142 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
143 Likewise.
144 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
145 Likewise.
146 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
147 Likewise.
148 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
149 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
150 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
151 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
152 s_truncf-power5+, and s_truncf-ppc64.
153 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
154 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
155 file.
156 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
158 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
159 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
160 file.
161 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
162 Likewise.
163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
164 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
166 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
167 s_truncf-power5+, and s_truncf-ppc64.
168 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
169 file.
170 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
171 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
172 Likewise.
173 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
174 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
175 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
176 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
177 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
178
179 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
180 ROUND handling.
181 (round_mode): Add definition for ROUND.
182 (round_to_integer_float): Likewise.
183 * sysdeps/powerpc/fpu/s_round.c: New file.
184 * sysdeps/powerpc/fpu/s_roundf.c: New file.
185 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
186 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
187 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
188 Likewise.
189 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
190 Likewise.
191 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
192 Likewise.
193 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
194 Likewise.
195 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
196 file.
197 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
198 Likewise.
199 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
200 Likewise.
201 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
202 Likewise.
203 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
204 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
205 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
206 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
207 s_roundf-power5+, and s_roundf-ppc64.
208 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
209 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
210 file.
211 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
213 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
214 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
215 file.
216 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
217 Likewise.
218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
219 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
220 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
221 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
222 s_roundf-power5+, and s_roundf-ppc64.
223 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
224 file.
225 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
226 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
227 Likewise.
228 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
229 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
230 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
231 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
232 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
233
234 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
235 Add FLOOR option.
236 (round_mode): Add definition for FLOOR.
237 * sysdeps/powerpc/fpu/s_floor.c: New file.
238 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
239 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
240 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
242 Remove file.
243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
244 Likewise
245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
246 Likewise.
247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
248 Likewise.
249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
250 New file.
251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
252 Likewise.
253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
254 Likewise.
255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
256 Likewise.
257 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
258 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
259 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
260 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
261 s_floorf-power5+, and s_floorf-ppc64.
262 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
263 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
264 file.
265 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
267 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
268 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
269 file.
270 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
271 Likewise.
272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
273 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
275 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
276 s_floorf-power5+, and s_floorf-ppc64.
277 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
278 file.
279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
280 file.
281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
282 Likewise.
283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
284 Likewise.
285 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
286 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
287 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
288 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
289
290 2019-05-08 Mike Crowe <mac@mcrowe.com>
291
292 * support/xclock_gettime.c (xclock_gettime): New file. Provide
293 clock_gettime wrapper for use in tests that fails the test rather
294 than returning failure.
295
296 * support/xtime.h: New file to declare xclock_gettime.
297
298 * support/Makefile: Add xclock_gettime.c.
299
300 * support/README: Mention xtime.h.
301
302 2019-05-08 Florian Weimer <fweimer@redhat.com>
303
304 malloc/tst-mallocfork2: Use process-shared barriers.
305 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
306 (signal_count, sigusr1_sender_pid): Remove.
307 (iterations): Define constant.
308 (shared): New variable.
309 (sigusr1_received): Update comment.
310 (sigusr1_handler): Do not send SIGSTOP to the sender process.
311 (signal_sender): Optional use barriers to avoid sending signals
312 during irrelevant times.
313 (do_it): Initialize variable shared. Use xfork for error
314 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
315 the iteration count, independent of signal delivery. Check for
316 deadlocks in fork. Introduce barriers for reducing signal
317 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
318 replaced by the barriers. Count signals during fork/free/malloc
319 and report them.
320 * malloc/Makefile (tst-mallocfork): Link with libpthread.
321
322 2019-05-07 Joseph Myers <joseph@codesourcery.com>
323
324 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
325 version to 5.1.
326 (clock_adjtime64) New syscall.
327 (clock_getres_time64) Likewise.
328 (clock_gettime64) Likewise.
329 (clock_nanosleep_time64) Likewise.
330 (clock_settime64) Likewise.
331 (futex_time64) Likewise.
332 (io_pgetevents_time64) Likewise.
333 (io_uring_enter) Likewise.
334 (io_uring_register) Likewise.
335 (io_uring_setup) Likewise.
336 (mq_timedreceive_time64) Likewise.
337 (mq_timedsend_time64) Likewise.
338 (pidfd_send_signal) Likewise.
339 (ppoll_time64) Likewise.
340 (pselect6_time64) Likewise.
341 (recvmmsg_time64) Likewise.
342 (rt_sigtimedwait_time64) Likewise.
343 (sched_rr_get_interval_time64) Likewise.
344 (semtimedop_time64) Likewise.
345 (timer_gettime64) Likewise.
346 (timer_settime64) Likewise.
347 (timerfd_gettime64) Likewise.
348 (timerfd_settime64) Likewise.
349 (utimensat_time64) Likewise.
350
351 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
352 version to 9 branch.
353
354 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
355
356 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
357 __memmove_thunderx2 to the list of implementations
358 * sysdeps/aarch64/multiarch/memmove.c: Likewise
359 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
360 (__memmove_thunderx2): Rewritten using SIMD ld/st
361 (__memcpy_thunderx2): Fixed handling overlapping cases.
362 Used ldp/stp instead of ldr/str if possible. Made loops
363 tails branchless.
364
365 2019-05-03 Florian Weimer <fweimer@redhat.com>
366
367 * misc/tst-tsearch.c (walk_tree): Add more error checking.
368
369 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
370
371 [BZ #24506]
372 * elf/tst-pldd.c (in_str_list): New function.
373 (do_test): Add default names for ld and libc as one option.
374
375 2019-05-02 Florian Weimer <fweimer@redhat.com>
376
377 misc: Add twalk_r function.
378 * include/search.h (__twalk_r): Declare.
379 * manual/examples/twalk.c: New file.
380 * manual/search.texi (Tree Search Function): Document twalk_r.
381 * misc/Versions (2.30): Export twalk_r.
382 (GLIBC_PRIVATE): Export __twalk_r.
383 * misc/search.h [__USE_GNU] (twalk_r): Declare.
384 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
385 (twalk_r): Add weak alias.
386 * misc/tst-tsearch.c (struct walk_trace_element): Define.
387 (walk_trace): New variable.
388 (struct twalk_with_twalk_r_closure): Define.
389 (twalk_with_twalk_r_action): New function.
390 (twalk_with_twalk_r): Likewise.
391 (walk_action): Call walk_trace_add.
392 (walk_tree_with): Rename from walk_tree. Add walk argument.
393 (walk_tree): New function.
394 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
395 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
396 Likewise.
397 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
398 Likewise.
399 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
400 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
401 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
402 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
403 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
404 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
405 Likewise.
406 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
407 Likewise.
408 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
409 Likewise.
410 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
411 (GLIBC_2.30): Likewise.
412 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
413 (GLIBC_2.30): Likewise.
414 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
415 (GLIBC_2.30): Likewise.
416 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
417 (GLIBC_2.30): Likewise.
418 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
419 Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
421 (GLIBC_2.30): Likewise.
422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
423 (GLIBC_2.30): Likewise.
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
425 (GLIBC_2.30): Likewise.
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
427 (GLIBC_2.30): Likewise.
428 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
429 Likewise.
430 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
431 Likewise.
432 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
433 Likewise.
434 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
435 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
436 Likewise.
437 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
438 Likewise.
439 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
440 Likewise.
441 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
442 Likewise.
443
444 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
445
446 Make mktime etc. compatible with __time64_t
447 Keep these functions compatible with Gnulib while adding
448 __time64_t support. The basic idea is to move private API
449 declarations from include/time.h to time/mktime-internal.h, since
450 the former file cannot easily be shared with Gnulib whereas the
451 latter can.
452 Also, do some other minor cleanup while in the neighborhood.
453 * include/time.h: Include stdbool.h, time/mktime-internal.h.
454 (__mktime_internal): Move this prototype to time/mktime-internal.h,
455 since Gnulib needs it.
456 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
457 Move these macros to time/mktime-internal.h, since Gnulib needs them.
458 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
459 (in_time_t_range): New static function.
460 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
461 so that glibc users are not tempted to use __time64_t.
462 * time/mktime-internal.h: Rewrite so that it does both glibc
463 and Gnulib work. Include time.h if not _LIBC.
464 (mktime_offset_t) [!_LIBC]: Define for gnulib.
465 (__time64_t): New type or macro, moved here from
466 posix/bits/types.h.
467 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
468 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
469 from include/time.h.
470 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
471 New macros, taken from GNulib.
472 (__mktime_internal): New prototype, moved here from include/time.h.
473 * time/mktime.c (mktime_min, mktime_max, convert_time)
474 (ranged_convert, __mktime_internal, __mktime64):
475 * time/timegm.c (__timegm64):
476 Use __time64_t, not time_t.
477 * time/mktime.c: Stop worrying about whether time_t is floating-point.
478 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
479 Rename from mktime.
480 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
481 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
482 for libc_hidden_def.
483 Include errno.h.
484 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
485 Rename from timegm.
486 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
487
488 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
489
490 [BZ #19444]
491 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
492 from `-Wmaybe-uninitialized'.
493 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
494
495 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
496
497 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
498 function.
499 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
500 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
501 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
502 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
503 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
505 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
507 Remove file.
508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
509 Likewise.
510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
511 Likewise.
512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
513 Likewise.
514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
515 New file.
516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
517 Likewise.
518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
519 Likewise.
520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
521 Likewise.
522 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
523 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
524 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
525 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
526 Likewise.
527 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
528 Likewise.
529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
530 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
531 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
532 file.
533 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
534 Likewise.
535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
536 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
537 * here.
538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
539 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
540 s_ceilf-power5+, and s_ceilf-ppc64.
541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
542 file.
543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
546 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
547 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
548 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
549 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
550
551 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
552 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
553 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
554
555 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
556
557 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
558 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
559 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
560 (sem_getvalue): Likewise.
561
562 2019-04-26 Florian Weimer <fweimer@redhat.com>
563
564 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
565 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
566
567 2019-04-26 Florian Weimer <fweimer@redhat.com>
568
569 Makeconfig: Move -Wl,-rpath-link options before library references.
570 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
571 (link-libc): Remove $(link-libc-rpath-link).
572
573 2019-04-25 Florian Weimer <fweimer@redhat.com>
574
575 * Makeconfig (+link-pie-before-libc): Remove $(CC).
576 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
577 (+link-static-before-libc): Remove $(CC).
578 (+link-static, +link-static-tests): Add $(CC).
579 (+link-before-libc): Remove $(CC).
580 (+link, +link-pie, +link-pie-printers): Add $(CC).
581
582 2019-04-26 Florian Weimer <fweimer@redhat.com>
583
584 * Makeconfig (+link-pie-before-libc): Remove $(CC).
585 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
586 (+link-static-before-libc): Remove $(CC).
587 (+link-static, +link-static-tests): Add $(CC).
588 (+link-before-libc): Remove $(CC).
589 (+link, +link-pie, +link-pie-printers): Add $(CC).
590
591 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
592
593 [BZ#24484]
594 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
595
596 2019-04-25 Florian Weimer <fweimer@redhat.com>
597
598 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
599 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
600 (bench-link-targets): New variable.
601 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
602
603 2019-04-25 Florian Weimer <fweimer@redhat.com>
604
605 Also enable BIND_NOW for programs if --enable-bind-now.
606 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
607 (+link-pie): Use $(link-extra-flags).
608 (+link-static): Likewise.
609 [! $(build-pie-default)] (+link): Likewise.
610 * manual/install.texi (Configuring and compiling): Update
611 --enable-bind-now description.
612 * INSTALL: Regenerated.
613
614 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
615
616 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
617 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
618
619 2019-04-24 Mike Frysinger <vapier@gentoo.org>
620
621 [BZ #18465]
622 * malloc/Makefile (others): Add memusagestat.
623 ($(objpfx)memusagestat): Delete rule.
624 (LDLIBS-memusagestat): New variable.
625
626 2019-04-24 Florian Weimer <fweimer@redhat.com>
627
628 * locale/Makefile (tests-special): Guard setting by
629 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
630 to run while cross-compiling.
631
632 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
633
634 [BZ #18035]
635 * elf/Makefile (tests-container): Add tst-pldd.
636 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
637 (E(find_maps)): Avoid use alloca, use default read file operations
638 instead of explicit LFS names, and fix infinite loop.
639 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
640 (get_process_info): Use _Static_assert instead of assert, use default
641 directory operations instead of explicit LFS names, and free some
642 leadek pointers.
643 * elf/tst-pldd.c: New file.
644
645 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
646
647 * malloc/arena.c (do_set_mallopt_check): Removed.
648
649 2019-04-23 Florian Weimer <fweimer@redhat.com>
650
651 locale: Add LOCPATH diagnostics to the locale program.
652 * locale/programs/locale.c (setlocale_failed): New variable.
653 (try_setlocale): New function.
654 (quote_string): Likewise.
655 (setlocale_diagnostics): Likewise.
656 (main): Call try_setlocale instead of setlocale. Call
657 setlocale_diagnostics.
658 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
659 (tst-locale-locpath.out): New target.
660 * locale/tst-locale-locpath.sh: New file.
661
662 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
663
664 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
665 to 2.30 notes.
666
667 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
668
669 [BZ #23741]
670 * malloc/hooks.c (malloc_check, realloc_check): Use
671 __builtin_add_overflow on overflow check and adapt to
672 checked_request2size change.
673 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
674 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
675 allocation size to PTRDIFF_MAX.
676 (REQUEST_OUT_OF_RANGE): Remove macro.
677 (checked_request2size): Change to inline function and limit maximum
678 requested size to PTRDIFF_MAX.
679 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
680 maximum allocation size to PTRDIFF_MAX.
681 (_mid_memalign): Use _int_memalign call for overflow check.
682 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
683 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
684 limit maximum requested size to PTRDIFF_MAX.
685 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
686 valloc, pvalloc): Add __attribute_alloc_size__.
687 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
688 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
689 larger than PTRDIFF_MAX.
690 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
691 around tests of malloc with negative sizes.
692 * malloc/tst-posix_memalign.c (do_test): Likewise.
693 * malloc/tst-pvalloc.c (do_test): Likewise.
694 * malloc/tst-valloc.c (do_test): Likewise.
695 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
696 with resulting size allocation larger than PTRDIFF_MAX with
697 reallocarray_nowarn.
698 (reallocarray_nowarn): New function.
699 * NEWS: Mention the malloc function semantic change.
700
701 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
702
703 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
704 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
705
706 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
707 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
708 * sysdeps/powerpc/fpu/s_fma.c: New file.
709 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
710
711 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
712 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
713
714 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
715 the magic flag store.
716 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
717 Likewise.
718 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
719 Likewise.
720 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
721 Remove rt_sigreturn call.
722
723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
724 Remove rt_sigreturn call.
725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
726 Likewise.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
729
730 * support/Makefile (libsupport-routines): Add support_subprocess,
731 xposix_spawn, xposix_spawn_file_actions_addclose, and
732 xposix_spawn_file_actions_adddup2.
733 (tst-support_capture_subprocess-ARGS): New rule.
734 * support/capture_subprocess.h (support_capture_subprogram): New
735 prototype.
736 * support/support_capture_subprocess.c (support_capture_subprocess):
737 Refactor to use support_subprocess and support_capture_poll.
738 (support_capture_subprogram): New function.
739 * support/tst-support_capture_subprocess.c (write_mode_to_str,
740 str_to_write_mode, test_common, parse_int, handle_restart,
741 do_subprocess, do_subprogram, do_multiple_tests): New functions.
742 (do_test): Add support_capture_subprogram tests.
743 * support/subprocess.h: New file.
744 * support/support_subprocess.c: Likewise.
745 * support/xposix_spawn.c: Likewise.
746 * support/xposix_spawn_file_actions_addclose.c: Likewise.
747 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
748 * support/xspawn.h: Likewise.
749
750 2019-04-17 Mike Gerow <gerow@google.com>
751
752 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
753 groups limit.
754
755 2019-04-11 Florian Weimer <fweimer@redhat.com>
756
757 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
758 domain with empty string.
759 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
760
761 2019-04-11 Florian Weimer <fweimer@redhat.com>
762
763 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
764 comment.
765 (alloc_buffer_next): Change return type to non-const. Update
766 comment.
767
768 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
769
770 * manual/time.texi (Formatting Calendar Time): Add missing percent
771 sign to conversion specifier.
772
773 2019-04-09 Carlos O'Donell <carlos@redhat.com>
774 Kwok Cheung Yeung <kcy@codesourcery.com>
775
776 [BZ #16573]
777 * malloc/mtrace.c: Define prototypes for all hooks.
778 (set_default_hooks): New function.
779 (set_trace_hooks): Likewise.
780 (save_default_hooks): Likewise.
781 (tr_freehook): Use new s*_hooks functions.
782 (tr_mallochook): Likewise.
783 (tr_reallochook): Likewise.
784 (tr_memalignhook): Likewise.
785 (mtrace): Likewise.
786 (muntrace): Likewise.
787
788 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
789
790 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
791 (generic_stpcpy): New function.
792 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
793 (generic_stpncpy): New function.
794 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
795 (generic_strcat): New function.
796 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
797 (generic_strcpy): New function.
798 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
799 (STUPID_STRNCAT): Remove function.
800 (generic_strncat): New function.
801 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
802 (STUPID_STRNCPY): Remove function.
803 (generic_strncpy): New function.
804 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
805 (generic_strnlen): New function.
806 (memchr_strnlen): New function.
807 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
808 (memchr_strlen): Likewise.
809
810 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
811
812 * benchtests/bench-strstr.c (input): Add realistic input text.
813 (stupid_strstr): Remove function.
814 (basic_strstr): Add function.
815 (twoway_strstr): Add function.
816 (do_one_test): Add result checking.
817 (do_test): Use new input text. Remove accidental early matches.
818 (test_main): Improve range of tests, reduce unaligned cases.
819
820 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
821
822 * benchtests/bench-memmem.c (simple_memmem): Remove function.
823 (basic_memmem): Add function.
824 (twoway_memmem): Add function.
825
826 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
827
828 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
829 * benchtests/bench-malloc-thread.c: Likewise.
830 * benchtests/bench-skeleton.c: Likewise.
831 * benchtests/bench-strtod.c: Likewise.
832 * benchtests/bench-timing.h: Likewise.
833
834 2019-04-08 Florian Weimer <fweimer@redhat.com>
835
836 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
837 definitions.
838 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
839 RES_INSECURE2 security checks.
840 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
841 RES_INSECURE2 handling.
842
843 2019-04-08 Florian Weimer <fweimer@redhat.com>
844
845 resolv: Remove support for RES_USE_INET6 and the inet6 option.
846 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
847 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
848 GETHOSTBYNAME.
849 * resolv/Makefile (tests): Remove tst-res_use_inet6.
850 (tests-internal): Update justification for tst-resolv-res_init,
851 tst-resolv-res_init-thread.
852 (tst-res_use_inet6): Remove target.
853 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
854 * resolv/res_debug.c (p_option): Remove "inet6" support.
855 * resolv/res_init.c (res_setoptions): Likewise.
856 * resolv/res_use_inet6.h: Remove file.
857 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
858 definition.
859 (res_use_inet6): Always return false.
860 * resolv/resolv.h (RES_USE_INET6): Remove definition.
861 * resolv/resolv_context.h: Adjust file comment.
862 (struct resolv_context): Update comment on __next field.
863 (__resolv_context_put): Update comment.
864 * resolv/tst-res_use_inet6.c: Remove file.
865 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
866 "inet6" support.
867 (test_cases): Adjust test case.
868 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
869 (thread_byname2_af_inet6): Use old byname_inet6 code.
870 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
871 (gai): Remove do_inet6 argument.
872 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
873 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
874 (thread_gai_unspec_inet6): Remove functions.
875 (do_test): Adjust thread_funcs.
876 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
877 RES_USE_INET6 flag.
878 (gaih_inet): Do not disable RES_USE_INET6 flag.
879
880 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
881
882 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
883 and remove redundant code.
884
885 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
886
887 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
888 New rule.
889 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
890 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
891 Likewise.
892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
893 Likewise.
894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
895 Likewise.
896 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
897 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
898 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
899 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
900 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
901 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
903 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
904 wcsrchr-power7.
905 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
908 Remove wcsrchr optimizations.
909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
910
911 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
912 the loop unroll.
913
914 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
915 New rule.
916 * sysdeps/powerpc/power6/wcschr.c: Remove file.
917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
918 Likewise.
919 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
920 Likewise.
921 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
922 Likewise.
923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
924 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
925 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
926 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
927 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
928 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
930 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
931 wcschr-power7.
932 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
933 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
935 Remove wcschr optimizations.
936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
937
938 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
939 the loop unroll.
940
941 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
942 New rule.
943 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
945 Likewise.
946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
947 Likewise.
948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
949 Likewise.
950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
951 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
952 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
953 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
954 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
955 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
957 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
958 wcscpy-power7.
959 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
962 Remove wcscpy optimizations.
963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
964
965 * include/loop_unroll.h: New file.
966 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
967 besides generic implementation.
968
969 2019-04-03 DJ Delorie <dj@redhat.com>
970
971 * time/tst-strftime3.c (tm_to_printed): Disable warning about
972 snprintf truncating output.
973
974 2019-04-02 DJ Delorie <dj@redhat.com>
975
976 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
977 warning.
978
979 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
980
981 [BZ #22964]
982 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
983 era.
984 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
985 (mkreftable): Add rules for the new Japanese era and the new dates.
986
987 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
988 Rafal Luzynski <digitalfreak@lingonborough.com>
989
990 * time/tst-strftime2.c (date_t): Explicitly define the type.
991 (dates): Use natural month and year numbers to express a date.
992 (is_before): New function to compare dates.
993 (mkreftable): Minor improvements to simplify maintenance.
994 (do_test): Reflect the changes in dates array.
995
996 [BZ #24293]
997 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
998 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
999 * time/tst-strftime2.c (locales): Likewise.
1000 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1001 2010-04-01, and 2011-04-01.
1002 (mkreftable): Add rules for the new locales and the new dates.
1003
1004 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1005
1006 * localedata/locales/ja_JP: Add comments to era entries.
1007
1008 2019-04-01 DJ Delorie <dj@redhat.com>
1009
1010 [BZ #24394]
1011 * time/strptime_l.c (%Ey): Fix fencepost error.
1012 * time/tst-strftime3.c: New.
1013 * time/Makefile (tests): Add tst-strftime3.
1014
1015 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1016
1017 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1018 conditional branch to DIVBYZERO. Fix unwind info.
1019 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1020 excb after conditional branch to $powerof2. Add missing unop
1021 instructions and .align directives and reorder instructions to
1022 match __divqu.
1023
1024 2019-04-01 Richard Henderson <rth@twiddle.net>
1025
1026 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1027 Do not redefine.
1028 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1029 Do not redefine.
1030
1031 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1032
1033 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1034 $libc_cv_riscv_float_abi in `test' invocation.
1035 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1036
1037 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1038
1039 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1040 asm with builtin.
1041 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1042 Likewise.
1043 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1044 (_GET_SI_FPSCR): Likewise.
1045 (_SET_SI_FPSCR): Likewise.
1046
1047 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1048
1049 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1050 clang 2.8.
1051 (signbit): Use builtin for clang 3.3.
1052 (isinf): Use builtin for clang 3.7.
1053
1054 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1055
1056 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1057
1058 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1059
1060 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1061 quote in printf.
1062
1063 2019-03-25 Mike Crowe <mac@mcrowe.com>
1064
1065 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1066 pthread_rwlock_timedrdlock with calls to
1067 pthread_rwlock_timedwrlock to ensure that the latter is tested
1068 too. Use new function name in diagnostic messages too.
1069
1070 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1071 (do_test) Use libsupport test macros rather than hand-coded
1072 conditionals and error messages. Ensure that sem_init returns zero
1073 rather than not -1. Use <support/test-driver.c> rather than
1074 test-skeleton.c.
1075
1076 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1077 test macros rather than hand-coded conditionals and error messages.
1078 Use <support/test-driver.c> rather than test-skeleton.c.
1079
1080 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1081
1082 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1083
1084 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1085 (NT_MIPS_MSA): Likewise.
1086
1087 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1088
1089 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1090 * benchtests/README: Update description.
1091 * benchtests/bench-timing.h: Default to hp-timing.
1092 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1093 HP_TIMING_PRINT): Remove.
1094 (HP_TIMING_NOW): Add generic implementation.
1095 (hp_timing_t): Change to uint64_t.
1096
1097 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1098 HP_TIMING_INLINE.
1099 * nptl/descr.h: Likewise.
1100 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1101 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1102 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1103 Abstract hp-timing usage with RTLD_* macros.
1104 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1105 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1106 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1107 HP_TIMING_NONAVAIL): Likewise.
1108 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1109 Likewise.
1110 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1111 HP_SMALL_TIMING_AVAIL): Likewise.
1112 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1113 HP_SMALL_TIMING_AVAIL): Likewise.
1114 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1115 HP_SMALL_TIMING_AVAIL): Likewise.
1116 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1117 HP_SMALL_TIMING_AVAIL): Likewise.
1118 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1119 Likewise.
1120 * sysdeps/generic/hp-timing-common.h: Update comment with
1121 HP_TIMING_AVAIL removal.
1122
1123 * include/random-bits.h: New file.
1124 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1125 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1126 random_bits.
1127 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1128 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1129 Likewise.
1130
1131 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1132 * rt/Makefile (clock-routines): Remove get_clockfreq.
1133 * rt/get_clockfreq.c: Remove file.
1134 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1135 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1136 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1137 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1138 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1139
1140 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1141 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1142 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1143 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1144 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1145
1146 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1147 pthread_clock_settime.
1148 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1149 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1150 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1151 * elf/rtld.c (_dl_start_final): Likewise.
1152 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1153 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1154 Remove.
1155 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1156 (_dl_cpuclock_offset): Remove.
1157 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1158 cpuclock_offset_ununsed.
1159 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1160 cpuclock_offset set.
1161 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1162 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1163 * nptl/pthread_clock_gettime.c: Remove file.
1164 * nptl/pthread_clock_settime.c: Likewise.
1165 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1166 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1167 and CLOCK_PROCESS_CPUTIME_ID support.
1168 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1169 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1170 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1171 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1172 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1173 Likewise.
1174 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1175
1176 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1177
1178 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1179 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1180 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1181 New defines.
1182 * sysdeps/s390/memmem-arch13.S: New file.
1183 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1184 if it is only used as fallback.
1185 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1186 * sysdeps/s390/multiarch/ifunc-impl-list.c
1187 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1188
1189 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1190
1191 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1192 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1193 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1194 New defines.
1195 * sysdeps/s390/multiarch/ifunc-impl-list.c
1196 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1197 * sysdeps/s390/strstr-arch13.S: New file.
1198 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1199 if it is only used as fallback.
1200 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1201
1202 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1203
1204 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1205 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1206 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1207 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1208 ifunc selector.
1209 * sysdeps/s390/multiarch/ifunc-impl-list.c
1210 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1211 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1212 S390_IS_ARCH13_MIE3): New defines.
1213
1214 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1215
1216 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1217 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1218 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1219 * sysdeps/s390/configure: Regenerated.
1220
1221 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1222
1223 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1224 Add vxe2, vxp, dflt, sort flags.
1225 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1226 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1227 capabilities.
1228 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1229 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1230 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1231 HWCAP_S390_DFLT): Define.
1232
1233 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1234
1235 [BZ #24372]
1236 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1237 of compiler warning.
1238 * locale/programs/ld-collate.c (collate_output): Likewise.
1239
1240 2019-03-21 DJ Delorie <dj@redhat.com>
1241
1242 [BZ #24372]
1243 * iconv/iconvconfig.c (write_output): Replace floating point math
1244 with integer math to avoid imprecise results.
1245 * locale/programs/ld-collate.c (collate_output): Likewise.
1246
1247 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1248
1249 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1250 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1251
1252 2019-03-20 mansayk <6688000@gmail.com>
1253
1254 [BZ #24296]
1255 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1256 (abday): Likewise, but remove the trailing dots.
1257
1258 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1259
1260 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1261 macro.
1262 (HWCAP_PACA): Likewise.
1263 (HWCAP_PACG): Likewise.
1264 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1265 Increase to 32.
1266 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1267
1268 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1269
1270 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1271 should be handled.
1272
1273 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1274
1275 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1276 version to 5.0.
1277 (old_getpagesize): New syscall.
1278
1279 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1280
1281 [BZ #24293]
1282 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1283 * localedata/locales/cmn_TW (era): Likewise.
1284 * localedata/locales/hak_TW (era): Likewise.
1285 * localedata/locales/lzh_TW (era): Likewise.
1286 * localedata/locales/nan_TW (era): Likewise.
1287
1288 2019-03-14 Florian Weimer <fweimer@redhat.com>
1289
1290 Remove obsolete, never-implemented XSI STREAMS declarations.
1291 * manual/terminal.texi (Allocation): Remove portability note and
1292 adjust example.
1293 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1294 _SC_STREAMS.
1295 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1296 * sysdeps/unix/inet/Subdirs (streams): Remove.
1297 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1298 (conformtest-headers-UNIX98): Likewise.
1299 (conformtest-headers-XOPEN2K): Likewise.
1300 (conformtest-headers-POSIX2008): Likewise.
1301 * posix/compat-streams.c: New file.
1302 * posix/Makefile (routines): Add it.
1303 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1304 getpmsg, isastream, putmsg, putpmsg.
1305 (GLIBC_2.30): New section.
1306 * bits/stropts.h: Remove file.
1307 * bits/xtitypes.h: Likewise.
1308 * conform/data/stropts.h-data: Likewise.
1309 * include/stropts.h: Likewise.
1310 * include/sys/stropts.h: Likewise.
1311 * include/xtitypes.h: Likewise.
1312 * streams/Makefile: Likewise.
1313 * streams/fattach.c: Likewise.
1314 * streams/fdetach.c: Likewise.
1315 * streams/getmsg.c: Likewise.
1316 * streams/getpmsg.c: Likewise.
1317 * streams/isastream.c: Likewise.
1318 * streams/putmsg.c: Likewise.
1319 * streams/putpmsg.c: Likewise.
1320 * streams/stropts.h: Likewise.
1321 * streams/sys/stropts.h: Likewise.
1322 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1323 * sysdeps/s390/bits/xtitypes.h: Likewise.
1324 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1325 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1326 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1327 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1328 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1329 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1330 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1331 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1332 * sysdeps/x86/bits/xtitypes.h: Likewise.
1333
1334 2019-03-14 Florian Weimer <fweimer@redhat.com>
1335
1336 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1337 libnss_files.
1338 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1339 but not with libnss_files.
1340 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1341
1342 2019-03-14 Zack Weinberg <zackw@panix.com>
1343
1344 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1345 Specify encoding="utf-8" when opening headers to check.
1346
1347 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1348
1349 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1350 version to 5.0.
1351 (Context.checkout_tar): Handle variable major version for Linux
1352 kernel.
1353
1354 2019-03-13 Florian Weimer <fweimer@redhat.com>
1355
1356 [BZ #24047]
1357 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1358
1359 2019-03-13 Zack Weinberg <zackw@panix.com>
1360
1361 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1362 Move to stdlib.
1363 * include/inttypes.h: Adjust to match.
1364 * include/stdint.h: New wrapper.
1365
1366 2019-03-13 Zack Weinberg <zackw@panix.com>
1367
1368 * scripts/check-obsolete-constructs.py: New test script.
1369 * scripts/check-installed-headers.sh: Remove tests for
1370 obsolete typedefs, superseded by check-obsolete-constructs.py.
1371 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1372 as a special test. Update commentary.
1373 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1374 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1375 Update commentary.
1376 * posix/sys/types.h (__u_intN_t): Remove.
1377 (u_int8_t): Typedef using __uint8_t.
1378 (u_int16_t): Typedef using __uint16_t.
1379 (u_int32_t): Typedef using __uint32_t.
1380 (u_int64_t): Typedef using __uint64_t.
1381
1382 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1383
1384 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1385 call _dl_procinfo.
1386 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1387 Ignore types other than AT_HWCAP.
1388 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1389 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1390 Likewise.
1391 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1392 in the case of falling back to generic output mechanism.
1393 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1394 Likewise.
1395
1396 2019-03-12 Florian Weimer <fweimer@redhat.com>
1397
1398 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1399
1400 2019-03-12 Florian Weimer <fweimer@redhat.com>
1401
1402 [BZ #24047]
1403 resolv: Enable full ICMP errors for UDP DNS sockets
1404 * resolv/res_enable_icmp.c: New file.
1405 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1406 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1407 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1408 socket.
1409
1410 2019-03-11 Mao Han <han_mao@c-sky.com>
1411
1412 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1413 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1414
1415 2019-03-11 Mao Han <han_mao@c-sky.com>
1416
1417 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1418 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1419 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1420
1421 2019-03-11 Mao Han <han_mao@c-sky.com>
1422
1423 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1424 directly.
1425 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1426 definition.
1427
1428 2019-03-11 Mao Han <han_mao@c-sky.com>
1429
1430 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1431 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1432 in mcontext_t
1433
1434 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1435
1436 [BZ #24307]
1437 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1438 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1439 Unicode 12.0.0.
1440 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1441 * localedata/unicode-gen/PropList.txt: Likewise.
1442 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1443 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1444 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1445 * localedata/charmaps/UTF-8: Regenerate.
1446 * localedata/locales/i18n_ctype: Likewise.
1447 * localedata/locales/tr_TR: Likewise.
1448 * localedata/locales/translit_circle: Likewise.
1449 * localedata/locales/translit_cjk_compat: Likewise.
1450 * localedata/locales/translit_combining: Likewise.
1451 * localedata/locales/translit_compat: Likewise.
1452 * localedata/locales/translit_font: Likewise.
1453 * localedata/locales/translit_fraction: Likewise.
1454
1455 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1456
1457 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1458 than after operators.
1459 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1460 (setitimer_locked): Likewise.
1461 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1462 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1463 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1464 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1465 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1466 (PPC_CPU_SUPPORTED): Likewise.
1467 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1468 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1469 (stat_overflow): Likewise.
1470 (statfs_overflow): Likewise.
1471 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1472 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1473 (eq_ttyname_r): Likewise.
1474 (run_chroot_tests): Likewise.
1475
1476 2019-03-07 Florian Weimer <fweimer@redhat.com>
1477
1478 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1479 header check.
1480
1481 2019-03-07 Martin Liska <mliska@suse.cz>
1482
1483 * math/Makefile: Change location where math-vector-fortran.h is
1484 installed.
1485 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1486 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1487 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1488 * scripts/check-installed-headers.sh: Skip Fortran header files.
1489 * scripts/check-wrapper-headers.py: Likewise.
1490
1491 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1492
1493 * nptl/nptl-init.c (__have_futex_clock_realtime,
1494 __have_futex_clock_realtime): Remove definition.
1495 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1496 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1497 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1498 __ASSUME_FUTEX_CLOCK_REALTIME support.
1499 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1500 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1501 * sysdeps/unix/sysv/linux/kernel-features.h
1502 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1503 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1504 Adjust comment.
1505
1506 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1507
1508 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1509 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1510 __GI___wcscpy and wcscpy.
1511
1512 2019-03-04 Florian Weimer <fweimer@redhat.com>
1513
1514 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1515 declaration.
1516 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1517 defined.
1518
1519 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1520
1521 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1522 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1523
1524 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1525
1526 [BZ #24162]
1527 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1528 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1529
1530 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1531
1532 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1533 tests.
1534 (do_test): Likewise.
1535 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1536 (do_test_call_varg): Likewise.
1537 (do_test_call_rarg): Likewise.
1538 * sysdeps/ieee754/ldbl-opt/Makefile
1539 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1540 tst-nldbl-error.
1541 ($(objpfx)tst-nldbl-warn.c): New rule.
1542 ($(objpfx)tst-nldbl-error.c): Likewise.
1543 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1544 New variables.
1545
1546 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1547
1548 [BZ #23984]
1549 * include/bits/error-ldbl.h: New file.
1550 * include/error.h: Include stdarg.h. Declare internal functions
1551 __error_internal and __error_at_line_internal.
1552 * misc/Makefile (headers): Add bits/error-ldbl.h.
1553 * misc/bits/error-ldbl.h: New file.
1554 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1555 avoid the inclusion of bits/error.h.
1556 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1557 and __nldbl_error_at_line.
1558 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1559 (__nldbl_error, __ndlbl_error_at_line): New functions.
1560 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1561 Redirect error and error_at_line.
1562 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1564 Likewise.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1566 Likewise.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1568 Likewise.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1570 Likewise.
1571 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1572 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1573 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1574
1575 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1576
1577 [BZ #23984]
1578 * include/bits/err-ldbl.h: New file.
1579 * include/err.h: Add prototypes for the internal functions:
1580 __vwarnx_internal and __vwarn_internal.
1581 * misc/Makefile (headers): Add bits/err-ldbl.h.
1582 * misc/bits/err-ldbl.h: New file.
1583 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1584 defined, i.e.: when -mlong-double-64 is in use.
1585 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1586 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1587 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1588 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1589 (VA_CALL): New macro.
1590 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1591 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1592 functions.
1593 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1594 declare prototypes for the new functions.
1595 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1597 Likewise.
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1599 Likewise.
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1601 Likewise.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1603 Likewise.
1604 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1605 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1606 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1607
1608 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1609
1610 * sysdeps/ieee754/ldbl-opt/Makefile
1611 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1612 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1613 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1614
1615 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1616
1617 [BZ #23983]
1618 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1619 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1620 * argp/bits/argp-ldbl.h: New file.
1621 * include/argp.h: Include stdarg.h. Add prototypes for internal
1622 functions: __argp_error_internal and __argp_failure_internal.
1623 * include/bits/argp-ldbl.h: New file.
1624 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1625 __nldbl_argp_error and __nldbl_argp_failure.
1626 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1627 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1629 Redirect argp_error and argp_failure calls.
1630 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1632 Likewise.
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1634 Likewise.
1635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1636 Likewise.
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1638 Likewise.
1639 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1640 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1641 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1642
1643 2019-03-01 Florian Weimer <fweimer@redhat.com>
1644
1645 [BZ #20419]
1646 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1647 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1648 code, to avoid creating an ABI tag note.
1649 (modules-names-nobuild): Add tst-big-note-lib.
1650
1651 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1652
1653 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1654 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1655
1656 2019-03-01 Florian Weimer <fweimer@redhat.com>
1657
1658 [BZ #20271]
1659 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1660 (__netlink_assert_response): Add additional missing newlines.
1661
1662 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1663
1664 * sysdeps/powerpc/powerpc32/dl-machine.c
1665 (__elf_machine_fixup_plt): Use space before '('.
1666 (__process_machine_rela): Likewise.
1667 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1668 Likewise.
1669 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1670 Likewise.
1671 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1672 Likewise.
1673 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1674 (pattern): Likewise.
1675 (delta): Likewise.
1676 (check_result): Likewise.
1677 (check_excepts): Likewise.
1678 (check_op): Likewise.
1679 (fail_xr): Likewise.
1680 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1681 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1682 (SCNHSZ): Likewise.
1683 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1684 Likewise.
1685 (ARGS): Likewise.
1686 (__makecontext): Likewise.
1687 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1688 Likewise.
1689
1690 2019-02-28 Florian Weimer <fweimer@redhat.com>
1691
1692 [BZ #23937]
1693 elf: Add test with a local IFUNC resolver.
1694 * elf/ifuncmain9.c: New file.
1695 * elf/ifuncmain9pic.c: Likewise.
1696 * elf/ifuncmain9picstatic.c: Likewise.
1697 * elf/ifuncmain9pie.c: Likewise.
1698 * elf/ifuncmain9static.c: Likewise.
1699 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1700 ifuncmain9static, ifuncmain9picstatic.
1701 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1702 Add ifuncmain9, ifuncmain9pic.
1703 * elf/Makefile [multi-arch && build-shared && have-fpie]
1704 (ifunc-pie-tests): Add ifuncmain9pie.
1705 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1706 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1707 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1708
1709 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1710
1711 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1712 * configure: Regenerated.
1713 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1714
1715 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1716
1717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1718 symbol as __wcspcy instead of wcscpy.
1719
1720 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1721
1722 * include/stdio.h (__renameat2): New hidden prototype.
1723 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1724 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1725 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1726 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1727
1728 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1729
1730 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1731 if statement.
1732
1733 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1734 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1735 * benchtests/bench-strlen.c (do_test): Likewise.
1736 (test_main): Likewise.
1737 * catgets/gencat.c (read_old): Likewise.
1738 * elf/cache.c (load_aux_cache): Likewise.
1739 * iconvdata/bug-iconv8.c (do_test): Likewise.
1740 * math/test-tgmath-ret.c (do_test): Likewise.
1741 * nis/nis_call.c (rec_dirsearch): Likewise.
1742 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1743 * nptl/tst-audit-threads.c (do_test): Likewise.
1744 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1745 * nss/nss_test1.c (init): Likewise.
1746 * nss/test-netdb.c (test_hosts): Likewise.
1747 * posix/execvpe.c (maybe_script_execute): Likewise.
1748 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1749 * stdio-common/tst-printf.c (do_test): Likewise.
1750 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1751 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1752 * stdlib/qsort.c (STACK_SIZE): Likewise.
1753 * stdlib/test-canon.c (do_test): Likewise.
1754 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1755 * string/memcmp.c (OPSIZ): Likewise.
1756 * string/test-strcpy.c (do_test): Likewise.
1757 (do_random_tests): Likewise.
1758 * string/test-strlen.c (do_test): Likewise.
1759 (test_main): Likewise.
1760 * string/test-strrchr.c (do_test): Likewise.
1761 (do_random_tests): Likewise.
1762 * string/tester.c (test_memrchr): Likewise.
1763 (test_memchr): Likewise.
1764 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1765 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1766 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1767 (read_encoded_value_with_base): Likewise.
1768 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1769 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1770 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1771 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1772 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1773 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1774 Likewise.
1775 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1776 Likewise.
1777 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1778 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1779 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1780 Likewise.
1781 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1782 Likewise.
1783 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1784 Likewise.
1785 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1786 Likewise.
1787 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1788 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1789 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1790 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1791 * time/test_time.c (main): Likewise.
1792
1793 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1794
1795 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1796
1797 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1798 wmemcpy.
1799
1800 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1801 wmemcpy.
1802
1803 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1804
1805 * include/wchar.h (__wcscpy): New prototype.
1806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1807 (__wcscpy): Route internal symbol to generic implementation.
1808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1809 Add internal __wcscpy alias.
1810 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1811 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1812 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1813 * wcsmbs/wcscpy.c (wcscpy): Add
1814 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1815 use generic implementation.
1816 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1817
1818 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1819 wmemset.
1820
1821 * sysdeps/m68k/wcpcpy.c: Remove file.
1822 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1823
1824 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1825
1826 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1827 than after operators.
1828 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1829 * sysdeps/mach/hurd/getcwd.c
1830 (__hurd_canonicalize_directory_name_internal): Likewise.
1831 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1832 (pthread_mutex_consistent): Likewise.
1833 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1834 Likewise.
1835 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1836 (__pthread_mutex_transfer_np): Likewise.
1837 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1838 (__pthread_mutex_unlock): Likewise.
1839 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1840 (mtx_owned_p): Likewise.
1841 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1842 (pthread_mutexattr_getrobust): Likewise.
1843 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1844 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1845 Likewise.
1846 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1847 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1848 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1849 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1850 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1852 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1853 Likewise.
1854 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1855 Likewise.
1856 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1857 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1858 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1859 (____longjmp_chk): Likewise.
1860 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1861 Likewise.
1862 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1863 (INTERNAL_SYSCALL): Likewise.
1864 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1865 (INTERNAL_SYSCALL): Likewise.
1866 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1867 (__get_clockfreq_via_cpuinfo): Likewise.
1868
1869 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1870 comments.
1871 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1872 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1873 (WORD_COPY_BWD): Likewise.
1874 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1875 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1876 Likewise.
1877 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1878 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1879 comment.
1880 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1881
1882 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1883
1884 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1885 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1886 rather than after operators.
1887 * elf/cache.c (print_cache): Likewise.
1888 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1889 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1890 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1891 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1892 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1893 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1894 (reauth_proc): Likewise.
1895 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1896 (__file_name_split_at): Likewise.
1897 (__directory_name_split_at): Likewise.
1898 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1899 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1900 * iconv/gconv_dl.c (do_print): Likewise.
1901 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1902 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1903 * locale/setlocale.c (new_composite_name): Likewise.
1904 * malloc/memusagestat.c (main): Likewise.
1905 * misc/fstab.c (fstab_convert): Likewise.
1906 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1907 Likewise.
1908 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1909 (getgrent_next_file): Likewise.
1910 (internal_getgrnam_r): Likewise.
1911 (internal_getgrgid_r): Likewise.
1912 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1913 Likewise.
1914 (internal_getgrent_r): Likewise.
1915 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1916 (getpwent_next_nss): Likewise.
1917 (getpwent_next_file): Likewise.
1918 (internal_getpwnam_r): Likewise.
1919 (internal_getpwuid_r): Likewise.
1920 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1921 Likewise.
1922 (getspent_next_nss): Likewise.
1923 (internal_getspnam_r): Likewise.
1924 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1925 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1926 * string/strchr.c (STRCHR): Likewise.
1927 * string/strchrnul.c (STRCHRNUL): Likewise.
1928 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1929 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1930 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1931 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1932 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1933 Likewise.
1934 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1935 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1936 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1937 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1938 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1939 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1940 (open_file): Likewise.
1941 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1942 (pthread_mutexattr_setprotocol): Likewise.
1943 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1944 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1945 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1946 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1947 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1948 Likewise.
1949 (elf_machine_rela): Likewise.
1950 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1951 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1952 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1953 * sysdeps/posix/rename.c (rename): Likewise.
1954 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1955 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1956 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1957 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1958 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1959 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1960 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1961 Likewise.
1962 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1963 Likewise.
1964 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1965 * time/tzfile.c (__tzfile_compute): Likewise.
1966
1967 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1968
1969 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1970 rather than after operators.
1971 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1972 * crypt/md5.c (md5_finish_ctx): Likewise.
1973 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1974 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1975 * elf/cache.c (load_aux_cache): Likewise.
1976 * elf/dl-load.c (open_verify): Likewise.
1977 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1978 * elf/readelflib.c (process_elf_file): Likewise.
1979 * elf/rtld.c (dl_main): Likewise.
1980 * elf/sprof.c (generate_call_graph): Likewise.
1981 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1982 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1983 * hurd/dtable.c (reauth_dtable): Likewise.
1984 * hurd/getdport.c (__getdport): Likewise.
1985 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1986 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1987 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1988 Likewise.
1989 * hurd/hurdioctl.c (fioctl): Likewise.
1990 * hurd/hurdselect.c (_hurd_select): Likewise.
1991 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1992 (STOPSIGS): Likewise.
1993 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1994 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1995 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1996 * hurd/msgportdemux.c (msgport_server): Likewise.
1997 * hurd/setauth.c (_hurd_setauth): Likewise.
1998 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1999 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2000 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2001 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2002 * login/tst-utmp.c (do_check): Likewise.
2003 (simulate_login): Likewise.
2004 * mach/lowlevellock.h (lll_lock): Likewise.
2005 (lll_trylock): Likewise.
2006 * math/test-fenv.c (ALL_EXC): Likewise.
2007 * math/test-fenvinline.c (ALL_EXC): Likewise.
2008 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2009 * nis/nis_call.c (__do_niscall3): Likewise.
2010 * nis/nis_callback.c (cb_prog_1): Likewise.
2011 * nis/nis_defaults.c (searchaccess): Likewise.
2012 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2013 * nis/nis_ismember.c (internal_ismember): Likewise.
2014 * nis/nis_local_names.c (nis_local_principal): Likewise.
2015 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2016 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2017 Likewise.
2018 * nis/ypclnt.c (yp_match): Likewise.
2019 (yp_first): Likewise.
2020 (yp_next): Likewise.
2021 (yp_master): Likewise.
2022 (yp_order): Likewise.
2023 * nscd/hstcache.c (cache_addhst): Likewise.
2024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2025 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2026 (internal_getpwuid_r): Likewise.
2027 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2028 * posix/glob.h (__GLOB_FLAGS): Likewise.
2029 * posix/regcomp.c (peek_token): Likewise.
2030 (peek_token_bracket): Likewise.
2031 (parse_expression): Likewise.
2032 * posix/regexec.c (sift_states_iter_mb): Likewise.
2033 (check_node_accept_bytes): Likewise.
2034 * posix/tst-spawn3.c (do_test): Likewise.
2035 * posix/wordexp-test.c (testit): Likewise.
2036 * posix/wordexp.c (parse_tilde): Likewise.
2037 (exec_comm): Likewise.
2038 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2039 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2040 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2041 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2042 * stdio-common/tst-fileno.c (do_test): Likewise.
2043 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2044 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2045 * stdlib/strtod_l.c (round_and_return): Likewise.
2046 (____STRTOF_INTERNAL): Likewise.
2047 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2048 * string/strcspn.c (STRCSPN): Likewise.
2049 * string/test-memmem.c (simple_memmem): Likewise.
2050 * termios/tcsetattr.c (tcsetattr): Likewise.
2051 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2052 * time/asctime.c (asctime_internal): Likewise.
2053 * time/strptime_l.c (__strptime_internal): Likewise.
2054 * time/sys/time.h (timercmp): Likewise.
2055 * time/tzfile.c (__tzfile_compute): Likewise.
2056
2057 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2058
2059 [BZ #21915]
2060 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2061
2062 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2063
2064 * argp/argp-help.c (__argp_error_internal): New function,
2065 renamed from __argp_error, but that takes a 'mode_flags'
2066 parameter to control the format of long double parameters.
2067 (__argp_error): Converted into a call __argp_error_internal.
2068 (__argp_failure_internal): New function, renamed from
2069 __argp_failure, but that takes a 'mode_flags' parameter.
2070 (__argp_failure): Converted into a call __argp_failure_internal.
2071 * misc/err.c (__vwarnx_internal): New function, renamed from
2072 vwarnx, but that takes a 'mode_flags' parameter.
2073 (vwarnx): Converted into a call to __vwarnx_internal.
2074 (__vwarn_internal): New function, renamed from vwarn, but that
2075 takes a 'mode_flags' parameter.
2076 (vwarn): Converted into a call to __vwarn_internal.
2077 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2078 call to __vfxprintf with 'mode_flags'.
2079 (__error_internal): New function, renamed from error, but that
2080 takes a 'mode_flags' parameter.
2081 (error): Converted into a call to __error_internal.
2082 (__error_at_line_internal): New function, renamed from
2083 error_at_line, but that takes a 'mode_flags' parameter.
2084 (error_at_line): Converted into a call to
2085 __error_at_line_internal.
2086 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2087 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2088 Likewise.
2089
2090 2019-02-20 Martin Liska <mliska@suse.cz>
2091
2092 * math/Makefile: Install math-vector-fortran.h.
2093 * bits/math-vector-fortran.h: New file.
2094 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2095
2096 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2097
2098 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2099 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2100
2101 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2102
2103 * nptl/pthread_mutex_trylock.c: Fix comment.
2104
2105 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2106
2107 * nptl/pthread_tryjoin.c: Fix comment.
2108
2109 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2110
2111 [BZ #24231]
2112 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2113 after R_SPARC_H34 case.
2114
2115 2019-02-18 Florian Weimer <fweimer@redhat.com>
2116
2117 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2118 (getanswer): Do not call Dprintf.
2119 (res_gethostbyname2_context): Likewise.
2120 (res_gethostbyaddr_context): Likewise.
2121
2122 2019-02-18 Florian Weimer <fweimer@redhat.com>
2123
2124 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2125 declaration.
2126 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2127 Remove definitions.
2128 * libio/stdfiles.c: Update comment.
2129 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2130 set _IO_stdin, _IO_stdout, _IO_stderr.
2131 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2132 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2133 inline function.
2134 (_IO_deallocate_file): New inline function.
2135 * libio/iolibio.h (_IO_vprintf): Remove definition.
2136 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2137 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2138 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2139 _IO_legacy_file.
2140 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2141 __builtin_expect. Use _IO_legacy_file.
2142
2143 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2144
2145 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2146 Initialize ctid with a known value and remove update of ctid
2147 after clone.
2148 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2149 as assumed current value of ctid_ptr.
2150
2151 2019-02-16 Florian Weimer <fweimer@redhat.com>
2152
2153 Check that non-sysdeps headers have wrapper headers.
2154 * scripts/check-wrapper-headers.py: New file.
2155 * Makefile (tests-special): Add check-wrapper-headers.out.
2156 (check-wrapper-headers.out): New target.
2157 * Rules (tests-special): Add check-wrapper-headers.out.
2158 (check-wrapper-headers.out): New target.
2159
2160 2019-02-16 Florian Weimer <fweimer@redhat.com>
2161
2162 Add missing header wrappers under include/.
2163 * include/ar.h: New file.
2164 * include/bits/mqueue2.h: Likewise.
2165 * include/bits/stdio.h: Likewise.
2166 * include/bits/stdio2.h: Likewise.
2167 * include/fstab.h: Likewise.
2168 * include/fts.h: Likewise.
2169 * include/lastlog.h: Likewise.
2170 * include/netinet/icmp6.h: Likewise.
2171 * include/netinet/igmp.h: Likewise.
2172 * include/netinet/ip6.h: Likewise.
2173 * include/re_comp.h: Likewise.
2174 * include/regexp.h: Likewise.
2175 * include/rpcsvc/bootparam.h: Likewise.
2176 * include/rpcsvc/yp_prot.h: Likewise.
2177 * include/sys/random.h: Likewise.
2178 * include/sys/stropts.h: Likewise.
2179 * include/sys/ttychars.h: Likewise.
2180 * include/sys/vfs.h: Likewise.
2181 * include/wait.h: Likewise.
2182
2183 2019-02-16 Florian Weimer <fweimer@redhat.com>
2184
2185 * nptl_db/proc_service.h: Move to ...
2186 * sysdeps/nptl/proc_service.h: ... here.
2187 * nptl_db/thread_db.h: Move to ...
2188 * sysdeps/nptl/thread_db.h: ... here.
2189 * nptl/descr.h: Include <thread_db.h>.
2190
2191 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2192
2193 * io/Makefile (tests): Add tst-lockf.
2194 * io/lockf.c (lockf): Use __fcntl and only define for
2195 !__OFF_T_MATCHES_OFF64_T.
2196 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2197 __OFF_T_MATCHES_OFF64_T case.
2198 * io/tst-lockf.c: New file.
2199 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2200 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2201 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2202 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2203 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2205 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2206 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2207 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2208
2209 2019-02-15 Florian Weimer <fweimer@redhat.com>
2210
2211 [BZ #24211]
2212 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2213 pd->result after the thread descriptor has been freed.
2214
2215 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2216
2217 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2218 from function return type.
2219
2220 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2221
2222 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2223
2224 * scripts/test_printers_common.py: Set TERM to a known harmless
2225 value.
2226
2227 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2228
2229 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2230 (xdr_u_int): Likewise.
2231 (xdr_enum): Likewise.
2232 (xdr_bytes): Reword fall-through comment.
2233 (xdr_string): Likewise.
2234
2235 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2236
2237 [BZ #2421]
2238 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2239 (tests): Add tst-join8 tst-join9.
2240 * nptl/lll_timedwait_tid.c: Remove file.
2241 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2242 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2243 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2244 * nptl/pthread_join_common.c (timedwait_tid): New function.
2245 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2246 is set.
2247 * nptl/tst-join5.c (thread_join): New function.
2248 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2249 check.
2250 * nptl/tst-join8.c: New file.
2251 * nptl/tst-join9.c: Likewise.
2252 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2253 lll_futex_timed_wait_cancel): Add generic macros.
2254 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2255 Remove definitions.
2256 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2257 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2258 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2259 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2260 Remove function.
2261 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2262 Likewise.
2263 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2264 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2265 (lll_futex_timed_wait_cancel): New macro.
2266
2267 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2268
2269 * benchtests/Makefile: Add malloc-simple benchmark.
2270 * benchtests/bench-malloc-simple.c: New benchmark.
2271
2272 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2273
2274 * benchtests/bench-memmove.c (do_one_test): Remove unused
2275 ORIG_SRC.
2276 (do_test): Adjust.
2277 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2278 ORIG_SRC.
2279 (do_test): Adjust.
2280
2281 2019-01-13 Jim Wilson <jimw@sifive.com>
2282
2283 [BZ #24040]
2284 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2285 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2286 (func): New.
2287 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2288 call func directly.
2289 * nptl/Makefile (tests): Add tst-unwind-thread.
2290 (CFLAGS-tst-unwind-thread.c): Define.
2291 * nptl/tst-unwind-thread.c: New file.
2292 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2293 as undefined.
2294
2295 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2296
2297 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2298 comment wording.
2299 * nis/nis_call.c (__do_niscall3): Likewise.
2300
2301 * catgets/gencat.c (normalize_line): Use braces around empty
2302 'else' body.
2303 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2304 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2305 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2306 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2307 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2308 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2309 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2310 definition.
2311
2312 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2313 execlp returns.
2314
2315 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2316
2317 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2318 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2319 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2320 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2321 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2322 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2323 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2324 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2325 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2326 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2327 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2328 * benchtests/bench-bcopy.c: Delete file.
2329 * benchtests/bench-bzero.c: Likewise.
2330 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2331 (simple_memccpy): Remove.
2332 (generic_memccpy): Add function.
2333 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2334 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2335 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2336 (generic_mempcpy): Add new function.
2337 * benchtests/bench-memset.c (simple_bzero): Remove.
2338 (builtin_bzero): Remove.
2339 (builtin_memset): Remove.
2340 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2341 (generic_rawmemchr): Add new function.
2342
2343 2019-02-12 Florian Weimer <fweimer@redhat.com>
2344
2345 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2346
2347 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2348
2349 [BZ #24122]
2350 * elf/Makefile (tests): Add tst-audit13.
2351 (modules-names): Add tst-audit13mod1.
2352 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2353 rule.
2354 * elf/tst-audit13.c: New file.
2355 * elf/tst-audit13mod1.c: Likewise.
2356
2357 2019-02-12 Florian Weimer <fweimer@redhat.com>
2358
2359 [BZ #24122]
2360 * elf/rtld.c (unload_audit_module): New function.
2361 (report_audit_module_load_error): Likewise.
2362 (load_audit_module): Likewise. Extracted from dl_main. Call
2363 _dl_close if the laversion symbol cannot be found. Use early
2364 returns for error handling. Add malloc error check. Check for a
2365 zero return value from la_version. Remove spurious comment about
2366 static TLS initialization. Remove useless casts.
2367 (notify_audit_modules_of_loaded_object): New function. Extracted
2368 from dl_main.
2369 (load_audit_module): Likewise.
2370 (dl_main): Call load_audit_modules.
2371
2372 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2373
2374 * elf/dl-exception.c (_dl_exception_create_format): Add
2375 fall-through comments.
2376 * elf/ldconfig.c (parse_conf_include): Likewise.
2377 * elf/rtld.c (print_statistics): Likewise.
2378 * locale/programs/charmap.c (parse_charmap): Likewise.
2379 * misc/mntent_r.c (__getmntent_r): Likewise.
2380 * posix/wordexp.c (parse_arith): Likewise.
2381 (parse_backtick): Likewise.
2382 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2383 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2384 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2385
2386 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2387
2388 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2389 Use float instead of double.
2390
2391 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2392
2393 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2394
2395 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2396
2397 * sysdeps/powerpc/bits/mathinline.h: Remove.
2398
2399 2019-02-08 Florian Weimer <fweimer@redhat.com>
2400
2401 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2402 * math/bits/math-finite.h: Move to ...
2403 * bits/math-finite.h: ... here.
2404
2405 2019-02-08 Florian Weimer <fweimer@redhat.com>
2406
2407 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2408 * bits/unistd_ext.h: here.
2409
2410 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2411
2412 [BZ #21915]
2413 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2414 * nss/tst-nss-files-hosts-long.c: New file.
2415 * nss/tst-nss-files-hosts-long.root: New directory.
2416 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2417 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2418
2419 2019-02-08 Florian Weimer <fweimer@redhat.com>
2420
2421 * include/bits/unistd_ext.h: Remove file.
2422 * posix/bits/unistd_ext.h: Move to ...
2423 * sysdeps/generic/bits/unistd_ext.h: ... here.
2424
2425 2019-02-08 Florian Weimer <fweimer@redhat.com>
2426
2427 * include/bits/unistd_ext.h: New file.
2428
2429 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2430
2431 * time/tst-strftime2.c: Use array_length macros instead of magic
2432 numbers.
2433
2434 2019-02-08 Florian Weimer <fweimer@redhat.com>
2435
2436 [BZ #24161]
2437 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2438 argument.
2439 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2440 locking if the new do_locking argument is true.
2441 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2442 __run_fork_handlers.
2443
2444 2019-02-08 Florian Weimer <fweimer@redhat.com>
2445
2446 [BZ #6399]
2447 Linux: Add gettid system call wrapper.
2448 * posix/Makefile (headers): Add bits/unistd_ext.h.
2449 * posix/bits/unistd_ext.h: New file.
2450 * posix/unistd.h: Include it.
2451 * manual/process.texi (Process Identification): Document gettid.
2452 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2453 tst-gettid, tst-gettid-kill.
2454 (tst-gettid): Link with $(shared-thread-library).
2455 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2456 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2457 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2458 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2459 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2460 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2461 Add gettid.
2462 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2463 Likewise.
2464 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2465 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2466 Likewise.
2467 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2468 Likewise.
2469 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2470 Likewise.
2471 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2472 Likewise.
2473 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2474 Likewise.
2475 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2476 Likewise.
2477 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2478 Likewise.
2479 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2480 (GLIBC_2.30): Likewise.
2481 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2482 (GLIBC_2.30): Likewise.
2483 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2484 (GLIBC_2.30): Likewise.
2485 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2486 (GLIBC_2.30): Likewise.
2487 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2488 Likewise.
2489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2490 (GLIBC_2.30): Likewise.
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2492 (GLIBC_2.30): Likewise.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2494 (GLIBC_2.30): Likewise.
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2496 (GLIBC_2.30): Likewise.
2497 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2498 Likewise.
2499 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2500 Likewise.
2501 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2502 Likewise.
2503 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2504 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2505 Likewise.
2506 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2507 Likewise.
2508 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2509 Likewise.
2510 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2511 Likewise.
2512 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2513
2514 2019-02-08 Florian Weimer <fweimer@redhat.com>
2515
2516 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2517 compatibility symbols.
2518
2519 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2520
2521 [BZ #24180]
2522 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2523 Add compiler barriers and comments.
2524
2525 2019-02-07 Florian Weimer <fweimer@redhat.com>
2526
2527 * include/array_length.h (array_length): Do not use a statement
2528 expression and _Static_assert, so that array_length can be used at
2529 file scope and as a constant expression.
2530
2531 2019-02-07 Florian Weimer <fweimer@redhat.com>
2532
2533 * support/xdlfcn.h (xdlmopen): Declare.
2534 * support/xdlmopen.c: New file.
2535 * support/Makefile (libsupport-routines): Add xdlmopen.
2536
2537 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2538
2539 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2540 before return type, without separate inline.
2541 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2542 * elf/dl-tunables.h (tunable_is_name): Likewise.
2543 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2544 (do_set_top_pad): Likewise.
2545 (do_set_mmap_threshold): Likewise.
2546 (do_set_mmaps_max): Likewise.
2547 (do_set_mallopt_check): Likewise.
2548 (do_set_perturb_byte): Likewise.
2549 (do_set_arena_test): Likewise.
2550 (do_set_arena_max): Likewise.
2551 (do_set_tcache_max): Likewise.
2552 (do_set_tcache_count): Likewise.
2553 (do_set_tcache_unsorted_limit): Likewise.
2554 * nis/nis_subr.c (count_dots): Likewise.
2555 * nptl/allocatestack.c (advise_stack_range): Likewise.
2556 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2557 (do_sin): Likewise.
2558 (reduce_sincos): Likewise.
2559 (do_sincos): Likewise.
2560 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2561 (do_set_elision_enable): Likewise.
2562 (TUNABLE_CALLBACK_FNDECL): Likewise.
2563
2564 2019-02-06 Florian Weimer <fweimer@redhat.com>
2565
2566 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2567 (xdlsym): Use dlerror to detect a NULL symbol.
2568
2569 2019-02-06 Florian Weimer <fweimer@redhat.com>
2570
2571 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2572 <stap-probe.h>.
2573 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2574
2575 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2576
2577 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2578
2579 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2580
2581 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2582 __wmemcmp and weak alias to wmemcmp.
2583
2584 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2585
2586 [BZ #23403]
2587 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2588 TLS_TCB_AT_TP tls variant.
2589 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2590 Add alignment checks.
2591 * support/Makefile (libsupport-routines): Add xposix_memalign and
2592 xpthread_setstack.
2593 * support/support.h: Add xposix_memalign.
2594 * support/xthread.h: Add xpthread_attr_setstack.
2595 * support/xposix_memalign.c: New File.
2596 * support/xpthread_attr_setstack.c: Likewise.
2597
2598 2019-02-05 Florian Weimer <fweimer@redhat.com>
2599
2600 [BZ #24164]
2601 arm: Use "nr" constraint for Systemtap probes, to avoid the
2602 compiler using memory operands for constants, due to the "o"
2603 alternative in the default "nor" constraint.
2604 * include/stap-probe.h [USE_STAP_PROBE]: Include
2605 <stap-probe-machine.h>
2606 * sysdeps/generic/stap-probe-machine.h: New file.
2607 * sysdeps/arm/stap-probe-machine.h: Likewise.
2608
2609 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2610
2611 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2612 with 0, not tcache->entries[tc_idx].
2613
2614 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2615 once.
2616
2617 2019-02-04 Andreas Schwab <schwab@suse.de>
2618
2619 [BZ #16976]
2620 [BZ #17396]
2621 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2622 looking up collating elements match against (wide) character
2623 sequence instead of name. Correct alignment adjustment.
2624 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2625 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2626 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2627 (LOCALES): Add cs_CZ.ISO-8859-2.
2628 * posix/tst-fnmatch4.c: New file.
2629 * posix/tst-fnmatch5.c: New file.
2630 * include/wchar.h (__wmemcmp): Declare.
2631 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2632 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2633 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2634 * sysdeps/s390/wmemcmp.c: Likewise.
2635
2636 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2637
2638 [BZ #24155]
2639 CVE-2019-7309
2640 * NEWS: Updated for CVE-2019-7309.
2641 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2642 upper 32 bits of RDX register for x32. Use unsigned Jcc
2643 instructions, instead of signed.
2644 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2645 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2646
2647 2019-02-04 Florian Weimer <fweimer@redhat.com>
2648
2649 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2650 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2651 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2652 Likewise.
2653 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2654 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2655 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2656 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2657 Likewise.
2658 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2659 Likewise.
2660 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2661 Likewise.
2662 (posix_spawn_file_actions_addopen): Likewise.
2663 (posix_spawn_file_actions_addclose): Likewise.
2664 (posix_spawn_file_actions_adddup2): Likewise.
2665 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2666 qualifiers.
2667 (posix_spawn_file_actions_addfchdir_np): Likewise.
2668
2669 2019-02-04 David Newall <glibc@davidnewall.com>
2670
2671 elf: Implement --preload option for the dynamic linker.
2672 * elf/rtld.c (preloadarg): New variable.
2673 (handle_preload_list): Pass through “where” argument to
2674 do_preload.
2675 (dl_main): Handle "--preload" and add second call to
2676 handle_preload_list.
2677 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2678 (tst-rtld-preload-OBJS): Set variable.
2679 (tst-rtld-preload.out): New target.
2680 * elf/tst-rtld-preload.sh: New file.
2681
2682 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2683
2684 * Makefile (testrun.sh): Exit in case of incorrect argument.
2685
2686 2019-02-04 Florian Weimer <fweimer@redhat.com>
2687
2688 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2689 alignment gaps.
2690
2691 2019-02-03 Florian Weimer <fweimer@redhat.com>
2692
2693 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2694 implicit overflow checks.
2695
2696 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2697
2698 * stdlib/isomac.c: Include <unistd.h>.
2699
2700 2019-02-03 Florian Weimer <fweimer@redhat.com>
2701
2702 * include/time.h (__tzfile_default): Use int, not long int, for
2703 the GMT offsets.
2704 * time/tzfile.c (struct ttinfo): Change type of the offset member
2705 to int.
2706 (__tzfile_read): Remove useless cast.
2707 (__tzfile_default): Adjust prototype.
2708 * time/tzset.c (tz_rule): Change type of the offset member to int.
2709 (parse_offset): Change the type of the sign variable to int.
2710
2711 2019-02-03 Florian Weimer <fweimer@redhat.com>
2712
2713 [BZ #24153]
2714 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2715 * libio/getchar.c (getchar): Likewise.
2716 * libio/getchar_u.c (getchar_unlocked): Likewise.
2717 * libio/getwchar.c (getwchar): Likewise.
2718 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2719 * libio/iogets.c (_IO_gets): Likewise.
2720 * libio/vscanf.c (_IO_vscanf): Likewise.
2721 * libio/vwscanf.c (__vwscanf): Likewise.
2722 * libio/tst-bz24153.c: New file.
2723 * libio/Makefile (tests): Add it.
2724
2725 2019-02-02 Florian Weimer <fweimer@redhat.com>
2726
2727 [BZ #14829]
2728 * manual/resource.texi (Basic Scheduling Functions): Add
2729 portability note. Change process to task throughout the section.
2730 Remove incorrect comment about sched_yield as it affects
2731 tasks/threads, not entire processes.
2732 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2733 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2734
2735 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2736
2737 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2738 * configure: Regenerated.
2739 * manual/install.texi (Tools for Compilation): Update minimum GCC
2740 version.
2741 * INSTALL: Regenerated.
2742
2743 2019-02-01 Florian Weimer <fweimer@redhat.com>
2744
2745 * support/support_test_compare_string.c
2746 (support_test_compare_string): Use "string" in error message.
2747 * support/tst-test_compare_string.c (do_test): Adjust.
2748
2749 2019-02-01 Florian Weimer <fweimer@redhat.com>
2750
2751 * support/support_format_address_family.c
2752 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2753
2754 2019-02-01 Florian Weimer <fweimer@redhat.com>
2755
2756 * manual/socket.texi (Internet Address Formats): Clarify the byte
2757 order of struct sockaddr_in, struct sockaddr_in6. Document
2758 sin6_flowinfo and sin6_scope_id.
2759
2760 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2761
2762 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2763 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2764 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2765 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2766 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2767 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2768
2769 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2770
2771 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2772 [!MEMCHR](MEMCHR): Set to __memchr.
2773 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2774 Add memchr_generic and memchr_nosimd.
2775 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2776 (__libc_ifunc_impl_list): Add memchr ifuncs.
2777 * sysdeps/aarch64/multiarch/memchr.c: New file.
2778 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2779 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2780
2781 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2782
2783 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2784 Add memset_emag.
2785 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2786 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2787 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2788 Add IS_EMAG check for ifunc dispatch.
2789 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2790 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2791
2792 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2793
2794 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2795 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2796 Add emag.
2797 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2798 New macro.
2799
2800 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2801
2802 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2803
2804 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2805
2806 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2807 syscall-template file.
2808
2809 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2810 Torvald Riegel <triegel@redhat.com>
2811 Rik Prohaska <prohaska7@gmail.com>
2812
2813 [BZ# 23844]
2814 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2815 tst-rwlock-trywrlock-stall.
2816 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2817 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2818 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2819 Set __wrphase_fute to 1 only if we started the write phase.
2820 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2821 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2822 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2823 * support/xpthread_rwlock_destroy.c: New file.
2824 * support/xthread.h: Declare xpthread_rwlock_destroy.
2825
2826 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2827
2828 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2829 version to 4.0.2.
2830
2831 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2832
2833 [BZ #24051]
2834 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2835 * libio/fileops.c (_IO_new_file_underflow): Likewise
2836 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2837 * libio/putchar.c (putchar): Likewise.
2838 * libio/putchar_u.c (putchar_unlocked): Likewise.
2839 * libio/putwchar.c (putchar): Likewise.
2840 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2841 * libio/tst-bz24051.c: New test.
2842 * libio/Makefile (tests): Add tst-bz24051
2843
2844 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2845
2846 CVE-2019-9169
2847 regex: fix read overrun [BZ #24114]
2848 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2849 https://debbugs.gnu.org/34140
2850 * posix/regexec.c (proceed_next_node):
2851 Do not read past end of input buffer.
2852
2853 2019-01-31 Florian Weimer <fweimer@redhat.com>
2854
2855 [BZ #24059]
2856 * nss/nss_files/files-alias.c (get_next_alias): Handle
2857 continuation line without newline at the end.
2858 * nss/tst-nss-files-alias-truncated.c: New file.
2859 * nss/Makefile [$(build-shared)] (tests): Add
2860 tst-nss-files-alias-truncated.
2861 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2862 * support/namespace.h (struct support_chroot_configuration): Add
2863 aliases member.
2864 (struct support_chroot): Add path_aliases member.
2865 * support/support_chroot.c (support_chroot_create): Handle
2866 aliases.
2867 (support_chroot_free): Free path_aliases.
2868
2869 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2870
2871 * version.h (RELEASE): Set to "development".
2872 (VERSION): Set to "2.29.9000".
2873 * NEWS: Add section for 2.30.
2874
2875 * version.h (RELEASE): Set to "stable".
2876 (VERSION): Set to "2.29".
2877 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2878
2879 * NEWS: Add the list of bugs fixed in 2.29.
2880 * manual/contrib.texi: Update contributors list with some more
2881 names.
2882 * manual/install.texi: Update latest versions of packages
2883 tested.
2884 * INSTALL: Regenerated.
2885
2886 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2887
2888 * po/be.po: Update translations.
2889 * po/bg.po: Likewise.
2890 * po/ca.po: Likewise.
2891 * po/cs.po: Likewise.
2892 * po/da.po: Likewise.
2893 * po/de.po: Likewise.
2894 * po/el.po: Likewise.
2895 * po/eo.po: Likewise.
2896 * po/es.po: Likewise.
2897 * po/fi.po: Likewise.
2898 * po/fr.po: Likewise.
2899 * po/gl.po: Likewise.
2900 * po/hr.po: Likewise.
2901 * po/hu.po: Likewise.
2902 * po/ia.po: Likewise.
2903 * po/id.po: Likewise.
2904 * po/it.po: Likewise.
2905 * po/ja.po: Likewise.
2906 * po/ko.po: Likewise.
2907 * po/lt.po: Likewise.
2908 * po/nb.po: Likewise.
2909 * po/nl.po: Likewise.
2910 * po/pl.po: Likewise.
2911 * po/pt_BR.po: Likewise.
2912 * po/ru.po: Likewise.
2913 * po/rw.po: Likewise.
2914 * po/sk.po: Likewise.
2915 * po/sl.po: Likewise.
2916 * po/sv.po: Likewise.
2917 * po/tr.po: Likewise.
2918 * po/uk.po: Likewise.
2919 * po/vi.po: Likewise.
2920 * po/zh_CN.po: Likewise.
2921 * po/zh_TW.po: Likewise.
2922
2923 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2924
2925 [BZ #24130]
2926 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2927 of $f3 register on $y_is_neg path.
2928
2929 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2930
2931 [BZ #24110]
2932 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2933 sigaltstack.ss_flags.
2934
2935 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2936
2937 [BZ #23758]
2938 * manual/time.texi (strftime): Document "%Ey".
2939 * time/strftime_l.c (__strftime_internal): Set the default width
2940 padding with zero of "%Ey" to 2.
2941
2942 [BZ #24096]
2943 * manual/time.texi (strftime): Document "%EC" and "%EY".
2944 * time/Makefile (tests): Add tst-strftime2.
2945 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2946 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2947 override padding for "%Ey".
2948 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2949 "%Ey" in the subformat as if decorated with that flag.
2950 * time/tst-strftime2.c: New file.
2951
2952 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2953
2954 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2955 are not defined.
2956
2957 [BZ #24122]
2958 * elf/Makefile (tests): Add tst-audit13.
2959 (modules-names): Add tst-audit13mod1.
2960 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2961 rule.
2962 * elf/rtld.c (dl_main): Handle invalid audit module version.
2963 * elf/tst-audit13.c: New file.
2964 * elf/tst-audit13mod1.c: Likewise.
2965
2966 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2967
2968 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2969 returned by __hurd_at_flags.
2970 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2971 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2972 directly instead of __hurd_file_name_lookup.
2973
2974 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2975
2976 * scripts/build-many-glibcs.py (Context.checkout): Default
2977 binutils version to 2.32 branch.
2978
2979 2019-01-21 Florian Weimer <fweimer@redhat.com>
2980
2981 [BZ #20018]
2982 CVE-2016-10739
2983 resolv: Reject trailing characters in host names
2984 * include/arpa/inet.h (__inet_aton_exact): Declare.
2985 (inet_aton): Remove hidden prototype. No longer used internally.
2986 * nscd/gai.c (__inet_aton): Do not define.
2987 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2988 * nss/digits_dots.c (__inet_aton): Likewise.
2989 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2990 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2991 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2992 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2993 (tst-resolv-trailing): Likewise.
2994 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2995 libc.
2996 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2997 Make static. Add endp parameter.
2998 (__inet_aton_exact): New function.
2999 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3000 (__inet_addr): Call inet_aton_end.
3001 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3002 not just IPv6. Call __inet_aton_exact.
3003 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3004 (tests): Make const. Add additional test cases with trailing
3005 characters.
3006 (do_test): Use array_length.
3007 * resolv/tst-inet_aton_exact.c: New file.
3008 * resolv/tst-resolv-trailing.c: Likewise.
3009 * resolv/tst-resolv-nondecimal.c: Likewise.
3010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3011
3012 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 [BZ# 24097]
3015 CVE-2019-6488
3016 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3017 Clear the upper 32 bits of RSI register.
3018 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3019 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3020 and tst-size_t-wcsnlen.
3021 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3022 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3023
3024 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3025
3026 [BZ# 24097]
3027 CVE-2019-6488
3028 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3030 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3031 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3032 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3033
3034 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3035
3036 [BZ# 24097]
3037 CVE-2019-6488
3038 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3039 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3040 * sysdeps/x86_64/strcmp.S: Likewise.
3041 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3042 tst-size_t-strncmp and tst-size_t-wcsncmp.
3043 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3044 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3045 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3046
3047 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3048
3049 [BZ# 24097]
3050 CVE-2019-6488
3051 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3052 RDX_LP for length. Clear the upper 32 bits of RDX register.
3053 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3054 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3055 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3056 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3057
3058 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3059
3060 [BZ# 24097]
3061 CVE-2019-6488
3062 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3063 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3064 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3065 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3066
3067 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3068
3069 [BZ# 24097]
3070 CVE-2019-6488
3071 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3072 length. Clear the upper 32 bits of RDX register.
3073 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3074 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3075 Likewise.
3076 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3077 Likewise.
3078 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3079 tst-size_t-wmemchr.
3080 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3081
3082 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3083
3084 [BZ# 24097]
3085 CVE-2019-6488
3086 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3087 length. Clear the upper 32 bits of RDX register.
3088 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3089 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3090 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3091 tst-size_t-wmemcmp.
3092 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3093 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3094
3095 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3096
3097 [BZ# 24097]
3098 CVE-2019-6488
3099 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3100 upper 32 bits of RDX register.
3101 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3102 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3103 tst-size_t-wmemchr.
3104 * sysdeps/x86_64/x32/test-size_t.h: New file.
3105 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3106 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3107
3108 2019-01-18 Florian Weimer <fweimer@redhat.com>
3109
3110 [BZ #24112]
3111 resolv: Do not send queries for non-host-names in nss_dns.
3112 * resolv/nss_dns/dns-host.c (check_name): New function.
3113 (_nss_dns_gethostbyname2_r): Use it.
3114 (_nss_dns_gethostbyname_r): Likewise.
3115 (_nss_dns_gethostbyname4_r): Likewise.
3116
3117 2019-01-21 Florian Weimer <fweimer@redhat.com>
3118
3119 * resolv/inet_addr.c: Reformat to GNU style.
3120 (__inet_addr, __inet_aton): Update comment.
3121
3122 2019-01-18 Florian Weimer <fweimer@redhat.com>
3123
3124 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3125 ("malloc: Use current (C11-style) atomics for fastbin access").
3126 This commit introduces a substantial performance regression on
3127 POWER and Aarch64.
3128 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3129 (REMOVE_FB): Define.
3130 (_int_malloc): Use it and reindent.
3131 (_int_free): Use CAS loop with
3132 catomic_compare_and_exchange_val_rel.
3133 (malloc_consolidate): Use atomic_exchange_acq.
3134
3135
3136 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3137
3138 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3139 -Wl,-z,now.
3140 (LDFLAGS-tst-minsigstksz-2): Likewise.
3141 (LDFLAGS-tst-minsigstksz-3): Likewise.
3142 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3143 (LDFLAGS-tst-minsigstksz-4): Likewise.
3144
3145 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3146
3147 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3148 than "alternate".
3149
3150 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3151
3152 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3153
3154 2019-01-16 Zack Weinberg <zackw@panix.com>
3155
3156 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3157 (xget_sigstack_location): New test support functions.
3158 * support/xsigstack.c: New file, implementing them.
3159 * support/tst-xsigstack.c: New test for them.
3160 * support/Makefile: Update.
3161
3162 * signal/tst-minsigstksz-1.c
3163 * signal/tst-minsigstksz-2.c
3164 * signal/tst-minsigstksz-3.c
3165 * signal/tst-minsigstksz-3a.c
3166 * signal/tst-minsigstksz-4.c: New tests.
3167 * signal/Makefile: Run them.
3168
3169 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3170
3171 * po/libc.pot: Regenerate.
3172
3173 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3174
3175 * math/libm-test-fma.inc (fma_test_data): Set
3176 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3177
3178 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3179
3180 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3181 (do_test): Changed __vector __int128_t to __vector unsigned int.
3182
3183 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3184
3185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3186 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3187 stpcpy-avx2 and stpncpy-avx2.
3188 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3189 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3190 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3191 and __stpncpy_avx2.
3192 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3193 ifunc-strcpy.h}: rename header for a more generic name.
3194 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3195 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3196 AVX unaligned load is fast and vzeroupper is preferred.
3197 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3198 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3199 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3200 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3201 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3202 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3203
3204 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3205
3206 * argp/argp-help.c: Fix typo in comment.
3207 * misc/sys/cdefs.h: Likewise.
3208 * posix/regexec.c (sift_states_iter_mb): Likewise.
3209 * socket/sockatmark.c: Likewise.
3210 * socket/sys/socket.h: Likewise.
3211 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3212 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3213 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3214 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3215 * sysdeps/unix/sockatmark.c: Likewise.
3216 * time/strptime_l.c: Likewise.
3217
3218 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3219
3220 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3221 missing space after the cast of "_NL_CURRENT".
3222
3223 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3224
3225 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3226 ifdef to fix read of VSCR.
3227 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3228 tst-ucontext-ppc64-vscr.c to test list.
3229 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3230
3231 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3232
3233 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3234 fall-through.
3235
3236 2019-01-09 Jim Wilson <jimw@sifive.com>
3237
3238 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3239
3240 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3241
3242 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3243 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3244 __memcpy_falkor for ares.
3245 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3246 Add new define.
3247 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3248 Add ares cpu.
3249
3250 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3251
3252 [BZ #24066]
3253 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3254 4_FP_W_TYPEs are used for IEEE quad precision.
3255 * soft-fp/extendhftf2.c: Likewise.
3256 * soft-fp/extendsftf2.c: Likewise.
3257 * soft-fp/extendxftf2.c: Likewise.
3258 * soft-fp/trunctfdf2.c: Likewise.
3259 * soft-fp/trunctfhf2.c: Likewise.
3260 * soft-fp/trunctfsf2.c: Likewise.
3261 * soft-fp/trunctfxf2.c: Likewise.
3262 * sysdeps/alpha/ots_cvttx.c: Likewise.
3263 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3264 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3265 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3266 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3267 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3268 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3269 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3270 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3271 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3272 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3273 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3274 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3275 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3276 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3277 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3278 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3279 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3280
3281 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3282
3283 [BZ #24024]
3284 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3285 code with -fmath-errno.
3286 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3287 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3288 * string/test-strerror-errno.c: New file.
3289
3290 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3291
3292 [BZ #24046]
3293 * localedata/locales/en_US (date_fmt): Add, set to
3294 "%a %d %b %Y %r %Z".
3295
3296 2019-01-07 Florian Weimer <fweimer@redhat.com>
3297
3298 [BZ #24063]
3299 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3300 instead of @var{errno}.
3301 (Parsing of Integers): Likewise.
3302 (Parsing of Floats): Likewise.
3303 * manual/filesys.texi (Working with Directory Trees): Likewise.
3304 (Temporary Files): Likewise.
3305 * manual/job.texi (Terminal Access Functions): Likewise.
3306 * manual/llio.texi (Synchronizing I/O): Likewise.
3307 * manual/math.texi (SVID Random): Likewise.
3308 * manual/message.texi (The catgets Functions): Likewise.
3309 (Translation with gettext): Likewise.
3310 (Locating gettext catalog): Likewise.
3311 (Charset conversion in gettext): Likewise.
3312 * manual/nss.texi (NSS Module Function Internals): Likewise.
3313 * manual/search.texi (Hash Search Function): Likewise.
3314 * manual/setjmp.texi (System V contexts): Likewise.
3315 * manual/time.texi (Sleeping): Likewise.
3316 * manual/users.texi (Lookup User): Likewise.
3317 (Lookup Group): Likewise.
3318
3319 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3320
3321 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3322 fix typo.
3323
3324 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3325
3326 [BZ #19444]
3327 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3328 __builtin_unreachable for default case in switch.
3329 (__ieee754_yn): Likewise.
3330 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3331 (__ieee754_ynl): Likewise.
3332 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3333 (__ieee754_ynl): Likewise.
3334 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3335 (__ieee754_ynl): Likewise.
3336
3337 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3338
3339 * manual/maint.texi: Use @{ and @}.
3340
3341 2019-01-04 Florian Weimer <fweimer@redhat.com>
3342
3343 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3344 function.
3345 (do_in_chroot_1): Call it.
3346 (run_chroot_tests):
3347 Improve error reporting in case it is not possible to create a
3348 collision for the PTY name required by the test.
3349
3350 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3351
3352 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3353 lll_wait_tid with timeout.
3354 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3355 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3356 futex_reltimed_wait_cancelable for cancelabla mode.
3357 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3358 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3359 macros.
3360 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3361 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3362 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3363 SYSCALL_CANCEL_NCS): New macro.
3364 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3365 (lll_timedwait_tid): Remove macro.
3366 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3367 Likewise.
3368 (lll_timedwait_tid): Likewise.
3369 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3370 Likewise.
3371 (lll_timedwait_tid): Likewise.
3372 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3373 Likewise.
3374 (lll_timedwait_tid): Likewise.
3375 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3376 Use INTERNAL_SYSCALL_CANCEL.
3377 * sysdeps/unix/sysv/linux/futex-internal.h
3378 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3379 instead of __pthread_{enable,disable}_asynccancel.
3380 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3381 (lll_futex_wait_cancel): New macro.
3382
3383 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3384 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3385
3386 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3387 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3388
3389 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3390 in backtrace analysis.
3391 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3392 side-effects.
3393 (tf_send): Likewise.
3394
3395 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3396 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3397 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3398 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3399 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3400 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3401 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3402 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3403 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3404 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3405 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3406 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3407 Likewise.
3408 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3409 tst-cancel-wrappers.sh.
3410 (generated): Remove tst-cancel-wrappers.out.
3411 (tst-cancel-wrappers.out): Remove rule.
3412 * nptl/tst-cancel-wrappers.sh: Remove file.
3413
3414 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3415
3416 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3417 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3418 Update.
3419
3420 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3421
3422 [BZ #23640]
3423 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3424 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3425 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3426 close-on-exec reset for adddup2 file action.
3427 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3428
3429 2019-01-03 Zack Weinberg <zackw@panix.com>
3430
3431 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3432 parameter. Only use deprecated scanf when __USE_GNU is defined
3433 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3434 than 201103L, whichever is relevant for the language being compiled.
3435
3436 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3437 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3438 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3439 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3440 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3441
3442 * libio/iovsscanf.c
3443 * libio/fwscanf.c
3444 * libio/iovswscanf.c
3445 * libio/swscanf.c
3446 * libio/vscanf.c
3447 * libio/vwscanf.c
3448 * libio/wscanf.c
3449 * stdio-common/fscanf.c
3450 * stdio-common/scanf.c
3451 * stdio-common/vfscanf.c
3452 * stdio-common/vfwscanf.c
3453 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3454 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3455 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3456 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3457 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3458 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3459 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3460 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3461 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3462 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3463 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3464 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3465 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3466 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3467 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3468
3469 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3470 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3471 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3472 not sscanf.
3473 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3474 with a preprocessor macro.
3475
3476 * stdio-common/bug21.c, stdio-common/scanf14.c:
3477 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3478 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3479 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3480 to xscanf, xfscanf, xsscanf.
3481
3482 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3483 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3484 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3485 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3486 xfscanf, xsscanf.
3487 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3488 override feature selection macros or provide definitions of u_char etc.
3489 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3490 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3491 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3492 with -std=gnu89.
3493
3494 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3495
3496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3497 bits/termios-misc.h.
3498 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3499 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3500 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3501 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3502 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3503 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3504
3505 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3506 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3507 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3508 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3509 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3510 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3511 termios-misc.h.
3512 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3513 (sysdep_headers): Add termios-misc.h.
3514
3515 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3516 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3517 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3518
3519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3520 termios-tcflow.h.
3521 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3522 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3523 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3524 TCSAFLUSH): Move to termios-tcflow.h.
3525 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3526 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3527 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3528 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3529
3530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3531 termios-c_lflag.h.
3532 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3533 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3534 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3535 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3536 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3537 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3538 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3539 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3540 Likewise.
3541 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3542 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3543 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3544 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3545
3546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3547 termios-c_cflag.h.
3548 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3549 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3550 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3551 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3552 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3553 termios-c_cflag.h.
3554 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3555 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3556 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3557 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3558
3559 [BZ #23783]
3560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3561 termios-baud.h.
3562 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3563 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3564 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3565 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3566 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3567 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3568 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3569 __MAX_BAUD): Move to termios-baud.h.
3570 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3571 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3572 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3573 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3574 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3575
3576 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3577 termios-c_oflag.h.
3578 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3579 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3580 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3581 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3582 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3583 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3584 termios-c_oflag.h.
3585 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3586 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3587 FFR1): Likewise.
3588 [USE_MISC] (XTABS): Likewise.
3589 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3590 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3591 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3592 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3593
3594 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3595 termios-c_iflag.h.
3596 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3597 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3598 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3599 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3600 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3601 IUTF8): Move to termios-c_iflag.h.
3602 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3603 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3604 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3605 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3606
3607 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3608 termios-cc.h.
3609 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3610 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3611 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3612 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3613 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3614 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3615 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3616 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3617 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3618 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3619 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3620 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3621
3622 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3623 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3624 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3625 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3627 termios-struct.h.
3628 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3629 termios-struct.h.
3630 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3631 Likewise.
3632 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3633 Likewise.
3634 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3635 Likewise.
3636 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3637 Likewise.
3638 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3639 _HAVE_C_OSPEED): Define.
3640 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3641 _HAVE_C_OSPEED): Likewise.
3642 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3643 _HAVE_C_OSPEED): Likewise.
3644 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3645 (cfsetospeed): Check for define value instead of existence.
3646 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3647 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3648 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3649 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3650 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3651
3652 [BZ #17783]
3653 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3654 Define.
3655 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3656 (TIOCSER_TEMT): Likewise.
3657 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3658 (TEOCSER_TEMT): Likewise.
3659
3660 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3661
3662 [BZ #24011]
3663 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3664
3665 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3666
3667 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3668
3669 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3670
3671 * sysdeps/htl/pt-barrierattr-setpshared.c
3672 (pthread_barrierattr_setpshared): Add stub warning.
3673 * sysdeps/htl/pt-condattr-setpshared.c
3674 (pthread_condattr_setpshared): Likewise.
3675 * sysdeps/htl/pt-mutexattr-setpshared.c
3676 (pthread_mutexattr_setpshared): Likewise.
3677 * sysdeps/htl/pt-rwlockattr-setpshared.c
3678 (pthread_rwlockattr_setpshared): Likewise.
3679 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3680 (pthread_mutexattr_setpshared): Likewise.
3681
3682 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3683
3684 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3685 constants to match with Linux 4.20.
3686
3687 * sysdeps/mips/mips32/libm-test-ulps: Update.
3688 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3689
3690 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3691
3692 [BZ #24034]
3693 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3694 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3695 than __typeof (...) for the a_ptr variable.
3696
3697 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3698
3699 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3700 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3701 * libio/Makefile (tests): Add tst-sprintf-ub and
3702 tst-sprintf-chk-ub.
3703 (CFLAGS-tst-sprintf-ub.c): New variable.
3704 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3705 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3706 destination buffer and check for overflows in fortified mode.
3707 * libio/libioP.h (PRINTF_CHK): New macro.
3708 * libio/tst-sprintf-chk-ub.c: New file.
3709 * libio/tst-sprintf-ub.c: Likewise.
3710
3711 2019-01-02 Florian Weimer <fweimer@redhat.com>
3712
3713 [BZ #24018]
3714 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3715 failure.
3716
3717 2019-01-02 Florian Weimer <fweimer@redhat.com>
3718
3719 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3720
3721 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3722
3723 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3724 macro.
3725
3726 * sysdeps/unix/sysv/linux/netpacket/packet.h
3727 (PACKET_IGNORE_OUTGOING): New macro.
3728
3729 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3730 macro.
3731
3732 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3733 version to 4.20.
3734 (riscv_flush_icache): New syscall.
3735
3736 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3737 trailing whitespace removed.
3738 * scripts/config.guess: Update to version 2019-01-01.
3739 * scripts/config.sub: Update to version 2019-01-01.
3740 * scripts/move-if-change: Update from gnulib.
3741
3742 * NEWS: Update copyright dates.
3743 * catgets/gencat.c (print_version): Likewise.
3744 * csu/version.c (banner): Likewise.
3745 * debug/catchsegv.sh: Likewise.
3746 * debug/pcprofiledump.c (print_version): Likewise.
3747 * debug/xtrace.sh (do_version): Likewise.
3748 * elf/ldconfig.c (print_version): Likewise.
3749 * elf/ldd.bash.in: Likewise.
3750 * elf/pldd.c (print_version): Likewise.
3751 * elf/sotruss.sh: Likewise.
3752 * elf/sprof.c (print_version): Likewise.
3753 * iconv/iconv_prog.c (print_version): Likewise.
3754 * iconv/iconvconfig.c (print_version): Likewise.
3755 * locale/programs/locale.c (print_version): Likewise.
3756 * locale/programs/localedef.c (print_version): Likewise.
3757 * login/programs/pt_chown.c (print_version): Likewise.
3758 * malloc/memusage.sh (do_version): Likewise.
3759 * malloc/memusagestat.c (print_version): Likewise.
3760 * malloc/mtrace.pl: Likewise.
3761 * manual/libc.texinfo: Likewise.
3762 * nptl/version.c (banner): Likewise.
3763 * nscd/nscd.c (print_version): Likewise.
3764 * nss/getent.c (print_version): Likewise.
3765 * nss/makedb.c (print_version): Likewise.
3766 * posix/getconf.c (main): Likewise.
3767 * scripts/test-installation.pl: Likewise.
3768 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3769
3770 * All files with FSF copyright notices: Update copyright dates
3771 using scripts/update-copyrights.
3772 * locale/programs/charmap-kw.h: Regenerated.
3773 * locale/programs/locfile-kw.h: Likewise.
3774
3775 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3776
3777 * timezone/zdump.c: Update from tzcode 2018i.
3778 * timezone/zic.c: Likewise.
3779
3780 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3781
3782 regex: improve Gnulib port to AIX
3783 From the glibc point of view, this removes duplicate macro
3784 definitions and is obviously safe.
3785 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3786 * posix/regex_internal.h:
3787 (__attribute__, __attribute_warn_unused_result__):
3788 Remove; already defined elsewhere.
3789
3790 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3791
3792 [BZ #24027]
3793 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3794 copying operation. (ncopies had the wrong type, resulting in an
3795 integer wraparound and too few elements being copied.)
3796
3797 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3798
3799 [BZ #24022]
3800 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3801 <asm/syscalls.h> exists with __has_include__ before including it.
3802
3803 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3804
3805 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3806 version to 4.20.
3807
3808 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3809
3810 * hurd/lookup-retry: Include <unistd.h>.
3811 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3812 Release it on return. Handle "pid" magical lookup retry.
3813
3814 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3815
3816 [BZ #10496]
3817 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3818 (t_fmt_ampm): Likewise.
3819 * localedata/locales/aa_ER (t_fmt): Likewise.
3820 (t_fmt_ampm): Likewise.
3821 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3822 (t_fmt_ampm): Likewise.
3823 * localedata/locales/aa_ET (t_fmt): Likewise.
3824 (t_fmt_ampm): Likewise.
3825 * localedata/locales/am_ET (t_fmt): Likewise.
3826 (t_fmt_ampm): Likewise.
3827 * localedata/locales/byn_ER (t_fmt): Likewise.
3828 (t_fmt_ampm): Likewise.
3829 * localedata/locales/om_ET (t_fmt): Likewise.
3830 (t_fmt_ampm): Likewise.
3831 * localedata/locales/sid_ET (t_fmt): Likewise.
3832 (t_fmt_ampm): Likewise.
3833 * localedata/locales/so_DJ (t_fmt): Likewise.
3834 (t_fmt_ampm): Likewise.
3835 * localedata/locales/so_ET (t_fmt): Likewise.
3836 (t_fmt_ampm): Likewise.
3837 * localedata/locales/so_SO (t_fmt): Likewise.
3838 (t_fmt_ampm): Likewise.
3839 * localedata/locales/ti_ER (t_fmt): Likewise.
3840 (t_fmt_ampm): Likewise.
3841 * localedata/locales/ti_ET (t_fmt): Likewise.
3842 (t_fmt_ampm): Likewise.
3843 * localedata/locales/tig_ER (t_fmt): Likewise.
3844 (t_fmt_ampm): Likewise.
3845 * localedata/locales/wal_ET (t_fmt): Likewise.
3846 (t_fmt_ampm): Likewise.
3847
3848 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3849 * localedata/locales/ar_IN (t_fmt): Likewise.
3850 * localedata/locales/bhb_IN (t_fmt): Likewise.
3851 * localedata/locales/bho_IN (t_fmt): Likewise.
3852 * localedata/locales/bi_VU (t_fmt): Likewise.
3853 * localedata/locales/bn_BD (t_fmt): Likewise.
3854 * localedata/locales/bn_IN (t_fmt): Likewise.
3855 * localedata/locales/brx_IN (t_fmt): Likewise.
3856 * localedata/locales/doi_IN (t_fmt): Likewise.
3857 * localedata/locales/en_HK (t_fmt): Likewise.
3858 (t_fmt_ampm): Likewise.
3859 * localedata/locales/en_IN (t_fmt): Likewise.
3860 * localedata/locales/en_PH (t_fmt): Likewise.
3861 * localedata/locales/gu_IN (t_fmt): Likewise.
3862 * localedata/locales/hi_IN (t_fmt): Likewise.
3863 * localedata/locales/hif_FJ (t_fmt): Likewise.
3864 * localedata/locales/hne_IN (t_fmt): Likewise.
3865 * localedata/locales/kn_IN (t_fmt): Likewise.
3866 * localedata/locales/kok_IN (t_fmt): Likewise.
3867 * localedata/locales/ks_IN (t_fmt): Likewise.
3868 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3869 * localedata/locales/mag_IN (t_fmt): Likewise.
3870 * localedata/locales/mai_IN (t_fmt): Likewise.
3871 * localedata/locales/mjw_IN (t_fmt): Likewise.
3872 * localedata/locales/ml_IN (t_fmt): Likewise.
3873 * localedata/locales/mni_IN (t_fmt): Likewise.
3874 * localedata/locales/mr_IN (t_fmt): Likewise.
3875 * localedata/locales/ms_MY (t_fmt): Likewise.
3876 * localedata/locales/pa_IN (t_fmt): Likewise.
3877 * localedata/locales/raj_IN (t_fmt): Likewise.
3878 * localedata/locales/sa_IN (t_fmt): Likewise.
3879 * localedata/locales/sat_IN (t_fmt): Likewise.
3880 * localedata/locales/sd_IN (t_fmt): Likewise.
3881 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3882 * localedata/locales/tcy_IN (t_fmt): Likewise.
3883 * localedata/locales/the_NP (t_fmt): Likewise.
3884 * localedata/locales/to_TO (t_fmt): Likewise.
3885 * localedata/locales/ur_IN (t_fmt): Likewise.
3886
3887 * localedata/locales/hif_FJ (d_t_fmt): Set to
3888 "%A %d %b %Y %I:%M:%S %p".
3889 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3890
3891 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3892 * localedata/locales/ar_BH (t_fmt): Likewise.
3893 * localedata/locales/ar_DZ (t_fmt): Likewise.
3894 * localedata/locales/ar_EG (t_fmt): Likewise.
3895 * localedata/locales/ar_IQ (t_fmt): Likewise.
3896 * localedata/locales/ar_JO (t_fmt): Likewise.
3897 * localedata/locales/ar_KW (t_fmt): Likewise.
3898 * localedata/locales/ar_LB (t_fmt): Likewise.
3899 * localedata/locales/ar_LY (t_fmt): Likewise.
3900 * localedata/locales/ar_OM (t_fmt): Likewise.
3901 * localedata/locales/ar_QA (t_fmt): Likewise.
3902 * localedata/locales/ar_SD (t_fmt): Likewise.
3903 * localedata/locales/ar_SS (t_fmt): Likewise.
3904 * localedata/locales/ar_SY (t_fmt): Likewise.
3905 * localedata/locales/ar_TN (t_fmt): Likewise.
3906 * localedata/locales/ar_YE (t_fmt): Likewise.
3907
3908 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3909 (t_fmt_ampm): Likewise.
3910 * localedata/locales/gez_ET (t_fmt): Likewise.
3911 (t_fmt_ampm): Likewise.
3912
3913 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3914 (t_fmt_ampm): Likewise.
3915 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3916
3917 * localedata/locales/zh_HK (t_fmt):
3918 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3919
3920 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3921 because this locale does not use the 12-hour clock.
3922 (t_fmt): Set to "%Z %H:%M:%S".
3923 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3924
3925 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3926 because this locale does not use the 12-hour clock.
3927 (t_fmt): Set to "%H:%M:%S %Z".
3928 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3929
3930 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3931 because this locale does not use the 12-hour clock.
3932 (t_fmt): Set to "%T".
3933 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3934 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3935
3936 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3937 because this locale does not use the 12-hour clock.
3938 (t_fmt): Set to "%H:%M:%S %Z".
3939 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3940
3941 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3942 because this locale does not use the 12-hour clock.
3943 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3944 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3945
3946 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3947
3948 [BZ #10496]
3949 [BZ #23724]
3950 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3951 (t_fmt_ampm): Likewise.
3952 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3953 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3954 (d_fmt): Set to "%-d.%-m.%y".
3955
3956 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3957
3958 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3959 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3960 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3961 Likewise.
3962 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3963 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3964 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3965 function.
3966 * support/blob_repeat.c (check_mul_overflow_size_t,
3967 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3968
3969 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3970
3971 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3972
3973 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3974
3975 regex: simplify Gnulib port
3976 This simplifies the code, by removing stuff intended for porting
3977 to Gnulib but no longer needed there.
3978 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3979 uses of libc_hidden_def, weak_alias.
3980 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3981 _Restrict_ except for public-facing headers.
3982 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3983 Remove; already defined elsewhere.
3984 * posix/regex.c, posix/regex_internal.h:
3985 Use __GNUC_PREREQ instead of rolling our own.
3986 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3987
3988 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3989
3990 * benchtests/bench-strlen.c (generic_strlen): New function.
3991 (memchr_strlen): New function.
3992
3993 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3994
3995 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3996 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3997 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3998
3999 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4000
4001 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4002
4003 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4004
4005 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4006 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4007 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4008 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4009 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4010 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4011 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4012
4013 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4014
4015 [BZ #24023]
4016 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4017 PLT reference in libc.so.
4018 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4019 _Q_lltoq and _Q_qtod PLT references in libc.so.
4020
4021 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4022
4023 * benchtests/bench-memchr.c: Cleanup defines.
4024 * benchtests/bench-memcmp.c: Likewise.
4025 * benchtests/bench-memset.c: Likewise.
4026 * benchtests/bench-memset-large.c: Likewise.
4027 * benchtests/bench-memset-walk.c: Likewise.
4028 * benchtests/bench-stpcpy.c: Likewise.
4029 * benchtests/bench-stpncpy.c: Likewise.
4030 * benchtests/bench-strcat.c: Likewise.
4031 * benchtests/bench-strchr.c: Likewise.
4032 * benchtests/bench-strcmp.c: Likewise.
4033 * benchtests/bench-strcpy.c: Likewise.
4034 * benchtests/bench-strcspn.c: Likewise.
4035 * benchtests/bench-string.h: Likewise.
4036 * benchtests/bench-strlen.c: Likewise.
4037 * benchtests/bench-strncat.c: Likewise.
4038 * benchtests/bench-strncmp.c: Likewise.
4039 * benchtests/bench-strncpy.c: Likewise.
4040 * benchtests/bench-strnlen.c: Likewise.
4041 * benchtests/bench-strpbrk.c: Likewise.
4042 * benchtests/bench-strrchr.c: Likewise.
4043 * benchtests/bench-strspn.c: Likewise.
4044
4045 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4046
4047 * stdlib/longlong.h: Update from GCC.
4048
4049 [BZ #23993]
4050 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4051 * configure: Regenerated.
4052 * manual/install.texi (Tools for Compilation): Update minimum GCC
4053 version.
4054 * INSTALL: Regenerated.
4055
4056 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4057
4058 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4059
4060 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4061
4062 * malloc/malloc.c (mremap_chunk): Additional checks.
4063
4064 2018-12-21 Mao Han <han_mao@c-sky.com>
4065
4066 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4067 * scripts/build-many-glibcs.py: Add C-SKY targets.
4068 * sysdeps/csky/Implies: New file.
4069 * sysdeps/csky/Makefile: Likewise.
4070 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4071 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4072 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4073 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4074 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4075 * sysdeps/csky/abiv2/memmove.S: Likewise.
4076 * sysdeps/csky/abiv2/memset.S: Likewise.
4077 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4078 * sysdeps/csky/abiv2/start.S: Likewise.
4079 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4080 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4081 * sysdeps/csky/abiv2/strlen.S: Likewise.
4082 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4083 * sysdeps/csky/abort-instr.h: Likewise.
4084 * sysdeps/csky/atomic-machine.h: Likewise.
4085 * sysdeps/csky/bits/endian.h: Likewise.
4086 * sysdeps/csky/bits/fenv.h: Likewise.
4087 * sysdeps/csky/bits/link.h: Likewise.
4088 * sysdeps/csky/bits/setjmp.h: Likewise.
4089 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4090 * sysdeps/csky/bsd-setjmp.S: Likewise.
4091 * sysdeps/csky/configure: Likewise.
4092 * sysdeps/csky/configure.ac: Likewise.
4093 * sysdeps/csky/dl-machine.h: Likewise.
4094 * sysdeps/csky/dl-procinfo.c: Likewise.
4095 * sysdeps/csky/dl-procinfo.h: Likewise.
4096 * sysdeps/csky/dl-sysdep.h: Likewise.
4097 * sysdeps/csky/dl-tls.h: Likewise.
4098 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4099 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4100 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4101 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4102 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4103 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4104 * sysdeps/csky/fpu/fegetround.c: Likewise.
4105 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4106 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4107 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4108 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4109 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4110 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4111 * sysdeps/csky/fpu/fesetround.c: Likewise.
4112 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4113 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4114 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4115 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4116 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4117 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4118 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4119 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4120 * sysdeps/csky/fpu_control.h: Likewise.
4121 * sysdeps/csky/gccframe.h: Likewise.
4122 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4123 * sysdeps/csky/ldsodefs.h: Likewise.
4124 * sysdeps/csky/libc-tls.c: Likewise.
4125 * sysdeps/csky/linkmap.h: Likewise.
4126 * sysdeps/csky/machine-gmon.h: Likewise.
4127 * sysdeps/csky/memusage.h: Likewise.
4128 * sysdeps/csky/nofpu/Implies: Likewise.
4129 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4130 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4131 * sysdeps/csky/nptl/Makefile: Likewise.
4132 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4133 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4134 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4135 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4136 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4137 * sysdeps/csky/nptl/tls.h: Likewise.
4138 * sysdeps/csky/preconfigure: Likewise.
4139 * sysdeps/csky/sfp-machine.h: Likewise.
4140 * sysdeps/csky/sotruss-lib.c: Likewise.
4141 * sysdeps/csky/stackinfo.h: Likewise.
4142 * sysdeps/csky/sysdep.h: Likewise.
4143 * sysdeps/csky/tininess.h: Likewise.
4144 * sysdeps/csky/tst-audit.h: Likewise.
4145 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4146 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4147 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4148 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4149 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4150 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4151 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4152 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4153 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4154 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4155 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4156 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4157 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4158 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4159 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4160 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4161 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4162 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4163 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4164 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4165 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4166 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4167 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4168 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4169 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4170 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4171 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4172 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4173 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4174 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4175 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4176 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4177 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4178 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4179 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4180 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4181 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4182 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4183 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4184 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4185 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4186 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4187 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4188 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4189
4190 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4191
4192 * include/time.h (__difftime64): Add.
4193 * time/difftime.c (subtract): convert to 64-bit time.
4194 * time/difftime.c (__difftime64): Add.
4195 * time/difftime.c (__difftime): Wrap around __difftime64.
4196
4197 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4198
4199 * manual/examples/add.c: Remove redundant "if not".
4200 * manual/examples/argp-ex1.c: Likewise.
4201 * manual/examples/argp-ex2.c: Likewise.
4202 * manual/examples/argp-ex3.c: Likewise.
4203 * manual/examples/argp-ex4.c: Likewise.
4204 * manual/examples/atexit.c: Likewise.
4205 * manual/examples/db.c: Likewise.
4206 * manual/examples/dir.c: Likewise.
4207 * manual/examples/dir2.c: Likewise.
4208 * manual/examples/execinfo.c: Likewise.
4209 * manual/examples/filecli.c: Likewise.
4210 * manual/examples/filesrv.c: Likewise.
4211 * manual/examples/fmtmsgexpl.c: Likewise.
4212 * manual/examples/genpass.c: Likewise.
4213 * manual/examples/inetcli.c: Likewise.
4214 * manual/examples/inetsrv.c: Likewise.
4215 * manual/examples/isockad.c: Likewise.
4216 * manual/examples/longopt.c: Likewise.
4217 * manual/examples/memopen.c: Likewise.
4218 * manual/examples/memstrm.c: Likewise.
4219 * manual/examples/mkdirent.c: Likewise.
4220 * manual/examples/mkfsock.c: Likewise.
4221 * manual/examples/mkisock.c: Likewise.
4222 * manual/examples/mygetpass.c: Likewise.
4223 * manual/examples/pipe.c: Likewise.
4224 * manual/examples/popen.c: Likewise.
4225 * manual/examples/rprintf.c: Likewise.
4226 * manual/examples/search.c: Likewise.
4227 * manual/examples/select.c: Likewise.
4228 * manual/examples/setjmp.c: Likewise.
4229 * manual/examples/sigh1.c: Likewise.
4230 * manual/examples/sigusr.c: Likewise.
4231 * manual/examples/stpcpy.c: Likewise.
4232 * manual/examples/strdupa.c: Likewise.
4233 * manual/examples/strftim.c: Likewise.
4234 * manual/examples/subopt.c: Likewise.
4235 * manual/examples/swapcontext.c: Likewise.
4236 * manual/examples/termios.c: Likewise.
4237 * manual/examples/testopt.c: Likewise.
4238 * manual/examples/testpass.c: Likewise.
4239 * manual/examples/timeval_subtract.c: Likewise.
4240
4241 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4242
4243 * sysdeps/x86/fpu/math_private.h: New file.
4244 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4245
4246 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4247 definition.
4248 (cosh): Likewise.
4249 (tanh): Likewise.
4250
4251 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4252
4253 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4254 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4255 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4256 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4257 fields.
4258 (_dl_show_auxv): Give a special treatment to
4259 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4260 and AT_L3_CACHEGEOMETRY.
4261 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4262 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4263 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4264 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4265
4266 2018-12-19 Andreas Schwab <schwab@suse.de>
4267
4268 * nscd/connections.c (check_use): Don't abort on invalid len.
4269
4270 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4271
4272 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4273 values in the 64bit value cases.
4274
4275 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4276
4277 * include/time.h
4278 (__ctime64_r): Add.
4279 * time/ctime_r.c
4280 (__ctime64_r): Add.
4281 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4282
4283 * include/time.h
4284 (__ctime64): Add.
4285 * time/gmtime.c
4286 (__ctime64): Add.
4287 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4288
4289 * include/time.h
4290 (__gmtime64_r): Add.
4291 * time/gmtime.c
4292 (__gmtime64_r): Add.
4293 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4294
4295 * include/time.h
4296 (__gmtime64): Add.
4297 * time/gmtime.c
4298 (__gmtime64): Add.
4299 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4300
4301 * include/time.h
4302 (__localtime64_r): Add.
4303 * time/localtime.c
4304 (__localtime64_r): Add.
4305 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4306
4307 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4308
4309 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4310 kernel_sigction definition.
4311
4312 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4313
4314 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4315
4316 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4317 __syscall_rt_sigaction.
4318 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4319 (kernel_sigaction): Use Linux generic defintion.
4320 (STUB): Define.
4321 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4322 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4323 (__syscall_rt_sigaction): Remove implementation.
4324 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4325 hidden.
4326 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4327 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4328 INTERNAL_SYSCALL): Remove definitions.
4329 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4330 action and signal set size.
4331 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4332 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4333
4334 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4335 James Clarke <jrtc27@jrtc27.com>
4336
4337 [BZ #23967]
4338 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4339 Define if SA_RESTORER is defined.
4340 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4341 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4342 already defined.
4343 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4344 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4345 definitions.
4346 (HAS_SA_RESTORER): Define.
4347 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4348 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4349 (HAS_SA_RESTORER): Define.
4350 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4351 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4352 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4353 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4354 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4355
4356 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4357
4358 * sysdeps/unix/sysv/linux/kernel-features.h
4359 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4360 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4361 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4362 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4363 (__ASSUME_ST_INO_64_BIT): Likewise.
4364 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4365 <kernel-features.h>.
4366 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4367 Remove conditional code.
4368 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4369 <kernel-features.h>.
4370 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4371 Remove conditional code.
4372 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4373 <kernel-features.h>.
4374 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4375 Remove conditional code.
4376 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4377 <kernel-features.h>.
4378 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4379 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4380
4381 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4382
4383 * sysdeps/s390/multiarch/ifunc-resolve.h
4384 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4385 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4386 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4387 Delete macro definition.
4388 (s390_libc_ifunc_init): Rename to
4389 s390_libc_ifunc_expr_stfle_init.
4390 * sysdeps/s390/bzero: Use
4391 s390_libc_ifunc_expr_stfle_init instead of
4392 s390_libc_ifunc_init.
4393 * sysdeps/s390/memcmp.c: Likewise.
4394 * sysdeps/s390/memcpy.c: Likewise.
4395 * sysdeps/s390/mempcpy.c: Likewise.
4396 * sysdeps/s390/memset.c: Likewise.
4397
4398 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4399
4400 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4401 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4402
4403 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4404
4405 * sysdeps/s390/multiarch/Makefile
4406 (sysdep_routines): Remove wmemcmp variants.
4407 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4408 * sysdeps/s390/multiarch/ifunc-impl-list.c
4409 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4410 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4411 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4412 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4413 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4414 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4415 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4416 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4417
4418 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4419
4420 * sysdeps/s390/multiarch/Makefile
4421 (sysdep_routines): Remove wmemset variants.
4422 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4423 * sysdeps/s390/multiarch/ifunc-impl-list.c
4424 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4425 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4426 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4427 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4428 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4429 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4430 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4431 * sysdeps/s390/ifunc-wmemset.h: New file.
4432
4433 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4434
4435 * sysdeps/s390/multiarch/Makefile
4436 (sysdep_routines): Remove wmemchr variants.
4437 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4438 * sysdeps/s390/multiarch/ifunc-impl-list.c
4439 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4440 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4441 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4442 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4443 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4444 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4445 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4446 * sysdeps/s390/ifunc-wmemchr.h: New file.
4447
4448 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4449
4450 * sysdeps/s390/multiarch/Makefile
4451 (sysdep_routines): Remove wcscspn variants.
4452 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4453 * sysdeps/s390/multiarch/ifunc-impl-list.c
4454 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4455 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4456 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4457 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4458 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4459 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4460 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4461 * sysdeps/s390/ifunc-wcscspn.h: New file.
4462
4463 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4464
4465 * sysdeps/s390/multiarch/Makefile
4466 (sysdep_routines): Remove wcspbrk variants.
4467 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4468 * sysdeps/s390/multiarch/ifunc-impl-list.c
4469 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4470 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4471 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4472 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4473 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4474 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4475 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4476 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4477
4478 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4479
4480 * sysdeps/s390/multiarch/Makefile
4481 (sysdep_routines): Remove wcsspn variants.
4482 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4483 * sysdeps/s390/multiarch/ifunc-impl-list.c
4484 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4485 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4486 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4487 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4488 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4489 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4490 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4491 * sysdeps/s390/ifunc-wcsspn.h: New file.
4492
4493 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4494
4495 * sysdeps/s390/multiarch/Makefile
4496 (sysdep_routines): Remove wcsrchr variants.
4497 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4498 * sysdeps/s390/multiarch/ifunc-impl-list.c
4499 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4500 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4501 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4502 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4503 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4504 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4505 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4506 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4507
4508 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4509
4510 * sysdeps/s390/multiarch/Makefile
4511 (sysdep_routines): Remove wcschrnul variants.
4512 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4513 * sysdeps/s390/multiarch/ifunc-impl-list.c
4514 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4515 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4516 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4517 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4518 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4519 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4520 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4521 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4522
4523 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4524
4525 * sysdeps/s390/multiarch/Makefile
4526 (sysdep_routines): Remove wcschr variants.
4527 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4528 * sysdeps/s390/multiarch/ifunc-impl-list.c
4529 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4530 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4531 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4532 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4533 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4534 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4535 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4536 * sysdeps/s390/ifunc-wcschr.h: New file.
4537
4538 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4539
4540 * sysdeps/s390/multiarch/Makefile
4541 (sysdep_routines): Remove wcsncmp variants.
4542 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4543 * sysdeps/s390/multiarch/ifunc-impl-list.c
4544 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4545 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4546 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4547 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4548 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4549 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4550 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4551 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4552
4553 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4554
4555 * sysdeps/s390/multiarch/Makefile
4556 (sysdep_routines): Remove wcscmp variants.
4557 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4558 * sysdeps/s390/multiarch/ifunc-impl-list.c
4559 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4560 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4561 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4562 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4563 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4564 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4565 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4566 * sysdeps/s390/ifunc-wcscmp.h: New file.
4567
4568 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4569
4570 * sysdeps/s390/multiarch/Makefile
4571 (sysdep_routines): Remove wcsncat variants.
4572 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4573 * sysdeps/s390/multiarch/ifunc-impl-list.c
4574 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4575 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4576 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4577 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4578 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4579 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4580 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4581 * sysdeps/s390/ifunc-wcsncat.h: New file.
4582
4583 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4584
4585 * sysdeps/s390/multiarch/Makefile
4586 (sysdep_routines): Remove wcscat variants.
4587 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4588 * sysdeps/s390/multiarch/ifunc-impl-list.c
4589 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4590 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4591 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4592 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4593 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4594 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4595 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4596 * sysdeps/s390/ifunc-wcscat.h: New file.
4597
4598 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4599
4600 * sysdeps/s390/multiarch/Makefile
4601 (sysdep_routines): Remove wcpncpy variants.
4602 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4603 * sysdeps/s390/multiarch/ifunc-impl-list.c
4604 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4605 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4606 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4607 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4608 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4609 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4610 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4611 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4612
4613 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4614
4615 * sysdeps/s390/multiarch/Makefile
4616 (sysdep_routines): Remove wcsncpy variants.
4617 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4618 * sysdeps/s390/multiarch/ifunc-impl-list.c
4619 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4620 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4621 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4622 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4623 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4624 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4625 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4626 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4627
4628 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4629
4630 * sysdeps/s390/multiarch/Makefile
4631 (sysdep_routines): Remove wcpcpy variants.
4632 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4633 * sysdeps/s390/multiarch/ifunc-impl-list.c
4634 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4635 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4636 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4637 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4638 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4639 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4640 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4641 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4642
4643 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4644
4645 * sysdeps/s390/multiarch/Makefile
4646 (sysdep_routines): Remove wcscpy variants.
4647 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4648 * sysdeps/s390/multiarch/ifunc-impl-list.c
4649 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4650 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4651 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4652 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4653 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4654 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4655 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4656 * sysdeps/s390/ifunc-wcscpy.h: New file.
4657
4658 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4659
4660 * sysdeps/s390/multiarch/Makefile
4661 (sysdep_routines): Remove wcsnlen variants.
4662 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4663 * sysdeps/s390/multiarch/ifunc-impl-list.c
4664 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4665 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4666 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4667 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4668 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4669 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4670 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4671 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4672
4673 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4674
4675 * sysdeps/s390/multiarch/Makefile
4676 (sysdep_routines): Remove wcslen variants.
4677 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4678 * sysdeps/s390/multiarch/ifunc-impl-list.c
4679 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4680 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4681 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4682 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4683 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4684 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4685 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4686 * sysdeps/s390/ifunc-wcslen.h: New file.
4687
4688 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4689
4690 * sysdeps/s390/multiarch/Makefile
4691 (sysdep_routines): Remove memrchr variants.
4692 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4693 * sysdeps/s390/multiarch/ifunc-impl-list.c
4694 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4695 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4696 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4697 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4698 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4699 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4700 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4701 * sysdeps/s390/ifunc-memrchr.h: New file.
4702
4703 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4704
4705 * sysdeps/s390/multiarch/Makefile
4706 (sysdep_routines): Remove memccpy variants.
4707 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4708 * sysdeps/s390/multiarch/ifunc-impl-list.c
4709 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4710 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4711 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4712 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4713 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4714 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4715 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4716 * sysdeps/s390/ifunc-memccpy.h: New file.
4717
4718 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4719
4720 * sysdeps/s390/multiarch/Makefile
4721 (sysdep_routines): Remove rawmemchr variants.
4722 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4723 * sysdeps/s390/multiarch/ifunc-impl-list.c
4724 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4725 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4726 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4727 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4728 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4729 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4730 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4731 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4732
4733 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4734
4735 * sysdeps/s390/multiarch/Makefile
4736 (sysdep_routines): Remove memchr variants.
4737 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4738 * sysdeps/s390/multiarch/ifunc-impl-list.c
4739 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4740 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4741 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4742 * sysdeps/s390/multiarch/memchr.c: Move to ...
4743 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4744 * sysdeps/s390/ifunc-memchr.h: New file.
4745 * sysdeps/s390/s390-64/memchr.S: Move to ...
4746 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4747 for 31/64bit and ifunc handling.
4748 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4749 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4750 * sysdeps/s390/s390-32/memchr.S: Likewise.
4751
4752 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4753
4754 * sysdeps/s390/multiarch/Makefile
4755 (sysdep_routines): Remove strcspn variants.
4756 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4757 * sysdeps/s390/multiarch/ifunc-impl-list.c
4758 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4759 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4760 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4761 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4762 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4763 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4764 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4765 * sysdeps/s390/ifunc-strcspn.h: New file.
4766
4767 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4768
4769 * sysdeps/s390/multiarch/Makefile
4770 (sysdep_routines): Remove strpbrk variants.
4771 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4772 * sysdeps/s390/multiarch/ifunc-impl-list.c
4773 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4774 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4775 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4776 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4777 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4778 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4779 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4780 * sysdeps/s390/ifunc-strpbrk.h: New file.
4781
4782 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4783
4784 * sysdeps/s390/multiarch/Makefile
4785 (sysdep_routines): Remove strspn variants.
4786 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4787 * sysdeps/s390/multiarch/ifunc-impl-list.c
4788 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4789 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4790 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4791 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4792 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4793 * sysdeps/s390/multiarch/strspn.c: Move to ...
4794 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4795 * sysdeps/s390/ifunc-strspn.h: New file.
4796
4797 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4798
4799 * sysdeps/s390/multiarch/Makefile
4800 (sysdep_routines): Remove strrchr variants.
4801 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4802 * sysdeps/s390/multiarch/ifunc-impl-list.c
4803 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4804 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4805 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4806 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4807 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4808 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4809 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4810 * sysdeps/s390/ifunc-strrchr.h: New file.
4811
4812 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4813
4814 * sysdeps/s390/multiarch/Makefile
4815 (sysdep_routines): Remove strchrnul variants.
4816 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4817 * sysdeps/s390/multiarch/ifunc-impl-list.c
4818 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4819 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4820 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4821 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4822 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4823 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4824 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4825 * sysdeps/s390/ifunc-strchrnul.h: New file.
4826
4827 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4828
4829 * sysdeps/s390/multiarch/Makefile
4830 (sysdep_routines): Remove strchr variants.
4831 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4832 * sysdeps/s390/multiarch/ifunc-impl-list.c
4833 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4834 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4835 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4836 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4837 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4838 * sysdeps/s390/multiarch/strchr.c: Move to ...
4839 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4840 * sysdeps/s390/ifunc-strchr.h: New file.
4841
4842 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4843
4844 * sysdeps/s390/multiarch/Makefile
4845 (sysdep_routines): Remove strncmp variants.
4846 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4847 * sysdeps/s390/multiarch/ifunc-impl-list.c
4848 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4849 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4850 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4851 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4852 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4853 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4854 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4855 * sysdeps/s390/ifunc-strncmp.h: New file.
4856
4857 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4858
4859 * sysdeps/s390/multiarch/Makefile
4860 (sysdep_routines): Remove strcmp variants.
4861 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4862 * sysdeps/s390/multiarch/ifunc-impl-list.c
4863 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4864 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4865 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4866 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4867 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4868 * sysdeps/s390/ifunc-strcmp.h: New file.
4869 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4870 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4871 for 31/64bit and ifunc handling.
4872 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4873 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4874 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4875
4876 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4877
4878 * sysdeps/s390/multiarch/Makefile
4879 (sysdep_routines): Remove strncat variants.
4880 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4881 * sysdeps/s390/multiarch/ifunc-impl-list.c
4882 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4883 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4884 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4885 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4886 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4887 * sysdeps/s390/multiarch/strncat.c: Move to ...
4888 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4889 * sysdeps/s390/ifunc-strncat.h: New file.
4890
4891 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4892
4893 * sysdeps/s390/multiarch/Makefile
4894 (sysdep_routines): Remove strcat variants.
4895 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4896 * sysdeps/s390/multiarch/ifunc-impl-list.c
4897 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4898 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4899 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4900 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4901 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4902 * sysdeps/s390/multiarch/strcat.c: Move to ...
4903 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4904 * sysdeps/s390/ifunc-strcat.h: New file.
4905
4906 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4907
4908 * sysdeps/s390/multiarch/Makefile
4909 (sysdep_routines): Remove stpncpy variants.
4910 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4911 * sysdeps/s390/multiarch/ifunc-impl-list.c
4912 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4913 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4914 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4915 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4916 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4917 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4918 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4919 * sysdeps/s390/ifunc-stpncpy.h: New file.
4920
4921 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4922
4923 * sysdeps/s390/multiarch/Makefile
4924 (sysdep_routines): Remove strncpy variants.
4925 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4926 * sysdeps/s390/multiarch/ifunc-impl-list.c
4927 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4928 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4929 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4930 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4931 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4932 * sysdeps/s390/ifunc-strncpy.h: New file.
4933 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4934 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4935 and adjust ifunc handling.
4936 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4937 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4938 and adjust ifunc handling.
4939 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4940 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4941
4942 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4943
4944 * sysdeps/s390/multiarch/Makefile
4945 (sysdep_routines): Remove stpcpy variants.
4946 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4947 * sysdeps/s390/multiarch/ifunc-impl-list.c
4948 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4949 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4950 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4951 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4952 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4953 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4954 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4955 * sysdeps/s390/ifunc-stpcpy.h: New file.
4956
4957 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4958
4959 * sysdeps/s390/multiarch/Makefile
4960 (sysdep_routines): Remove strcpy variants.
4961 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4962 * sysdeps/s390/multiarch/ifunc-impl-list.c
4963 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4964 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4965 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4966 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4967 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4968 * sysdeps/s390/ifunc-strcpy.h: New file.
4969 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4970 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4971 for 31/64bit and ifunc handling.
4972 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4973 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4974 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4975
4976 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4977
4978 * sysdeps/s390/multiarch/Makefile
4979 (sysdep_routines): Remove strnlen variants.
4980 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4981 * sysdeps/s390/multiarch/ifunc-impl-list.c
4982 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4983 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4984 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4985 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4986 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4987 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4988 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4989 * sysdeps/s390/ifunc-strnlen.h: New file.
4990
4991 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4992
4993 * sysdeps/s390/multiarch/Makefile
4994 (sysdep_routines): Remove strlen variants.
4995 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4996 * sysdeps/s390/multiarch/ifunc-impl-list.c
4997 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4998 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4999 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5000 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5001 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5002 * sysdeps/s390/multiarch/strlen.c: Move to ...
5003 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5004 * sysdeps/s390/ifunc-strlen.h: New file.
5005
5006 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5007
5008 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5009 * sysdeps/s390/multiarch/ifunc-impl-list.c
5010 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5011 * sysdeps/s390/ifunc-memmem.h: New file.
5012 * sysdeps/s390/memmem.c: Likewise.
5013 * sysdeps/s390/memmem-c.c: Likewise.
5014 * sysdeps/s390/memmem-vx.c: Likewise.
5015
5016 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5017
5018 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5019 * sysdeps/s390/multiarch/ifunc-impl-list.c
5020 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5021 * sysdeps/s390/ifunc-strstr.h: New file.
5022 * sysdeps/s390/strstr.c: Likewise.
5023 * sysdeps/s390/strstr-c.c: Likewise.
5024 * sysdeps/s390/strstr-vx.c: Likewise.
5025
5026 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5027
5028 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5029 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5030 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5031 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5032 New defines.
5033 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5034 * sysdeps/s390/memmove-c.c: New file.
5035 * sysdeps/s390/memmove.c: Likewise.
5036 * sysdeps/s390/multiarch/ifunc-impl-list.c
5037 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5038
5039 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5040
5041 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5042 * sysdeps/s390/configure.ac: Add check for z13 support.
5043 * sysdeps/s390/configure: Regenerated.
5044
5045 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5046
5047 * sysdeps/s390/memcopy.h: New file.
5048
5049 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5050
5051 * sysdeps/s390/s390-32/bcopy.S: Remove.
5052 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5053
5054 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5055
5056 * sysdeps/s390/ifunc-memcpy.h: New File.
5057 * sysdeps/s390/memcpy.S: Move to ...
5058 * sysdeps/s390/memcpy-z900.S ... here.
5059 Move implementations from memcpy-s390x.s to here.
5060 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5061 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5062 Remove memcpy/mempcpy variants.
5063 * sysdeps/s390/Makefile (sysdep_routines):
5064 Add memcpy/mempcpy variants.
5065 * sysdeps/s390/multiarch/ifunc-impl-list.c
5066 (__libc_ifunc_impl_list): Adjust ifunc variants for
5067 memcpy and mempcpy.
5068 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5069 to ...
5070 * sysdeps/s390/memcpy.c: ... here.
5071 Adjust ifunc variants for memcpy.
5072 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5073 * sysdeps/s390/mempcpy.c: ... here.
5074 Adjust ifunc variants for mempcpy.
5075 * sysdeps/s390/mempcpy.S: Delete file.
5076
5077 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5078
5079 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5080 * sysdeps/s390/memcpy.S: ... here.
5081 Adjust to be usable for 31/64bit.
5082 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5083 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5084 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5085 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5086 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5087 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5088 Adjust to be usable for 31/64bit.
5089 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5090 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5091 * sysdeps/s390/multiarch/memcpy.c: ... here.
5092 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5093
5094 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5095
5096 * sysdeps/s390/ifunc-memcmp.h: New File.
5097 * sysdeps/s390/memcmp.S: Move to ...
5098 * sysdeps/s390/memcmp-z900.S ... here.
5099 Move implementations from memcmp-s390x.s to here.
5100 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5101 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5102 Remove memcmp variants.
5103 * sysdeps/s390/Makefile (sysdep_routines):
5104 Add memcmp variants.
5105 * sysdeps/s390/multiarch/ifunc-impl-list.c
5106 (__libc_ifunc_impl_list): Adjust ifunc variants for
5107 memcmp.
5108 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5109 to ...
5110 * sysdeps/s390/memcmp.c: ... here.
5111 Adjust ifunc variants for memcmp.
5112
5113 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5114
5115 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5116 * sysdeps/s390/memcmp.S: ... here.
5117 Adjust to be usable for 31/64bit.
5118 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5119 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5120 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5121 Remove memcmp.
5122 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5123 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5124 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5125 Adjust to be usable for 31/64bit.
5126 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5127 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5128 * sysdeps/s390/multiarch/memcmp.c: ... here.
5129 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5130
5131 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5132
5133 * sysdeps/s390/s390-32/bzero.S: Delete file.
5134 * sysdeps/s390/s390-64/bzero.S: Likewise.
5135 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5136 * sysdeps/s390/bzero.c: New file.
5137 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5138 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5139 * sysdeps/s390/multiarch/ifunc-impl-list.c
5140 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5141
5142 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5143
5144 * sysdeps/s390/ifunc-memset.h: New File.
5145 * sysdeps/s390/memset.S: Move to ...
5146 * sysdeps/s390/memset-z900.S ... here.
5147 Move implementations from memset-s390x.s to here.
5148 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5149 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5150 Remove memset variants.
5151 * sysdeps/s390/Makefile (sysdep_routines):
5152 Add memset variants.
5153 * sysdeps/s390/multiarch/ifunc-impl-list.c
5154 (__libc_ifunc_impl_list): Adjust ifunc variants for
5155 memset.
5156 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5157 to ...
5158 * sysdeps/s390/memset.c: ... here.
5159 Adjust ifunc variants for memset.
5160
5161 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5162
5163 * sysdeps/s390/s390-64/memset.S: Move to ...
5164 * sysdeps/s390/memset.S: ... here.
5165 Adjust to be usable for 31/64bit.
5166 * sysdeps/s390/s390-32/memset.S: Delete File.
5167 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5168 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5169 Remove memset.
5170 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5171 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5172 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5173 Adjust to be usable for 31/64bit.
5174 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5175 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5176 * sysdeps/s390/multiarch/memset.c: ... here.
5177 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5178
5179 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5180
5181 * sysdeps/s390/multiarch/ifunc-resolve.h
5182 (s390_libc_ifunc_init, s390_libc_ifunc,
5183 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5184
5185 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5186
5187 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5188 * sysdeps/s390/configure.ac: Add check for z10 support.
5189 * sysdeps/s390/configure: Regenerated.
5190
5191 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5192
5193 * sysdeps/i386/atomic-machine.h: Merged with ...
5194 * sysdeps/x86_64/atomic-machine.h: To ...
5195 * sysdeps/x86/atomic-machine.h: This. New file.
5196
5197 2018-12-18 Florian Weimer <fweimer@redhat.com>
5198
5199 Rewrite locale/gen-translit.pl in Python.
5200 * locale/Makefile (generated): Add C-translit.h.
5201 (before-compile): Add $(objpfx)C-translit.h.
5202 (C-translit.h): Move to $(objpfx). Create target directory.
5203 Build using Python script.
5204 * locale/gen-translit.py: New file.
5205 * locale/gen-translit.pl: Remove file.
5206 * locale/C-translit.h.in: Change comment character to '#' for
5207 easier parsing without a C preprocessor.
5208 * locale/C-translit.h: Remove generated file.
5209 * manual/install.texi (Tools for Compilation): Do not mention
5210 C-translit.h.
5211 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5212 Remove locale/C-translit.h.
5213 * scripts/update-copyrights: Likewise.
5214 * INSTALL: Regenerate.
5215
5216 2018-12-18 Florian Weimer <fweimer@redhat.com>
5217
5218 [BZ #23995]
5219 * localedata/locales/bi_VU: Remove executable bit from file.
5220
5221 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5222
5223 * include/time.h
5224 (__localtime64): Add.
5225 * manual/maint.texi: Document Y2038 symbol handling.
5226 * time/localtime.c
5227 (__localtime64): Add.
5228 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5229
5230 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5231
5232 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5233 Do not clobber r12.
5234
5235 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5236 to allow extra macros from first or second sources.
5237 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5238 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5239 (tests-special): Add $(objpfx)tst-mman-consts.out.
5240 ($(objpfx)tst-mman-consts.out): New makefile target.
5241
5242 2018-12-17 Mao Han <han_mao@c-sky.com>
5243
5244 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5245 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5246 without stat64 system call support.
5247 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5248 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5249 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5250 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5251 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5252 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5253 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5254 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5255 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5256 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5257 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5258
5259 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5260
5261 regex: fix storage-exhaustion error
5262 [BZ #18040]
5263 * posix/regexec.c (get_subexp):
5264 Do not continue if storage is exhausted.
5265
5266 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5267
5268 regex: fix heap-use-after-free error
5269 [BZ #18040]
5270 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5271 https://debbugs.gnu.org/32592
5272 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5273 call extend_buffers which reallocates the re_string_t internal buffer.
5274 Local variable 'buf' was not updated in such case, resulting in
5275 use-after-free.
5276 * posix/regexec.c (get_subexp): Update 'buf' after call to
5277 get_subexp_sub.
5278
5279 2018-12-15 Florian Weimer <fweimer@redhat.com>
5280
5281 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5282 (minimum_stride_size): Use it.
5283 (support_blob_repeat_allocate): Likewise.
5284
5285 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5286
5287 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5288 definition.
5289 (acosh): Likewise.
5290 (atanh): Likewise.
5291
5292 2018-12-14 Florian Weimer <fweimer@redhat.com>
5293
5294 * manual/process.texi (Process Creation Concepts): Remove
5295 documentation of process (ID) lifetime. List more process
5296 creation functions. Reference Process Identification section.
5297 (Process Identification): Add information about process ID
5298 lifetime. Describe Linux thread/task IDs.
5299 * manual/signal.texi (Signaling Another Process): Mention that the
5300 signal is always sent to the process.
5301
5302 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5303
5304 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5305 and tst-ldbl-efgcvt.
5306 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5307 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5308 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5309 (fcvt_tests, output_error, output_r_error, do_test): Use the
5310 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5311 select the type of floating-point variables and arguments; to
5312 produce extra tests for double and conversion specifiers for
5313 printf; and to set the names of called functions.
5314 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5315 in tst-efgcvt-template.c.
5316 * misc/tst-ldbl-efgcvt.c: Likewise.
5317
5318 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5319
5320 * nss/Makefile (tst-nss-test3.out): New rule.
5321
5322 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5323
5324 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5325 clobber sp.
5326
5327 2018-12-13 fanjinke <fanjinke@hygon.cn>
5328
5329 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5330 "HygonGenuine".
5331
5332 2018-12-13 Andreas Schwab <schwab@suse.de>
5333
5334 [BZ #23861]
5335 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5336 (__pthread_rwlock_rdlock_full): Update expected value for
5337 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5338 * nptl/tst-rwlock-pwn.c: New file.
5339 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5340
5341 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5342
5343 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5344 definition.
5345
5346 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5347
5348 * benchtests/scripts/compare_bench.py (do_compare): write to
5349 stderr in casestat is not present.
5350 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5351 stderr in case timings field is not present. Also string showing
5352 the output filename goes into the stderr.
5353
5354 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5355
5356 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5357 and ZeroDivisorError exceptions.
5358 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5359 argument to loop through user provided statistics.
5360 * benchtests/scripts/compare_bench.py (main): Include the --stats
5361 argument.
5362
5363 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5364
5365 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5366 instead of return.
5367
5368 2018-12-12 Florian Weimer <fweimer@redhat.com>
5369
5370 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5371 clause to copyright header.
5372
5373 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5374
5375 [BZ #23614]
5376 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5377 registers saved in the stack frame.
5378 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5379 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5380
5381 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5382
5383 * include/bits/monetary-ldbl.h: New file.
5384 * include/bits/printf-ldbl.h: Likewise.
5385 * include/bits/stdio-ldbl.h: Likewise.
5386 * include/bits/stdlib-ldbl.h: Likewise.
5387 * include/bits/syslog-ldbl.h: Likewise.
5388 * include/bits/wchar-ldbl.h: Likewise.
5389
5390 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5391
5392 * libio/libio.h: Remove redirection for _IO_vfprintf.
5393
5394 2018-12-11 Andreas Schwab <schwab@suse.de>
5395
5396 * Makerules: Remove all references to abilist-pattern.
5397 (update-all-abi): Simplify find expression.
5398
5399 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5400
5401 [BZ #23961]
5402 * math/auto-libm-test-in: Add new test case.
5403 * math/auto-libm-test-out-pow: Regenerated.
5404 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5405
5406 2018-12-10 DJ Delorie <dj@redhat.com>
5407
5408 [BZ #23948]
5409 * support/test-container.c: Move postclean step to before we
5410 change namespaces.
5411
5412 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5413
5414 * scripts/gen-as-const.py (main): Handle --python option.
5415 * scripts/gen-py-const.awk: Remove.
5416 * Makerules (py-const-script): Use gen-as-const.py.
5417 ($(py-const)): Likewise.
5418 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5419 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5420 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5421 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5422 ~PTHREAD_MUTEX_NO_ELISION_NP.
5423 * manual/README.pretty-printers: Update reference to
5424 gen-py-const.awk.
5425
5426 * scripts/glibcextract.py: New file.
5427 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5428 or tempfile. Import glibcexctract.
5429 (compute_c_consts): Remove. Moved to glibcextract.py.
5430 (gen_test): Update reference to compute_c_consts.
5431 (main): Likewise.
5432 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5433 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5434 * sysdeps/unix/sysv/linux/Makefile
5435 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5436 Redirect stderr as well as stdout.
5437
5438 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5439
5440 [BZ #19767]
5441 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5442 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5443 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5444 ALWAYS_USE_VSYSCALL.
5445 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5446 ALWAYS_USE_VSYSCALL.
5447 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5448 ALWAYS_USE_VSYSCALL.
5449
5450 2018-12-10 Florian Weimer <fweimer@redhat.com>
5451
5452 [BZ #23972]
5453 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5454 offset instead of count for clarity. Fix typo in comment.
5455 (__old_getdents64): Keep track of previous offset. Use it to call
5456 handle_overflow.
5457 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5458 that d_off is never zero.
5459
5460 2018-12-10 Andreas Schwab <schwab@suse.de>
5461
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5463 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5465 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5466 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5467
5468 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5469
5470 * timezone/private.h: Update from tzcode 2018g.
5471 * timezone/tzfile.h: Likewise.
5472 * timezone/tzselect.ksh: Likewise.
5473 * timezone/zdump.c: Likewise.
5474 * timezone/zic.c: Likewise.
5475
5476 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5477
5478 [BZ #23490]
5479 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5480 (do_test): Adjust buffer size and fix format.
5481
5482 2018-12-07 DJ Delorie <dj@redhat.com>
5483
5484 [BZ #23907]
5485 * malloc/tst-tcfree3.c: New.
5486 * malloc/Makefile: Add it.
5487
5488 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5489
5490 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5491
5492 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5493
5494 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5495 used as a mask for the mode argument of __vfscanf_internal and
5496 __vfwscanf_internal.
5497 * stdio-common/vfscanf-internal.c
5498 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5499 (__strtof128_internal): Define to __wcstof128_internal.
5500 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5501 __strtof128_internal or __wcstof128_internal when the format of
5502 long double is the same as _Float128.
5503
5504 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5505
5506 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5507 * posix/confstr.c (confstr): Rename to __confstr.
5508 (__confstr): Add hidden def.
5509 (confstr): Add weak alias for __confstr.
5510 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5511 confstr.
5512
5513 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5514
5515 * NEWS: Mention getcpu.
5516 * include/sched.h (__getcpu): New libc_hidden_proto.
5517 * manual/resource.texi: Document getcpu.
5518 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5519 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5520 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5521 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5522 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5523 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5524 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5525 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5526 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5527 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5528 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5529 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5530 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5531 Likewise.
5532 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5533 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5534 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5536 Likewise.
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5538 Likewise.
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5540 Likewise.
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5542 Likewise.
5543 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5544 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5545 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5546 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5547 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5548 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5549 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5550 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5551 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5552 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5553 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5554 Also check getcpu.
5555
5556 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5557
5558 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5559 functions.
5560 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5561
5562 2018-12-07 Florian Weimer <fweimer@redhat.com>
5563
5564 [BZ #17405]
5565 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5566 * posix/Versions (GLIBC_2.29): Export
5567 posix_spawn_file_actions_addfchdir_np.
5568 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5569 * posix/spawn_faction_destroy.c
5570 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5571 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5572 and the field action.fchdir_action.
5573 * posix/tst-spawn-chdir.c (add_chdir): New function.
5574 (do_test): Add do_fchdir loop. Call add_chdir.
5575 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5576 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5577 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5578 posix_spawn_file_actions_addfchdir_np.
5579 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5580 Likewise.
5581 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5582 Likewise.
5583 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5584 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5585 Likewise.
5586 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5587 Likewise.
5588 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5589 Likewise.
5590 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5591 Likewise.
5592 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5593 Likewise.
5594 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5595 Likewise.
5596 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5597 (GLIBC_2.29): Likewise.
5598 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5599 (GLIBC_2.29): Likewise.
5600 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5601 (GLIBC_2.29): Likewise.
5602 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5603 (GLIBC_2.29): Likewise.
5604 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5605 Likewise.
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5607 (GLIBC_2.29): Likewise.
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5609 (GLIBC_2.29): Likewise.
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5611 (GLIBC_2.29): Likewise.
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5613 (GLIBC_2.29): Likewise.
5614 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5615 Likewise.
5616 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5617 Likewise.
5618 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5619 Likewise.
5620 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5621 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5622 Likewise.
5623 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5624 Likewise.
5625 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5626 Likewise.
5627 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5628 Likewise.
5629
5630 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5631
5632 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5633 trailing whitespace removed.
5634 * scripts/config.guess: Update to version 2018-11-28.
5635 * scripts/config.sub: Update to version 2018-11-28.
5636 * scripts/install-sh: Update to version 2018-03-11.20.
5637 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5638 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5639
5640 2018-12-07 Florian Weimer <fweimer@redhat.com>
5641
5642 [BZ #23927]
5643 CVE-2018-19591
5644 * inet/tst-if_index-long.c: New file.
5645 * inet/Makefile (tests): Add tst-if_index-long.
5646
5647 2018-12-07 Florian Weimer <fweimer@redhat.com>
5648
5649 * support/check.h (support_record_failure_is_failed): Declare.
5650 * support/descriptors.h: New file.
5651 * support/support_descriptors.c: Likewise.
5652 * support/tst-support_descriptors.c: Likewise.
5653 * support/support_record_failure.c
5654 (support_record_failure_is_failed): New function.
5655 * support/Makefile (libsupport-routines): Add support_descriptors.
5656 (tests): Add tst-support_descriptors.
5657
5658 2018-12-05 Zack Weinberg <zackw@panix.com>
5659 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5660
5661 * stdio-common/vfprintf-internal.c
5662 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5663 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5664 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5665 and __no_long_double.
5666 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5667 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5668 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5669 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5670 and __nldbl_*syslog* functions.
5671 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5672 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5673 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5674 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5675 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5676 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5677 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5678 (__nldbl_vwprintf, __nldbl_wprintf):
5679 Directly call the appropriate __v*printf_internal routine, passing
5680 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5681 variable names.
5682 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5683 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5684 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5685 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5686 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5687 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5688 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5689 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5690 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5691 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5692 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5693 (__nldbl_syslog, __nldbl_vsyslog):
5694 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5695 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5696 appropriate.
5697 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5698 appropriate.
5699
5700 2018-12-05 Zack Weinberg <zackw@panix.com>
5701 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5702
5703 [BZ #11319]
5704 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5705 Moved here from debug/vsprintf_chk.c.
5706 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5707 and completion logic for the strfile to match exactly what
5708 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5709 _IO_str_init_static_internal instead of maxlen-1.
5710 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5711 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5712 __vsprintf_internal.
5713
5714 * debug/vsprintf_chk.c (__vsprintf_chk)
5715 * debug/sprintf_chk.c (__sprintf_chk):
5716 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5717 'flags' argument is positive, and slen as maxlen. No need to lock
5718 the FILE and/or construct a temporary FILE. Minimize and normalize
5719 header inclusions and variable names. Do not libc_hidden_def anything.
5720
5721 * debug/asprintf_chk.c (__asprintf_chk)
5722 * debug/dprintf_chk.c (__dprintf_chk)
5723 * debug/fprintf_chk.c (__fprintf_chk)
5724 * debug/fwprintf_chk.c (__fwprintf_chk)
5725 * debug/printf_chk.c (__printf_chk)
5726 * debug/snprintf_chk.c (__snprintf_chk)
5727 * debug/swprintf_chk.c (__swprintf_chk)
5728 * debug/vasprintf_chk.c (__vasprintf_chk)
5729 * debug/vdprintf_chk.c (__vdprintf_chk)
5730 * debug/vfprintf_chk.c (__vfprintf_chk)
5731 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5732 * debug/vprintf_chk.c (__vprintf_chk)
5733 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5734 * debug/vswprintf_chk.c (__vswprintf_chk)
5735 * debug/vwprintf_chk.c (__vwprintf_chk)
5736 * debug/wprintf_chk.c (__wprintf_chk):
5737 Directly call the corresponding vxxprintf_internal function, passing
5738 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5739 the FILE and/or construct a temporary FILE. Minimize and normalize
5740 header inclusions and variable names. Do not libc_hidden_def anything.
5741
5742 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5743 __obstack_vprintf_internal.
5744 (__obstack_vprintf_chk): Convert into a wrapper that calls
5745 __obstack_vprintf_internal (these two functions already had the
5746 same code) and move to new file...
5747 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5748 file.
5749 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5750 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5751 * debug/Makefile (routines): Add vobprintf_chk.
5752
5753 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5754 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5755 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5756 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5757 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5758 (__nldbl___obstack_vfprintf_chk):
5759 Directly call the corresponding vxxprintf_internal function,
5760 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5761 duplicate comparison of slen with 0 or maxlen from the corresponding
5762 non-__nldbl function.
5763
5764 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5765 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5766 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5767 Remove libc_hidden_proto.
5768
5769 * stdio-common/vfprintf-internal.c
5770 (__vfprintf_internal, __vfwprintf_internal):
5771 Do not check _IO_FLAGS2_FORTIFY.
5772 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5773 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5774 a comment explaining why it has the maxlen argument.
5775 (_IO_acquire_lock_clear_flags2_fct): Remove.
5776 (_IO_acquire_lock_clear_flags2): Remove.
5777 (_IO_release_lock): Remove conditional statement which will
5778 now never execute.
5779 (_IO_acquire_lock): Remove variable which is now unused.
5780 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5781 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5782
5783 * stdio-common/Makefile (tests): Add tst-bz11319 and
5784 tst-bz11319-fortify2.
5785 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5786 * stdio-common/tst-bz11319-fortify2.c: New file.
5787 * stdio-common/tst-bz11319.c: Likewise.
5788
5789 2018-12-05 Zack Weinberg <zackw@panix.com>
5790 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5791
5792 * misc/syslog.c: Include libioP.h, not iolibio.h.
5793 (__vsyslog_internal): New function with the former body of
5794 __vsyslog_chk; takes mode_flags argument same as
5795 __v*printf_internal. Call __vfprintf_internal directly.
5796
5797 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5798 Remove libc_hidden_def.
5799 (__syslog, __syslog_chk): Use __vsyslog_internal.
5800 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5801
5802 * include/sys/syslog.h: Add multiple inclusion guard.
5803 Add prototype for __vsyslog_internal.
5804 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5805
5806 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5807 Use __vsyslog_internal.
5808
5809 2018-12-05 Zack Weinberg <zackw@panix.com>
5810 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5811
5812 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5813 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5814 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5815 New functions.
5816 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5817 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5818
5819 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5820 Include wctype.h here if COMPILE_WPRINTF is defined.
5821 Define __vfprintf_internal or __vfwprintf_internal, depending
5822 on COMPILE_WPRINTF.
5823 Temporarily, on entry to this function, update mode_flags
5824 according to the environmental settings corresponding to
5825 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5826 Throughout, check mode_flags instead of __ldbl_is_dbl and
5827 _IO_FLAGS2_FORTIFY on the destination FILE.
5828 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5829 Include vfprintf-internal.c. Don't include wctype.h.
5830 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5831 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5832 and vfprintf.
5833 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5834 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5835 and vfwprintf.
5836 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5837
5838 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5839 and add mode_flags argument; use __vfprintf_internal.
5840 (__vdprintf): New function. Alias vdprintf to this.
5841 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5842 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5843 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5844 (__obstack_printf): Use __obstack_printf_internal.
5845 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5846 public aliases __vsnprintf and vsnprintf.
5847 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5848 called internally.
5849 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5850 public aliases _IO_vsprintf and vsprintf.
5851 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5852 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5853 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5854 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5855 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5856
5857 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5858 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5859 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5860 * stdio-common/printf.c: Use __vfprintf_internal.
5861
5862 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5863 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5864 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5865
5866 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5867 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5868 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5869 __vfwprintf_internal.
5870
5871 * libio/libio.h: Remove libc_hidden_proto and declaration for
5872 _IO_vfprintf.
5873 Remove declaration of _IO_vfwprintf.
5874 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5875 _IO_vsprintf.
5876 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5877 _IO_obstack_printf.
5878 * include/stdio.h: Add prototype for __vasprintf.
5879 (__vsnprintf): Remove declaration, because there are no more
5880 internal calls.
5881 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5882 declaration, because there are no more internal calls.
5883
5884 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5885 __vsnprintf_internal, instead of _IO_vsnprintf.
5886 * argp/argp-help.c (__argp_error, __argp_failure): Use
5887 __vasprintf_internal, instead of _IO_vasprintf.
5888 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5889 redefine, because there are no more internal calls.
5890
5891 2018-12-05 Zack Weinberg <zackw@panix.com>
5892 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5893
5894 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5895 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5896 Include libio/strfile.h instead of libioP.h.
5897 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5898 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5899 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5900 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5901 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5902 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5903 necessary. Do not set __no_long_double. Normalize variable names.
5904 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5905 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5906 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5907 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5908 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5909 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5910 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5911 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5912 Do not set __no_long_double. Normalize variable names.
5913
5914 2018-12-05 Zack Weinberg <zackw@panix.com>
5915 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5916
5917 * stdio-common/isoc99_scanf.c
5918 * stdio-common/isoc99_fscanf.c
5919 * stdio-common/isoc99_sscanf.c
5920 * stdio-common/isoc99_vscanf.c
5921 * stdio-common/isoc99_vfscanf.c
5922 * stdio-common/isoc99_vsscanf.c
5923 * wcsmbs/isoc99_wscanf.c
5924 * wcsmbs/isoc99_fwscanf.c
5925 * wcsmbs/isoc99_swscanf.c
5926 * wcsmbs/isoc99_vwscanf.c
5927 * wcsmbs/isoc99_vfwscanf.c
5928 * wcsmbs/isoc99_vswscanf.c:
5929 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5930 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5931 No need to lock and unlock the FILE passed to that function.
5932
5933 * stdio-common/vfscanf-internal.c
5934 (__vfscanf_internal, __vfwscanf_internal):
5935 Don't look at _IO_FLAGS2_SCANF_STD.
5936 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5937 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5938 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5939
5940 2018-12-05 Zack Weinberg <zackw@panix.com>
5941 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5942
5943 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5944 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5945 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5946 * libio/strfile.h: Add multiple inclusion guard.
5947 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5948
5949 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5950 consistency with the other version of this file.
5951 (ldbl_compat_symbol): New macro.
5952 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5953 New macro.
5954
5955 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5956 Define __vfscanf_internal or __vfwscanf_internal, depending on
5957 COMPILE_WSCANF; don't define any other public symbols.
5958 Remove errval and code to set errp.
5959 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5960 as the mode_flags argument.
5961 (encode_error, conv_error, input_error): Don't set errval.
5962 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5963 Include vfscanf-internal.c.
5964 * stdio-common/vfscanf.c: New file defining the public entry
5965 point vfscanf, which calls __vfscanf_internal.
5966 * stdio-common/vfwscanf.c: New file defining the public entry
5967 point vfwscanf, which calls __vfwscanf_internal.
5968
5969 * stdio-common/iovfscanf.c: New file.
5970 * stdio-common/iovfwscanf.c: Likewise.
5971
5972 * stdio-common/Makefile (routines): Add vfscanf-internal,
5973 vfwscanf-internal, iovfscanf, iovfwscanf.
5974 * stdio-common/Versions: Mention GLIBC_2.29, so that
5975 it can be used in SHLIB_COMPAT expressions.
5976 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5977 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5978 Call __vfscanf_internal, instead of _IO_vfscanf.
5979 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5980 _IO_vfscanf.
5981 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5982 _IO_vfwscanf.
5983
5984 * libio/iovsscanf.c: Clean up includes, when possible. Use
5985 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5986 __vfscanf_internal or __vfwscanf_internal directly.
5987 * libio/iovswscanf.c: Likewise.
5988 * libio/swscanf.c: Likewise.
5989 * libio/vscanf.c: Likewise.
5990 * libio/vwscanf.c: Likewise.
5991 * libio/wscanf.c: Likewise.
5992 * stdio-common/isoc99_fscanf.c: Likewise.
5993 * stdio-common/isoc99_scanf.c: Likewise.
5994 * stdio-common/isoc99_sscanf.c: Likewise.
5995 * stdio-common/isoc99_vfscanf.c: Likewise.
5996 * stdio-common/isoc99_vscanf.c: Likewise.
5997 * stdio-common/isoc99_vsscanf.c: Likewise.
5998 * stdio-common/scanf.c: Likewise.
5999 * stdio-common/sscanf.c: Likewise.
6000 * wcsmbs/isoc99_fwscanf.c: Likewise.
6001 * wcsmbs/isoc99_swscanf.c: Likewise.
6002 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6003 * wcsmbs/isoc99_vswscanf.c: Likewise.
6004 * wcsmbs/isoc99_vwscanf.c: Likewise.
6005 * wcsmbs/isoc99_wscanf.c: Likewise.
6006
6007 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6008
6009 * include/time.h
6010 (__tz_compute): Replace time_t with __time64_t.
6011 (__tz_convert): Replace time_t* with __time64_t.
6012 (__offtime): Replace time_t* with __time64_t.
6013 * time/gmtime.c
6014 (__gmtime_r): Adjust call to __tz_convert.
6015 (gmtime): Likewise.
6016 * time/localtime.c
6017 (__localtime_r): Likewise.
6018 (localtime): Likewise.
6019 * time/offtime.c: Replace time_t with __time64_t.
6020 * time/tzset.c: Likewise.
6021
6022 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6023
6024 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6025 dynamic linker unless [$(run-built-tests) = yes].
6026
6027 2018-12-03 DJ Delorie <dj@delorie.com>
6028
6029 * support/test-container.c (check_for_unshare_hints): New.
6030 (main): Call it if unshare fails. Add support for "su" scriptlet
6031 command.
6032
6033 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6034
6035 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6036 'START' to indicate that start text should be output.
6037 (gen_test): Likewise.
6038 (main): Generate 'START' for first symbol or '--' line, or at end
6039 of input if not previously generated.
6040
6041 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6042
6043 [BZ #19767]
6044 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6045 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6046 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6047 ALWAYS_USE_VSYSCALL.
6048
6049 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6050
6051 [BZ #23913]
6052 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6053 new_argv by one.
6054
6055 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6056
6057 [BZ #23923]
6058 * locale/programs/localedef.c: Declare boolean hard_links default true.
6059 (options): Add --no-hard-links option.
6060 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6061 * locale/programs/localedef.h: Declare prototype for hard_links.
6062 * locale/programs/locfile.c (write_locale_data): Don't use hard
6063 links if hard_links is false.
6064
6065 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6066
6067 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6068 cpu_features_basic.
6069 (__cache_sysconf): Likewise.
6070 (init_cacheinfo): Likewise.
6071 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6072 populate COMMON_CPUID_INDEX_80000007 and
6073 COMMON_CPUID_INDEX_80000008.
6074 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6075 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6076 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6077 (init_cpu_features): Use _Static_assert on
6078 index_arch_Fast_Unaligned_Load.
6079 __get_cpuid_registers and __get_arch_feature. Updated for
6080 cpu_features_basic. Set stepping in cpu_features.
6081 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6082 (FEATURE_INDEX_2): New.
6083 (FEATURE_INDEX_MAX): Changed to enum.
6084 (COMMON_CPUID_INDEX_D_ECX_1): New.
6085 (COMMON_CPUID_INDEX_80000007): Likewise.
6086 (COMMON_CPUID_INDEX_80000008): Likewise.
6087 (cpuid_registers): Likewise.
6088 (cpu_features_basic): Likewise.
6089 (CPU_FEATURE_USABLE): Likewise.
6090 (bit_arch_XXX_Usable): Likewise.
6091 (cpu_features): Use cpuid_registers and cpu_features_basic.
6092 (bit_arch_XXX): Reweritten.
6093 (bit_cpu_XXX): Likewise.
6094 (index_cpu_XXX): Likewise.
6095 (reg_XXX): Likewise.
6096 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6097 <support/check.h>.
6098 (CHECK_CPU_FEATURE): New.
6099 (CHECK_CPU_FEATURE_USABLE): Likewise.
6100 (cpu_kinds): Likewise.
6101 (do_test): Print vendor, family, model and stepping. Check
6102 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6103 (TEST_FUNCTION): Removed.
6104 Include <support/test-driver.c> instead of
6105 "../../test-skeleton.c".
6106 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6107 Check POPCNT instead of POPCOUNT.
6108 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6109
6110 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6111
6112 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6113 there is no element in `consts'.
6114
6115 2018-12-01 Florian Weimer <fweimer@redhat.com>
6116
6117 * support/support_capture_subprocess.c
6118 (support_capture_subprocess): Check that pipe descriptors have
6119 expected values. Close original pipe descriptors in subprocess.
6120
6121 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6122
6123 [BZ #23032]
6124 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6125 attr with __pthread_default_barrierattr.
6126 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6127 attr with __pthread_default_condattr.
6128 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6129 attr with __pthread_default_mutexattr.
6130 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6131 attr with __pthread_default_rwlockattr.
6132
6133 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6134
6135 * manual/tunables.texi (POSIX Thread Tunables): New node.
6136 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6137 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6138 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6139 __pthread_tunables_init.
6140 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6141 (max_adaptive_count): Define.
6142 * nptl/pthread_mutex_conf.c: New file.
6143 * nptl/pthread_mutex_conf.h: New file.
6144 * sysdeps/generic/adaptive_spin_count.h: New file.
6145 * sysdeps/nptl/dl-tunables.list: New file.
6146 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6147 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6148 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6149 Likewise.
6150
6151 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6152
6153 [BZ #20544]
6154 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6155 * stdlib/on_exit.c (__on_exit): Likewise.
6156 * stdlib/Makefile (tests): Add tst-bz20544.
6157 * stdlib/tst-bz20544.c: New test.
6158
6159 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6160
6161 [BZ #19767]
6162 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6163 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6164 New.
6165
6166 2018-11-30 Florian Weimer <fweimer@redhat.com>
6167
6168 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6169 Extend error logging.
6170 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6171 symbol.
6172
6173 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6174
6175 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6176 __sigismember instead of sigismember.
6177 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6178 cancel_handler): New definitions.
6179 (do_system): Use posix_spawn instead of fork and execl and remove
6180 reentracy code.
6181 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6182 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6183 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6184 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6185 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6186 * sysdeps/unix/sysv/linux/system.c: Likewise.
6187
6188 [BZ #22834]
6189 [BZ #17490]
6190 * NEWS: Add new semantic for atfork with popen and system.
6191 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6192 fork and execl.
6193
6194 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6195
6196 [BZ #23690]
6197 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6198 modification order when accessing reloc_result->addr.
6199 * include/link.h (reloc_result): Add field init.
6200 * nptl/Makefile (tests): Add tst-audit-threads.
6201 (modules-names): Add tst-audit-threads-mod1 and
6202 tst-audit-threads-mod2.
6203 Add rules to build tst-audit-threads.
6204 * nptl/tst-audit-threads-mod1.c: New file.
6205 * nptl/tst-audit-threads-mod2.c: Likewise.
6206 * nptl/tst-audit-threads.c: Likewise.
6207 * nptl/tst-audit-threads.h: Likewise.
6208
6209 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6210
6211 * scripts/gen-as-const.py: New file.
6212 * scripts/gen-as-const.awk: Remove.
6213 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6214 gen-as-const.py.
6215 ($(objpfx)test-as-const-%.c): Likewise.
6216
6217 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6218
6219 * elf/dl-exception.c: Include <_itoa.h>.
6220
6221 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6222
6223 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6224 returned by __f_setlk.
6225
6226 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6227 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6228
6229 * elf/Makefile (tests-internal): Add tst-create_format1.
6230 * elf/dl-exception.c (_dl_exception_create_format): Support
6231 %x, %lx and %zx.
6232 * elf/tst-create_format1.c: New file.
6233
6234 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6235
6236 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6237 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6238 gnulib.)
6239 * argp/argp-help.c (__argp_failure): Likewise.
6240
6241 2018-11-29 Mao Han <han_mao@c-sky.com>
6242
6243 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6244 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6245 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6246 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6247 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6248 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6249 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6250 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6251 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6252 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6253 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6254 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6255 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6256 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6257 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6258 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6259 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6260 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6261 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6262 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6263 (R_CKCORE_TLS_TPOFF32): New defines.
6264
6265 2018-11-29 Florian Weimer <fweimer@redhat.com>
6266
6267 * posix/Makefile (before-compile): Remove testcases.h and
6268 ptestcases.h.
6269 (generated): Add testcases.h and ptestcases.h.
6270 (testcases.h, ptestcases.h): Move to $(objpfx).
6271 (runtests.o): Add dependency on testcases.h.
6272 (runptests.o): Add dependency on ptestcases.h.
6273 * posix/testcases.h, posix/ptestcases.h: Remove files.
6274 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6275 not touch posix/testcases.h and posix/ptestcases.h.
6276
6277 2018-11-28 Florian Weimer <fweimer@redhat.com>
6278
6279 support: Add signal support to support_capture_subprocess_check.
6280 * support/capture_subprocess.h (support_capture_subprocess_check):
6281 Adjust comment and rename parameter.
6282 * support/support_capture_subprocess_check.c
6283 (print_actual_status): New function.
6284 (support_capture_subprocess_check): Support negative
6285 status_or_signal. Call print_actual_status.
6286 * support/tst-support_capture_subprocess.c (do_test): Call
6287 support_capture_subprocess_check.
6288 * libio/tst-vtables-common.c (termination_status)
6289 (init_termination_status): Remove.
6290 (check_for_termination): Adjust support_capture_subprocess_check
6291 call.
6292 (do_test): Remove call to init_termination_status.
6293
6294 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6295
6296 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6297 source directory instead of a copy.
6298 (CommandList.create_copy_dir): Remove.
6299
6300 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6301
6302 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6303
6304 2018-11-28 Florian Weimer <fweimer@redhat.com>
6305
6306 * support/support.h (support_quote_string): Do not use str
6307 parameter name.
6308
6309 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6310
6311 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6312 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6313
6314 2018-11-27 Florian Weimer <fweimer@redhat.com>
6315
6316 * support/support.h (support_quote_string): Declare.
6317 * support/support_quote_string.c: New file.
6318 * support/tst-support_quote_string.c: Likewise.
6319 * support/Makefile (libsupport-routines): Add
6320 support_quote_string.
6321 (tests): Add tst-support_quote_string.
6322
6323 2018-11-27 Florian Weimer <fweimer@redhat.com>
6324
6325 [BZ #23927]
6326 CVE-2018-19591
6327 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6328 descriptor leak in case of ENODEV error.
6329
6330 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6331
6332 [BZ #19767]
6333 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6334 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6335 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6336
6337 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6338
6339 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6340 Error for unknown lines.
6341
6342 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6343
6344 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6345 Touch additional files.
6346
6347 2018-11-26 Florian Weimer <fweimer@redhat.com>
6348
6349 [BZ #23907]
6350 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6351 double-frees.
6352
6353 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6354
6355 [BZ #19767]
6356 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6357 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6358 SHARED. Include sysdep.h.
6359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6360 ALWAYS_USE_VSYSCALL.
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6362 ALWAYS_USE_VSYSCALL.
6363
6364 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6365
6366 [BZ #19767]
6367 * nptl/Makefile (tests-static): Add tst-cond11-static.
6368 (tests): Likewise.
6369 * nptl/tst-cond11-static.c: New File.
6370 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6371 tst-affinity-static.
6372 (tests): Likewise.
6373 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6374 instead of SHARED.
6375 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6376 (USE_VSYSCALL): Likewise.
6377 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6378 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6379 instead of SHARED.
6380 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6381 SHARED.
6382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6383 New.
6384
6385 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6386
6387 [BZ #23915]
6388 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6389 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6390 Undefine.
6391
6392 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6393
6394 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6395 (tst-cet-legacy-1a-ARGS): New.
6396 ($(objpfx)tst-cet-legacy-1a): New target.
6397 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6398
6399 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6400
6401 * conform/conformtest.py (CompileSubTest.__init__): Set
6402 self.run_early to False.
6403 (ExecuteSubTest.__init__): Likewise.
6404 (HeaderTests.run): Try running all non-optional, non-XFAILed
6405 compilation tests in a single execution of the compiler.
6406
6407 * conform/conformtest.py (CompileSubTest): New class.
6408 (ExecuteSubTest): Likewise.
6409 (ElementTest.run): Rename to gen_subtests. Append tests to
6410 self.subtests instead of running them.
6411 (ConstantTest.run): Likewise.
6412 (SymbolTest.run): Likewise.
6413 (TypeTest.run): Likewise.
6414 (TagTest.run): Likewise.
6415 (FunctionTest.run): Likewise.
6416 (VariableTest.run): Likewise.
6417 (MacroFunctionTest.run): Likewise.
6418 (MacroStrTest.run): Likewise.
6419 (HeaderTests.handle_test_line): Generate subtests for tests.
6420 (HeaderTests.run): Run subtests for tests.
6421
6422 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6423
6424 * math/Versions (GLIBC_2.29): Add pow.
6425 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6426 symbol.
6427 * math/w_pow.c: New file.
6428 * sysdeps/i386/fpu/w_pow.c: New file.
6429 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6430 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6431 and add necessary aliases.
6432 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6433 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6434 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6435 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6436 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6437 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6438 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6439 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6440 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6441 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6442 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6443 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6444 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6445 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6446 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6451 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6452 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6453 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6454 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6455 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6456 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6457 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6458 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6459 __pow.
6460 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6461 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6462 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6463
6464 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6465
6466 * math/Versions (GLIBC_2.29): Add log2.
6467 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6468 symbol.
6469 * math/w_log2.c: New file.
6470 * sysdeps/i386/fpu/w_log2.c: New file.
6471 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6472 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6473 and add necessary aliases.
6474 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6475 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6476 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6477 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6478 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6479 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6480 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6481 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6482 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6483 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6484 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6485 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6486 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6487 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6488 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6493 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6494 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6495 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6496 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6497 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6498 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6499 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6500
6501 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6502
6503 * math/Versions (GLIBC_2.29): Add log.
6504 * math/w_log_compat.c (__log_compat): Change to versioned compat
6505 symbol.
6506 * math/w_log.c: New file.
6507 * sysdeps/i386/fpu/w_log.c: New file.
6508 * sysdeps/ia64/fpu/e_log.S: Update.
6509 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6510 and add necessary aliases.
6511 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6512 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6513 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6514 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6515 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6516 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6517 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6518 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6519 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6520 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6521 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6522 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6523 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6524 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6525 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6530 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6531 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6532 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6533 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6534 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6535 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6536 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6537 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6538 __log.
6539 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6540 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6541 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6542 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6543
6544 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6545
6546 * math/Versions (GLIBC_2.29): Add exp and exp2.
6547 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6548 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6549 * math/w_exp_compat.c (__exp_compat): Likewise.
6550 * math/w_exp.c: New file.
6551 * math/w_exp2.c: New file.
6552 * sysdeps/i386/fpu/w_exp.c: New file.
6553 * sysdeps/i386/fpu/w_exp2.c: New file.
6554 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6555 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6556 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6557 and add necessary aliases.
6558 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6559 and add necessary aliases.
6560 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6561 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6562 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6563 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6564 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6565 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6566 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6567 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6568 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6569 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6570 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6571 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6572 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6573 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6574 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6575 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6576 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6581 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6582 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6583 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6584 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6585 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6586 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6587 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6588 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6589 (__ieee754_exp): Rename to __exp.
6590 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6591 (__ieee754_exp): Rename to __exp.
6592 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6593 (__ieee754_exp): Rename to __exp.
6594 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6595 __exp.
6596 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6597
6598 2018-11-20 DJ Delorie <dj@redhat.com>
6599
6600 * malloc/malloc.c (tcache_entry): Add key field.
6601 (tcache_put): Set it.
6602 (tcache_get): Likewise.
6603 (_int_free): Check for double free in tcache.
6604 * malloc/tst-tcfree1.c: New.
6605 * malloc/tst-tcfree2.c: New.
6606 * malloc/Makefile: Run the new tests.
6607 * manual/probes.texi: Document memory_tcache_double_free probe.
6608
6609 * dlfcn/dlerror.c (check_free): Prevent double frees.
6610
6611 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6612
6613 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6614
6615 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6616
6617 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6618 in tests. Use names for format arguments.
6619 (ConstantTest.run): Likewise.
6620 (SymbolTest.run): Likewise.
6621 (TypeTest.run): Likewise.
6622 (TagTest.run): Likewise.
6623 (FunctionTest.run): Likewise.
6624 (VariableTest.run): Likewise.
6625 (MacroFunctionTest.run): Likewise.
6626 (MacroStrTest.run): Likewise.
6627 (HeaderTests.__init__): Set self.num_tests.
6628 (HeaderTests.handle_test_line): Set test.num. Increment
6629 self.num_tests.
6630
6631 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6632
6633 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6634 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6635 SEEK_SET.
6636
6637 2018-11-19 Mao Han <han_mao@c-sky.com>
6638
6639 * scripts/config.guess: Update to version 2018-08-29.
6640 * scripts/config.sub: Update to version 2018-08-29.
6641
6642 2018-11-19 Florian Weimer <fweimer@redhat.com>
6643
6644 support: Print timestamps in timeout handler.
6645 * support/support_test_main.c (print_timestamp): New function.
6646 (signal_handler): Use it to print the termination time and the
6647 time of the last write to standard output.
6648
6649 2018-11-16 Zack Weinberg <zackw@panix.com>
6650 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6651
6652 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6653 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6654 argument.
6655 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6656 and add flags argument. Check flags instead of __ldbl_is_dbl when
6657 deciding whether to set is_long_double.
6658 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6659 passing zero for flags argument.
6660 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6661
6662 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6663 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6664 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6665 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6666 variable names. Remove libc_hidden_def/libc_hidden_proto from
6667 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6668 longer called from within the library.
6669 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6670 for __nldbl___vstrfmon_l, declare it explicitly.
6671
6672 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6673
6674 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6675
6676 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6677 macros
6678 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6679 F_SETLK64, F_SETLKW64, respectively.
6680 * sysdeps/mach/hurd/f_setlk.c: New file.
6681 * sysdeps/mach/hurd/f_setlk.h: New file.
6682 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6683 f_setlk.
6684 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6685 (__libc_fcntl): Move non-flock operations to...
6686 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6687 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6688
6689 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6690
6691 mktime: DEBUG_MKTIME cleanup
6692 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6693 And it’s no longer needed now that glibc and Gnulib both have
6694 their own testing mechanisms for mktime.
6695 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6696
6697 mktime: fix non-EOVERFLOW errno handling
6698 [BZ#23789]
6699 mktime was not properly reporting failures when the underlying
6700 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6701 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6702 The problem could happen on non-glibc platforms, with Gnulib.
6703 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6704 (tm_diff): ... this simpler function, which does not change errno.
6705 All callers changed to deal with errno themselves.
6706 (ranged_convert, __mktime_internal): Return failure immediately if
6707 the underlying function reports any failure other than EOVERFLOW.
6708 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6709 gap code fails.
6710
6711 mktime: fix bug with Y2038 DST transition
6712 [BZ#23789]
6713 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6714 mishandle a DST transition that jumps over the Y2038 boundary.
6715 No such DST transitions are known so this is only a theoretical
6716 bug, but we might as well do things right.
6717
6718 mktime: make more room for overflow
6719 [BZ#23789]
6720 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6721 This is so that we can add tm_diff results to a previous guess,
6722 which will be useful in a later patch.
6723
6724 mktime: simplify offset guess
6725 [BZ#23789]
6726 * time/mktime.c (__mktime_internal): Omit excess precision.
6727
6728 mktime: new test for mktime failure
6729 [BZ#23789]
6730 Based on a test suggested by Albert Aribaud in:
6731 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6732 * time/Makefile (tests): Add bug-mktime4.
6733 * time/bug-mktime4.c: New file.
6734
6735 mktime: fix EOVERFLOW bug
6736 [BZ#23789]
6737 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6738 Include libc-config.h, not config.h, for __set_errno.
6739 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6740
6741 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6742
6743 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6744 __attribute_copy__ to copy attributes from name. Drop static qualifier
6745 to avoid warnings about leaf attribute not having effect on static
6746 functions.
6747
6748 2018-11-13 Florian Weimer <fweimer@redhat.com>
6749
6750 * malloc/malloc.c (fastbin_push_entry): New function.
6751 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6752 (REMOVE_FB): Remove macro.
6753 (_int_malloc): Use fastbin_pop_entry and reindent.
6754 (_int_free): Use fastbin_push_entry.
6755 (malloc_consolidate): Use atomic_exchange_acquire.
6756
6757 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6758
6759 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6760 alias attribute, not with strong_alias.
6761
6762 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6763 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6764 with additional parameter thread.
6765 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6766 in terms of __hidden_ver2.
6767 (hidden_tls_def): New macro.
6768 (libc_hidden_tls_def): Likewise.
6769 (rtld_hidden_tls_def): Likewise.
6770 (libm_hidden_tls_def): Likewise.
6771 (libmvec_hidden_tls_def): Likewise.
6772 (libresolv_hidden_tls_def): Likewise.
6773 (librt_hidden_tls_def): Likewise.
6774 (libdl_hidden_tls_def): Likewise.
6775 (libnss_files_hidden_tls_def): Likewise.
6776 (libnsl_hidden_tls_def): Likewise.
6777 (libnss_nisplus_hidden_tls_def): Likewise.
6778 (libutil_hidden_tls_def): Likewise.
6779 (libutil_hidden_tls_def): Likweise.
6780 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6781 libc_hidden_tls_def.
6782 (__sim_disabled_exceptions_thread): Likewise.
6783 (__sim_round_mode_thread): Likewise.
6784
6785 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6786 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6787 copy attributes from name.
6788
6789 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6790
6791 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6792 Use __attribute_copy__ to copy attributes from name.
6793
6794 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6795 with __hidden_ver1 call.
6796 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6797 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6798 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6799 (__cosf): Do not declare here.
6800 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6801 (__sincosf): Do not declare here.
6802 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6803 (__sinf): Do not declare here.
6804
6805 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6806 (__BIG_ENDIAN): Likewise.
6807 (__BYTE_ORDER): Likewise.
6808 (strong_alias): Likewise.
6809 (_strong_alias): Likewise.
6810
6811 2018-11-12 Florian Weimer <fweimer@redhat.com>
6812
6813 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6814 function. Move after the definition of in_smallbin_range. Do not
6815 use __builtin_expect for paths that lead to a noreturn function.
6816 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6817 because it is unclear whether this is in fact an unlikely
6818 condition.
6819 (_int_malloc, _int_free): Adjust.
6820 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6821 variables.
6822 * malloc/arena.c (heap_trim): Likewise.
6823
6824 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6825
6826 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6827 it, free it if needed.
6828 (reauthenticate): Test and use ccwdir.
6829 (child_init_port): In non-resetids case, test and use ccwdir.
6830 (child_chdir): New nested function to set ccwdir.
6831 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6832 * hurd/hurd/port.h (_hurd_port_move): New function.
6833 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6834 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6835 * hurd/Versions (_hurd_port_move): Export function.
6836 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6837 symbol.
6838 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6839 of dtablesize for allocating dtable_cloexec.
6840
6841 2018-11-09 Martin Sebor <msebor@redhat.com>
6842
6843 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6844 it's already defined.
6845 (_strong_alias): Use __attribute_copy__.
6846 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6847 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6848 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6849 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6850 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6851 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6852 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6853 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6854 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6855 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6856 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6857 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6858 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6859 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6860 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6861 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6862 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6863 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6864 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6865
6866 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6867
6868 * misc/tst-efgcvt.c: Include support/check.h and
6869 support/test-driver.c. Do not include test-skeleton.c.
6870 (error_count): Remove.
6871 (output_error): Replace increments to error_count with calls to
6872 support_record_failure.
6873 (output_r_error): Likewise.
6874 (special): Likewise.
6875 (do_test): Unconditionally return zero.
6876 (TEST_FUNCTION): Remove.
6877
6878 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6879
6880 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6881 not $(@D)/scratch.
6882 ($(linknamespace-header-tests)): Likewise.
6883
6884 * conform/conformtest.py: New file.
6885 * conform/conformtest.pl: Remove.
6886 * conform/GlibcConform.pm: Likewise.
6887 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6888 (KEYWORDS_C99): Likewise.
6889 (KEYWORDS): Likewise.
6890 * conform/Makefile ($(conformtest-header-tests)): Use
6891 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6892 option. Use --header instead of --headers.
6893 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6894 function entries.
6895 * conform/data/spawn.h-data: Likewise.
6896 * conform/data/fcntl.h-data (openat): Add space after function
6897 name.
6898 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6899 (wcscasecmp_l): Likewise.
6900 * conform/data/termios.h-data (c_cc): Add space after element
6901 name.
6902
6903 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6904
6905 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6906 instead of manually comparing and reporting mismatching strings.
6907 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6908 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6909
6910 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6911
6912 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6913 __ASSUME_SOCKETCALL.
6914 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6915 (__ASSUME_SOCKETCALL): Remove.
6916 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6917 (__ASSUME_SOCKETCALL): Likewise.
6918 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6919 (__ASSUME_SOCKETCALL): Likewise.
6920 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6921 (__ASSUME_SOCKETCALL): Likewise.
6922 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6923 (__ASSUME_SOCKETCALL): Likewise.
6924 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6925 (__ASSUME_SOCKETCALL): Likewise.
6926 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6927 (__ASSUME_SOCKETCALL): Likewise.
6928
6929 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6930
6931 [BZ #23509]
6932 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6933 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6934 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6935 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6936 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6937 lc_unknown.
6938
6939 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6940
6941 [BZ #17630]
6942 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6943
6944 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6945
6946 [BZ #23867]
6947 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6948 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6949 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6950 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6951
6952 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6953
6954 * support/support_test_compare_string.c
6955 (support_test_compare_string): Fix printf format.
6956
6957 2018-11-07 Florian Weimer <fweimer@redhat.com>
6958
6959 Implement TEST_COMPARE_STRING.
6960 * support/check.h (TEST_COMPARE_STRING): Define.
6961 (support_test_compare_string): Declare.
6962 * support/Makefile (libsupport-routines): Add
6963 support_test_compare_string.
6964 (tests): Add tst-test_compare_string.
6965 * support/support_test_compare_string.c: New file.
6966 * support/tst-test_compare_string.c: Likewise.
6967
6968 2018-11-07 Andreas Schwab <schwab@suse.de>
6969
6970 [BZ #23864]
6971 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6972 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6973 Undef.
6974
6975 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6976
6977 [BZ #23862]
6978 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6979 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6980 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6981 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6982 Likewise.
6983
6984 2018-11-06 Florian Weimer <fweimer@redhat.com>
6985
6986 [BZ #17405]
6987 * posix/Makefile (routines): Add spawn_faction_addchdir.
6988 (tests): Add tst-spawn-chdir.
6989 * posix/Versions (GLIBC_2.29): Add
6990 posix_spawn_file_actions_addchdir_np.
6991 * posix/spawn_faction_addchdir.c: New file.
6992 * posix/spawn_faction_destroy.c
6993 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6994 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6995 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6996 chdir_action.
6997 * posix/tst-spawn-chdir.c: New file.
6998 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6999 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7000 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7001 posix_spawn_file_actions_addchdir_np.
7002 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7003 Likewise.
7004 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7005 Likewise.
7006 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7007 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7008 Likewise.
7009 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7010 Likewise.
7011 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7012 Likewise.
7013 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7014 Likewise.
7015 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7016 Likewise.
7017 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7018 Likewise.
7019 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7020 (GLIBC_2.29): Likewise.
7021 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7022 (GLIBC_2.29): Likewise.
7023 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7024 (GLIBC_2.29): Likewise.
7025 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7026 (GLIBC_2.29): Likewise.
7027 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7028 Likewise.
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7030 (GLIBC_2.29): Likewise.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7032 (GLIBC_2.29): Likewise.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7034 (GLIBC_2.29): Likewise.
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7036 (GLIBC_2.29): Likewise.
7037 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7038 Likewise.
7039 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7040 Likewise.
7041 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7042 Likewise.
7043 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7044 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7045 Likewise.
7046 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7047 Likewise.
7048 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7049 Likewise.
7050 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7051 Likewise.
7052
7053 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7054
7055 * misc/Makefile (tests): Add tst-ldbl-error.
7056 * misc/tst-ldbl-error.c: New file.
7057
7058 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7059
7060 * misc/Makefile (tests): Add tst-ldbl-warn.
7061 * misc/tst-ldbl-warn.c: New file.
7062
7063 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7064
7065 * argp/Makefile (tests): Add tst-ldbl-argp.
7066 * argp/tst-ldbl-argp.c: New file.
7067
7068 2018-11-05 Arjun Shankar <arjun@redhat.com>
7069
7070 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7071 __gconv_path_elem and call __gconv_get_path unconditionally.
7072
7073 2018-11-05 Andreas Schwab <schwab@suse.de>
7074
7075 [BZ #22927]
7076 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7077 creating the first helper thread failed.
7078
7079 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7080
7081 * sysdeps/mach/hurd/msync.c: New file.
7082
7083 2018-11-02 Florian Weimer <fweimer@redhat.com>
7084
7085 * support/shell-container.c (copy_func): Call
7086 support_copy_file_range instead of copy_file_range to support
7087 cross-device copies.
7088
7089 2018-11-02 Florian Weimer <fweimer@redhat.com>
7090
7091 * support/test-container.c: Include <libc-pointer-arith.h> for
7092 ALIGN_UP.
7093
7094 2018-11-01 Zong Li <zong@andestech.com>
7095
7096 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7097 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7098 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7099 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7100
7101 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7102 variable to avoid overlap arguments.
7103
7104 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7105
7106 * posix/bug-regex22.c (main): Use puts with distinct error
7107 messages for unexpected success of re_compile_pattern, not printf
7108 with NULL argument to %s.
7109
7110 * stdio-common/bug22.c: Include <libc-diag.h>.
7111 (do_test): Disable -Wformat-overflow= warnings around fprintf
7112 calls outputting more than INT_MAX characters.
7113 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7114 around printf call with NULL %s argument.
7115
7116 [BZ #23848]
7117 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7118 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7119 Undefine.
7120 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7121 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7122 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7123 (__ASSUME_SENDTO_SYSCALL): Likewise.
7124 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7125 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7126 [!__arch64__].
7127 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7128 (__ASSUME_CONNECT_SYSCALL): Likewise.
7129 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7130 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7131 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7132 Define.
7133 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7134 Likewise.
7135 [__LINUX_KERNEL_VERSION >= 0x040400]
7136 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7137 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7138 Remove.
7139 (listen): Likewise.
7140 (setsockopt): Likewise.
7141
7142 2018-11-01 Fredrik Noring <noring@nocrew.org>
7143
7144 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7145 with the ISA override.
7146
7147 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7148
7149 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7150 #endif.
7151
7152 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7153
7154 * manual/errno.texi (EIEIO): Document how translators should
7155 translate the error message.
7156 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7157 printing trailing whitespaces refused by git.
7158 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7159 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7160 * hurd/Makefile (user-interfaces): Add pci.
7161
7162 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7163
7164 * conform/linknamespace.py: New file.
7165 * conform/linknamespace.pl: Remove file.
7166 * conform/Makefile ($(linknamespace-header-tests)): Use
7167 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7168 option.
7169
7170 2018-10-30 Florian Weimer <fweimer@redhat.com>
7171
7172 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7173 memory leaks.
7174
7175 2018-10-30 Florian Weimer <fweimer@redhat.com>
7176
7177 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7178
7179 2018-10-30 Florian Weimer <fweimer@redhat.com>
7180
7181 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7182 support_blob_repeat.
7183
7184 2018-10-30 Florian Weimer <fweimer@redhat.com>
7185
7186 Avoid spurious test failures in stdlib/test-bz22786.
7187 * support/Makefile (libsupport-routines): Add blob_repeat.
7188 (tests): Add tst-support_blob_repeat.
7189 * support/blob_repeat.h: New file.
7190 * support/blob_repeat.c: Likewise.
7191 * support/tst-support_blob_repeat.c: Likewise.
7192 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7193 support_blob_repeat_allocate.
7194
7195 2018-10-30 Andreas Schwab <schwab@suse.de>
7196
7197 [BZ #23125]
7198 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7199 Don't use tail call.
7200 * elf/tst-unwind-main.c: New file.
7201 * elf/Makefile (tests): Add tst-unwind-main.
7202 (CFLAGS-tst-unwind-main.c): Define.
7203
7204 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7205
7206 [BZ #23791]
7207 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7208 n_cs_precedes to 0.
7209 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7210
7211 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7212
7213 * conform/glibcconform.py: Do not import shutil.
7214 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7215 of mkdtemp.
7216
7217 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7218 critic_missing for versions before 3.4.
7219 * configure: Regenerated.
7220 * manual/install.texi (Tools for Compilation): Document
7221 requirement for Python to build glibc.
7222 * INSTALL: Regenerated.
7223 * Rules [PYTHON]: Make code unconditional.
7224 * benchtests/Makefile [PYTHON]: Likewise.
7225 * conform/Makefile [PYTHON]: Likewise.
7226 * manual/Makefile [PYTHON]: Likewise.
7227 * math/Makefile [PYTHON]: Likewise.
7228
7229 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7230
7231 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7232 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7233 answer to interrupt_operation, return EIEIO instead of EINTR.
7234 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7235 _hurd_intr_rpc_msg_about_to global point to start of controlled
7236 assembly snippet. Make it check canceled flag.
7237 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7238 the _hurd_intr_rpc_msg_about_to point.
7239 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7240 issue, remove cancel flag check.
7241
7242 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7243
7244 * scripts/build-many-glibcs.py: Remove compatibility for missing
7245 os.cpu_count and re.fullmatch.
7246
7247 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7248
7249 [BZ #23822]
7250 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7251 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7252 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7253
7254 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7255
7256 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7257 macro.
7258
7259 2018-10-25 Florian Weimer <fweimer@redhat.com>
7260
7261 [BZ #23562]
7262 [BZ #23821]
7263 XFAIL siginfo_t si_band conform test on sparc64.
7264 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7265 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7266 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7267 (conformtest-xfail-conds): Add sparc64-linux.
7268 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7269 sparc64.
7270 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7271
7272 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7273
7274 * elf/elf.h (NT_MIPS_DSP): New macro.
7275 (NT_MIPS_FP_MODE): Likewise.
7276
7277 2018-10-25 Zong Li <zong@andestech.com>
7278
7279 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7280 name by adding the file extension (.so).
7281
7282 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7283
7284 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7285 (test-xfail-ISO11/threads.h/linknamespace,
7286 test-xfail-ISO11/threads.h/conform): Add.
7287
7288 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7289
7290 * math/gen-libm-test.py: Import os.
7291 (ALL_FLOATS_MANUAL): New constant.
7292 (ALL_FLOATS_SUFFIX): Likewise.
7293 (Ulps.all_functions): New function.
7294 (real_all_ulps): Likewise.
7295 (generate_err_table_sub): Likewise.
7296 (generate_err_table): Likewise.
7297 (main): Handle -s and -m options.
7298 * manual/libm-err-tab.pl: Remove.
7299 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7300 instead of libm-err-tab.pl.
7301 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7302 != no].
7303 * manual/install.texi (Tools for Compilation): Document
7304 requirement for Python to build manual.
7305 * INSTALL: Regenerated.
7306
7307 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7308
7309 * bits/time64.h: New file.
7310 * include/time.h: Replace internal_time_t with __time64_t.
7311 * posix/bits/types (__time64_t): Add.
7312 * stdlib/Makefile: Add bits/time64.h to includes.
7313 * time/tzfile.c: Replace internal_time_t with __time64_t.
7314
7315 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7316
7317 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7318 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7319 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7320 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7321 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7322 prototype.
7323 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7324 * posix/spawn_faction_addclose.c
7325 (__posix_spawn_file_actions_addclose): Add hidden definition.
7326 * posix/spawn_faction_adddup2.c
7327 (__posix_spawn_file_actions_adddup2): Likewise.
7328 * posix/spawn_faction_destroy.c
7329 (__posix_spawn_file_actions_destroy): Likewise.
7330 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7331 Likewise.
7332 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7333 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7334 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7335 Likewise.
7336 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7337 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7338 Likewise.
7339
7340 2018-10-24 Andreas Schwab <schwab@suse.de>
7341
7342 [BZ #18093]
7343 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7344 format cache.
7345 * elf/cache.c (print_cache): Likewise.
7346
7347 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7348
7349 * bits/timesize.h: New file.
7350 * stdlib/Makefile (headers): Add bits/timesize.h.
7351 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7352 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7353 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7354 (__SEM_PAD_AFTER_TIME): Likewise.
7355 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7356 (__SHM_PAD_AFTER_TIME): Likewise.
7357 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7358 (__MSQ_PAD_BEFORE_TIME): Likewise.
7359 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7360 (__SEM_PAD_BEFORE_TIME): Likewise.
7361 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7362 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7363 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7364 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7365 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7366 (__MSQ_PAD_BEFORE_TIME): Likewise.
7367 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7368 (__SEM_PAD_BEFORE_TIME): Likewise.
7369 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7370 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7371 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7372 (__MSQ_PAD_BEFORE_TIME): Likewise.
7373 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7374 (__SEM_PAD_BEFORE_TIME): Likewise.
7375 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7376 (__SHM_PAD_BEFORE_TIME): Likewise.
7377 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7378 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7379 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7380
7381 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7382
7383 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7384 USE_RDTSCP is defined.
7385 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7386 USE_RDTSCP is defined.
7387
7388 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7389
7390 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7391 defined.
7392
7393 [BZ #23709]
7394 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7395 independently of other flags.
7396
7397 2018-10-23 Florian Weimer <fweimer@redhat.com>
7398
7399 * time/tst-mktime2.c (N_STRINGS): Remove.
7400 (set_timezone): New function.
7401 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7402 (mktime_test1): Report localtime failure and check errno value.
7403 Use TEST_COMPARE.
7404 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7405 (do_test): Remove alarm call. Use set_timezone and array_length.
7406
7407 2018-10-23 Andreas Schwab <schwab@suse.de>
7408
7409 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7410 (__start_context): Use END instead of PSEUDO_END.
7411
7412 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7413
7414 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7415 version to 4.19.
7416
7417 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7418 version to 4.19.
7419
7420 [BZ #23793]
7421 * wcsmbs/c32rtomb.c: New file.
7422 * wcsmbs/mbrtoc32.c: Likewise.
7423 * wcsmbs/tst-c32-state.c: Likewise.
7424 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7425 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7426 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7427 (tests): Add tst-c32-state.
7428 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7429 $(gen-locales).
7430
7431 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7432
7433 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7434 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7435
7436 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7437
7438 [BZ #23794]
7439 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7440 pair and return 0 in that case, and use saved character to
7441 interpret following character.
7442 * wcsmbs/tst-c16-surrogate.c: New file.
7443 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7444 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7445 Depend on $(gen-locales)
7446
7447 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7448
7449 [BZ #23562]
7450 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7451 (struct siginfo_t): Use correct type for si_band.
7452
7453 2018-10-19 Florian Weimer <fweimer@redhat.com>
7454
7455 [BZ #23689]
7456 * resource/bits/types/struct_rusage.h (struct rusage): Update
7457 comment on struct. Remove extraneous field comment.
7458
7459 2018-10-18 David S. Miller <davem@davemloft.net>
7460
7461 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7462 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7463 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7464 sysdep_routines in subdir elf.
7465 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7466 version for __vdso_clock_gettime.
7467 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7468 Define.
7469 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7470 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7471
7472 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7473
7474 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7475
7476 * sysdeps/i386/init-arch.h: Removed.
7477 * sysdeps/i386/i586/init-arch.h: Likewise.
7478 * sysdeps/i386/i686/init-arch.h: Likewise.
7479 * sysdeps/i386/i686/hp-timing.h: Likewise.
7480 * sysdeps/x86_64/hp-timing.h: Likewise.
7481 * sysdeps/i386/isa.h: New file.
7482 * sysdeps/i386/i586/isa.h: Likewise.
7483 * sysdeps/i386/i686/isa.h: Likewise.
7484 * sysdeps/x86_64/isa.h: Likewise.
7485 * sysdeps/x86/hp-timing.h: New file.
7486 * sysdeps/x86/init-arch.h: Include <isa.h>.
7487
7488 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7489
7490 * math/libm-test-pow.inc (pow_test_data): Do not allow
7491 divide-by-zero exception for pow(+/- 0, -Inf).
7492
7493 2018-10-17 Zack Weinberg <zackw@panix.com>
7494
7495 * manual/job.texi (Job Control is Optional): Remove node, as
7496 job control has not been optional in quite some time.
7497 (Job Control): Mention briefly that systems older than
7498 POSIX.1-2001 might not support job control.
7499 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7500 defined on systems conforming to POSIX.1-2001.
7501
7502 2018-10-17 Arjun Shankar <arjun@redhat.com>
7503
7504 [BZ #22062]
7505 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7506 indentation.
7507 * (__gconv_read_conf): Mark function static.
7508 * (once): New static variable.
7509 * (__gconv_load_conf): New function.
7510 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7511 * iconv/gconv_db.c (once): Remove static variable.
7512 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7513 __gconv_read_conf.
7514 * (__gconv_find_transform): Likewise.
7515 * iconv/tst-iconv-mt.c: New test.
7516 * iconv/Makefile: Add tst-iconv_mt.
7517
7518 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7519
7520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7521 bits/shm-pad.h.
7522 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7523 (shmatt_t): Define as __syscall_ulong_t.
7524 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7525 and [__SHM_PAD_AFTER_TIME].
7526 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7527 Define shm_segsz and associated padding based on
7528 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7529 Use __syscall_ulong_t instead of unsigned long int.
7530 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7531 unsigned long int.
7532 [__USE_MISC] (struct shm_info): Likewise.
7533 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7534 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7535 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7536 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7537 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7538 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7539 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7540 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7541 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7542 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7543 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7544
7545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7546 bits/shmlba.h.
7547 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7548 (SHMLBA): Remove macro.
7549 (__getpagesize): Remove function declaration.
7550 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7551 <bits/shmlba.h>.
7552 (SHMLBA): Remove macro.
7553 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7554 <bits/shmlba.h>.
7555 (SHMLBA): Remove macro.
7556 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7557 <bits/shmlba.h>.
7558 (SHMLBA): Remove macro.
7559 (__getpagesize): Remove function declaration.
7560 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7561 <bits/shmlba.h>.
7562 (SHMLBA): Remove macro.
7563 (__getshmlba): Remove function declaration.
7564 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7565 (SHMLBA): Remove macro.
7566 (__getpagesize): Remove function declaration.
7567 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7568 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7569 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7570 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7571 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7572 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7573 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7574 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7575 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7576 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7577
7578 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7579
7580 [BZ #23275]
7581 * nptl/tst-mutex10.c: New File.
7582 * nptl/Makefile (tests): Add tst-mutex10.
7583 (tst-mutex10-ENV): New variable.
7584 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7585 Ensure that elision path is used if elision is available.
7586 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7587 Likewise.
7588 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7589 Likewise.
7590 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7591 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7592 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7593 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7594 Likewise.
7595 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7596 (__pthread_mutex_cond_lock_adjust): Likewise.
7597 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7598 Likewise.
7599 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7600 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7601 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7602 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7603 Add comments.
7604 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7605 Use atomic_load_relaxed and atomic_store_relaxed.
7606 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7607 Use atomic_store_relaxed.
7608
7609 2018-10-17 Andreas Schwab <schwab@suse.de>
7610
7611 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7612 * crypt/badsalttest.c (TIMEOUT): Likewise.
7613 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7614 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7615 * io/test-lfs.c (TIMEOUT): Likewise.
7616 * libio/tst-atime.c (TIMEOUT): Likewise.
7617 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7618 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7619 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7620 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7621 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7622 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7623 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7624 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7625 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7626 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7627 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7628 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7629 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7630 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7631 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7632 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7633 * nptl/tst-once2.c (TIMEOUT): Likewise.
7634 * nptl/tst-once3.c (TIMEOUT): Likewise.
7635 * nptl/tst-once4.c (TIMEOUT): Likewise.
7636 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7637 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7638 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7639 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7640 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7641 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7642 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7643 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7644 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7645 * posix/tst-chmod.c (TIMEOUT): Likewise.
7646 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7647 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7648 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7649 * posix/tst-regex2.c (TIMEOUT): Likewise.
7650 * posix/tst-waitid.c (TIMEOUT): Likewise.
7651 * rt/tst-aio.c (TIMEOUT): Likewise.
7652 * rt/tst-aio10.c (TIMEOUT): Likewise.
7653 * rt/tst-aio4.c (TIMEOUT): Likewise.
7654 * rt/tst-aio5.c (TIMEOUT): Likewise.
7655 * rt/tst-aio6.c (TIMEOUT): Likewise.
7656 * rt/tst-aio64.c (TIMEOUT): Likewise.
7657 * rt/tst-aio7.c (TIMEOUT): Likewise.
7658 * rt/tst-aio9.c (TIMEOUT): Likewise.
7659 * rt/tst-clock.c (TIMEOUT): Likewise.
7660 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7661 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7662 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7663 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7664 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7665 * rt/tst-timer4.c (TIMEOUT): Likewise.
7666 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7667 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7668 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7669 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7670 * time/tst-ftime.c (TIMEOUT): Likewise.
7671 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7672
7673 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7674
7675 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7676 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7677 for thunderX2.
7678
7679 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7680
7681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7682 bits/sem-pad.h.
7683 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7684 instead of <bits/wordsize.h>.
7685 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7686 and [__SEM_PAD_AFTER_TIME].
7687 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7688 __syscall_ulong_t instead of unsigned long int.
7689 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7690 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7691 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7692 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7693 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7694 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7695 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7696 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7697 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7698 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7699 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7700
7701 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7702
7703 regex: simplify by using intprops.h
7704 [BZ#23744]
7705 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7706 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7707 intprops.h defines them.
7708
7709 regex: __builtin_expect → __glibc_unlikely
7710 [BZ#23744]
7711 This refactoring was prompted by a problem when the regex code is
7712 used as part of Gnulib and when the builder’s compiler does not grok
7713 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7714 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7715 Although this refactoring does not fix the problem directly,
7716 we might as well have Gawk use the now-preferred glibc style for when
7717 __builtin_expect is unavailable.
7718 * posix/regex_internal.h (BE): Remove.
7719 All uses replaced by __glibc_unlikely or __glibc_likely.
7720
7721 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7722
7723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7724 bits/msq-pad.h.
7725 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7726 instead of <bits/wordsize.h>.
7727 (msgqnum_t): Define as __syscall_ulong_t.
7728 (msglen_t): Likewise.
7729 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7730 and [__MSQ_PAD_AFTER_TIME].
7731 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7732 __syscall_ulong_t instead of unsigned long int.
7733 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7734 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7735 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7736 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7737 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7738 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7739 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7740 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7741 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7742 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7743 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7744
7745 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7746
7747 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7748 (struct shmid_ds): Condition padding after time fields on
7749 [__WORDSIZE == 32].
7750 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7751 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7752 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7753
7754 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7755 (struct semid_ds): Condition padding after time fields on
7756 [__WORDSIZE == 32].
7757 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7758 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7759 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7760 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7761
7762 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7763 (struct msqid_ds): Condition padding after time fields on
7764 [__WORDSIZE == 32].
7765 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7766 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7767 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7768 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7769
7770 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7771
7772 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7773
7774 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7775
7776 * libio/tst-readline.c (TIMEOUT): Define.
7777
7778 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7779
7780 mktime fix for Gnulib + coreutils
7781 [BZ#23745]
7782 This fix affects only Gnulib. Problem discovered when
7783 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7784 * time/mktime.c:
7785 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7786 Do not define since it is not used. Defining an unused static
7787 function prompts a warning from GCC when Coreutils is configured
7788 with --enable-gcc-warnings.
7789
7790 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7791
7792 * benchtests/scripts/compare_bench.py (main): set float type on
7793 threshold argument.
7794
7795 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7796
7797 [BZ #23740]
7798 * localedata/locales/kl_GL (mon): Update, the relative case.
7799 (alt_mon): Add, fill with month names in the nominative case.
7800 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7801 (d_fmt): Set to "%b %d %Y".
7802
7803 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7804
7805 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7806 <bits/mman-linux.h>.
7807 (PROT_READ): Don't define here.
7808 (PROT_WRITE): Likewise.
7809 (PROT_EXEC): Likewise.
7810 (PROT_NONE): Likewise.
7811 (PROT_GROWSDOWN): Likewise.
7812 (PROT_GROWSUP): Likewise.
7813 (MAP_SHARED): Likewise.
7814 (MAP_PRIVATE): Likewise.
7815 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7816 [__USE_MISC] (MAP_FILE): Likewise.
7817 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7818 [__USE_MISC] (MAP_ANON): Likewise.
7819 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7820 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7821 (MCL_CURRENT): Likewise.
7822 (MCL_FUTURE): Likewise.
7823 (MCL_ONFAULT): Likewise.
7824 [__USE_MISC] (MADV_NORMAL): Likewise.
7825 [__USE_MISC] (MADV_RANDOM): Likewise.
7826 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7827 [__USE_MISC] (MADV_WILLNEED): Likewise.
7828 [__USE_MISC] (MADV_DONTNEED): Likewise.
7829 [__USE_MISC] (MADV_FREE): Likewise.
7830 [__USE_MISC] (MADV_REMOVE): Likewise.
7831 [__USE_MISC] (MADV_DONTFORK): Likewise.
7832 [__USE_MISC] (MADV_DOFORK): Likewise.
7833 [__USE_MISC] (MADV_HWPOISON): Likewise.
7834 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7835 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7836 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7837 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7838 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7839 (__MAP_ANONYMOUS): New macro.
7840 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7841 <bits/mman-linux.h> inclusion.
7842 (MAP_FIXED): Likewise.
7843 (MS_SYNC): Likewise.
7844 (MS_ASYNC): Likewise.
7845 (MS_INVALIDATE): Likewise.
7846 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7847 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7848 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7849 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7850 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7851 [__USE_MISC] (MADV_DODUMP): Likewise.
7852 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7853 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7854
7855 [BZ #23735]
7856 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7857 Define.
7858 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7859 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7860 Add test-nldbl-redirect.
7861 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7862 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7863 $(objpfx)libnldbl_nonshared.a.
7864
7865 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7866
7867 * support/support.h (support_objdir_elf_ldso): New variable.
7868 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7869 * support/Makefile (CFLAGS-support_paths.c): Add definition
7870 for OBJDIR_ELF_LDSO_PATH.
7871 * support/test-container.c (main): Search for the ld.so
7872 which is also used by the testsuite.
7873
7874 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7875
7876 [BZ #20209]
7877 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7878 should be "sap" rather than "sab".
7879 (day): Fix spelling of Sunday, should be "sapaat" rather than
7880 "sabaat".
7881
7882 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7883
7884 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7885
7886 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7887
7888 [BZ #19444]
7889 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7890 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7891 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7892
7893 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7894
7895 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7896
7897 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7898
7899 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7900 Add -mrtm.
7901 (CFLAGS-elision-unlock.c): Likewise.
7902 (CFLAGS-elision-timed.c): Likewise.
7903 (CFLAGS-elision-trylock.c): Likewise.
7904 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7905
7906 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7907
7908 [BZ #21037]
7909 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7910 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7911 new fd_to_filename interface.
7912 * libio/freopen64.c (freopen64): Likewise.
7913 * libio/tst-memstream.h: New file.
7914 * libio/tst-memstream4.c: Likewise.
7915 * libio/tst-wmemstream4.c: Likewise.
7916 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7917 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7918 and remove internal dynamic allocation.
7919
7920 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7921
7922 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7923 (MREMAP_MAYMOVE): Do not define here.
7924 [__USE_GNU] (MREMAP_FIXED): Likewise.
7925 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7926 (MREMAP_MAYMOVE): Define here instead.
7927 [__USE_GNU] (MREMAP_FIXED): Likewise.
7928 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7929 (MREMAP_MAYMOVE): Remove.
7930 [__USE_GNU] (MREMAP_FIXED): Likewise.
7931
7932 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7933
7934 * math/fromfp.h: Do not include <math_private.h>.
7935 * math/s_cacosh_template.c: Likewise.
7936 * math/s_casin_template.c: Likewise.
7937 * math/s_casinh_template.c: Likewise.
7938 * math/s_ccos_template.c: Likewise.
7939 * math/s_cproj_template.c: Likewise.
7940 * math/s_fdim_template.c: Likewise.
7941 * math/s_fmaxmag_template.c: Likewise.
7942 * math/s_fminmag_template.c: Likewise.
7943 * math/s_iseqsig_template.c: Likewise.
7944 * math/s_ldexp_template.c: Likewise.
7945 * math/s_nextdown_template.c: Likewise.
7946 * math/w_log1p_template.c: Likewise.
7947 * math/w_scalbln_template.c: Likewise.
7948 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7949 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7950 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7951 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7952 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7953 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7954 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7955 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7956 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7957 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7958 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7959 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7960 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7961 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7962 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7963 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7964 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7969 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7970 * sysdeps/ieee754/k_standardf.c: Likewise.
7971 * sysdeps/ieee754/k_standardl.c: Likewise.
7972 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7973 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7974 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7975 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7976 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7977 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7978 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7979 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7980 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7981 * sysdeps/ieee754/s_signgam.c: Likewise.
7982 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7983 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7984 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7985 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7986 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7987 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7988 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7989 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7990 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7991 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7992 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7993 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7994 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7995 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7996 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7997 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7998 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7999 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8000 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8001 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8002 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8003 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8004 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8005 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8006 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8007 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8008 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8009 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8010 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8011 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8012 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8013 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8014 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8015 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8016 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8017 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8018 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8019 <math_private.h>.
8020 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8021
8022 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8023
8024 [BZ #23716]
8025 * sysdeps/i386/dl-cet.c: Removed.
8026 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8027 prototype.
8028 (_dl_runtime_profile_shstk): Likewise.
8029 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8030 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8031
8032 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8033
8034 [BZ #23579]
8035 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8036 do_test_with_invalid_iov): New tests.
8037 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8038 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8039 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8040 errno is ENOSYS.
8041 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8042 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8043 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8044
8045 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8046
8047 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8048 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8049 (MATH_REDIRECT_BINARY_ARGS): New macro.
8050 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8051 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8052 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8053 header inclusion.
8054 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8056 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8057 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8058 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8059 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8060 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8062 Likewise.
8063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8064 Likewise.
8065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8067 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8068 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8070 Likewise.
8071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8072 Likewise.
8073 * sysdeps/generic/math_private_calls.h
8074 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8075 Do not declare and define as an inline function.
8076 * math/divtc3.c (__divtc3): Use copysign functions instead of
8077 __copysign variants.
8078 * math/multc3.c (__multc3): Likewise.
8079 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8080 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8081 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8082 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8083 Likewise.
8084 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8085 (__ieee754_yn): Likewise.
8086 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8087 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8088 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8089 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8090 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8091 (__sin): Likewise.
8092 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8093 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8094 Likewise.
8095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8096 Likewise.
8097 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8098 Likewise.
8099 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8100 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8101 Likewise.
8102 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8103 (__ieee754_ynf): Likewise.
8104 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8105 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8106 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8107 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8108 Likewise.
8109 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8110 (__ieee754_ynl): Likewise.
8111 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8112 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8113 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8114 Likewise.
8115 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8116 (__ieee754_ynl): Likewise.
8117 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8118 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8119 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8120 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8121 Likewise.
8122 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8123 (__ieee754_ynl)
8124 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8125 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8126 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8127 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8128 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8129
8130 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8131 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8132 using MATH_REDIRECT.
8133 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8134 header inclusion.
8135 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8138 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8140 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8141 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8146 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8147 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8148 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8149 (round): Redirect to __round.
8150 (__roundl): Call round instead of __round.
8151 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8152 Remove macro.
8153 [_ARCH_PWR5X] (__roundf): Likewise.
8154 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8155 functions instead of __round variants.
8156 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8157 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8158 Likewise.
8159 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8160 Likewise.
8161 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8162 Likewise.
8163 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8164 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8165 __lroundl.
8166 (__ieee754_expl): Call roundl instead of __roundl.
8167
8168 2018-09-27 Andreas Schwab <schwab@suse.de>
8169
8170 [BZ #23717]
8171 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8172 (do_test): Make st1 static.
8173
8174 2018-09-26 Andreas Schwab <schwab@suse.de>
8175
8176 [BZ #23707]
8177 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8178 * elf/Makefile (tests): Add tst-unwind-ctor.
8179 (modules-names): Add tst-unwind-ctor-lib.
8180 ($(objpfx)tst-unwind-ctor): Depend on
8181 $(objpfx)tst-unwind-ctor-lib.so.
8182
8183 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8184
8185 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8186 file. Most contents moved from ....
8187 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8188 and include <bits/mman-map-flags-generic.h>.
8189 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8190 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8191 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8192 <bits/mman-map-flags-generic.h>.
8193 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8194 macros defined in <bits/mman-map-flags-generic.h>.
8195 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8196 <bits/mman-map-flags-generic.h>.
8197 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8198 defined in <bits/mman-map-flags-generic.h>.
8199
8200 2018-09-26 Andreas Schwab <schwab@suse.de>
8201
8202 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8203 output.
8204
8205 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8206 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8207 Fangrui Song <maskray@google.com>
8208
8209 [BZ #20480]
8210 * config.make.in (have-textrel_ifunc): New define.
8211 * configure.ac: Add check if linker supports textrel relocation with
8212 ifunc.
8213 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8214 tst-ifunc-textrel.
8215 (CFLAGS-tst-ifunc-textrel.c): New rule.
8216 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8217 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8218 * elf/tst-ifunc-textrel.c: New file.
8219
8220 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8221
8222 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8223 <bits/procfs-prregset.h>.
8224 (prgregset_t): Define using __prgregset_t.
8225 (prfpregset_t): Define using __prfpregset_t.
8226 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8227 (sysdep_headers): Add bits/procfs-prregset.h.
8228 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8229 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8230 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8231 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8232
8233 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8234 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8235 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8236 pr_uid and pr_gid.
8237 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8238 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8239 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8240 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8241 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8242 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8243 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8244 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8245 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8246 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8247 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8248 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8249 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8250 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8251 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8252 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8253 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8254 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8255 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8256 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8257 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8258 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8259 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8260 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8261
8262 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8263 AArch64 version. Include <bits/procfs.h>.
8264 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8265 (sysdep_headers): Add bits/procfs.h.
8266 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8267 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8268 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8269 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8270 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8271 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8272 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8273 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8274 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8275 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8276 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8277 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8278 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8279 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8280 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8281 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8282 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8283
8284 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8285
8286 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8287 Use libsupport.
8288
8289 2018-09-25 Arjun Shankar <arjun@redhat.com>
8290
8291 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8292 (__gconv_max_path_elem_len): Likewise.
8293 (__gconv_nmodules): Likewise.
8294 (__gconv_get_path): Likewise.
8295 (path_elem): Move to ...
8296 * iconv/gconv_conf.c: ... here.
8297 (__gconv_get_path): Mark function static.
8298 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8299 * iconv/gconv_open.c: ... here.
8300
8301 2018-09-24 Andreas Schwab <schwab@suse.de>
8302
8303 * scripts/haveversions.awk: New file.
8304 * Makerules ($(common-objpfx)Versions.def)
8305 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8306 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8307 Move rules ...
8308 * Makeconfig ($(common-objpfx)Versions.def)
8309 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8310 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8311 ... here.
8312 ($(common-objpfx)Versions.mk): New rule. Include it.
8313 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8314 Emit error if build-obsolete-nsl = yes.
8315 * manual/install.texi (Configuring and compiling): Describe
8316 --enable-obsolete-nsl as unavaiable after version 2.28.
8317 * INSTALL: Regenerate.
8318
8319 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8320
8321 * NEWS: Add note about new TLE support on powerpc64le.
8322 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8323 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8324 __ununsed1.
8325 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8326 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8327 * sysdeps/powerpc/powerpc32/sysdep.h,
8328 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8329 ABORT_TRANSACTION): Remove macros.
8330 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8331 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8332 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8334 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8335 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8336 usage.
8337 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8338
8339 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8340
8341 [BZ #10425]
8342 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8343 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8344 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8345 which is the same as in it_IT.
8346 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8347 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8348
8349 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8350
8351 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8352 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8353 using MATH_REDIRECT.
8354 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8355 header inclusion.
8356 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8357 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8358 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8359 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8360 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8366 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8367 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8368 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8369 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8370 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8371 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8372 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8373 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8374 (ceil): Redirect to __ceil.
8375 (floor): Redirect to __floor.
8376 (trunc): Redirect to __trunc.
8377 (__truncl): Call trunc instead of __trunc.
8378 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8379 Remove macro.
8380 [_ARCH_PWR5X] (__truncf): Likewise.
8381 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8382 trunc functions instead of __trunc variants.
8383 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8384 Likewise.
8385 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8386 Likewise.
8387 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8388 Likewise.
8389 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8390 Likewise.
8391
8392 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8393 [__i586__ || __pentium__].
8394 [__i486__]: Handle explicitly.
8395 (HAS_CPUID): Define to 1 if above macros are undefined.
8396 (HAS_I586): Likewise.
8397 (HAS_I686): Likewise.
8398
8399 2018-09-20 Florian Weimer <fweimer@redhat.com>
8400
8401 * misc/tst-gethostid.c: New file.
8402 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8403 (tst-gethostid): Link with -ldl.
8404
8405 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8406
8407 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8408 value from gethostbyname_r.
8409
8410 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8411
8412 * stdlib/tst-setcontext9.c (f1): Rename to...
8413 (f1a): ... this.
8414 (f1b): New function implementing lower half of f1 in alternate stack.
8415
8416 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8417
8418 Fix mktime localtime offset confusion
8419 [BZ #23603]
8420 * include/time.h (__mktime_internal): The localtime offset is now
8421 of type long int instead of time_t. This is the longstanding type
8422 in glibc, and it is more than enough to represent difference
8423 between localtime and gmtime even if it is 32 bits and time_t is
8424 64. Changing it now will let us avoid an unnecessary change when
8425 time_t is widened to 64 bits on 32-bit platforms.
8426 * time/mktime-internal.h (mktime_offset_t): Now long int.
8427
8428 Merge mktime, timegm from upstream Gnulib
8429 [BZ #23603][BZ #16346]
8430 This fixes some obscure problems with integer overflow.
8431 Although it looks scary, it is almost all a byte-for-byte copy
8432 from Gnulib, and the Gnulib code has been tested reasonably well.
8433 * include/intprops.h: New file, copied from Gnulib.
8434 * include/verify.h, time/mktime-internal.h:
8435 New tiny files, simplified from Gnulib.
8436 * time/mktime.c: Copy from Gnulib. This has the following changes:
8437 Do not include config.h if DEBUG_MKTIME is nonzero.
8438 Include stdbool.h, intprops.h, verify.h.
8439 Include string.h only if needed.
8440 Include stdlib.h on MS-Windows.
8441 Include mktime-internal.h.
8442 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8443 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8444 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8445 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8446 simplify later conditionals; default the others to zero. Use
8447 these conditionals to express only the code needed on the current
8448 platform. In uses of these conditionals, explicitly spell out how
8449 _LIBC affects things, so it’s easier to review from a glibc
8450 viewpoint.
8451 (WRAPV): Remove; no longer needed now that we have
8452 systematic overflow checking.
8453 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8454 compartmentalize tzset issues. Move system-dependent tzsettish
8455 code here from mktime.
8456 (verify): Remove; now done by verify.h. All uses changed.
8457 (long_int): Use a more-conservative definition, to avoid
8458 integer overflow.
8459 (SHR): Remove, replacing with ...
8460 (shr): New function, which means we needn’t worry about side
8461 effects in args, and conversion analysis is simpler.
8462 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8463 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8464 (time_t_avg, time_t_add_ok): Remove.
8465 (mktime_min, mktime_max): New constants.
8466 (leapyear, isdst_differ): Use bool for booleans.
8467 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8468 Use long_int, not time_t, for mktime differences.
8469 (long_int_avg): New function, replacing time_t_avg.
8470 INT_ADD_WRAPV replaces time_t_add_ok.
8471 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8472 All uses changed.
8473 (convert_time): New function.
8474 (ranged_convert): Use it.
8475 (__mktime_internal): Last arg now points to mktime_offset_t, not
8476 time_t. All uses changed. This is a no-op on glibc, where
8477 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8478 offset guess. Directly check for integer overflow instead of
8479 using a heuristic that works only 99.9...% of the time.
8480 Access *OFFSET only once, to avoid an unlikely race if the
8481 compiler delays a load and if this cascades into a signed integer
8482 overflow.
8483 (mktime): Move tzsettish code to my_tzset, and move
8484 localtime_offset to within mktime so that it doesn’t
8485 need a separate ifdef.
8486 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8487 instead of localtime.
8488 * time/timegm.c: Copy from Gnulib. This has the following changes:
8489 Include mktime-internal.h.
8490 [!_LIBC]: Include config.h and time.h. Do not include
8491 timegm.h or time_r.h. Make __mktime_internal a macro,
8492 and include mktime-internal.h to get its declaration.
8493 (timegm): Temporary is now mktime_offset_t, not time_t.
8494 This affects only Gnulib.
8495
8496 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8497
8498 [BZ #23637]
8499 * string/test-strstr.c (pr23637): New function.
8500 (test_main): Add tests with longer needles.
8501 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8502 * string/strstr.c (AVAILABLE): Likewise.
8503
8504 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8505
8506 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8507
8508 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8509
8510 * NEWS: Mention pow improvements.
8511 * math/Makefile (type-double-routines): Add e_pow_log_data.
8512 * sysdeps/generic/math_private.h (__exp1): Remove.
8513 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8514 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8515 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8516 contraction.
8517 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8518 (exp_inline): Remove.
8519 (__ieee754_exp): Only single double input is handled.
8520 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8521 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8522 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8523 (__pow_log_data): Define.
8524 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8525 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8526 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8527 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8528 contraction.
8529 (CFLAGS-e_pow-fma4.c): Likewise.
8530
8531 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8532
8533 Simplify tzfile fstat failure code
8534 [BZ #21716]
8535 * time/tzfile.c (__tzfile_read): Simplify slightly.
8536
8537 Fix tzfile low-memory assertion failure
8538 [BZ #21716]
8539 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8540 when registering time zone abbreviations.
8541
8542 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8543
8544 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8545 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8546 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8547 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8548 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8549 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8550 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8551 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8552 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8553
8554 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8555 __ceil.
8556 (__ceill): Call ceil instead of __ceil.
8557 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8558 __floor.
8559 (__floorl): Call floor instead of __floor.
8560
8561 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8562
8563 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8564 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8565 using MATH_REDIRECT.
8566 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8567 header inclusion.
8568 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8571 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8572 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8575 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8580 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8581 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8584 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8585 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8586 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8587 Remove macro.
8588 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8589 functions instead of __ceil variants.
8590 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8591 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8592 Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8594 Likewise.
8595 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8597 Likewise.
8598 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8599 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8600
8601 [BZ #21286]
8602 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8603 constant.
8604 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8605 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8606 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8607 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8608 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8609 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8610 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8611 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8612 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8613 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8614 (ILL_BADIADDR): Remove constant.
8615 (TRAP_BRANCH): Likewise.
8616 (TRAP_HWBKPT): Likewise.
8617
8618 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8619
8620 [BZ #23656]
8621 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8622 Remove [_MIPS_SIM = _ABIN32] conditional case.
8623 (struct elf_prpsinfo): Likewise.
8624
8625 [BZ #23649]
8626 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8627 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8628 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8629 Likewise.
8630 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8631 elf_prpsinfo): Likewise.
8632 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8633 elf_prpsinfo): Likewise.
8634 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8635 Likewise.
8636
8637 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8638 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8639 using MATH_REDIRECT.
8640 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8641 header inclusion.
8642 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8643 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8644 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8645 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8646 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8647 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8648 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8649 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8652 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8653 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8654 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8655 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8656 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8657 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8658 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8659 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8660 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8664 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8665 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8666 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8667 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8668 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8669 __rint variants.
8670 * math/e_scalbf.c (invalid_fn): Likewise.
8671 * math/e_scalbl.c (invalid_fn): Likewise.
8672 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8673 Likewise.
8674 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8675 Likewise.
8676 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8677 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8678 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8679 Likewise.
8680 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8681 Likewise.
8682 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8683 Likewise.
8684 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8685 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8686
8687 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8688 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8689 New macro.
8690 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8691 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8692 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8693 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8694 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8695 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8696 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8697 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8698 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8699 && !NO_MATH_REDIRECT] (floor): Likewise.
8700 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8701 header inclusion.
8702 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8705 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8706 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8709 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8714 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8715 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8718 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8719 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8720 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8721 Remove macro.
8722 [_ARCH_PWR5X] (__floorf): Likewise.
8723 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8724 inline function.
8725 [__SSE4_1__] (__floorf): Likewise.
8726 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8727 instead of __floor variants.
8728 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8729 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8730 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8731 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8732 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8733 * math/w_tgamma_compat.c (__tgamma): Likewise.
8734 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8735 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8736 * math/w_tgammal_compat.c (__tgammal): Likewise.
8737 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8739 Likewise.
8740 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8741 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8742 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8743 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8744 Likewise.
8745 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8746 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8747 Likewise.
8748 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8750 Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8753 Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8756 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8757 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8758 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8759 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8760
8761 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8762
8763 * elf/Makefile (modules-names-tests): New variable.
8764
8765 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8766
8767 * NEWS: Mention log2 improvements.
8768 * math/Makefile (type-double-routines): Add e_log2_data.
8769 * sysdeps/i386/fpu/e_log2_data.c: New file.
8770 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8771 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8772 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8773 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8774 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8775 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8776
8777 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8778
8779 * NEWS: Mention log improvement.
8780 * math/Makefile (type-double-routines): Add e_log_data.
8781 * sysdeps/i386/fpu/e_log_data.c: New file.
8782 * sysdeps/ia64/fpu/e_log_data.c: New file.
8783 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8784 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8785 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8786 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8787 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8788 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8789
8790 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8791 Xuepeng Guo <xuepeng.guo@intel.com>
8792
8793 [BZ #23606]
8794 * sysdeps/i386/start.S: Include <sysdep.h>
8795 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8796 enabled. Add cfi_undefined (eip).
8797
8798 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8799
8800 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8801 (MOVQ): Likewise.
8802 (EXTRACT_WORDS64): Likewise.
8803 (INSERT_WORDS64): Likewise.
8804 (GET_FLOAT_WORD): Likewise.
8805 (SET_FLOAT_WORD): Likewise.
8806
8807 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8808 argument.
8809 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8810 build, but not for second build if --full-gcc. Use
8811 --enable-languages=all for second build if --full-gcc.
8812 (get_parser): Add --full-gcc option.
8813 (main): Update call to Context.
8814
8815 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8816
8817 [BZ #10797]
8818 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8819 Single Quotation Mark).
8820 (thousands_sep): Likewise.
8821 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8822 * localedata/locales/it_IT (thousands_sep): Use ".".
8823 (grouping): Use "3;3".
8824
8825 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8826
8827 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8828 x86_64 and i686 configs using --enable-obsolete-rpc
8829 --enable-obsolete-nsl.
8830
8831 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8832
8833 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8834
8835 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8836
8837 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8838 Increment size of new_argv by one.
8839
8840 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8841
8842 [BZ #17426]
8843 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8844 * localedata/locales/ar_IN (d_fmt): Likewise.
8845 * localedata/locales/bhb_IN (d_fmt): Likewise.
8846 * localedata/locales/bho_IN (d_fmt): Likewise.
8847 * localedata/locales/bn_BD (d_fmt): Likewise.
8848 * localedata/locales/bn_IN (d_fmt): Likewise.
8849 * localedata/locales/doi_IN (d_fmt): Likewise.
8850 * localedata/locales/gu_IN (d_fmt): Likewise.
8851 * localedata/locales/hi_IN (d_fmt): Likewise.
8852 * localedata/locales/hne_IN (d_fmt): Likewise.
8853 * localedata/locales/kn_IN (d_fmt): Likewise.
8854 * localedata/locales/mag_IN (d_fmt): Likewise.
8855 * localedata/locales/mai_IN (d_fmt): Likewise.
8856 * localedata/locales/mjw_IN (d_fmt): Likewise.
8857 * localedata/locales/ml_IN (d_fmt): Likewise.
8858 * localedata/locales/mni_IN (d_fmt): Likewise.
8859 * localedata/locales/mr_IN (d_fmt): Likewise.
8860 * localedata/locales/pa_IN (d_fmt): Likewise.
8861 * localedata/locales/raj_IN (d_fmt): Likewise.
8862 * localedata/locales/sat_IN (d_fmt): Likewise.
8863 * localedata/locales/sd_IN (d_fmt): Likewise.
8864 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8865 * localedata/locales/ta_IN (d_fmt): Likewise.
8866 * localedata/locales/ta_LK (d_fmt): Likewise.
8867 * localedata/locales/tcy_IN (d_fmt): Likewise.
8868 * localedata/locales/ur_IN (d_fmt): Likewise.
8869
8870 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8871 * localedata/locales/ks_IN (d_fmt): Likewise.
8872 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8873
8874 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8875 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8876 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8877 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8878
8879 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8880
8881 * NEWS: Mention exp and exp2 improvements.
8882 * math/Makefile (libm-support): Remove t_exp.
8883 (type-double-routines): Add math_err and e_exp_data.
8884 * sysdeps/aarch64/libm-test-ulps: Update.
8885 * sysdeps/arm/libm-test-ulps: Update.
8886 * sysdeps/i386/fpu/e_exp_data.c: New file.
8887 * sysdeps/i386/fpu/math_err.c: New file.
8888 * sysdeps/i386/fpu/t_exp.c: Remove.
8889 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8890 * sysdeps/ia64/fpu/math_err.c: New file.
8891 * sysdeps/ia64/fpu/t_exp.c: Remove.
8892 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8893 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8894 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8896 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8897 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8898 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8899 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8900 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8901 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8902 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8903 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8904 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8905 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8908
8909 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8910
8911 * sysdeps/alpha/fpu/math_private.h: Remove.
8912
8913 * sysdeps/generic/math_private.h
8914 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8915 Move this inline function ....
8916 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8917 * include/math.h [!_ISOMAC]: To here....
8918
8919 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8920
8921 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8922 code ....
8923 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8924 * include/fenv.h [!_ISOMAC]: ... to here.
8925 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8926 (feraiseexcept): Likewise.
8927 * math/fromfp.h: Do not include <fenv_private.h>.
8928 * math/s_cexp_template.c: Likewise.
8929 * math/s_csin_template.c: Likewise.
8930 * math/s_csinh_template.c: Likewise.
8931 * math/s_ctan_template.c: Likewise.
8932 * math/s_ctanh_template.c: Likewise.
8933 * math/s_iseqsig_template.c: Likewise.
8934 * math/w_acos_compat.c: Likewise.
8935 * math/w_acosf_compat.c: Likewise.
8936 * math/w_acosl_compat.c: Likewise.
8937 * math/w_asin_compat.c: Likewise.
8938 * math/w_asinf_compat.c: Likewise.
8939 * math/w_asinl_compat.c: Likewise.
8940 * math/w_j0_compat.c: Likewise.
8941 * math/w_j0f_compat.c: Likewise.
8942 * math/w_j0l_compat.c: Likewise.
8943 * math/w_j1_compat.c: Likewise.
8944 * math/w_j1f_compat.c: Likewise.
8945 * math/w_j1l_compat.c: Likewise.
8946 * math/w_jn_compat.c: Likewise.
8947 * math/w_jnf_compat.c: Likewise.
8948 * math/w_log10_compat.c: Likewise.
8949 * math/w_log10f_compat.c: Likewise.
8950 * math/w_log10l_compat.c: Likewise.
8951 * math/w_log2_compat.c: Likewise.
8952 * math/w_log2f_compat.c: Likewise.
8953 * math/w_log2l_compat.c: Likewise.
8954 * math/w_log_compat.c: Likewise.
8955 * math/w_logf_compat.c: Likewise.
8956 * math/w_logl_compat.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8962 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8963 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8964 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8965 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8966 * sysdeps/ieee754/k_standardl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8979 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8980 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8984 * math/w_ilogb_template.c: Include <fenv.h> instead of
8985 <fenv_private.h>.
8986 * math/w_llogb_template.c: Likewise.
8987 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8988 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8989
8990 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8991
8992 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8993 * math/fromfp.h: Include <fenv_private.h>.
8994 * math/math-narrow.h: Likewise.
8995 * math/s_cexp_template.c: Likewise.
8996 * math/s_csin_template.c: Likewise.
8997 * math/s_csinh_template.c: Likewise.
8998 * math/s_ctan_template.c: Likewise.
8999 * math/s_ctanh_template.c: Likewise.
9000 * math/s_iseqsig_template.c: Likewise.
9001 * math/w_acos_compat.c: Likewise.
9002 * math/w_acosf_compat.c: Likewise.
9003 * math/w_acosl_compat.c: Likewise.
9004 * math/w_asin_compat.c: Likewise.
9005 * math/w_asinf_compat.c: Likewise.
9006 * math/w_asinl_compat.c: Likewise.
9007 * math/w_ilogb_template.c: Likewise.
9008 * math/w_j0_compat.c: Likewise.
9009 * math/w_j0f_compat.c: Likewise.
9010 * math/w_j0l_compat.c: Likewise.
9011 * math/w_j1_compat.c: Likewise.
9012 * math/w_j1f_compat.c: Likewise.
9013 * math/w_j1l_compat.c: Likewise.
9014 * math/w_jn_compat.c: Likewise.
9015 * math/w_jnf_compat.c: Likewise.
9016 * math/w_llogb_template.c: Likewise.
9017 * math/w_log10_compat.c: Likewise.
9018 * math/w_log10f_compat.c: Likewise.
9019 * math/w_log10l_compat.c: Likewise.
9020 * math/w_log2_compat.c: Likewise.
9021 * math/w_log2f_compat.c: Likewise.
9022 * math/w_log2l_compat.c: Likewise.
9023 * math/w_log_compat.c: Likewise.
9024 * math/w_logf_compat.c: Likewise.
9025 * math/w_logl_compat.c: Likewise.
9026 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9027 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9028 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9029 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9032 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9033 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9044 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9045 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9046 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9054 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9055 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9056 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9057 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9058 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9059 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9060 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9061 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9062 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9063 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9064 * sysdeps/ieee754/k_standardl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9090 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9091 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9095 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9096 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9101 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9102 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9103 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9104 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9105 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9106 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9107 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9108 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9109 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9110 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9111 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9112 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9113 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9114 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9115 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9116 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9117 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9118 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9119 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9120 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9121 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9122 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9123 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9124 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9125 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9126 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9127 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9128 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9129 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9130 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9131 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9132 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9133 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9134 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9135 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9136
9137 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9138
9139 [BZ #20271]
9140 * include/stdio.h (__libc_fatal): Mention newline in comment.
9141 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9142 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9143 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9144 * nss/nsswitch.c (__nss_next2): Likewise.
9145 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9146 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9147 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9148 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9149 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9150 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9151 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9152 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9153 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9154 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9155 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9156 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9157 (__netlink_assert_response): Likewise.
9158
9159 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9160
9161 * conform/glibcconform.py: New file.
9162 * conform/list-header-symbols.py: Likewise.
9163 * conform/list-header-symbols.pl: Remove.
9164 * conform/Makefile (tests-special): Only add linknamespace tests
9165 if [PYTHON].
9166 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9167
9168 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9169
9170 [BZ #23597]
9171 * support/Makefile (libsupport-routines): Add
9172 support_copy_file_range and xcopy_file_range.
9173 * support/support.h: Include <sys/types.h>.
9174 (support_copy_file_range): New prototype.
9175 * support/support_copy_file_range.c: New file. Copied and
9176 modified from io/copy_file_range-compat.c.
9177 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9178 instead of copy_file_range.
9179 * support/xcopy_file_range.c: New file.
9180 * support/xunistd.h (xcopy_file_range): New prototype.
9181
9182 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9183
9184 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9185 xpthread_create and xpthread_join.
9186
9187 2018-08-30 Florian Weimer <fweimer@redhat.com>
9188
9189 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9190
9191 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9192
9193 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9194 if malloc fails.
9195
9196 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9197
9198 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9199 and minus_oflow as non-finite.
9200
9201 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9202
9203 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9204 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9205 moved to fenv_private.h except for ...
9206 (TOINT_INTRINSICS): Kept in math_private.h.
9207 (roundtoint): Likewise.
9208 (converttoint): Likewise.
9209 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9210 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9211 * sysdeps/arm/math_private.h: Remove.
9212 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9213 ....
9214 * sysdeps/generic/math_private.h: ... this file. Include
9215 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9216 Include <fenv_private.h>. Remove functions and macros moved to
9217 fenv_private.h.
9218 * sysdeps/i386/fpu/math_private.h: Remove.
9219 * sysdeps/mips/math_private.h: Move to ....
9220 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9221 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9222 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9223 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9224 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9225 * sysdeps/powerpc/fpu/math_private.h: Do not include
9226 <fenv_private.h>.
9227 * sysdeps/riscv/rvf/math_private.h: Move to ....
9228 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9229 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9230 <fenv_private.h>.
9231 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9232 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9233 * sysdeps/sparc/fpu/math_private.h: Remove.
9234 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9235 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9236 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9237 <fenv_private.h>.
9238 * sysdeps/x86_64/fpu/math_private.h: Do not include
9239 <sysdeps/i386/fpu/fenv_private.h>.
9240
9241 2018-08-28 Florian Weimer <fweimer@redhat.com>
9242
9243 [BZ #23578]
9244 * posix/tst-regcomp-truncated.c: New file.
9245 * posix/Makefile (tests): Add it.
9246 (tst-regcomp-truncated.out): Depend on generated locales.
9247
9248 2018-08-28 Florian Weimer <fweimer@redhat.com>
9249
9250 * support/test-container.c (main): Treat unshare failure with
9251 EPERM as an unsupported test.
9252
9253 2018-08-28 Florian Weimer <fweimer@redhat.com>
9254
9255 [BZ #23520]
9256 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9257 * nscd/netgroupcache.c
9258 (addgetnetgrentX): Add tofreep parameter. Do not free
9259 heap-allocated buffer.
9260 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9261 (addgetnetgrentX_ignore): New function.
9262 (addgetnetgrent): Call it.
9263 (readdgetnetgrent): Likewise.
9264
9265 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9266
9267 * string/memmem.c: Use memcmp for first match.
9268
9269 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9270
9271 [BZ #17426]
9272 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9273
9274 2018-08-27 DJ Delorie <dj@redhat.com>
9275
9276 * support/Makefile (others): Don't list programs explicitly as a
9277 dependency of "others".
9278
9279 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9280
9281 * sysdeps/generic/math-tests-trap-force.h: New file.
9282 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9283 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9284 * sysdeps/powerpc/math-tests.h: Remove file.
9285 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9286
9287 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9288 Torvald Riegel <triegel@redhat.com>
9289
9290 [BZ #23538]
9291 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9292 Update r to include the set wake-request flag if waiters are
9293 remaining after spinning.
9294
9295 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9296
9297 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9298
9299 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9300
9301 [BZ #23578]
9302 regex: fix uninitialized memory access
9303 I introduced this bug into gnulib in commit
9304 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9305 eventually it was merged into glibc. The bug was found by
9306 project-repo <bugs@feusi.co> and reported here:
9307 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9308 Diagnosis and draft fix reported by Assaf Gordon here:
9309 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9310 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9311 * posix/regex_internal.c (build_wcs_upper_buffer):
9312 Fix bug when mbrtowc returns 0.
9313
9314 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9315
9316 * po/be.po: Update translation.
9317
9318 2018-08-24 DJ Delorie <dj@delorie.com>
9319
9320 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9321 $(libunwind).
9322
9323 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9324
9325 [BZ #23400]
9326 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9327 create temporary files in source tree.
9328
9329 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9330
9331 * sysdeps/generic/math-tests-trap.h: New file.
9332 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9333 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9334 * sysdeps/aarch64/math-tests.h: Remove file.
9335 * sysdeps/arm/math-tests.h: Likewise.
9336 * sysdeps/riscv/math-tests.h: Likewise.
9337 * sysdeps/aarch64/math-tests-trap.h: New file.
9338 * sysdeps/arm/math-tests-trap.h: Likewise.
9339 * sysdeps/riscv/math-tests-trap.h: Likewise.
9340
9341 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9342
9343 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9344 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9345 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9346 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9347 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9348 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9350 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9351 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9352 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9353 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9354 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9355 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9356 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9357 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9358 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9359 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9360 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9361
9362 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9363
9364 * sysdeps/generic/math-tests-exceptions.h: New file.
9365 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9366 (EXCEPTION_TESTS_float): Do not define here.
9367 (EXCEPTION_TESTS_double): Likewise.
9368 (EXCEPTION_TESTS_long_double): Likewise.
9369 (EXCEPTION_TESTS_float128): Likewise.
9370 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9371 Likewise.
9372 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9373 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9374 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9375 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9376 * sysdeps/mips/math-tests.h: Likewise.
9377 * sysdeps/nios2/math-tests.h: Likewise.
9378 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9379 (EXCEPTION_TESTS_float): Do not define here.
9380 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9381 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9382 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9383
9384 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9385
9386 * NEWS: Move optimized sinf entry to 2.29.
9387
9388 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9389
9390 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9391
9392 2018-08-22 DJ Delorie <dj@redhat.com>
9393
9394 * Makefile (testroot.pristine): New rules to initialize the
9395 test-in-container "testroot".
9396 * Makerules (all-testsuite): Add tests-container.
9397 * Rules (tests-expected): Add tests-container.
9398 (binaries-all-tests): Likewise.
9399 (tests-container): New, run these tests in the testroot container.
9400 * support/Makefile (others): Add *-container, support_paths.c,
9401 xmkdirp, and links-dso-program.
9402 * support/links-dso-program-c.c: New.
9403 * support/links-dso-program.cc: New.
9404 * support/test-container.c: New.
9405 * support/shell-container.c: New.
9406 * support/echo-container.c: New.
9407 * support/true-container.c: New.
9408 * support/xmkdirp.c: New.
9409 * support/xsymlink.c: New.
9410 * support/support_paths.c: New.
9411 * support/support.h: Add support paths prototypes.
9412 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9413
9414 * nss/tst-nss-test3.c: Convert to test-in-container.
9415 * nss/tst-nss-test3.root/: New.
9416
9417 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9418
9419 regex: port Gnulib code to z/OS POSIX environment
9420 Problem reported by Arnold Robbins in:
9421 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9422 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9423 Undef.
9424
9425 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9426
9427 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9428 (ROUNDING_TESTS_double): Remove.
9429 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9430 (ROUNDING_TESTS_double): Remove.
9431 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9432 (ROUNDING_TESTS_double): Remove.
9433 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9434 (ROUNDING_TESTS_float): Remove.
9435 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9436 (ROUNDING_TESTS_float): Remove.
9437 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9438 (ROUNDING_TESTS_float): Remove.
9439 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9440 !TEST_MATHVEC here.
9441 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9442 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9443
9444 * sysdeps/generic/math-tests-rounding.h: New file.
9445 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9446 (ROUNDING_TESTS_float): Do not define here.
9447 (ROUNDING_TESTS_double): Likewise.
9448 (ROUNDING_TESTS_long_double): Likewise.
9449 (ROUNDING_TESTS_float128): Likewise.
9450 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9451 (ROUNDING_TESTS_double): Undefine before defining.
9452 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9453 (ROUNDING_TESTS_double): Undefine before defining.
9454 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9455 (ROUNDING_TESTS_double): Undefine before defining.
9456 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9457 (ROUNDING_TESTS_float): Undefine before defining.
9458 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9459 (ROUNDING_TESTS_float): Undefine before defining.
9460 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9461 (ROUNDING_TESTS_float): Undefine before defining.
9462 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9463 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9464 not define here.
9465 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9466 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9467 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9468 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9469 (ROUNDING_TESTS_float): Do not define here.
9470 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9471 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9472 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9473 (ROUNDING_TESTS_float): Likewise.
9474 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9475 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9476 * sysdeps/mips/math-tests.h [__mips_soft_float]
9477 (ROUNDING_TESTS_float): Likewise.
9478 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9479 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9480 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9481 (ROUNDING_TESTS_double): Likewise.
9482 (ROUNDING_TESTS_long_double): Likewise.
9483
9484 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9485
9486 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9487 (PF_XDP): New macro.
9488 (AF_XDP): New macro.
9489 (SOL_XDP): New macro.
9490
9491 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9492
9493 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9494 (TCP_INQ): Likewise.
9495 (TCP_CM_INQ): Likewise.
9496 (TCP_REPAIR_ON): Likewise.
9497 (TCP_REPAIR_OFF): Likewise.
9498 (TCP_REPAIR_OFF_NO_WP): Likewise.
9499 (struct tcp_zerocopy_receive): New type.
9500
9501 2018-08-21 Florian Weimer <fweimer@redhat.com>
9502
9503 * support/support.h (support_descriptor_supports_holes): Declare.
9504 * support/Makefile (libsupport-routines): Add
9505 support_descriptor_supports_holes.
9506 * support/support_descriptor_supports_holes.c: New file.
9507 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9508 and stop testing if holes are not supported.
9509 * io/test-lfs.c (do_prepare): Likewise.
9510 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9511 Likewise.
9512 * timezone/tst-tzset.c (create_tz_file): Likewise.
9513 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9514 variable.
9515 (do_prepare): Set it.
9516 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9517
9518 2018-08-21 Florian Weimer <fweimer@redhat.com>
9519
9520 [BZ #17248]
9521 * Makeconfig (+cflags): Do not sort (and deduplicate).
9522
9523 2018-08-21 Florian Weimer <fweimer@redhat.com>
9524
9525 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9526 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9527
9528 2018-08-20 Florian Weimer <fweimer@redhat.com>
9529
9530 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9531 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9532
9533 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9534
9535 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9536 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9537 and ssi_arch members.
9538
9539 * elf/elf.c (NT_VMCOREDD): New macro.
9540 (AT_MINSIGSTKSZ): Likewise.
9541
9542 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9543
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9545 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9546 s_cosf-ppc64 and s_cosf-power8.
9547 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9548 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9549 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9550 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9557 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9558 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9559
9560 2018-08-17 Florian Weimer <fweimer@redhat.com>
9561
9562 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9563
9564 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9565
9566 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9567
9568 2018-08-16 Florian Weimer <fweimer@redhat.com>
9569
9570 * configure.ac: Add --with-nonshared-cflags option.
9571 * config.make.in (extra-nonshared-cflags): Set variable.
9572 * Makeconfig (CFLAGS-.oS): Use it.
9573 * manual/install.texi (Configuring and compiling): Document
9574 --with-nonshared-cflags.
9575 * configure: Regenerate.
9576 * INSTALL: Likewise.
9577
9578 2018-08-16 Florian Weimer <fweimer@redhat.com>
9579
9580 * Makeconfig (ASFLAGS): Always append required assembler flags.
9581
9582 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9583
9584 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9585 (malloc_consolidate): Likewise.
9586
9587 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9588
9589 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9590
9591 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9592
9593 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9594 every strlen call.
9595
9596 * benchtests/bench-strlen.c: Print performance numbers in json.
9597
9598 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9599
9600 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9601 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9602 only for little endian.
9603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9604 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9605 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9606 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9607 Add check for little endian.
9608 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9609 (__strcmp_power9): Add check for little endian.
9610 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9611 Add check for little endian.
9612 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9613 (__strncmp_power9): Add check for little endian.
9614 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9615 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9616 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9617 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9618 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9619
9620 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9621
9622 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9623 [!STRLEN](STRLEN): Set to __strlen.
9624 * sysdeps/aarch64/multiarch/strlen.c: New file.
9625 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9626 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9627 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9628 (__libc_ifunc_impl_list): Add strlen.
9629 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9630 strlen_generic and strlen_asimd.
9631
9632 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9633
9634 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9635 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9636 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9637
9638 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9639
9640 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9641
9642 2018-08-14 Florian Weimer <fweimer@redhat.com>
9643
9644 [BZ #23519]
9645 * include/stdio.h (__vfxprintf): Declare.
9646 * stdio-common/fxprintf.c (__vfxprintf): New function.
9647 (__fxprintf): Call it.
9648 * misc/err.c (convert_and_print): Remove function.
9649 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9650 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9651 * misc/Makefile (tests): Add tst-warn-wide.
9652 * misc/tst-warn-wide.c: New file.
9653
9654 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9655 Szabolcs Nagy <szabolcs.nagy@arm.com>
9656
9657 * NEWS: Mention sinf, cosf, sincosf.
9658 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9659 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9660 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9661 constants rather than including generic sincosf.h.
9662 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9663 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9664 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9665 (reduced_cos): Remove.
9666 (sinf_poly): New function.
9667 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9668
9669 2018-08-14 Florian Weimer <fweimer@redhat.com>
9670
9671 [BZ #23521]
9672 [BZ #23522]
9673 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9674 processing, bail out if no room, and close the stream before
9675 returning ERANGE.
9676 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9677 (tst-nss-files-alias-leak): Link with libdl.
9678 (tst-nss-files-alias-leak.out): Depend on nss_files.
9679
9680 * nss/tst-nss-files-alias-leak.c: New file.
9681
9682 2018-08-14 Florian Weimer <fweimer@redhat.com>
9683
9684 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9685 server_user, stat_user.
9686
9687 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9688
9689 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9690 version to 4.18.
9691 (io_pgetevents): New syscall.
9692 (rseq): Likewise.
9693
9694 * manual/install.texi (Configuring and compiling): Do not list
9695 tools used for testing pretty printers here.
9696 (Tools for Compilation): List Python, PExpect and GDB here.
9697 Update descriptions of uses of Perl and Python.
9698 * INSTALL: Regenerate.
9699
9700 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9701 version to 4.18.
9702
9703 2018-08-13 Florian Weimer <fweimer@redhat.com>
9704
9705 * misc/error.c (error): Add missing va_end call.
9706 (error_at_line): Likewise.
9707
9708 2018-08-13 Florian Weimer <fweimer@redhat.com>
9709
9710 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9711
9712 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9713
9714 * benchtests/scripts/benchout.schema.json (properties): Add
9715 new properties.
9716
9717 * benchtests/bench-skeleton.c (main): Add duration and
9718 iterations attributes.
9719
9720 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9721
9722 regex: Gnulib unibyte RRI uses bytes not chars
9723 Adjust the non-glibc code to agree with what Gawk needs for
9724 rational range interpretation (RRI) for regular expression ranges.
9725 In unibyte locales, Gawk wants ranges to use the underlying byte
9726 rather than the character code point. This change does not affect
9727 glibc proper.
9728 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9729 In unibyte locales, use the byte value rather than
9730 running it through btowc.
9731
9732 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9733
9734 * sysdeps/generic/math-tests-snan.h: New file.
9735 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9736 (SNAN_TESTS_float): Do not define here.
9737 (SNAN_TESTS_double): Likewise.
9738 (SNAN_TESTS_long_double): Likewise.
9739 (SNAN_TESTS_float128): Likewise.
9740 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9741 * sysdeps/i386/fpu/math-tests.h: Remove file.
9742 * sysdeps/ia64/math-tests-snan.h: New file.
9743 * sysdeps/ia64/math-tests.h: Remove file.
9744 * sysdeps/x86/math-tests.h: Likewise.
9745 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9746
9747 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9748 Szabolcs Nagy <szabolcs.nagy@arm.com>
9749
9750 * math/Makefile: Add s_sincosf_data.c.
9751 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9752 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9753 (sincosf_poly): Likewise.
9754 (reduce_small): Likewise.
9755 (reduce_large): Likewise.
9756 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9757 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9758 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9759 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9760
9761 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9762 Szabolcs Nagy <szabolcs.nagy@arm.com>
9763
9764 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9765 (converttoint): Use lround.
9766 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9767 document the semantics when TOINT_INTRINSICS is set.
9768 (converttoint): Likewise.
9769 (TOINT_RINT): Remove.
9770 (TOINT_SHIFT): Remove.
9771 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9772 path.
9773
9774 2018-08-10 Florian Weimer <fweimer@redhat.com>
9775
9776 [BZ #23497]
9777 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9778 function.
9779 (__old_getdents64): Use getdents64. Convert entries without
9780 moving them.
9781 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9782 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9783 tst-readdir64-compat.
9784
9785 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9786
9787 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9788 Fix unwind.
9789
9790 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9791
9792 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9793 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9794 code to s390x-mcount.h and #include it.
9795 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9796 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9797 (__fentry__): Add.
9798
9799 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9800
9801 * stdlib/Versions: Remove __fentry__.
9802 * sysdeps/i386/Versions: Add __fentry__.
9803 * sysdeps/x86_64/Versions: Add __fentry__.
9804
9805 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9806
9807 * sysdeps/s390/Makefile: Register the new tests.
9808 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9809 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9810 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9811 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9812 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9813 * sysdeps/s390/tst-dl-runtime.c: New file.
9814
9815 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9816
9817 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9818 Do not clobber R0.
9819
9820 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9821
9822 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9823 Do not clobber R0.
9824
9825 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9826
9827 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9828 Do not clobber R0.
9829
9830 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9831
9832 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9833 Do not clobber R0.
9834
9835 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9836
9837 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9838 Use symbolic offsets for stack variables.
9839
9840 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9841
9842 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9843 Use symbolic offsets for stack variables.
9844
9845 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9846
9847 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9848 Use symbolic offsets for stack variables.
9849
9850 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9851
9852 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9853 Use symbolic offsets for stack variables.
9854
9855 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9856
9857 * math/gen-libm-test.py: New file.
9858 * math/gen-libm-test.pl: Remove.
9859 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9860 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9861 gen-libm-test.pl.
9862 ($(libm-test-c-noauto-obj)): Likewise.
9863 ($(libm-test-c-auto-obj)): Likewise.
9864 ($(libm-test-c-narrow-obj)): Likewise.
9865 (regen-ulps): Likewise.
9866 * math/README.libm-test: Update references to gen-libm-test.pl.
9867 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9868 referencing gen-libm-test.pl.
9869 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9870 * math/libm-test-support.c: Likewise.
9871 * math/libm-test-support.h: Likewise.
9872 * sysdeps/generic/libm-test-ulps: Likewise.
9873
9874 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9875
9876 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9877 Fix value.
9878
9879 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9880
9881 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9882 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9883
9884 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9885
9886 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9887 symbols.
9888 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9889 __pthread_setspecific): Add hidden proto.
9890 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9891 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9892
9893 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9894
9895 * benchtests/bench-string.h (buf1_size, buf2_size): New
9896 variables.
9897 (init_sizes): New function.
9898 (test_init): Use it.
9899 (alloc_buf, exit_error): New functions.
9900 (alloc_bufs): Use ALLOC_BUF.
9901 (realloc_bufs): Remove.
9902 * benchtests/bench-memcmp.c (do_test): Adjust.
9903 * benchtests/bench-memset-large.c (do_test): Likewise.
9904 * benchtests/bench-memset-walk.c (do_test): Likewise.
9905 * benchtests/bench-memset.c (do_test): Likewise.
9906 * benchtests/bench-strncmp.c (do_test): Likewise.
9907
9908 2018-08-06 Andreas Schwab <schwab@suse.de>
9909
9910 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9911 of CONST_THREAD_AREA.
9912
9913 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9914
9915 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9916 (STATE_SAVE_MASK): Likewise.
9917 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9918 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9919 (STATE_SAVE_MASK): Likewise.
9920 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9921 instead of <cpu-features.h>.
9922
9923 2018-08-03 DJ Delorie <dj@redhat.com>
9924
9925 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9926 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9927
9928 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9929
9930 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9931
9932 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9933 after TEST_* calls.
9934 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9935 * math/libm-test-logb.inc (logb_test_data): Likewise.
9936
9937 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9938
9939 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9940 * string/strstr.c (AVAILABLE): Likewise.
9941
9942 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9943
9944 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9945 <init-arch.h>.
9946 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9947 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9948 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9949
9950 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9951
9952 * po/be.po: Update translation.
9953
9954 * po/be.po: Update translation.
9955
9956 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9957
9958 * sysdeps/x86/cpu-features-offsets.sym
9959 (rtld_global_ro_offsetof): Removed.
9960 (CPU_FEATURES_SIZE): Likewise.
9961 (CPUID_OFFSET): Likewise.
9962 (CPUID_SIZE): Likewise.
9963 (CPUID_EAX_OFFSET): Likewise.
9964 (CPUID_EBX_OFFSET): Likewise.
9965 (CPUID_ECX_OFFSET): Likewise.
9966 (CPUID_EDX_OFFSET): Likewise.
9967 (FAMILY_OFFSET): Likewise.
9968 (MODEL_OFFSET): Likewise.
9969 (FEATURE_OFFSET): Likewise.
9970 (FEATURE_SIZ): Likewise.
9971 (COMMON_CPUID_INDEX_1): Likewise.
9972 (COMMON_CPUID_INDEX_7): Likewise.
9973 (FEATURE_INDEX_1): Likewise.
9974 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9975
9976 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9977
9978 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9979 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9980 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9981 (install-locales): Depend on install-locale-archive.
9982 (install-locale-archive): Define.
9983 (install-locale-files): Define.
9984 (build-one-locale): Define macro.
9985 * manual/install.texi (Running make install): Document.
9986 * manual/INSTALL: Regenerate.
9987
9988 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9989
9990 * benchtests/scripts/compare_strings.py: Import traceback.
9991 (parse_file): Pretty-print error.
9992
9993 * NEWS: Mention the change.
9994 * elf/dl-tunables.list: Rename tune namespace to cpu.
9995 * sysdeps/powerpc/dl-tunables.list: Likewise.
9996 * sysdeps/x86/dl-tunables.list: Likewise.
9997 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9998 cpu.name.
9999 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10000 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10001 * manual/README.tunables: Likewise.
10002 * manual/tunables.texi: Likewise.
10003 * sysdeps/powerpc/cpu-features.c: Likewise.
10004 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10005 (init_cpu_features): Likewise.
10006 * sysdeps/x86/cpu-features.c: Likewise.
10007 * sysdeps/x86/cpu-features.h: Likewise.
10008 * sysdeps/x86/cpu-tunables.c: Likewise.
10009 * sysdeps/x86_64/Makefile: Likewise.
10010 * sysdeps/x86/dl-cet.c: Likewise.
10011
10012 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10013
10014 [BZ #23479]
10015 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10016 [__mips_hard_float].
10017 (FE_UNDERFLOW): Likewise.
10018 (FE_OVERFLOW): Likewise.
10019 (FE_DIVBYZERO): Likewise.
10020 (FE_INVALID): Likewise.
10021 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10022 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10023 (FE_UPWARD): Likewise.
10024 (FE_DOWNWARD): Likewise.
10025 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10026 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10027 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10028 [__mips_hard_float].
10029 (FP_ROUNDMODE): Likewise.
10030 (FP_RND_NEAREST): Likewise.
10031 (FP_RND_ZERO): Likewise.
10032 (FP_RND_PINF): Likewise.
10033 (FP_RND_MINF): Likewise.
10034 (FP_EX_INVALID): Likewise.
10035 (FP_EX_OVERFLOW): Likewise.
10036 (FP_EX_UNDERFLOW): Likewise.
10037 (FP_EX_DIVZERO): Likewise.
10038 (FP_EX_INEXACT): Likewise.
10039 (FP_INIT_ROUNDMODE): Likewise.
10040 * sysdeps/mips/nofpu/fesetenv.c: New file.
10041 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10042
10043 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10044
10045 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10046 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10047 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10048 conditional on [FE_UPWARD].
10049
10050 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10051
10052 regex: fix memory leak in Gnulib
10053 Problem and fix reported by Assaf Gordon in:
10054 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10055 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10056 range_ends members too, as they are defined in 'struct
10057 re_charset_t' even if not _LIBC. This affects only Gnulib.
10058
10059 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10060
10061 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10062 ...
10063 (get_common_indices): This.
10064 (init_cpu_features): Updated.
10065
10066 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10067
10068 * sysdeps/generic/math-tests-snan-payload.h: New file.
10069 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10070 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10071 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10072 * sysdeps/generic/math-tests.h: Include
10073 <math-tests-snan-payload.h>.
10074 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10075 * sysdeps/hppa/math-tests.h: Remove file.
10076 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10077 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10078 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10079 Likewise.
10080
10081 * sysdeps/generic/math-tests-snan-cast.h: New file.
10082 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10083 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10084 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10085 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10086
10087 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10088
10089 * version.h (RELEASE): Set to "development".
10090 (VERSION): Set to "2.28.9000".
10091 * NEWS (2.29): New section.
10092
10093 * version.h (RELEASE): Set to "stable".
10094 (VERSION): Set to "2.28".
10095 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10096 * NEWS: Add the list of bugs fixed in 2.28.
10097
10098 * po/ca.po: Update to latest version.
10099 * po/cs.po: Likewise
10100 * po/da.po: Likewise
10101 * po/el.po: Likewise
10102 * po/eo.po: Likewise
10103 * po/es.po: Likewise
10104 * po/fi.po: Likewise
10105 * po/fr.po: Likewise
10106 * po/gl.po: Likewise
10107 * po/hu.po: Likewise
10108 * po/ia.po: Likewise
10109 * po/id.po: Likewise
10110 * po/it.po: Likewise
10111 * po/ja.po: Likewise
10112 * po/ko.po: Likewise
10113 * po/lt.po: Likewise
10114 * po/nb.po: Likewise
10115 * po/nl.po: Likewise
10116 * po/pt_BR.po: Likewise
10117 * po/ru.po: Likewise
10118 * po/rw.po: Likewise
10119 * po/sk.po: Likewise
10120 * po/sl.po: Likewise
10121 * po/tr.po: Likewise
10122 * po/zh_CN.po: Likewise
10123 * po/zh_TW.po: Likewise
10124
10125 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10126
10127 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10128 initialization...
10129 (init): ... before initializing libpthread.
10130
10131 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10132 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10133 (__mach_setup_tls): ... new function.
10134 (mach_setup_tls): New alias.
10135 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10136 __mach_setup_thread.
10137 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10138 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10139 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10140 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10141
10142 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10143
10144 * manual/install.texi: Update versions.
10145 * INSTALL: Regenerate.
10146
10147 * manual/contrib.texi (Contributors): Update contributions.
10148
10149 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10150
10151 * po/be.po: Update translations.
10152
10153 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10154
10155 * sysdeps/sh/libm-test-ulps: Update.
10156
10157 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10158
10159 * po/bg.po: Update translations.
10160 * po/de.po: Likewise.
10161 * po/hr.po: Likewise.
10162 * po/pt_BR.po: Likewise.
10163 * po/sv.po: Likewise.
10164 * po/vi.po: Likewise.
10165
10166 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10167
10168 [BZ #23467]
10169 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10170 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10171 (CFLAGS-tst-cet-property-1.o): New.
10172 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10173 ($(objpfx)tst-cet-property-2): Likewise.
10174 ($(objpfx)tst-cet-property-2.out): Likewise.
10175 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10176 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10177 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10178 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10179 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10180
10181 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10182
10183 [BZ #23458]
10184 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10185
10186 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10187
10188 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10189 __sbrk): Do not set attribute_hidden.
10190 * sysdeps/mach/hurd/not-errno.h: New file.
10191 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10192 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10193
10194 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10195
10196 * po/uk.po: Update translations.
10197 * po/cs.po: Likewise.
10198 * po/pl.po: Likewise.
10199
10200 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10201
10202 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10203 parse beyond the note end.
10204
10205 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10206
10207 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10208 kernel does not support OFD locks.
10209 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10210
10211 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10212
10213 * sysdeps/mach/hurd/Versions (libc): Make __access and
10214 __access_noerrno external so they can override the ld symbols.
10215 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10216 __writev, __open64, __access_noerrno extern so they can be overrided.
10217 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10218 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10219
10220 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10221
10222 * po/libc.pot: Regenerate.
10223
10224 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10225
10226 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10227
10228 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10229
10230 [BZ #23459]
10231 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10232 function.
10233 (init_cpu_features): Call get_extended_indices for both Intel
10234 and AMD CPUs.
10235 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10236 Remove "for AMD" comment.
10237
10238 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10239
10240 [BZ # 23456]
10241 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10242 COMMON_CPUID_INDEX_80000001.
10243
10244 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10245
10246 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10247 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10248
10249 2018-07-26 Florian Weimer <fweimer@redhat.com>
10250
10251 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10252 aliases for symbols not in the implementation namespace.
10253
10254 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10255
10256 [BZ #23393]
10257 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10258 lowercase in LATIN script.
10259 * localedata/Makefile (test-input): Add en_US.UTF-8.
10260 * localedata/en_US.UTF-8.in: New file.
10261 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10262 and restore old tests.
10263 * posix/tst-regexloc.c (do_test): Add back range expression test.
10264
10265 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10266
10267 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10268
10269 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10270
10271 * nptl/threads.h: Move to ...
10272 * sysdeps/nptl/threads.h: ... here.
10273 * sysdeps/hurd/stdc-predef.h: New file.
10274
10275 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10276
10277 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10278 tst-cet-setcontext-1 if CET is enabled.
10279 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10280 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10281
10282 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10283
10284 * include/threads.h: Move to ...
10285 * sysdeps/nptl/threads.h: ... here.
10286 * sysdeps/htl/threads.h: New file.
10287 * conform/Makefile (linknamespace-libs-ISO11): Use
10288 static-thread-library instead of linking libpthread.
10289 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10290
10291 2018-07-25 Florian Weimer <fweimer@redhat.com>
10292
10293 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10294 nanoseconds into seconds.
10295 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10296 (do_test): Likewise.
10297 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10298 (do_test): Likewise. Avoid nanosecond overflow and spurious
10299 timeouts due to system load.
10300 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10301 (child_wait): Increment it.
10302 (do_test): Wait as long as necessary until all expected threads
10303 have arrived.
10304
10305 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10306 H.J. Lu <hongjiu.lu@intel.com>
10307
10308 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10309 __ssp.
10310 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10311 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10312 (__push___start_context): New.
10313 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10314 <asm/prctl.h>.
10315 (__getcontext): Record the current shadow stack base. Save the
10316 caller's shadow stack pointer and base.
10317 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10318 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10319 (__push___start_context): New prototype.
10320 (__makecontext): Call __push___start_context to allocate a new
10321 shadow stack, push __start_context onto the new stack as well
10322 as the new shadow stack.
10323 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10324 <asm/prctl.h>.
10325 (__setcontext): Restore the target shadow stack.
10326 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10327 <asm/prctl.h>.
10328 (__swapcontext): Record the current shadow stack base. Save
10329 the caller's shadow stack pointer and base. Restore the target
10330 shadow stack.
10331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10332 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10333 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10334
10335 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10338 tst-setcontext8 and tst-setcontext9.
10339 * stdlib/tst-setcontext6.c: New file.
10340 * stdlib/tst-setcontext7.c: Likewise.
10341 * stdlib/tst-setcontext8.c: Likewise.
10342 * stdlib/tst-setcontext9.c: Likewise.
10343
10344 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10345
10346 * stdlib/Makefile ((tests): Add tst-setcontext5.
10347 * stdlib/tst-setcontext5.c: New file.
10348
10349 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10350
10351 * stdlib/Makefile (tests): Add tst-setcontext4.
10352 * stdlib/tst-setcontext4.c: New file.
10353
10354 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10355
10356 * stdlib/Makefile (tests): Add tst-swapcontext1.
10357 * stdlib/tst-swapcontext1.c: New test.
10358
10359 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10360
10361 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10362 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10363 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10364 and tst-cet-legacy-4c.
10365 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10366 and tst-cet-legacy-mod-4.
10367 (CFLAGS-tst-cet-legacy-2.c): New.
10368 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10369 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10370 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10371 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10372 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10373 ($(objpfx)tst-cet-legacy-1): Likewise.
10374 ($(objpfx)tst-cet-legacy-2): Likewise.
10375 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10376 ($(objpfx)tst-cet-legacy-2a): Likewise.
10377 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10378 ($(objpfx)tst-cet-legacy-4): Likewise.
10379 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10380 ($(objpfx)tst-cet-legacy-4a): Likewise.
10381 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10382 (tst-cet-legacy-4a-ENV): Likewise.
10383 ($(objpfx)tst-cet-legacy-4b): Likewise.
10384 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10385 (tst-cet-legacy-4b-ENV): Likewise.
10386 ($(objpfx)tst-cet-legacy-4c): Likewise.
10387 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10388 (tst-cet-legacy-4c-ENV): Likewise.
10389 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10390 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10391 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10392 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10393 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10394 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10395 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10396 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10397 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10398 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10399 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10400
10401 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10402
10403 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10404 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10405 with ssp_base.
10406 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10407 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10408 with ssp_base.
10409
10410 2018-07-25 Andreas Schwab <schwab@suse.de>
10411
10412 [BZ #23442]
10413 * locale/weightwc.h (findidx): Handle the case where usrc is a
10414 prefix of cp but one character too short.
10415
10416 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10417
10418 * NEWS: Add ISO C threads addition.
10419
10420 2018-07-24 Florian Weimer <fweimer@redhat.com>
10421
10422 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10423 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10424 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10425 4.13.
10426
10427 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10428
10429 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10430 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10431 <sys/prctl.h> and <asm/prctl.h>.
10432 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10433 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10434 and <asm/prctl.h>.
10435 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10436 ARCH_CET_LEGACY_BITMAP.
10437 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10438 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10439 * sysdeps/x86/libc-start.c: Include <startup.h>.
10440
10441 2018-07-24 Florian Weimer <fweimer@redhat.com>
10442
10443 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10444 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10445
10446 2018-07-24 Rical Jasan <rj@2c3t.io>
10447 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10448 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10449
10450 [BZ #14092]
10451 * manual/debug.texi: Update adjacent chapter name.
10452 * manual/probes.texi: Likewise.
10453 * manual/threads.texi (ISO C Threads): New section.
10454 (POSIX Threads): Convert to a section.
10455
10456 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10457 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10458
10459 [BZ# 14092]
10460 * nptl/Makefile (tests): Add new test files.
10461 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10462 * nptl/tst-cnd-basic.c: Likewise.
10463 * nptl/tst-cnd-broadcast.c: Likewise.
10464 * nptl/tst-cnd-timedwait.c: Likewise.
10465 * nptl/tst-mtx-basic.c: Likewise.
10466 * nptl/tst-mtx-recursive.c: Likewise.
10467 * nptl/tst-mtx-timedlock.c: Likewise.
10468 * nptl/tst-mtx-trylock.c: Likewise.
10469 * nptl/tst-thrd-basic.c: Likewise.
10470 * nptl/tst-thrd-detach.c: Likewise.
10471 * nptl/tst-thrd-sleep.c: Likewise.
10472 * nptl/tst-tss-basic.c: Likewise.
10473
10474 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10475
10476 [BZ #14092]
10477 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10478 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10479 symbols.
10480 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10481 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10482 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10483 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10484 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10485 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10486 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10487 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10488 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10489 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10490 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10491 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10493 Likewise.
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10495 Likewise.
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10497 Likewise.
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10499 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10500 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10501 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10502 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10503 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10504 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10505 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10506 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10507 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10508 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10509 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10510 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10511 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10512 Likewise.
10513 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10514 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10515 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10516 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10517 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10518 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10519 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10520 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10521 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10522 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10523 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10524 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10525 ikewise.
10526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10528 Likewise.
10529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10530 Likewise.
10531 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10532 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10533 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10534 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10535 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10536 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10537 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10538 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10539
10540 [BZ #14092]
10541 * conform/data/threads.h-data (thread_local): New macro.
10542 (TSS_DTOR_ITERATIONS): Likewise.
10543 (tss_t): New type.
10544 (tss_dtor_t): Likewise.
10545 (tss_create): New function.
10546 (tss_get): Likewise.
10547 (tss_set): Likewise.
10548 (tss_delete): Likewise.
10549 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10550 tss_get, and tss_set objects.
10551 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10552 * nptl/tss_create.c: New file.
10553 * nptl/tss_delete.c: Likewise.
10554 * nptl/tss_get.c: Likewise.
10555 * nptl/tss_set.c: Likewise.
10556 * sysdeps/nptl/threads.h (thread_local): New define.
10557 (TSS_DTOR_ITERATIONS): Likewise.
10558 (tss_t): New typedef.
10559 (tss_dtor_t): Likewise.
10560 (tss_create): New prototype.
10561 (tss_get): Likewise.
10562 (tss_set): Likewise.
10563 (tss_delete): Likewise.
10564
10565 [BZ #14092]
10566 * conform/data/threads.h-data (cnd_t): New type.
10567 (cnd_init): New function.
10568 (cnd_signal): Likewise.
10569 (cnd_broadcast): Likewise.
10570 (cnd_wait): Likewise.
10571 (cnd_timedwait): Likewise.
10572 (cnd_destroy): Likewise.
10573 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10574 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10575 object.
10576 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10577 * nptl/cnd_broadcast.c: New file.
10578 * nptl/cnd_destroy.c: Likewise.
10579 * nptl/cnd_init.c: Likewise.
10580 * nptl/cnd_signal.c: Likewise.
10581 * nptl/cnd_timedwait.c: Likewise.
10582 * nptl/cnd_wait.c: Likewise.
10583 * sysdeps/nptl/threads.h (cnd_t): New type.
10584 (cnd_init): New prototype.
10585 (cnd_signa): Likewise.
10586 (cnd_broadcast): Likewise.
10587 (cnd_wait): Likewise.
10588 (cnd_timedwait): Likewise.
10589 (cnd_destroy): Likewise.
10590
10591 [BZ #14092]
10592 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10593 (once_flag): New type.
10594 (call_once): New function.
10595 * nptl/Makefile (libpthread-routines): Add call_once object.
10596 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10597 * nptl/call_once.c: New file.
10598 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10599 (once_flag): New type.
10600 (call_once): New prototype.
10601
10602 [BZ #14092]
10603 * conform/data/threads.h-data (mtx_plain): New constant.
10604 (mtx_recursive): Likewise.
10605 (mtx_timed): Likewise.
10606 (mtx_t): New type.
10607 (mtx_init): New function.
10608 (mtx_lock): Likewise.
10609 (mtx_timedlock): Likewise.
10610 (mtx_trylock): Likewise.
10611 (mtx_unlock): Likewise.
10612 (mtx_destroy): Likewise.
10613 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10614 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10615 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10616 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10617 * nptl/mtx_destroy.c: New file.
10618 * nptl/mtx_init.c: Likewise.
10619 * nptl/mtx_lock.c: Likewise.
10620 * nptl/mtx_timedlock.c: Likewise.
10621 * nptl/mtx_trylock.c: Likewise.
10622 * nptl/mtx_unlock.c: Likewise.
10623 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10624 (mtx_recursive): Likewise.
10625 (mtx_timed): Likewise.
10626 (mtx_t): New type.
10627 (mtx_init): New prototype.
10628 (mtx_lock): Likewise.
10629 (mtx_timedlock): Likewise.
10630 (mtx_trylock): Likewise.
10631 (mtx_unlock): Likewise.
10632 (mtx_destroy): Likewise.
10633
10634 [BZ #14092]
10635 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10636 (linknamespace-libs-ISO11): Add libpthread.a.
10637 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10638 functions.
10639 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10640 * nptl/Makefile (headers): Add threads.h.
10641 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10642 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10643 thrd_yield.
10644 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10645 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10646 thrd_join, thrd_sleep, and thrd_yield symbols.
10647 * nptl/descr.h (struct pthread): Add c11 field.
10648 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10649 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10650 routine with expected function prototype.
10651 (__pthread_create_2_1): Add C11 threads check based on attribute
10652 value.
10653 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10654 * nptl/thrd_create.c: New file.
10655 * nptl/thrd_current.c: Likewise.
10656 * nptl/thrd_detach.c: Likewise.
10657 * nptl/thrd_equal.c: Likewise.
10658 * nptl/thrd_exit.c: Likewise.
10659 * nptl/thrd_join.c: Likewise.
10660 * nptl/thrd_priv.h: Likewise.
10661 * nptl/thrd_sleep.c: Likewise.
10662 * nptl/thrd_yield.c: Likewise.
10663 * include/threads.h: Likewise.
10664
10665 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10666
10667 * bits/indirect-return.h: New file.
10668 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10669 * sysdeps/x86/bits/indirect-return.h: Likewise.
10670 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10671 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10672 (swapcontext): Add __INDIRECT_RETURN.
10673 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10674 (prepare_test_buffer): Use it.
10675
10676 2018-07-24 Andreas Schwab <schwab@suse.de>
10677
10678 [BZ #23448]
10679 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10680 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10681
10682 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10683
10684 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10685 Redefine if shadow stack is enabled.
10686 (SYSCALL_ERROR_LABEL): Likewise.
10687 (__vfork): Pop shadow stack and jump back to to caller directly
10688 when shadow stack is in use.
10689 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10690 Redefine if shadow stack is enabled.
10691 (SYSCALL_ERROR_LABEL): Likewise.
10692 (__vfork): Pop shadow stack and jump back to to caller directly
10693 when shadow stack is in use.
10694
10695 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10696
10697 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10698 enabled.
10699 (foo): Likewise.
10700 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10701 (foo): Likewise.
10702
10703 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10704
10705 * scripts/build-many-glibcs.py (Context.checkout): Default
10706 binutils version to 2.31 branch.
10707
10708 2018-07-20 Zong Li <zong@andestech.com>
10709
10710 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10711 URL of gcc's tarball.
10712
10713 2018-07-20 Florian Weimer <fweimer@redhat.com>
10714
10715 [BZ #23396]
10716 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10717 not compare an extra byte after the end of the weights.
10718
10719 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10720
10721 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10722 to 1.
10723 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10724 hidden prototypes.
10725 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10726 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10727 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10728 list of libraries whose stack executability is expected.
10729 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10730 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10731 variable.
10732 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10733 libc.so libpthread.so.
10734
10735 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10736
10737 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10738 SOCK_NONBLOCK.
10739 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10740 and SOCK_NONBLOCK.
10741 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10742 implement __pipe2.
10743 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10744
10745 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10746
10747 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10748 library to improve command line parsing.
10749 (__main__): make schema file as optional parameter (--schema),
10750 defaulting to benchtests/scripts/benchout.schema.json.
10751 (main): move out of the parsing stuff to __main_  and leave it
10752 only as caller of main comparison functions.
10753
10754 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10755
10756 * NEWS: Add a note for Intel CET status.
10757 * manual/install.texi: Likewise.
10758 * INSTALL: Regenerated.
10759
10760 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10761
10762 [BZ #23140]
10763 * localedata/locales/oc_FR (mon): Rename to...
10764 (alt_mon): This, then update October (typo fix).
10765 (mon): New content (genitive case, month names preceded by
10766 "de" or "d’").
10767
10768 [BZ #23422]
10769 * localedata/locales/oc_FR (abday): Update all items.
10770 (day): Update Wednesday and Saturday (typo fixes).
10771 (abmon): Update all items, except May.
10772 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10773 (LC_IDENTIFICATION): Bump the revision number and date.
10774 Keep the "category" entries in alphabetic order.
10775 (LC_ADDRESS): Remove no longer needed comment.
10776 (LC_COLLATE): Use “copy "ca_ES"”.
10777 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10778 "name_mrs".
10779
10780 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10781
10782 * grp/tst_fgetgrent.c: Include <unistd.h>.
10783 (main): Use mkstemp instead of tmpnam.
10784 * io/test-utime.c (main): Likewise.
10785 * posix/annexc.c (macrofile): Change to modifiable array.
10786 (main): Remove macrofile here.
10787 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10788 macrofile here.
10789 (check_header): Do not remove macrofile here.
10790 * posix/bug-getopt1.c: Include <stdlib.h>.
10791 (do_test): Use mkstemp instead of tmpnam.
10792 * posix/bug-getopt2.c: Include <stdlib.h>.
10793 (do_test): Use mkstemp instead of tmpnam.
10794 * posix/bug-getopt3.c: Include <stdlib.h>.
10795 (do_test): Use mkstemp instead of tmpnam.
10796 * posix/bug-getopt4.c: Include <stdlib.h>.
10797 (do_test): Use mkstemp instead of tmpnam.
10798 * posix/bug-getopt5.c: Include <stdlib.h>.
10799 (do_test): Use mkstemp instead of tmpnam.
10800 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10801 (main): Use mkstemp instead of tmpnam.
10802 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10803 (main): Use mkstemp instead of tmpnam.
10804 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10805 (main): use mkstemp instead of tmpnam.
10806 * stdlib/isomac.c (macrofile): Change to modifiable array.
10807 (main): Remove macrofile here.
10808 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10809 macrofile here.
10810 (check_header): Do not remove macrofile here.
10811
10812 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10813
10814 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10815 glibc.tune.x86_shstk.
10816
10817 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10818
10819 * NEWS: Mention --enable-cet.
10820 * manual/install.texi: Document --enable-cet.
10821 * INSTALL: Regenerated.
10822
10823 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10824
10825 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10826 Add _CET_NOTRACK before indirect jump to jump table.
10827
10828 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10829
10830 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10831 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10832 to jump table.
10833
10834 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10835
10836 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10837 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10838 to jump table.
10839
10840 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10841
10842 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10843 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10844 to jump table.
10845
10846 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10847
10848 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10849 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10850 to jump table.
10851
10852 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10853
10854 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10855 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10856 to jump table.
10857 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10858
10859 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10860
10861 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10862 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10863 to jump table.
10864
10865 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10866
10867 * sysdeps/i386/i686/multiarch/memset-sse2.S
10868 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10869 to jump table.
10870
10871 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10872
10873 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10874 indirect jump to jump table.
10875
10876 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10877
10878 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10879 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10880 to jump table.
10881 (MEMCPY): Likewise.
10882
10883 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10884
10885 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10886 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10887 to jump table.
10888 (MEMCPY): Likewise.
10889
10890 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10891
10892 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10893 _CET_NOTRACK before indirect jump to jump table.
10894
10895 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10896
10897 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10898 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10899 to jump table.
10900
10901 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10902
10903 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10904 indirect jump to jump table.
10905
10906 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10907
10908 [BZ #22241]
10909 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10910 (LOCALES): Likewise.
10911 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10912 * localedata/locales/sah_RU: New file.
10913 * localedata/sah_RU.UTF-8.in: New file.
10914
10915 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10916
10917 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10918 "sysdep.h".
10919 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10920 _CET_ENDBR to indirect jump targets and adjust jump destination
10921 for _CET_ENDBR.
10922 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10923 "sysdep.h".
10924 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10925 _CET_ENDBR to indirect jump targets and adjust jump destination
10926 for _CET_ENDBR.
10927 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10928 "sysdep.h".
10929 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10930 _CET_ENDBR to indirect jump targets and adjust jump destination
10931 for _CET_ENDBR.
10932
10933 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10934
10935 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10936 _CET_ENDBR.
10937
10938 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10939
10940 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10941 _CET_ENDBR.
10942 (_dl_tlsdesc_undefweak): Likewise.
10943 (_dl_tlsdesc_dynamic): Likewise.
10944 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10945 (_dl_tlsdesc_resolve_rel): Likewise.
10946 (_dl_tlsdesc_resolve_rela): Likewise.
10947 (_dl_tlsdesc_resolve_hold): Likewise.
10948 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10949 (_dl_tlsdesc_undefweak): Likewise.
10950 (_dl_tlsdesc_dynamic): Likewise.
10951 (_dl_tlsdesc_resolve_rela): Likewise.
10952 (_dl_tlsdesc_resolve_hold): Likewise.
10953
10954 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10955
10956 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10957 (_fini): Likewise.
10958 * sysdeps/x86_64/crti.S (_init): Likewise.
10959 (_fini): Likewise.
10960
10961 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10962
10963 [BZ #23140]
10964 * localedata/locales/os_RU (mon): Rename to...
10965 (alt_mon): This.
10966 (mon): Import from CLDR (genitive case).
10967
10968 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10969
10970 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10971 cet-tunables.h> when CET is enabled.
10972
10973 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10974
10975 [BZ #21598]
10976 * configure.ac: Add --enable-cet.
10977 * configure: Regenerated.
10978 * elf/Makefille (all-built-dso): Add a comment.
10979 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10980 Include <dl-prop.h>.
10981 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10982 segment.
10983 * elf/dl-open.c: Include <dl-prop.h>.
10984 (dl_open_worker): Call _dl_open_check.
10985 * elf/rtld.c: Include <dl-prop.h>.
10986 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10987 _rtld_main_check.
10988 * sysdeps/generic/dl-prop.h: New file.
10989 * sysdeps/i386/dl-cet.c: Likewise.
10990 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10991 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10992 * sysdeps/x86/cet-tunables.h: Likewise.
10993 * sysdeps/x86/check-cet.awk: Likewise.
10994 * sysdeps/x86/configure: Likewise.
10995 * sysdeps/x86/configure.ac: Likewise.
10996 * sysdeps/x86/dl-cet.c: Likewise.
10997 * sysdeps/x86/dl-procruntime.c: Likewise.
10998 * sysdeps/x86/dl-prop.h: Likewise.
10999 * sysdeps/x86/libc-start.h: Likewise.
11000 * sysdeps/x86/link_map.h: Likewise.
11001 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11002 _CET_ENDBR.
11003 (_dl_runtime_profile): Likewise.
11004 (_dl_runtime_resolve_shstk): New.
11005 (_dl_runtime_profile_shstk): Likewise.
11006 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11007 if CET is enabled.
11008 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11009 (CFLAGS-.os): Likewise.
11010 (CFLAGS-.op): Likewise.
11011 (CFLAGS-.oS): Likewise.
11012 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11013 is enabled.
11014 (tests-special): Add $(objpfx)check-cet.out.
11015 (cet-built-dso): New.
11016 (+$(cet-built-dso:=.note)): Likewise.
11017 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11018 ($(objpfx)check-cet.out): New.
11019 (generated): Add check-cet.out.
11020 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11021 <cet-tunables.h>.
11022 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11023 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11024 (init_cpu_features): Call get_cet_status to check CET status
11025 and update dl_x86_feature_1 with CET status. Call
11026 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11027 (set_x86_shstk). Disable and lock CET in libc.a.
11028 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11029 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11030 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11031 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11032 (_CET_ENDBR): Define if not defined.
11033 (ENTRY): Add _CET_ENDBR.
11034 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11035 x86_shstk.
11036 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11037 _CET_ENDBR.
11038 (_dl_runtime_profile): Likewise.
11039
11040 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11041
11042 [BZ #21895]
11043 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11044 restore r2 on longjmp.
11045 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11046 test list.
11047 Added rules to build test tst-setjmp-bug21895-static.
11048 Added module setjmp-bug21895 and rules to build a shared object from it.
11049 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11050 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11051
11052 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11053
11054 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11055 * benchtests/bench-strstr.c: Likewise.
11056 * string/memmem.c (FASTSEARCH): Define.
11057 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11058 Add support for FASTSEARCH.
11059 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11060 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11061 (FASTSEARCH): Define.
11062 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11063 * string/test-strstr.c: Likewise.
11064
11065 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11066
11067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11068 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11069
11070 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11071 H.J. Lu <hongjiu.lu@intel.com>
11072
11073 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11074 (__longjmp): Restore shadow stack pointer if shadow stack is
11075 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11076 isn't defined for __longjmp_cancel.
11077 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11078 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11079 and SHADOW_STACK_POINTER_OFFSET is defined.
11080 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11081 (setjmp): Save shadow stack pointer if shadow stack is enabled
11082 and SHADOW_STACK_POINTER_OFFSET is defined.
11083 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11084 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11085 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11086 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11087 <jmp_buf-ssp.h>.
11088 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11089 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11090 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11091 Remove jmp_buf-ssp.sym.
11092 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11093 <jmp_buf-ssp.h>.
11094 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11095 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11096 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11097 jmp_buf-ssp.sym.
11098 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11099 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11100 (__longjmp): Restore shadow stack pointer if shadow stack is
11101 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11102 isn't defined for __longjmp_cancel.
11103 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11104 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11105 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11106
11107 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11108
11109 [BZ #22563]
11110 * nptl/pthread_create.c: Include <tls-setup.h>.
11111 (__pthread_create_2_1): Call tls_setup_tcbhead.
11112 * sysdeps/generic/tls-setup.h: New file.
11113 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11114 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11115 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11116 Likewise.
11117 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11118 to feature_1.
11119 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11120 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11121 (X86_FEATURE_1_SHSTK): Likewise.
11122 (CET_ENABLED): Likewise.
11123 (IBT_ENABLED): Likewise.
11124 (SHSTK_ENABLED): Likewise.
11125
11126 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11127
11128 [BZ #23208]
11129 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11130 (LOCALES): Likewise.
11131 * localedata/dsb_DE.UTF-8.in: New file.
11132 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11133
11134 2018-07-12 Florian Weimer <fweimer@redhat.com>
11135
11136 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11137 __mprotect, not mprotect.
11138
11139 2018-07-11 Florian Weimer <fweimer@redhat.com>
11140
11141 * io/Makefile (headers): Add bits/statx.h.
11142
11143 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11144
11145 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11146 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11147 and headers.
11148 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11149 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11150 for utf8_gen.py
11151
11152 2018-07-10 Florian Weimer <fweimer@redhat.com>
11153
11154 * io/Makefile (routines): Add statx.
11155 (tests-internal): Add tst-statx.
11156 * io/Versions (GLIBC_2.28): Export statx.
11157 * io/bits/statx.h: New file.
11158 * io/sys/stat.h [__USE_GNU]: Include it.
11159 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11160 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11161 Define.
11162 * io/statx.c: New file.
11163 * io/statx_generic.: Likewise.
11164 * io/tst-statx.: Likewise.
11165 * include/bits/statx.h: Likewise.
11166 * sysdeps/unix/sysv/linux/kernel-features.h
11167 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11168 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11169 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11170 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11171 Undefine.
11172 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11173 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11174 * sysdeps/unix/sysv/linux/statx.c: New file.
11175 * manual/filesys.texi: Note that statx is undocumented.
11176 * sysdeps/**/libc*.abilist: Update.
11177
11178 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11179
11180 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11181 a kernel issue which lead to test failure in some cases.
11182
11183 2018-07-10 Florian Weimer <fweimer@redhat.com>
11184
11185 [BZ #23036]
11186 * posix/regexec.c (check_node_accept_bytes): When comparing
11187 weights, do not compare an extra byte after the end of the
11188 weights.
11189
11190 2018-07-10 Florian Weimer <fweimer@redhat.com>
11191
11192 * libio/readline.c: Fix copyright year.
11193 * libio/tst-readline.c Likewise.
11194 * nss/tst-nss-files-hosts-getent.c: Likewise.
11195
11196 2018-07-06 Florian Weimer <fweimer@redhat.com>
11197
11198 [BZ #18991]
11199 * nss/nss_files/files-XXX.c (internal_getent): Use
11200 __libc_readline_unlocked. Seek back to the start of the line if
11201 parsing failes with ERANGE.
11202 (get_contents_ret, get_contents): Remove.
11203 * nss/tst-nss-files-hosts-getent.c: New file.
11204 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11205 (tst-nss-files-hosts-getent): Link with -ldl.
11206
11207 2018-07-06 Florian Weimer <fweimer@redhat.com>
11208
11209 * include/stdio.h (__libc_readline_unlocked): Declare.
11210 (__ftello64, __fseeko64): Declare aliases.
11211 * libio/readline.c: New file.
11212 * libio/tst-readline.c: Likewise.
11213 (routines): Add readline.
11214 (tests-internal): Add tst-readlime.
11215 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11216 __libc_readline_unlocked.
11217 * libio/fseeko.c (__fseeko): Rename from fseeko.
11218 (fseeko): Add alias.
11219 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11220 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11221 (fseeko64): Add alias.
11222 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11223 * libio/ftello64.c (__ftello64): Rename from ftello64.
11224 (ftello64): Add alias.
11225
11226 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11227
11228 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11229 HWCAP_ATOMICS.
11230
11231 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11232
11233 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11234 Use dl_hwcap without masking.
11235 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11236 Remove HWCAP_CPUID.
11237
11238 2018-07-06 Florian Weimer <fweimer@redhat.com>
11239
11240 * conform/conformtest.pl (checknamespace): Escape literal braces
11241 in regular expressions.
11242
11243 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11244
11245 * sysdeps/x86/cpu-features.c (get_common_indeces):
11246 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11247 * sysdeps/x86/cpu-features.c (init_cpu_features):
11248 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11249
11250 2018-07-05 Florian Weimer <fweimer@redhat.com>
11251
11252 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11253 protector.
11254 (CFLAGS-elf-init.oS): Likewise.
11255
11256 2018-07-05 Florian Weimer <fweimer@redhat.com>
11257 Carlos O'Donell <carlos@redhat.com>
11258
11259 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11260 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11261 with stack protector enabled because there is no risk of infinite
11262 recursion.
11263
11264 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11265
11266 [BZ #19818]
11267 [BZ #23307]
11268 * libc-abis (ABSOLUTE): New ABI.
11269 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11270 * NEWS: Mention the new ABI.
11271
11272 2018-07-05 Florian Weimer <fweimer@redhat.com>
11273
11274 [BZ # 17662]
11275 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11276 (RENAME_WHITEOUT): Define.
11277 [__USE_GNU] (renameat2): Declare.
11278 * stdio-common/Makefile (routines): Add renameat2.
11279 (tests): Add tst-renameat2.
11280 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11281 * stdio-common/renameat2.c: New file.
11282 * stdio-common/tst-renameat2.c: Likewise.
11283 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11284 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11285 undocumented.
11286 * sysdeps/unix/sysv/linux/kernel-features.h
11287 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11288 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11289 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11290 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11291 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11292 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11293 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11294 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11295 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11296 * include/stdio.h (__renameat): Add alias for renameat.
11297 * stdio-common/renameat.c (__renameat): Rename from renameat.
11298 Add hidden definition and alias.
11299 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11300 * sysdeps/mach/hurd/renameat.c: Likewise.
11301 * sysdeps/**/libc*.abilist: Add renameat2.
11302
11303 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11304
11305 * posix/bug-regex33.c: Fix build after regex sync.
11306
11307 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11308
11309 [BZ #23164]
11310 * localedata/tst-langinfo-setlocale.c: New file.
11311 * localedata/tst-langinfo-setlocale-static.c: New file.
11312 * localedata/tst-langinfo-newlocale.c: New file.
11313 * localedata/tst-langinfo-newlocale-static.c: New file.
11314 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11315 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11316 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11317 (tests-static): Remove tst-langinfo-static. Add
11318 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11319 (tests-special): Remove $(objpfx)tst-langinfo.out,
11320 $(objpfx)tst-langinfo-static.out. Add
11321 $(objpfx)tst-langinfo-setlocale.out,
11322 $(objpfx)tst-langinfo-newlocale.out,
11323 $(objpfx)tst-langinfo-setlocale-static.out,
11324 $(objpfx)tst-langinfo-newlocale-static.out.
11325 ($(objpfx)tst-langinfo.out): Remove.
11326 ($(objpfx)tst-langinfo-static.out): Remove.
11327 ($(objpfx)tst-langinfo-newlocale.out): New target.
11328 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11329 (test-xfail-tst-langinfo-newlocale-static): Add.
11330 ($(objpfx)tst-langinfo-setlocale.out): New target.
11331 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11332 * localedata/tst-langinfo.c: Call test_locale.
11333 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11334 data.
11335
11336 2018-07-04 Florian Weimer <fweimer@redhat.com>
11337
11338 testrun.sh: Implement --tool=strace, --tool=valgrind
11339 * Makefile (testrun-script): Define variable.
11340 (testrun.sh): Use variable.
11341 * manual/install.texi (Tools for Compilation): make 4.0 or later
11342 is required.
11343 * configure.ac: Check for make 4.0 or later.
11344 * INSTALL: Regenerate.
11345 * configure: Likewise.
11346
11347 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11348
11349 [BZ #23233]
11350 [BZ #21163]
11351 [BZ #18986]
11352 [BZ #13762]
11353 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11354 * posix/PCRE.tests: Remove invalid test.
11355 * posix/bug-regex28.c: Fix expected values for used syntax.
11356 * posix/bug-regex37.c: New file.
11357 * posix/bug-regex38.c: Likewise.
11358 * posix/regcomp.c: Sync with gnulib.
11359 * posix/regex.c: Likewise.
11360 * posix/regex.h: Likewise.
11361 * posix/regex_internal.c: Likewise.
11362 * posix/regex_internal.h: Likewise.
11363 * posix/regexec.c: Likewise.
11364
11365 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11366
11367 [BZ #23308]
11368 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11369 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11370 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11371 * localedata/unicode-gen/PropList.txt: likewise.
11372 * localedata/unicode-gen/UnicodeData.txt: likewise.
11373 * localedata/charmaps/UTF-8: Regenerate.
11374 * localedata/locales/i18n_ctype: likewise.
11375 * localedata/locales/tr_TR: likewise.
11376 * localedata/locales/translit_circle: likewise.
11377 * localedata/locales/translit_cjk_compat: likewise.
11378 * localedata/locales/translit_combining: likewise.
11379 * localedata/locales/translit_compat: likewise.
11380 * localedata/locales/translit_font: likewise.
11381 * localedata/locales/translit_fraction: likewise.
11382
11383 2018-07-03 Florian Weimer <fweimer@redhat.com>
11384
11385 [BZ #23363]
11386 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11387 * stdio-common/tst-printf.sh: Adjust expected output.
11388 * LICENSES: Update.
11389
11390 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11391
11392 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11393 symbol.
11394
11395 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11396
11397 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11398 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11399 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11400 * stdio-common/tst-printfsz-islongdouble.c: New file.
11401 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11402 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11403 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11404 [subdir == stdio-common] (tests-internal): Add
11405 test-printf-size-ieee128, and test-printf-size-ibm128.
11406 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11407 (CFLAGS-test-printf-size-ibm128.c): New variables.
11408 [subdir == stdio-common] (tests-special): Add
11409 $(objpfx)test-printf-size-ieee128.out and
11410 $(objpfx)test-printf-size-ibm128.out.
11411 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11412 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11413 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11414 __printf_sizeieee128.
11415 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11416 New file.
11417 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11418 Likewise.
11419 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11420 Likewise.
11421
11422 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11423
11424 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11425 (exp2f_inline): Likewise.
11426 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11427 (__math_uflowf): Likewise.
11428 (__math_may_uflowf): Likewise.
11429 (__math_divzerof): Likewise.
11430 (__math_invalidf): Likewise.
11431 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11432 (__math_oflowf): Likewise.
11433 (__math_uflowf): Likewise.
11434 (__math_may_uflowf): Likewise.
11435 (__math_divzerof): Likewise.
11436 (__math_invalidf): Likewise.
11437
11438 2018-06-29 DJ Delorie <dj@redhat.com>
11439 Carlos O'Donell <carlos@redhat.com>
11440
11441 [BZ #23329]
11442 * include/libc-symbols.h: Comment the freeres framework.
11443 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11444 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11445 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11446 * dlfcn/dlerror.c: Include libc-symbols.h
11447 (__dlerror_main_freeres): New function.
11448 * dlfcn/dlfreeres.c: New file.
11449 * dlfcn/sdlfreeres.c: New file.
11450 * include/dlfcn.h: Declare __dlerror_main_freeres.
11451 * malloc/set-freeres.c: Declare __libdl_freeres, and
11452 __libpthread_freeres.
11453 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11454 the releavant libraries are loaded.
11455 * malloc/thread-freeres.c: Add comments.
11456 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11457 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11458 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11459 (__free_stacks): Rename to...
11460 (free_stacks): ...this. Mark static.
11461 (queue_stack): Call free_stacks.
11462 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11463 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11464 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11465 ptr_freeres element from struct.
11466 (pthread_functions): Remove .ptr_freeres from struct initializer.
11467 [SHARED] (nptl_freeres): Remove.
11468 * nptl/nptlfreeres.c: New file.
11469 * nptl/pthreadP.h
11470 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11471 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11472 attribute_hidden.
11473 (__free_stacks): Rename to...
11474 (__nptl_stacks_freeres): ...this.
11475 (__shm_directory_freeres): Declare.
11476 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11477 (__nptl_unwind_freeres): ...this.
11478 * resolv/res-close.c: Add comment.
11479 * resolv/resolv_conf.c: Include libc-symbols.h.
11480 * string/strerror_l.c: Include libc-symbols.h.
11481 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11482 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11483 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11484 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11485
11486 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11487
11488 * stdlib/tst-strfmon_l.c: Add tests for long double.
11489
11490 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11491
11492 [BZ #23208]
11493 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11494 * localedata/locales/dsb_DE: New file.
11495
11496 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11497
11498 [BZ #23140]
11499 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11500 genitive case).
11501 (alt_mon): New entry, import from CLDR (nominative case).
11502
11503 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11504
11505 [BZ #22996]
11506 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11507
11508 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11509
11510 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11511 Use vector registers.
11512
11513 * sysdeps/aarch64/multiarch/memmove_falkor.S
11514 (__memcpy_falkor): Use vector registers.
11515
11516 2018-06-29 Martin Sebor <msebor@redhat.com>
11517
11518 * manual/stdio.texi (Customizing Printf): Mention interaction
11519 with GCC built-ins.
11520
11521 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11522
11523 [BZ #23307]
11524 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11525 `st_value' is 0 if `st_shndx' is SHN_ABS.
11526 * elf/tst-absolute-zero.c: New file.
11527 * elf/tst-absolute-zero-lib.c: New file.
11528 * elf/tst-absolute-zero-lib.lds: New file.
11529 * elf/Makefile (tests): Add `tst-absolute-zero'.
11530 (modules-names): Add `tst-absolute-zero-lib'.
11531 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11532 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11533 ($(objpfx)tst-absolute-zero: New dependency.
11534
11535 2018-06-29 Zack Weinberg <zackw@panix.com>
11536
11537 * configure.ac: New command-line option --disable-crypt.
11538 Force --disable-nss-crypt when --disable-crypt is given, with a
11539 warning if it was explicitly enabled.
11540 * configure: Regenerate.
11541 * config.make.in: New boolean substitution variable $(build-crypt).
11542 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11543 when $(build-crypt).
11544 * manual/install.texi: Document --disable-crypt.
11545 * INSTALL: Regenerate.
11546
11547 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11548 which is never set.
11549 * conform/Makefile: Only include libcrypt.a in
11550 linknamespace-libs-xsi and linknamespace-libs-XPG4
11551 when $(build-crypt).
11552 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11553 USE_CRYPT to 1 when $(build-crypt).
11554 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11555 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11556 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11557
11558 2018-06-29 Zack Weinberg <zackw@panix.com>
11559
11560 * crypt/crypt.h, posix/unistd.h: Update comments and
11561 prototypes for crypt and crypt_r.
11562
11563 * manual/crypt.texi (Cryptographic Functions): New initial
11564 exposition.
11565 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11566 (Unpredictable Bytes): Improve initial exposition. Clarify error
11567 behavior of getentropy and getrandom.
11568 * manual/examples/genpass.c: Generate a salt using getentropy
11569 instead of the current time. Use hash $5$ (SHA-2-256).
11570 * manual/examples/testpass.c: Demonstrate validation against
11571 hashes generated with three different one-way functions.
11572
11573 * manual/intro.texi: crypt.texi does not need an overview
11574 anymore.
11575
11576 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11577 * manual/terminal.texi: Consistently refer to "passphrases"
11578 * instead of "passwords", and to the "user database" instead
11579 * of the "password database".
11580 * manual/users.texi: Similarly. Add notes about how actual
11581 passphrase hashes are now stored in the shadow database.
11582 Remove 20-year-old junk todo note.
11583
11584 2018-06-29 Zack Weinberg <zackw@panix.com>
11585
11586 * manual/crypt.texi: Use a normal top-level @node declaration.
11587 Move most of the introductory text to the 'crypt' section.
11588 Move the example programs below the @deftypefun for 'crypt_r'.
11589 Move the 'getpass' section...
11590 * manual/terminal.texi: ...here.
11591
11592 2018-06-29 Zack Weinberg <zackw@panix.com>
11593 Florian Weimer <fweimer@redhat.com>
11594
11595 * posix/unistd.h: Do not declare encrypt.
11596 (_XOPEN_CRYPT): Remove macro definition.
11597 (crypt): Declare only for _USE_MISC.
11598 * stdlib/stdlib.h: Do not declare setkey.
11599 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11600 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11601
11602 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11603 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11604 into compat symbols. Don't define initial_perm if it's not
11605 going to be used.
11606 * crypt/cert.c: Link explicitly with the expected versions for
11607 setkey and encrypt. If they are not available at all, mark
11608 the test as unsupported.
11609
11610 * sunrpc/des_crypt.c: Unconditionally block linkage with
11611 cbc_crypt and ecb_crypt for new binaries.
11612 * sunrpc/des_soft.c: Unconditionally block linkage with
11613 des_setparity for new binaries.
11614
11615 * manual/crypt.texi: Remove the entire "DES Encryption"
11616 section. Also remove the paragraph talking about FIPS 140-2
11617 from the introduction.
11618 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11619 of libgcrypt for "real" encryption, not DES.
11620 * manual/conf.texi (Constants for Sysconf): Mention that
11621 _XOPEN_CRYPT is no longer impelemented.
11622
11623 * conform/data/unistd.h-data: Remove crypt function declaration.
11624
11625 2018-06-29 Florian Weimer <fweimer@redhat.com>
11626
11627 [BZ #23351]
11628 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11629 (disallow_malloc_check): Remove variable.
11630 (__malloc_check_init): Adjust.
11631 (malloc_set_state): Update comment.
11632 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11633 declarations.
11634
11635 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11636
11637 [BZ #23140]
11638 * localedata/locales/ast_ES (mon): Rename to...
11639 (alt_mon): This.
11640 (mon): Import from CLDR (genitive case).
11641
11642 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11643 Jakub Sitnicki <jkbs@redhat.com>
11644
11645 [BZ #21812]
11646 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11647 on NLM_F_DUMP_INTR.
11648
11649 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11650
11651 * manual/llio.texi: Remove spurious space.
11652
11653 2018-06-28 Florian Weimer <fweimer@redhat.com>
11654
11655 [BZ #23349]
11656 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11657 _STRUCT_TIMESPEC.
11658
11659 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11660
11661 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11662 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11663 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11664 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11665 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11666 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11667 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11668
11669 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11670
11671 [BZ #23266]
11672 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11673 Copy and null-terminate entries that are not terminated, in
11674 addition to empty ones.
11675
11676 2018-06-27 Florian Weimer <fweimer@redhat.com>
11677
11678 [BZ #18023]
11679 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11680 (extend_alloca_account): Remove.
11681 * manual/stdio.texi (Variable Arguments Output): Update comment.
11682
11683 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11684
11685 * nptl/sockperf.c: Remove file.
11686
11687 2018-06-27 Florian Weimer <fweimer@redhat.com>
11688
11689 [BZ #18023]
11690 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11691 scratch_buffer instead of extend_alloca.
11692
11693 2018-06-27 Florian Weimer <fweimer@redhat.com>
11694
11695 [BZ #18023]
11696 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11697 scratch_buffer instead of extend_alloca. Update comments.
11698
11699 2018-06-27 Florian Weimer <fweimer@redhat.com>
11700
11701 [BZ #18023]
11702 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11703 instead of extend_alloca.
11704
11705 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11706
11707 [BZ #13888]
11708 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11709 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11710 /tmp.
11711 * scripts/test-installation.pl: Put temporary files in build
11712 directory, not /tmp.
11713 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11714 (CFLAGS-bug4.c): Likewise.
11715 (CFLAGS-bug5.c): Likewise.
11716 (CFLAGS-test-fseek.c): Likewise.
11717 (CFLAGS-test-popen.c): Likewise.
11718 (CFLAGS-test_rdwr.c): Likewise.
11719 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11720 /tmp.
11721 * stdio-common/bug4.c (main): Likewise.
11722 * stdio-common/bug5.c (main): Likewise.
11723 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11724 * stdio-common/test-popen.c (do_test): Likewise.
11725 * stdio-common/test_rdwr.c (main): Likewise.
11726
11727 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11728
11729 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11730 (sem_open): Set sem.newsem.pad to zero for valgrind.
11731
11732 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11733
11734 [BZ #20251]
11735 * NEWS: Mention fcntl64 addition.
11736 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11737 * login/utmp_file.c: Likewise.
11738 * sysdeps/posix/fdopendir.c: Likewise.
11739 * sysdeps/posix/opendir.c: Likewise.
11740 * sysdeps/unix/pt-fcntl.c: Likewise.
11741 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11742 __fcntl64_nocancel_adjusted): New prototype.
11743 (__fcntl_nocancel_adjusted): Remove prototype.
11744 * io/Makefile (routines): Add fcntl64.
11745 (CFLAGS-fcntl64.c): New rule.
11746 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11747 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11748 * io/fcntl.h (fcntl64): Add prototype and redirect if
11749 __USE_FILE_OFFSET64 is defined.
11750 * io/fcntl64.c: New file.
11751 * manual/llio.text: Add a note for which commands fcntl acts a
11752 cancellation point.
11753 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11754 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11755 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11756 New symbols.
11757 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11758 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11759 non-LFS case.
11760 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11761 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11762 to __fcntl64_nocancel.
11763 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11764 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11765 to __fcntl64_nocancel.
11766 * sysdeps/generic/not-cancel.h: Likewise.
11767 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11768 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11769 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11770 (fcntl64): New symbol.
11771 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11772 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11773 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11776 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11777 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11778 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11779 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11780 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11781 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11782 fcntl64): Likewise.
11783 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11784 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11785 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11786 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11787 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11788 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11789 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11790 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11791 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11793 Likewise.
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11795 Likewise.
11796 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11797 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11798 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11799
11800 2018-06-26 Florian Weimer <fweimer@redhat.com>
11801
11802 Run thread shutdown functions in an explicit order.
11803 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11804 definition.
11805 (__libc_thread_freeres): Call thread shutdown functions
11806 explicitly.
11807 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11808 * include/string.h (__strerror_thread_freeres): Declare.
11809 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11810 arena_thread_freeres. No longer static. Remove thread shutdown
11811 hook registration.
11812 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11813 Declare.
11814 * resolv/res-close.c (__res_thread_freeres): Renamed from
11815 res_thread_freeres. No longer static. Remove thread shutdown
11816 hook registration.
11817 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11818 * resolv/resolv_conf.c (freeres): Remove incorrect section
11819 attribute and use libc_freeres_fn.
11820 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11821 strerror_thread_freeres. No longer static. Remove thread
11822 shutdown hook registration.
11823 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11824 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11825 shutdown hook registration.
11826 * Makerules (shlib.lds): Do not provide section boundary symbols
11827 for __libc_thread_subfreeres.
11828 * manual/memory.texi (Basic Allocation): Update comment.
11829
11830 2018-06-26 Florian Weimer <fweimer@redhat.com>
11831
11832 Remove always-defined _RPC_THREAD_SAFE_ macro.
11833 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11834 Do not define _RPC_THREAD_SAFE_.
11835 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11836 conditional.
11837 * sunrpc/clnt_perr.c: Likewise.
11838 * sunrpc/clnt_raw.c: Likewise.
11839 * sunrpc/clnt_simp.c: Likewise.
11840 * sunrpc/key_call.c: Likewise.
11841 * sunrpc/rpc_common.c: Likewise.
11842 * sunrpc/rpc_main.c: Likewise.
11843 * sunrpc/rpc_thread.c: Likewise.
11844 * sunrpc/svc.c: Likewise.
11845 * sunrpc/svc_raw.c: Likewise.
11846 * sunrpc/svc_simple.c: Likewise.
11847 * sumrpc/svcauth_des.c: Likewise.
11848
11849 2018-06-26 Florian Weimer <fweimer@redhat.com>
11850
11851 * libio/Makefile (tests-internal): Add tst-vtables,
11852 tst-vtables-interposed.
11853 * libio/tst-vtables.c: New file.
11854 * libio/tst-vtables-common.c: Likewise.
11855 * libio/tst-vtables-interposed.c: Likewise.
11856
11857 2018-06-26 Florian Weimer <fweimer@redhat.com>
11858
11859 * support/support_test_main.c (support_test_main): Only call
11860 setvbuf if not disables.
11861 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11862 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11863
11864 2018-06-26 Florian Weimer <fweimer@redhat.com>
11865
11866 [BZ #23313]
11867 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11868
11869 2018-06-25 Florian Weimer <fweimer@redhat.com>
11870
11871 [BZ #18023]
11872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11873 Use struct scratch_buffer instead of extend_alloca.
11874
11875 2018-06-25 Florian Weimer <fweimer@redhat.com>
11876
11877 [BZ #18023]
11878 * nss/getent.c (initgroups_keys): Use dynarray instead of
11879 extend_alloca.
11880
11881 2018-06-25 Florian Weimer <fweimer@redhat.com>
11882
11883 [BZ #18023]
11884 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11885 Use struct scratch_buffer instead of extend_alloca.
11886
11887 2018-06-25 Florian Weimer <fweimer@redhat.com>
11888
11889 [BZ #18023]
11890 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11891 back to malloc directly, without stack allocations.
11892
11893 2018-06-25 Florian Weimer <fweimer@redhat.com>
11894
11895 [BZ #18023]
11896 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11897 of extend_alloca.
11898
11899 2018-06-25 Florian Weimer <fweimer@redhat.com>
11900
11901 [BZ #18023]
11902 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11903 of extend_alloca.
11904 * nscd/hstcache.c (addhstbyX): Likewise.
11905 * nscd/pwdcache.c (addpwbyX): Likewise.
11906 * nscd/servicescache.c (addservbyX): Likewise.
11907
11908 2018-06-25 Florian Weimer <fweimer@redhat.com>
11909
11910 [BZ #18023]
11911 * nscd/connections.c (read_cmdline): New function.
11912 (restart): Use it. Update comment.
11913
11914 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11915
11916 [BZ #23140]
11917 * localedata/locales/csb_PL (mon): Rename to...
11918 (alt_mon): This.
11919 (abmon): Rename to...
11920 (ab_alt_mon): This.
11921 (mon): Add with proper genitive forms, copy from Wikipedia.
11922 (abmon): Likewise.
11923
11924 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11925
11926 [BZ #19485]
11927 * localedata/locales/csb_PL (mon): Fix typos:
11928 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11929 (yesstr): Add, value is "jo".
11930 (nostr): Add, value is "nié".
11931
11932 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11933
11934 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11935 all log1p and significand functions on m680x0.
11936 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11937 of s_significand.c..
11938 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11939 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11940 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11941 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11942 s_log1p.c and include it..
11943
11944 2018-06-21 Vincent Chen <vincentc@andestech.com>
11945
11946 * elf/elf.h (R_NDS32_NONE): New define.
11947 (R_NDS32_32_RELA): Likewise.
11948 (R_NDS32_COPY): Likewise.
11949 (R_NDS32_GLOB_DAT): Likewise.
11950 (R_NDS32_JUMP_SLOT): Likewise.
11951 (R_NDS32_RELATIVE): Likewise.
11952 (R_NDS32_TLS_TPOFF): Likewise.
11953 (R_NDS32_TLS_DESC): Likewise.
11954
11955 2018-06-21 Mark Wielaard <mark@klomp.org>
11956
11957 * elf/elf.h (R_BPF_MAP_FD): Removed.
11958 (R_BPF_64_64, R_BPF_64_32): New.
11959
11960 2018-06-21 Florian Weimer <fweimer@redhat.com>
11961
11962 [BZ #23253]
11963 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11964 Renamed from libc_feholdsetround_ctx.
11965 (default_libc_feresetround_ctx): Renamed from
11966 libc_feresetround_ctx.
11967 (default_libc_feholdsetround_noex_ctx): Renamed from
11968 libc_feholdsetround_noex_ctx.
11969 (default_libc_feresetround_noex_ctx): Renamed from
11970 libc_feresetround_noex_ctx.
11971 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11972 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11973 forwardning to the old implementations under the new names.
11974 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11975 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11976 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11977 (libc_feresetround_ctx): Forward to default implements for i386
11978 and MATH_SET_BOTH_ROUNDING_MODES.
11979 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11980 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11981
11982 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11983
11984 * string/tst-cmp.c: Include <libc-diag.h>.
11985 (strncmp_max): Disable -Wstringop-overflow= around call to
11986 strncmp.
11987 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11988 strncasecmp.
11989
11990 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11991 (main): Disable -Wunused-value around call to strpbrk.
11992 * string/bug-strspn1.c: Include <libc-diag.h>.
11993 (main): Disable -Wunused-value around call to strspn.
11994
11995 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11996 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11997
11998 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11999 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12000
12001 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12002
12003 * math/Makefile (libm-calls): Move s_significandF to...
12004 (gen-libm-calls): ... here.
12005 * math/s_significand_template.c: New file.
12006 * math/s_significand.c: Removed.
12007 * math/s_significandf.c: Removed.
12008 * math/s_significandl.c: Removed.
12009 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12010 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12011
12012 * math/e_exp2_template.c (declare_mgen_finite_alias,
12013 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12014 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12015 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12016
12017 2018-06-20 Florian Weimer <fweimer@redhat.com>
12018
12019 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12020
12021 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12022
12023 [BZ #23280]
12024 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12025 floating-point number to strtod functions rather than possibly
12026 negating result of those functions.
12027 * stdio-common/tst-scanf-round.c: New file.
12028 * stdio-common/Makefile (tests): Add tst-scanf-round.
12029 ($(objpfx)tst-scanf-round): Depend on $(libm).
12030
12031 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12032
12033 * sysdeps/mach/hurd/localplt.data: Move to...
12034 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12035 R_386_GLOB_DAT like on Linux i386.
12036
12037 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12038
12039 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12040 (SHM_STAT_ANY): New macro.
12041 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12042 (SHM_STAT_ANY): Likewise.
12043 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12044 (SHM_STAT_ANY): Likewise.
12045 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12046 (SHM_STAT_ANY): Likewise.
12047 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12048 (SHM_STAT_ANY): Likewise.
12049 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12050 (SHM_STAT_ANY): Likewise.
12051 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12052 (SHM_STAT_ANY): Likewise.
12053 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12054 (SHM_STAT_ANY): Likewise.
12055 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12056 (SHM_STAT_ANY): Likewise.
12057 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12058 (SHM_STAT_ANY): Likewise.
12059 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12060 (SHM_STAT_ANY): Likewise.
12061 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12062 (SHM_STAT_ANY): Likewise.
12063
12064 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12065 (SEM_STAT_ANY): New macro.
12066 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12067 (SEM_STAT_ANY): Likewise.
12068 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12069 (SEM_STAT_ANY): Likewise.
12070 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12071 (SEM_STAT_ANY): Likewise.
12072 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12073 (SEM_STAT_ANY): Likewise.
12074 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12075 (SEM_STAT_ANY): Likewise.
12076 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12077 (SEM_STAT_ANY): Likewise.
12078 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12079 (SEM_STAT_ANY): Likewise.
12080 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12081 (SEM_STAT_ANY): Likewise.
12082 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12083 (SEM_STAT_ANY): Likewise.
12084
12085 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12086 (MSG_STAT_ANY): New macro.
12087 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12088 (MSG_STAT_ANY): Likewise.
12089 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12090 (MSG_STAT_ANY): Likewise.
12091 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12092 (MSG_STAT_ANY): Likewise.
12093 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12094 (MSG_STAT_ANY): Likewise.
12095 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12096 (MSG_STAT_ANY): Likewise.
12097 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12098 (MSG_STAT_ANY): Likewise.
12099 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12100 (MSG_STAT_ANY): Likewise.
12101 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12102 (MSG_STAT_ANY): Likewise.
12103 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12104 (MSG_STAT_ANY): Likewise.
12105
12106 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12107 (MAP_TYPE): Change value to 0x2b.
12108
12109 2018-06-18 Florian Weimer <fweimer@redhat.com>
12110
12111 [BZ #15722]
12112 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12113 socket with SOCK_CLOEXEC.
12114
12115 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12116
12117 [BZ #23303]
12118 * sysdeps/powerpc/powerpc64/le/Makefile
12119 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12120 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12121 (gnulib-tests): Also add $(f128-loader-link) for
12122 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12123
12124 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12125
12126 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12127 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12128 of sendfile.
12129 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12130 (sendfile64): New strong alias.
12131 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12132 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12133 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12134 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12135 attribute.
12136 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12137 ___pthread_get_cleanup_stack.
12138 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12139 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12140 * mach/shortcut.awk: Make syscall stubs include
12141 <mach-shortcuts-hidden.h> and add hidden definition.
12142 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12143 (__mach_msg): Add hidden prototype.
12144 * mach/msg.c: Include <mach.h>.
12145 (__mach_msg): Add hidden definition.
12146 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12147 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12148 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12149 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12150 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12151 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12152 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12153 prototype and definition.
12154 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12155 hidden target for _hurd_self_sigstate.
12156
12157 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12158
12159 [BZ #23007]
12160 * stdlib/tst-strtod-nan-sign-main.c: New file.
12161 * stdlib/tst-strtod-nan-sign.c: Likewise.
12162 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12163 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12164 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12165 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12166 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12167
12168 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12169
12170 [BZ #23007]
12171 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12172 appropriate sign.
12173
12174 2018-06-14 Florian Weimer <fweimer@redhat.com>
12175
12176 [BZ #23290]
12177 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12178 that the result stays within the ISO-8859-1 range.
12179 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12180 characters are defined in IBM273.
12181
12182 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12183
12184 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12185 __mach_task_self): Remove attribute_hidden.
12186
12187 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12188
12189 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12190 ignore -Wrestrict for one test.
12191
12192 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12193 Szabolcs Nagy <szabolcs.nagy@arm.com>
12194
12195 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12196
12197 2018-06-14 Florian Weimer <fweimer@redhat.com>
12198
12199 * scripts/update-abilist.sh: Accept empty list of files to patch.
12200
12201 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12202
12203 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12204 test-xfail-check-abi-libmachuser): Add.
12205 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12206 __libc_read and __libc_write to __read and __write.
12207 * sysdeps/hurd/include/hurd/port.h: New file.
12208 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12209 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12210 __thread_switch, __evc_wait): Move declarations to...
12211 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12212 attribute_hidden.
12213 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12214 use PLT to call _hurd_self_sigstate.
12215
12216 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12217
12218 [BZ #23279]
12219 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12220 MAX_EXP as overflowing.
12221 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12222 overflow flag.
12223 (round_str): Output also whether result overflows in each rounding
12224 mode.
12225 * stdlib/tst-strtod-round-data: Add more tests.
12226 * stdlib/tst-strtod-round-data.h: Regenerated.
12227 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12228 (TEST): Handle extra arguments for overflow flags.
12229 (struct test_overflow): New type.
12230 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12231 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12232 (test_in_one_mode): Take argument with overflow information.
12233 (do_test): Update calls to test_in_one_mode.
12234
12235 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12236
12237 * elf/dl-load (_dl_dst_substitute): Correct comment.
12238 (_dl_dst_count): Likewise.
12239
12240 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12241 lll_futex_timed_wait.
12242
12243 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12244
12245 [BZ #23277]
12246 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12247 attribute.
12248 * math/test-nan-const.c: New file.
12249 * math/Makefile (tests): Add test-nan-const.
12250 (CFLAGS-test-nan-const.c): New variable.
12251
12252 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12253
12254 * benchtests/scripts/compare_strings.py (process_results): Add
12255 funcs argument. Compare only functions which are selected.
12256 (main): Check if base function is among selected functions.
12257 Pass selected functions to process_results.
12258 (__main__): Add -f/--functions argument.
12259
12260 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12261 Hongbo Zhang <hongbo.zhang@linaro.org>
12262
12263 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12264 __memcpy_falkor for phecda core.
12265 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12266 __memmove_falkor for phecda core.
12267 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12268 __memset_falkor for phecda core.
12269 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12270 for phecda core.
12271 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12272 macro to identify phecda core.
12273
12274 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12275 Andreas Schwab <schwab@suse.de>
12276 Dmitry V. Levin <ldv@altlinux.org>
12277 Florian Weimer <fweimer@redhat.com>
12278
12279 [BZ #23102]
12280 [BZ #21942]
12281 [BZ #18018]
12282 [BZ #23259]
12283 CVE-2011-0536
12284 * elf/dl-dst.h: Remove DL_DST_COUNT.
12285 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12286 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12287 (is_dst): Comment. Support ELF gABI.
12288 (_dl_dst_count): Comment. Simplify and count DSTs.
12289 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12290 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12291 locals.
12292
12293 2018-06-12 Zack Weinberg <zackw@panix.com>
12294
12295 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12296 * sysdeps/unix/sysv/linux/dl-sysdep.c
12297 Include not-cancel.h. Use __close_nocancel instead of __close,
12298 __open64_nocancel instead of __open, __read_nocancel instead of
12299 __libc_read, and __write_nocancel instead of __libc_write.
12300
12301 * csu/check_fds.c (check_one_fd)
12302 * sysdeps/posix/fdopendir.c (__fdopendir)
12303 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12304 instead of __fcntl and/or __libc_fcntl.
12305
12306 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12307 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12308 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12309 Use __open64_nocancel instead of __open_nocancel.
12310
12311 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12312 hidden_proto declarations to the end and issue them if either
12313 IS_IN(libc) or IS_IN(rtld).
12314 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12315 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12316 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12317 read_nocancel, waitpid_nocancel, write_nocancel.
12318
12319 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12320 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12321 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12322
12323 * nptl/pt-fcntl.c: New file.
12324 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12325 (libpthread-routines): Add pt-fcntl.
12326 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12327 (__libc_fcntl): Remove attribute_hidden.
12328 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12329 __fcntl_nocancel_adjusted, not fcntl_common.
12330 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12331 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12332 to fcntl_nocancel.c.
12333 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12336 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12337
12338 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12339 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12340 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12341 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12342 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12343 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12344 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12345 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12346 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12347 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12348 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12349 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12350 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12351 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12352 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12353 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12354 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12355 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12356 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12357 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12358
12359 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12360 libpthread-routines.
12361 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12362 defines nothing.
12363
12364 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12365 __libc_read, and __write instead of __libc_write. Define
12366 __open64 in addition to __open.
12367
12368 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12369
12370 [BZ #23250]
12371 [BZ #10686]
12372 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12373 to _private_tm[3] and add __glibc_reserved2.
12374 Add _Static_assert of offset of __private_ss == 0x30.
12375 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12376 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12377
12378 2018-06-12 Florian Weimer <fweimer@redhat.com>
12379
12380 x86: Make strncmp usable from rtld.
12381 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12382 __strncmp_ia32 if in libc (and not in rtld).
12383 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12384 strncmp if not in libc (and not to __strncmp_sse2).
12385
12386 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12387
12388 [BZ #23140]
12389 * localedata/locales/gd_GB (mon): Rename to...
12390 (alt_mon): This.
12391 (mon): Import from CLDR (genitive case).
12392 * localedata/locales/hsb_DE (mon): Rename to...
12393 (alt_mon): This.
12394 (mon): Import from CLDR (genitive case).
12395 * localedata/locales/wa_BE (mon): Rename to...
12396 (alt_mon): This.
12397 (mon): Add, fill with the proper genitive forms, but CLDR data
12398 is incomplete; completed according to the comments in this file.
12399 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12400
12401 * localedata/locales/wa_BE (country_name): Reword
12402 "Beljike" -> "Beldjike".
12403
12404 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12405
12406 [BZ #23272]
12407 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12408 cases of non-finite arguments.
12409 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12410
12411 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12412
12413 [BZ #23174]
12414 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12415
12416 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12417
12418 [BZ #23264]
12419 * include/unistd.h (__execvpex): New prototype.
12420 * posix/Makefile (tests): Add tst-spawn4.
12421 (tests-internal): Add tst-spawn4-compat.
12422 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12423 * posix/tst-spawn4-compat.c: New file.
12424 * posix/tst-spawn4.c: Likewise.
12425 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12426 binaries as shell scripts.
12427 * sysdeps/posix/spawni.c (__spawni): Likewise.
12428
12429 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12430
12431 [BZ #23145]
12432 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12433 ($(all-built-dso:=.dynsym): New target.
12434 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12435 ($(objpfx)check-initfini.out): New target.
12436 (generated): Add check-initfini.out.
12437 * scripts/check-initfini.awk: New file.
12438 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12439 (_fini): Likewise.
12440 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12441 (_fini): Likewise.
12442 * sysdeps/arm/crti.S (_init): Mark as hidden.
12443 (_fini): Likewise.
12444 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12445 (_fini): Likewise.
12446 * sysdeps/i386/crti.S (_init): Mark as hidden.
12447 (_fini): Likewise.
12448 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12449 (_fini): Likewise.
12450 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12451 (_fini): Likewise.
12452 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12453 (_fini): Likewise.
12454 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12455 (_fini): Likewise.
12456 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12457 (_fini): Likewise.
12458 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12459 (_fini): Likewise.
12460 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12461 (_fini): Likewise.
12462 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12463 (_fini): Likewise.
12464 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12465 (_fini): Likewise.
12466 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12467 (_fini): Likewise.
12468 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12469 (_fini): Likewise.
12470 * sysdeps/sh/crti.S (_init): Mark as hidden.
12471 (_fini): Likewise.
12472 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12473 (_fini): Likewise.
12474 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12475 (_fini): Likewise.
12476
12477 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12478
12479 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12480 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12481 and TF redirection to KFtype and KF only when the default
12482 long double type is not the IEEE 128-bit floating point type.
12483
12484 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12485
12486 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12487 macro.
12488 (HWCAP_USCAT): Likewise.
12489 (HWCAP_ILRCPC): Likewise.
12490 (HWCAP_FLAGM): Likewise.
12491 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12492 Increase to 28.
12493 (_dl_aarch64_cap_flags): Add new flag names.
12494
12495 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12496 (MAP_FIXED_NOREPLACE): New macro.
12497 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12498 (MAP_FIXED_NOREPLACE): Likewise.
12499 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12500 (MAP_FIXED_NOREPLACE): Likewise.
12501 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12502 (MAP_FIXED_NOREPLACE): Likewise.
12503 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12504 (MAP_FIXED_NOREPLACE): Likewise.
12505 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12506 (MAP_FIXED_NOREPLACE): Likewise.
12507 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12508 (MAP_FIXED_NOREPLACE): Likewise.
12509 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12510 (MAP_FIXED_NOREPLACE): Likewise.
12511 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12512 (MAP_FIXED_NOREPLACE): Likewise.
12513 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12514 (MAP_FIXED_NOREPLACE): Likewise.
12515 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12516 (MAP_FIXED_NOREPLACE): Likewise.
12517 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12518 (MAP_FIXED_NOREPLACE): Likewise.
12519 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12520 (MAP_FIXED_NOREPLACE): Likewise.
12521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12522 (MAP_FIXED_NOREPLACE): Likewise.
12523 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12524 (MAP_FIXED_NOREPLACE): Likewise.
12525
12526 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12527 version to 4.17.
12528
12529 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12530
12531 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12532 version to 4.17
12533
12534 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12535
12536 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12537 int.
12538 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12539
12540 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12541
12542 * benchtests/scripts/compare_string.py: (process_results) Catch
12543 exception in non-existent base_func and catch exception in
12544 non-existent attribute.
12545 (parse_file) Catch exception if input file does not exist.
12546
12547 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12548
12549 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12550 options to avoid diff calculation and omit header, respectively.
12551 (main): process --no-diff and --no-header
12552
12553 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12554 H.J. Lu <hongjiu.lu@intel.com>
12555
12556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12557 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12558 wcsncmp-sse2.
12559 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12560 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12561 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12562 and __wcsncmp_sse2.
12563 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12564 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12565 AVX unaligned load is fast and vzeroupper is preferred.
12566 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12567 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12568 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12569 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12570 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12571 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12572 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12573 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12574 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12575 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12576 is undefined.
12577
12578 2018-06-01 Florian Weimer <fweimer@redhat.com>
12579
12580 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12581 configuring with --disable-multi-arch, building with
12582 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12583 Haswell-era CPU.
12584
12585 2018-06-01 Florian Weimer <fweimer@redhat.com>
12586
12587 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12588 results from building with “-march=x86-64 -mtune=generic
12589 -mfpmath=sse” and running on a Haswell-era CPU.
12590
12591 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12592
12593 [BZ #18473]
12594 * soft-fp/sqrttf2.c: Remove file.
12595 * soft-fp/sqrtdf2.c: Move to ....
12596 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12597 <shlib-compat.h>.
12598 (__sqrtdf2): Make conditional on
12599 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12600 symbol.
12601 * soft-fp/sqrtsf2.c: Move to ....
12602 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12603 <shlib-compat.h>.
12604 (__sqrtsf2): Make conditional on
12605 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12606 symbol.
12607 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12608 (gcc-double-routines): Remove sqrtdf2.
12609 (gcc-quad-routines): Remove sqrttf2.
12610 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12611 Do not filter out sqrtsf2 and sqrtdf2.
12612 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12613 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12614
12615 2018-06-01 Florian Weimer <fweimer@redhat.com>
12616
12617 * sysdeps/generic/libcidn.abilist: Remove file.
12618
12619 2018-06-01 Florian Weimer <fweimer@redhat.com>
12620
12621 [BZ #23236]
12622 * libio/strfile.h (struct _IO_str_fields): Rename members to
12623 discourage their use and add comment.
12624 (_IO_STR_DYNAMIC): Remove unused macro.
12625 * libio/strops.c (_IO_str_init_static_internal): Do not use
12626 callback pointers. Call malloc and free.
12627 (_IO_str_overflow): Do not use callback pointers. Call malloc
12628 and free.
12629 (enlarge_userbuf): Likewise.
12630 (_IO_str_finish): Call free.
12631 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12632 _allocate_buffer_unused.
12633 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12634 and free.
12635 (enlarge_userbuf): Likewise.
12636 (_IO_wstr_finish): Call free.
12637 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12638 _allocate_buffer_unused, _free_buffer_unused.
12639 * libio/memstream.c (__open_memstream): Likewise.
12640 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12641 * libio/wmemstream.c (open_wmemstream): Likewise.
12642
12643 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12644
12645 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12646 AMD Ryzen 7 1800X.
12647
12648 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12649
12650 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12651 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12652 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12653 New file.
12654 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12655 Likewise.
12656 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12657
12658 2018-05-29 Florian Weimer <fweimer@redhat.com>
12659
12660 * support/Makefile (libsupport-routines): Add
12661 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12662 xpthread_barrierattr_setpshared.
12663 * support/xpthread_barrierattr_destroy.c: New file.
12664 * support/xpthread_barrierattr_init.c: Likewise.
12665 * support/xpthread_barrierattr_setpshared.c: Likewise.
12666
12667 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12668
12669 [BZ #23206]
12670 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12671 _r_debug and update DT_DEBUG for debugger.
12672
12673 2018-05-29 Florian Weimer <fweimer@redhat.com>
12674
12675 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12676 (tst-strtod5i.out): Likewise.
12677
12678 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12679
12680 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12681 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12682 (sparc64-quad-routines): New variable. Moved from ....
12683 [$(subdir) = soft-fp] (sysdep_routines): Add
12684 $(sparc64-quad-routines). Moved from ....
12685 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12686 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12687 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12688 moved from ....
12689 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12690 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12691 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12692 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12693 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12694 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12695 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12696 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12697 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12698 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12699 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12700 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12701 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12702 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12703 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12704 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12705 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12706 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12707 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12708 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12709 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12710 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12711 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12712 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12713 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12714 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12715 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12716 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12717 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12718 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12719 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12720 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12721 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12722 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12723 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12724 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12725 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12726 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12727 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12728 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12729 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12730 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12731 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12732 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12733 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12734 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12735 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12736 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12737 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12738 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12739 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12740 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12741 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12742 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12743 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12744 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12745 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12746 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12747
12748 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12749 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12750 (sparc32-quad-routines): New variable. Moved from ....
12751 [$(subdir) = soft-fp] (sysdep_routines): Add
12752 $(sparc32-quad-routines). Moved from ....
12753 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12754 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12755 moved from ....
12756 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12757 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12758 * sysdeps/sparc/sparc32/q_add.c: ... here.
12759 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12760 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12761 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12762 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12763 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12764 * sysdeps/sparc/sparc32/q_div.c: ... here.
12765 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12766 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12767 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12768 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12769 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12770 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12771 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12772 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12773 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12774 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12775 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12776 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12777 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12778 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12779 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12780 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12781 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12782 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12783 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12784 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12785 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12786 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12787 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12788 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12789 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12790 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12791 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12792 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12793 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12794 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12795 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12796 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12797 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12798 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12799 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12800 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12801 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12802 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12803 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12804 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12805 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12806 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12807 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12808 * sysdeps/sparc/sparc32/q_util.c: ... here.
12809 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12810 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12812 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12813
12814 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12815 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12816
12817 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12818 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12819 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12820 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12821
12822 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12823
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12825 powerpc/soft-fp.
12826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12827 Likewise.
12828 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12829 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12830
12831 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12832
12833 [BZ #23171]
12834 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12835 double version.
12836
12837 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12838
12839 * sysdeps/sh/Implies: Remove sh/soft-fp.
12840 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12841 * sysdeps/sh/sfp-machine.h: ... here.
12842
12843 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12844
12845 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12846 (__mempcpy_erms): Skip zero length.
12847 (__memmove_erms): Likewise.
12848 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12849 (__memset_erms): Likewise.
12850
12851 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12852
12853 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12854 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12855 Add functions moved from ....
12856 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12857 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12858 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12859 from ....
12860 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12861 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12862 * sysdeps/alpha/e_sqrtl.c: ... here.
12863 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12864 * sysdeps/alpha/local-soft-fp.h: ... here.
12865 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12866 * sysdeps/alpha/ots_add.c: ... here.
12867 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12868 * sysdeps/alpha/ots_cmp.c: ... here.
12869 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12870 * sysdeps/alpha/ots_cmpe.c: ... here.
12871 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12872 * sysdeps/alpha/ots_cvtqux.c: ... here.
12873 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12874 * sysdeps/alpha/ots_cvtqx.c: ... here.
12875 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12876 * sysdeps/alpha/ots_cvttx.c: ... here.
12877 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12878 * sysdeps/alpha/ots_cvtxq.c: ... here.
12879 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12880 * sysdeps/alpha/ots_cvtxt.c: ... here.
12881 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12882 * sysdeps/alpha/ots_div.c: ... here.
12883 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12884 * sysdeps/alpha/ots_mul.c: ... here.
12885 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12886 * sysdeps/alpha/ots_nintxq.c: ... here.
12887 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12888 * sysdeps/alpha/ots_sub.c: ... here.
12889 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12890 * sysdeps/alpha/sfp-machine.h: ... here.
12891
12892 2018-05-23 Florian Weimer <fweimer@redhat.com>
12893
12894 [BZ #19728]
12895 [BZ #19729]
12896 [BZ #22247]
12897 CVE-2016-6261
12898 CVE-2016-6263
12899 CVE-2017-14062
12900 Switch to extern IDNA implementation (libidn2).
12901 * libidn: Remove subdirectory.
12902 * LICENSES: Do not mention licensing conditions for the removed
12903 libidn code.
12904 * config.h.in (HAVE_LIBIDN): Remove.
12905 * include/dlfcn.h (__libc_dlopen): Update comment.
12906 * include/idna.h: Remove file.
12907 * inet/Makefile (routines): Add idna.
12908 (tests-static, tests-internal): Add tst-idna_name_classify.
12909 (LOCALES): Generate locales for tests.
12910 (tst-idna_name_classify.out): Depend on generated locales.
12911 * inet/idna_name_classify.c: New file.
12912 * inet/tst-idna_name_classify.c: Likewise.
12913 * inet/net-internal.h (__idna_to_dns_encoding)
12914 (__idna_from_dns_encoding): Declare.
12915 * inet/net-internal.h (enum idna_name_classification): Define.
12916 (__idna_name_classify): Declare.
12917 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12918 __idna_from_dns_encoding.
12919 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12920 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12921 name as a fallback in case of encoding errors.
12922 (getnameinfo): Use DEPRECATED_NI_IDN.
12923 * inet/idna.c: New file.
12924 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12925 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12926 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12927 (modules-names): Add tst-no-libidn2.
12928 (extra-test-objs): Add tst-no-libidn2.os.
12929 (LDFLAGS-tst-no-libidn2.so): Set soname.
12930 (LOCALES): Set, and generate locales.
12931 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12932 (tst-resolv-ai_idn-latin1): Likewise.
12933 (tst-resolv-ai_idn-nolibidn2): Likewise.
12934 (tst-resolv-ai_idn.out): Depend on locales.
12935 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12936 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12937 tst-no-libidn2.so.
12938 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12939 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12940 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12941 * resolv/tst-resolv-ai_idn.c: New file.
12942 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12943 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12944 * resolv/tst-no-libidn2.c: Likewise.
12945 * support/support_format_addrinfo.c (format_ai_flags): Do not
12946 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12947 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12948 (gaih_inet): Call __idna_to_dns_encoding and
12949 __idna_from_dns_encoding, and use the original (punycode) name if
12950 __idna_from_dns_encoding fails due to an encoding error.
12951 (getaddrinfo): Use DEPRECATED_AI_IDN.
12952 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12953 * sysdeps/unix/inet/configure: Remove file.
12954 * sysdeps/unix/inet/configure.ac: Likewise.
12955
12956 2018-05-23 Florian Weimer <fweimer@redhat.com>
12957
12958 Implement allocate_once.
12959 * include/allocate_once.h: New file.
12960 * misc/allocate_once.c: Likewise.
12961 * misc/tst-allocate_once.c: Likewise.
12962 * misc/Makefile (routines): Add allocate_once.
12963 (tests-internal): Add tst-allocate_once.
12964 (generated): Add tst-allocate_once.mtrace,
12965 tst-allocate_once-mem.out.
12966 (tests-special): Add tst-allocate_once-mem.out.
12967 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12968 (tst-allocate_once-mem.out): Call mtrace.
12969 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12970
12971 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12972
12973 [BZ #23196]
12974 * string/test-memcpy.c (do_test1): New function.
12975 (test_main): Call it.
12976
12977 2018-05-23 Andreas Schwab <schwab@suse.de>
12978
12979 [BZ #23196]
12980 CVE-2018-11237
12981 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12982 (L(preloop_large)): Save initial destination pointer in %r11 and
12983 use it instead of %rax after the loop.
12984 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12985
12986 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12987
12988 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12989 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12990 -I../soft-fp. Moved from ....
12991 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12992 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12993 * sysdeps/aarch64/e_sqrtl.c: ... here.
12994 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12995 * sysdeps/aarch64/sfp-machine.h: ... here.
12996
12997 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12998 -Wmaybe-uninitialized around access to fq[0].
12999 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13000 Likewise.
13001
13002 [BZ #18471]
13003 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13004 aliases for non-libc case of versioned symbols.
13005 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13006 (llseek): Define as compat symbol if
13007 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13008 with link warning.
13009 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13010 Make into a compat symbol, disabled for minimum symbol version
13011 GLIBC_2.28 and later.
13012 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13013
13014 2018-05-22 Florian Weimer <fweimer@redhat.com>
13015
13016 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13017 not add -mpreferred-stack-boundary=4.
13018 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13019 (stack-align-test-flags): Likewise.
13020 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13021 Likewise.
13022 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13023 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13024 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13025 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13026 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13027 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13028 (CFLAGS-tst-align2.c): Likewise.
13029
13030 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13031
13032 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13033 (index_arch_Prefer_FSRM): Likewise.
13034 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13035 Also check Prefer_FSRM.
13036 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13037 Also return OPTIMIZE (erms) for Prefer_FSRM.
13038
13039 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13040
13041 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13042 (index_cpu_FSRM): Likewise.
13043 (reg_FSRM): Likewise.
13044
13045 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13046
13047 * math/gen-tgmath-tests.py: Import sys.
13048 (Tests.__init__): Initialize macros_seen.
13049 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13050 if requested to do so for this macro.
13051 (Tests.add_all_tests): Take argument for macro for which to
13052 generate tests.
13053 (Tests.check_macro_list): New function.
13054 (main): Handle check-list argument and argument specifying macro
13055 for which to generate tests.
13056 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13057 [PYTHON] (tgmath3-macro-tests): Likewise.
13058 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13059 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13060 not test-tgmath3.c.
13061 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13062 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13063 to CFLAGS.
13064 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13065 [PYTHON] ($(foreach
13066 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13067 rule.
13068 [PYTHON] (tests-special): Add
13069 $(objpfx)test-tgmath3-macro-list.out.
13070 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13071
13072 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13073 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13074 later.
13075
13076 [BZ #22639]
13077 * time/tzset.c (SECSPERDAY): Cast to time_t.
13078 * time/tst-y2039.c: New file.
13079 * time/Makefile (tests): Add tst-y2039.
13080
13081 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13082
13083 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13084 (PREFETCH_ONE_SET): Remove duplicate line.
13085
13086 2018-05-17 Florian Weimer <fweimer@redhat.com>
13087
13088 * sysdeps/generic/math-type-macros-double.h: Include
13089 <math-nan-payload-double.h> after <libm-alias-double.h>.
13090 * sysdeps/generic/math-type-macros-float.h: Include
13091 <math-nan-payload-float.h> after <libm-alias-float.h>.
13092 * sysdeps/generic/math-type-macros-float128.h: Include
13093 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13094 * sysdeps/generic/math-type-macros-ldouble.h: Include
13095 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13096
13097 2018-05-17 Andreas Schwab <schwab@suse.de>
13098
13099 * resolv/res_send.c (__res_context_send): Don't set errno when
13100 returing error after malloc failure.
13101
13102 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13103
13104 * nptl/allocatestack.c (allocate_stack): Remove the
13105 !__ASSUME_PRIVATE_FUTEX paths.
13106 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13107 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13108 Likewise.
13109 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13110 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13111 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13112 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13113 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13114 !__ASSUME_PRIVATE_FUTEX path.
13115 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13116 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13117 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13118 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13119 !__ASSUME_PRIVATE_FUTEX macros.
13120 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13121 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13122 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13123 * sysdeps/unix/sysv/linux/kernel-features.h
13124 (__ASSUME_PRIVATE_FUTEX): Removed.
13125
13126 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13127
13128 * math/Makefile (libm-narrow-fns): Add div.
13129 (libm-test-funcs-narrow): Likewise.
13130 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13131 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13132 * math/gen-auto-libm-tests.c (test_functions): Add div.
13133 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13134 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13135 (NARROW_DIV_TRIVIAL): Likewise.
13136 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13137 macro.
13138 (__ddivl): Likewise.
13139 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13140 ddiv.
13141 (CFLAGS-nldbl-ddiv.c): New variable.
13142 (CFLAGS-nldbl-fdiv.c): Likewise.
13143 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13144 __nldbl_ddivl.
13145 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13146 prototype.
13147 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13148 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13149 * math/auto-libm-test-in: Add tests of div.
13150 * math/auto-libm-test-out-narrow-div: New generated file.
13151 * math/libm-test-narrow-div.inc: New file.
13152 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13153 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13154 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13155 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13156 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13157 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13166 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13167 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13168 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13169 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13171 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13172 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13173 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13174 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13175 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13176 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13177 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13178 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13179 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13180 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13181 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13182 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13183 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13188 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13189 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13190 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13191 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13192 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13193 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13194 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13195 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13196
13197 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13198
13199 [BZ #23178]
13200 * nscd/nscd-client.h (sendfileall): Remove prototype.
13201 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13202 (handle_request): Use writeall instead of sendfileall.
13203 * nscd/aicache.c (addhstaiX): Likewise.
13204 * nscd/grpcache.c (cache_addgr): Likewise.
13205 * nscd/hstcache.c (cache_addhst): Likewise.
13206 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13207 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13208 * nscd/pwdcache.c (cache_addpw): Likewise.
13209 * nscd/servicescache.c (cache_addserv): Likewise.
13210 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13211 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13212 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13213 Remove define.
13214
13215 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13216
13217 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13218 Include <string/strncat.c>.
13219 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13220 alias.
13221 (__GI___strncat): New hidden alias.
13222
13223 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13224
13225 * sysdeps/mips/mips32/libm-test-ulps: Update.
13226 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13227
13228 2018-05-16 Florian Weimer <fweimer@redhat.com>
13229
13230 * support/Makefile (libsupport-routines): Add support_quote_blob,
13231 support_test_compare_blob.
13232 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13233 * support/check.h (TEST_COMPARE_BLOB): Define.
13234 (support_test_compare_blob): Declare.
13235 * support/support.h (support_quote_blob): Declare.
13236 * support/support_quote_blob.c: New file.
13237 * support/support_test_compare_blob.c: Likewise.
13238 * support/tst-support_quote_blob.c: Likewise.
13239 * support/tst-test_compare_blob.c: Likewise.
13240
13241 2018-05-16 Florian Weimer <fweimer@redhat.com>
13242
13243 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13244 of <strtod_nan_double.h>.
13245 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13246 instead of SET_MANTISSA.
13247 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13248 of include <strtod_nan_float.h>.
13249 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13250 instead of <strtod_nan_ldouble.h>.
13251 * stdlib/strtod_nan_double.h: Move to ...
13252 * sysdeps/generic/math-nan-payload-double.h: ... here.
13253 (FLOAT): Remove definition.
13254 (SET_MANTISSA): Rename to ...
13255 (SET_NAN_PAYLOAD): ... this.
13256 * stdlib/strtod_nan_float.h: Move to ...
13257 * sysdeps/generic/math-nan-payload-float.h: ... here.
13258 (FLOAT): Remove definition.
13259 (SET_MANTISSA): Rename to ...
13260 (SET_NAN_PAYLOAD): ... this.
13261 * sysdeps/generic/math-type-macros-double.h: Include
13262 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13263 instead of <math-svid-compat.h>.
13264 * sysdeps/generic/math-type-macros-float.h: Include
13265 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13266 instead of <math-svid-compat.h>.
13267 * sysdeps/generic/math-type-macros-float128.h: Include
13268 <math-nan-payload-float128.h>.
13269 * sysdeps/generic/math-type-macros-ldouble.h: Include
13270 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13271 instead of <math-svid-compat.h>.
13272 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13273 check for definition.
13274 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13275 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13276 Include <ieee754_float128.h>.
13277 (FLOAT): Remove definition.
13278 (SET_MANTISSA): Rename to ...
13279 (SET_NAN_PAYLOAD): ... this.
13280 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13281 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13282 Do not include <float128_private.h>.
13283 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13285 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13286 (FLOAT): Remove definition.
13287 (SET_MANTISSA): Rename to ...
13288 (SET_NAN_PAYLOAD): ... this.
13289 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13290 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13291 (FLOAT): Remove definition.
13292 (SET_MANTISSA): Rename to ...
13293 (SET_NAN_PAYLOAD): ... this.
13294 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13295 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13296 (FLOAT): Remove definition.
13297 (SET_MANTISSA): Rename to ...
13298 (SET_NAN_PAYLOAD): ... this.
13299 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13300 of "../stdlib/strtod_nan_double.h".
13301 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13302 of "../stdlib/strtod_nan_float.h".
13303 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13304 instead of "../stdlib/strtod_nan_ldouble.h".
13305 * manual/arith.texi (Parsing of Floats): Adjust comment.
13306
13307 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13308
13309 * math/Makefile (libm-narrow-fns): Add mul.
13310 (libm-test-funcs-narrow): Likewise.
13311 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13312 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13313 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13314 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13315 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13316 (NARROW_MUL_TRIVIAL): Likewise.
13317 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13318 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13319 macro.
13320 (__dmull): Likewise.
13321 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13322 dmul.
13323 (CFLAGS-nldbl-dmul.c): New variable.
13324 (CFLAGS-nldbl-fmul.c): Likewise.
13325 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13326 __nldbl_dmull.
13327 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13328 prototype.
13329 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13330 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13331 * math/auto-libm-test-in: Add tests of mul.
13332 * math/auto-libm-test-out-narrow-mul: New generated file.
13333 * math/libm-test-narrow-mul.inc: New file.
13334 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13335 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13337 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13338 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13339 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13345 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13346 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13347 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13348 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13349 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13350 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13351 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13353 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13355 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13361 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13362 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13363 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13364 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13370 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13371 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13374 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13375 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13378
13379 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13380
13381 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13382 with *%eax in call.
13383
13384 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13385
13386 * sysdeps/i386/ldsodefs.h: Removed.
13387 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13388 * sysdeps/x86/ldsodefs.h: This.
13389 (La_i86_regs): New.
13390 (La_i86_retval): Likewise.
13391 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13392 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13393
13394 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13395
13396 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13397 unnecessary testl.
13398
13399 2018-05-13 Alan Modra <amodra@gmail.com>
13400
13401 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13402 R_PARISC_TLS_DTPOFF32 reloc addend.
13403
13404 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13405
13406 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13407 * math/math.h: Restrict the prototype definition for the functions
13408 issignaling(_Float128) and iszero(_Float128); and template
13409 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13410 __HAVE_FLOAT128_UNLIKE_LDBL.
13411 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13412 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13413 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13414 __f128() constants; define the type _Float128 as long double;
13415 and reuse long double in __CFLOAT128.
13416
13417 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13418
13419 * sysdeps/generic/math_private.h: Do not include
13420 <math-barriers.h>.
13421 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13422 <math_private.h>.
13423 * math/fromfp.h: Include <math-barriers.h>.
13424 * math/math-narrow.h: Likewise.
13425 * math/s_nextafter.c: Likewise.
13426 * math/s_nexttowardf.c: Likewise.
13427 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13428 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13429 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13430 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13431 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13432 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13433 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13443 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13446 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13447 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13448 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13449 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13450 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13451 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13452 * sysdeps/ieee754/k_standardl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13469 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13470 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13471 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13472 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13473 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13474 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13475
13476 2018-05-11 Florian Weimer <fweimer@redhat.com>
13477
13478 Use 64-bit epoch values in the time zone file parser.
13479 * include/time.h (internal_time_t): Define.
13480 (__tzfile_compute): Use it.
13481 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13482 member.
13483 (transitions): Switch to internal_time_t.
13484 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13485 types.
13486 (__tzfile_compute): Use internal_time_t for timer argument. Check
13487 for truncation before calling __offtime.
13488
13489 2018-05-11 Florian Weimer <fweimer@redhat.com>
13490
13491 [BZ #23166]
13492 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13493 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13494 Likewise.
13495 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13496 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13497 export without --enable-obsolete-rpc.
13498 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13499 symbol. This should not have been exported, ever.
13500
13501 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13502
13503 [BZ #23152]
13504 * localedata/locales/gd_GB (abmon): Fix typo in May:
13505 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13506
13507 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13508
13509 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13510 Use multiple registers to copy data in loop tail.
13511
13512 * sysdeps/aarch64/multiarch/memmove_falkor.S
13513 (__memmove_falkor): Use multiple registers to move data in
13514 loop tail.
13515
13516 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13517
13518 * math/math-underflow.h: New file.
13519 * sysdeps/generic/math_private.h: Do not include <float.h>.
13520 (fabs_tg): Remove macro. Moved to math-underflow.h.
13521 (min_of_type_f): Likewise.
13522 (min_of_type_): Likewise.
13523 (min_of_type_l): Likewise.
13524 (min_of_type_f128): Likewise.
13525 (min_of_type): Likewise.
13526 (math_check_force_underflow): Likewise.
13527 (math_check_force_underflow_nonneg): Likewise.
13528 (math_check_force_underflow_complex): Likewise.
13529 * math/e_exp2_template.c: Include <math-underflow.h>.
13530 * math/k_casinh_template.c: Likewise.
13531 * math/s_catan_template.c: Likewise.
13532 * math/s_catanh_template.c: Likewise.
13533 * math/s_ccosh_template.c: Likewise.
13534 * math/s_cexp_template.c: Likewise.
13535 * math/s_clog10_template.c: Likewise.
13536 * math/s_clog_template.c: Likewise.
13537 * math/s_csin_template.c: Likewise.
13538 * math/s_csinh_template.c: Likewise.
13539 * math/s_csqrt_template.c: Likewise.
13540 * math/s_ctan_template.c: Likewise.
13541 * math/s_ctanh_template.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13560 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13561 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13562 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13563 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13564 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13565 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13566 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13567 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13568 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13569 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13570 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13571 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13572 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13573 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13605 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13606 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13610 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13612 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13619 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13620 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13622 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13623 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13624 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13626
13627 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13628
13629 * sysdeps/generic/math-barriers.h: New file.
13630 * sysdeps/generic/math_private.h [!math_opt_barrier]
13631 (math_opt_barrier): Move to math-barriers.h.
13632 [!math_opt_barrier] (math_force_eval): Likewise.
13633 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13634 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13635 math-barriers.h.
13636 (math_force_eval): Likewise.
13637 * sysdeps/alpha/fpu/math-barriers.h: New file.
13638 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13639 math-barriers.h.
13640 (math_force_eval): Likewise.
13641 * sysdeps/x86/fpu/math-barriers.h: New file.
13642 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13643 math-barriers.h.
13644 (math_force_eval): Likewise.
13645 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13646 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13647 multiple-include guard for rename.
13648 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13649 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13650 math-barriers.h.
13651 (math_force_eval): Likewise.
13652
13653 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13654
13655 [BZ #22786]
13656 CVE-2018-11236
13657 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13658 computation.
13659 * stdlib/Makefile (test-bz22786): New test.
13660 * stdlib/test-bz22786.c: New test.
13661
13662 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13663
13664 * include/math-narrow-eval.h: New file. Contents moved from ....
13665 * sysdeps/generic/math_private.h: ... here.
13666 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13667 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13668 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13669 * stdlib/strtod_l.c: Likewise.
13670 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13671 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13672 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13685 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13686 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13687 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13688 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13689 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13690 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13691 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13692 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13693 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13694 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13695 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13696 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13697 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13698 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13699
13700 2018-05-08 Andreas Schwab <schwab@suse.de>
13701
13702 * sysdeps/nptl/internaltypes.h: Fix comment.
13703
13704 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13705
13706 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13707 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13708 hidden.
13709
13710 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13711
13712 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13713 of I into loop header.
13714 * benchtests/bench-memmove-walk.c
13715 (test_main): Likewise.
13716
13717 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13718
13719 Revert:
13720 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13721 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13722
13723 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13724
13725 [BZ #20419]
13726 * elf/dl-load.c (open_verify): Fix stack overflow.
13727 * elf/Makefile (tst-big-note): New test.
13728 * elf/tst-big-note-lib.S: New.
13729 * elf/tst-big-note.c: New.
13730
13731 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13732
13733 * scripts/abilist.awk: Ignore absolute symbols.
13734 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13735 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13736 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13737 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13738 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13739 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13740 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13741 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13742 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13743 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13744 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13745 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13763 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13764 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13765 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13766 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13768 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13769 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13770 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13771 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13772 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13773 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13774 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13775 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13776 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13777 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13778 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13779 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13780 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13781 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13782 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13783 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13784 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13785 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13786 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13787 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13788 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13789 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13790 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13791 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13792 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13793 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13794 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13795 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13796 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13799 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13800 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13801 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13802 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13803 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13804 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13805 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13806 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13807 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13808 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13809 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13810 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13811 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13812 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13813 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13814 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13815 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13816 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13817 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13818 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13819 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13820 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13821 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13822 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13823 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13824 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13825 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13826 Likewise.
13827 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13828 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13829 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13830 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13831 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13832 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13833 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13834 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13835 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13836 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13837 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13838 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13839 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13840 Likewise.
13841 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13842 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13843 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13844 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13845 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13846 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13847 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13848 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13849 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13850 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13851 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13852 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13853 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13854 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13855 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13856 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13857 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13858 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13859 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13860 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13861 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13862 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13863 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13864 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13865 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13866 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13867 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13868 Likewise.
13869 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13870 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13871 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13872 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13873 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13876 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13877 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13881 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13885 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13886 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13889 Likewise.
13890 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13895 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13922 Likewise.
13923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13928 Likewise.
13929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13930 Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13933 Likewise.
13934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13936 Likewise.
13937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13938 Likewise.
13939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13942 Likewise.
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13944 Likewise.
13945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13946 Likewise.
13947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13951 Likewise.
13952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13958 Likewise.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13961 Likewise.
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13963 Likewise.
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13965 Likewise.
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13967 Likewise.
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13971 Likewise.
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13973 Likewise.
13974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13975 Likewise.
13976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13979 Likewise.
13980 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13994 Likewise.
13995 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13996 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13997 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14003 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14007 Likewise.
14008 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14011 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14012 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14013 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14014 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14015 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14016 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14017 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14018 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14024 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14025 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14030 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14031 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14032 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14033 Likewise.
14034 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14035 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14036 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14037 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14038 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14039 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14040 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14041 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14042 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14043 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14044 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14045 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14047 Likewise.
14048 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14049 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14050 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14051 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14052 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14053 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14054 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14055 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14056 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14057 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14058 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14059 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14060 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14061 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14062 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14063 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14064 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14065 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14066 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14067 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14068 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14069 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14070 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14071 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14072 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14073 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14074 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14075 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14076 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14077 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14078 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14079 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14080 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14081 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14082 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14083 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14084 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14085 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14086
14087 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14088
14089 [BZ #23137]
14090 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14091 Use atomic_load_acquire to load __tid.
14092
14093 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14094
14095 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14096 Restore the pointer into %rdx, after syscall and use %rdx,
14097 instead of %rsi, to restore context.
14098
14099 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14100
14101 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14102 Pop the pointer into %rdx after syscall and use %rdx, instead
14103 of %rsi, to restore context.
14104
14105 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14106
14107 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14108 handlers after setjmp.
14109 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14110 defined.
14111 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14112 <libc-pointer-arith.h>.
14113 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14114 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14115 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14116 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14117 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14118 * sysdeps/x86/__longjmp_cancel.S: New file.
14119 * sysdeps/x86/longjmp.c: Likewise.
14120 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14121
14122 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14123
14124 * NEWS: Add ustat.h deprecation entry.
14125 * bits/ustat.h: Remove file.
14126 * misc/sys/ustat.h: Likewise.
14127 * misc/ustat.h: Likewise.
14128 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14129 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14130 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14131 compatibility mode.
14132 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14133 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14134 generic Linux implementation.
14135
14136 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14137
14138 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14139 * math/w_expl_compat.c: Likewise.
14140 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14141
14142 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14143
14144 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14145
14146 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14147
14148 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14149 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14150 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14151 Remove.
14152 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14155 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14156 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14157 and SYSCALL_LL64.
14158
14159 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14160
14161 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14162
14163 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14164 * math/w_asin_template.c: Likewise.
14165 * math/w_atanh_template.c: Likewise.
14166
14167 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14168
14169 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14170 to powerpc/powerpc64/be for big-endian.
14171 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14172 little-endian.
14173
14174 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14175 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14176 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14177 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14178 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14179 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14180 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14181 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14182 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14183 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14184 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14185 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14186 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14187 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14188 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14189 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14190 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14191 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14192 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14193 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14194 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14195 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14196 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14197 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14198 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14199 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14200 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14201 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14202 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14203 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14204 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14205 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14206
14207 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14208 adjusted to imply powerpc64 and older processors on powerpc64/be.
14209 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14210 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14211 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14212 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14213 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14214 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14215 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14216 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14217 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14218 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14219 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14220 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14221 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14222 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14223 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14224 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14225 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14226 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14227 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14228 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14229 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14230 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14231 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14232 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14233 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14234 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14235 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14236 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14237 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14238 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14239 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14240
14241 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14242 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14243 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14244 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14245
14246 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14247 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14248 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14249 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14250
14251 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14252 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14253 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14254 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14255 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14256 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14257 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14258 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14259 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14260 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14261 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14262
14263 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14264 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14265 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14266 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14267 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14268 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14269 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14270 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14271 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14272 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14273 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14274
14275 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14276 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14277 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14278 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14279 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14280 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14281 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14282 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14283 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14284 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14285 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14286 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14287
14288 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14289 and adjusted to imply olders processors.
14290 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14291 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14292 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14293 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14294 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14295 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14296 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14297 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14298 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14299 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14300 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14301
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14303 powerpc64/le.
14304 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14306
14307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14308 powerpc64le.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14311
14312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14313 powerpc64/be.
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14317
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14319 powerpc64 and adjusted.
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14323 Likewise.
14324
14325 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14326
14327 * sysdeps/tile: Remove.
14328 * sysdeps/unix/sysv/linux/tile: Likewise.
14329 * README (tilegx-*-linux-gnu): Remove from list of supported
14330 configurations.
14331 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14332 contribution of support for generic Linux kernel syscall
14333 interface.
14334 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14335 tilegx configurations.
14336 (Config.install_linux_headers): Do not handle tile.
14337 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14338 in comment.
14339 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14340 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14341 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14342 conditional undefine and redefine.
14343 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14344 in comment.
14345 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14346 conditional undefine and redefine.
14347
14348 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14349
14350 * signal/tst-sigaction.c: New file to test BZ #23069.
14351 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14352
14353 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14354
14355 [BZ #22766]
14356 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14357 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14358 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14359 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14360
14361 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14362
14363 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14364 _DIRENT_MATCHES_DIRENT64 is not defined.
14365 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14366 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14367 is defined.
14368 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14369 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14370
14371 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14372
14373 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14374 version to GCC 8 branch.
14375
14376 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14377
14378 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14379 (check_no_hidden): Use type of original function when declaring
14380 alias.
14381
14382 * sysdeps/unix/sysv/linux/sys/ptrace.h
14383 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14384 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14385 (struct __ptrace_seccomp_metadata): New type.
14386 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14387 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14388 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14389 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14390 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14391 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14392 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14393 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14395 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14396 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14397 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14398 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14399 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14400 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14401 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14402
14403 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14404
14405 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14406 defined.
14407 * dirent/versionsort.c (versionsort): Likewise.
14408 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14409 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14410 * dirent/versionsort64.c (versionsort64): Likewise.
14411 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14412 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14413 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14414 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14415 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14416 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14417 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14418 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14419 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14420 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14423 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14424 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14425
14426 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14427
14428 * elf/elf.h (NT_PPC_PKEY): New macro.
14429
14430 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14431
14432 [BZ #23094]
14433 * localedata/locales/hr_HR: fix thousands_sep and
14434 mon_thousands_sep
14435
14436 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14437
14438 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14439 (XTABS): Define to TAB3.
14440
14441 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14442
14443 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14444
14445 * dirent/scandir-tail-common.c: New file.
14446 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14447 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14448 * dirent/scandir.c: Use scandir-tail-common.c.
14449 * dirent/scandirat.c: Likewise.
14450 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14451 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14452 if _DIRENT_MATCHES_DIRENT64 is defined.
14453 * dirent/scandirat64.c (scandirat64): Likewise.
14454 * include/dirent.h (__scandir_tail): Only define iff
14455 _DIRENT_MATCHES_DIRENT64 is not defined.
14456 (__scandir64_tail): Define regardless.
14457 (__scandirat, scandirat64): Remove libc_hidden_proto.
14458 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14459 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14461 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14462 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14463 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14464 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14465
14466 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14467
14468 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14469 New macro.
14470 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14471 Increase to 24.
14472 (_dl_aarch64_cap_flags): Add asimdfhm.
14473
14474 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14475
14476 * sysdeps/nios2/libm-test-ulps: Update.
14477
14478 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14479
14480 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14481 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14482
14483 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14484 requirements.
14485 (_DIRENT_MATCHES_DIRENT64): Undef
14486 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14487 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14488 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14489 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14490 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14491 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14492 use getdents64 syscalls as base.
14493 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14494 symbol if required.
14495 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14496 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14497 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14498 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14499 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14500 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14501 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14502 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14503 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14504 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14505 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14506
14507 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14508
14509 * scripts/test_printers_common.py (init_test): Disable lock elision.
14510
14511 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14512
14513 * math/test-tgmath.c (count_double, count_float,
14514 count_ldouble, count_cdouble, count_cfloat,
14515 count_cldouble): Use volatile int.
14516
14517 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14518
14519 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14520 (conformtest-xfail-conds): Add i386-gnu.
14521 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14522 i386-gnu.
14523 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14524 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14525 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14526 msqid_ds.msg_lrpid): Likewise.
14527 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14528 Likewise.
14529 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14530 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14531 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14532 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14533 unsigned int.
14534 (struct statvfs64): Likewise.
14535 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14536 Likewise.
14537 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14538 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14539 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14540 instead of wait_queue.
14541 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14542 instead of vm_area_struct.
14543 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14544 struct sched_param definition to it.
14545 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14546 * bits/types/struct_sched_param.h: New file.
14547 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14548 <bits/types/struct_sched_param.h> instead of <sched.h>.
14549 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14550 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14551 generic version but include <bits/pthreadtypes.h> to make struct
14552 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14553 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14554 non-compliant.
14555 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14556 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14557 [__USE_XOPEN] (OFDEL): New macro.
14558 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14559 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14560 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14561 prototypes.
14562 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14563 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14564 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14565 non-compliant.
14566 * sysdeps/i386/sys/ucontext.h: Likewise.
14567 * sysdeps/m68k/sys/ucontext.h: Likewise.
14568 * sysdeps/mips/sys/ucontext.h: Likewise.
14569 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14570 * sysdeps/mach/hurd/i386/Makefile
14571 (test-xfail-POSIX/fcntl.h/conform): Add.
14572 (test-xfail-POSIX/signal.h/conform): Add.
14573 (test-xfail-POSIX/semaphore.h/conform): Add.
14574 (test-xfail-POSIX/regex.h/conform): Add.
14575 (test-xfail-POSIX/aio.h/conform): Add.
14576 (test-xfail-POSIX/mqueue.h/conform): Add.
14577 (test-xfail-POSIX/sys/types.h/conform): Add.
14578 (test-xfail-UNIX98/fcntl.h/conform): Add.
14579 (test-xfail-UNIX98/netdb.h/conform): Add.
14580 (test-xfail-UNIX98/signal.h/conform): Add.
14581 (test-xfail-UNIX98/semaphore.h/conform): Add.
14582 (test-xfail-UNIX98/regex.h/conform): Add.
14583 (test-xfail-UNIX98/aio.h/conform): Add.
14584 (test-xfail-UNIX98/ftw.h/conform): Add.
14585 (test-xfail-UNIX98/mqueue.h/conform): Add.
14586 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14587 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14588 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14589 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14590 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14591 (test-xfail-UNIX98/sys/types.h/conform): Add.
14592 (test-xfail-UNIX98/stdlib.h/conform): Add.
14593 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14594 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14595 (test-xfail-POSIX2008/netdb.h/conform): Add.
14596 (test-xfail-POSIX2008/signal.h/conform): Add.
14597 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14598 (test-xfail-POSIX2008/regex.h/conform): Add.
14599 (test-xfail-POSIX2008/aio.h/conform): Add.
14600 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14601 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14602 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14603 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14604 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14605 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14606 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14607 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14608 (test-xfail-XOPEN2K/signal.h/conform): Add.
14609 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14610 (test-xfail-XOPEN2K/regex.h/conform): Add.
14611 (test-xfail-XOPEN2K/aio.h/conform): Add.
14612 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14613 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14614 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14615 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14616 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14617 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14618 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14619 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14620 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14621 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14622 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14623 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14624 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14625 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14626 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14627 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14628 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14629 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14630 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14631 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14632 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14633 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14634 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14635 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14636 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14637 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14638 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14639 i386-gnu.
14640 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14641 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14642
14643 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14644
14645 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14646 --enable-obsolete for powerpc-linux-gnuspe.
14647
14648 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14649
14650 * conform/data/sys/un.h-data: Allow sun_ prefix.
14651 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14652 prototypes.
14653 * sysdeps/mach/include/mach.h: Likewise.
14654 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14655 * sysdeps/mach/include/mach_error.h: Likewise.
14656
14657 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14658
14659 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14660 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14661 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14662 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14663
14664 2018-04-16 Andreas Schwab <schwab@suse.de>
14665
14666 [BZ #19527]
14667 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14668
14669 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14670
14671 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14672 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14673
14674 2018-04-12 DJ Delorie <dj@redhat.com>
14675
14676 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14677 version to 4.16.
14678
14679 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14680
14681 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14682 (struct kernel_sigaction): Use the same definition on 31bit as is used
14683 on 64bit.
14684
14685 2018-04-09 Florian Weimer <fweimer@redhat.com>
14686
14687 [BZ #23037]
14688 * resolv/res_send.c (send_dg): Use designated initializers instead
14689 of assignment to zero-initialize other fields of struct mmsghdr.
14690
14691 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14692
14693 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14694 __READDIR_ALIAS): Undefine after usage.
14695 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14696 __READDIR_R_ALIAS): Likewise.
14697 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14698 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14699 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14700 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14701 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14702 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14703 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14704 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14705 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14706 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14707 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14708 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14709 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14710 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14711 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14712 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14713 * sysdeps/unix/sysv/linux/readdir.c: New file.
14714 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14715 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14716 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14717
14718 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14719
14720 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14721
14722 * manual/charset.texi (Converting a Character): Fix typo.
14723
14724 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14725
14726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14727
14728 * sysdeps/arm/libm-test-ulps: Update.
14729
14730 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14731 as base implementation.
14732 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14733 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14735 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14736 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14737 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14738 remove unrequired definitions and update comments.
14739 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14740 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14741 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14742 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14743 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14744 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14745 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14746 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14747 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14748 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14749 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14750 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14751 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14752 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14753 and RESET_SA_RESTORER hooks.
14754
14755 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14756
14757 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14758
14759 2018-04-05 Florian Weimer <fweimer@redhat.com>
14760
14761 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14762 integer overflow, memory leak on error, and indeterminate errno
14763 value. Add a null wide character to terminate the result string.
14764 * manual/charset.texi (Converting a Character): Mention embedded
14765 null bytes in the mbrtowc input string. Explain what happens in
14766 the -2 result case. Do not claim that mbrtowc is simple or
14767 obvious to use. Adjust the description of the code example. Use
14768 @code, not @var, for concrete variables.
14769
14770 2018-04-05 Florian Weimer <fweimer@redhat.com>
14771
14772 * manual/examples/mbstouwcs.c: New file.
14773 * manual/charset.texi (Converting a Character): Include it.
14774
14775 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14776
14777 * include/dirent.h (dirfd): Add hidden proto.
14778 * dirent/dirfd.c (dirfd): Add hidden def.
14779 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14780 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14781
14782 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14783
14784 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14785 sin, cos and sincos to 1 ULP.
14786
14787 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14788
14789 [BZ #19818]
14790 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14791 symbols.
14792 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14793 * elf/tst-absolute-sym.c: New file.
14794 * elf/tst-absolute-sym-lib.c: New file.
14795 * elf/tst-absolute-sym-lib.lds: New file.
14796 * elf/Makefile (tests): Add `tst-absolute-sym'.
14797 (modules-names): Add `tst-absolute-sym-lib'.
14798 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14799 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14800 ($(objpfx)tst-absolute-sym): New dependency.
14801
14802 [BZ #19818]
14803 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14804 parameter.
14805 (SYMBOL_ADDRESS): New macro.
14806 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14807 SYMBOL_ADDRESS for symbol address calculation.
14808 * elf/dl-runtime.c (_dl_fixup): Likewise.
14809 (_dl_profile_fixup): Likewise.
14810 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14811 * elf/rtld.c (dl_main): Likewise.
14812 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14813 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14814 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14815 (elf_machine_rela): Likewise.
14816 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14817 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14818 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14819 (elf_machine_rela): Likewise.
14820 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14821 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14822 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14823 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14824 Likewise.
14825 (elf_machine_reloc): Likewise.
14826 (elf_machine_got_rel): Likewise.
14827 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14828 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14829 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14830 Likewise.
14831 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14832 Likewise.
14833 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14834 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14835 Likewise.
14836 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14837 Likewise.
14838 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14840 Likewise.
14841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14842 Likewise.
14843 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14844 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14845
14846 2018-04-04 Zack Weinberg <zackw@panix.com>
14847
14848 * sysdeps/generic/internal-signals.h: Include signal.h,
14849 sigsetops.h, and stdbool.h.
14850 (__libc_signal_block_all): Actually block all signals.
14851 (__libc_signal_block_app): Likewise.
14852 (__libc_signal_restore_set): Actually restore the signal mask.
14853
14854 2018-04-04 Florian Weimer <fweimer@redhat.com>
14855
14856 inet: Actually build and run tst-deadline.
14857 * inet/Makefile (tests-internal): Add tst-deadline and do not
14858 overwrite the variable.
14859 (tests-static-internal): Remove variable.
14860
14861 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14862
14863 [BZ #22947]
14864 * bits/uio-ext.h (RWF_APPEND): New.
14865 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14866 * manual/llio.texi: Document RWF_APPEND.
14867 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14868 (RWF_SUPPORTED): Add RWF_APPEND.
14869
14870 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14871
14872 [BZ #22391]
14873 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14874 check for internal nptl signals.
14875 * nptl/sigaction.c (__sigaction): Likewise.
14876 * signal/sigaddset.c (sigaddset): Likewise.
14877 * signal/sigdelset.c (sigdelset): Likewise.
14878 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14879 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14880 value.
14881 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14882 to filter out internal nptl signals.
14883 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14884 also check realtime signals using standard macros.
14885 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14886 __is_internal_signal, __libc_signal_block_all,
14887 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14888 * sysdeps/nptl/sigfillset.c: Remove file.
14889 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14890 Change return to bool.
14891 (__clear_internal_signals): Remove SIGTIMER clean since it is
14892 equal to SIGCANEL on Linux.
14893 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14894 signal set was constructed using standard functions.
14895
14896 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14897
14898 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14899 ifname is too long.
14900 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14901 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14902 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14903 hidden def.
14904 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14905 * signal/sigaddset.c: Include <sigsetopts.h>.
14906 * signal/sigdelset.c: Likewise.
14907
14908 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14909
14910 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14911 (__cos): Likewise.
14912 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14913 logic as sin and cos.
14914
14915 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14916
14917 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14918 inputs. Return correct sign.
14919 (do_sincos): Remove small input check before do_sin, let do_sin set
14920 the sign.
14921 (__sin): Likewise.
14922 (__cos): Likewise.
14923
14924 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14925
14926 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14927 (do_cos_slow): Likewise.
14928 (do_sin_slow): Likewise.
14929 (reduce_and_compute): Likewise.
14930 (slow): Likewise.
14931 (slow1): Likewise.
14932 (slow2): Likewise.
14933 (sloww): Likewise.
14934 (sloww1): Likewise.
14935 (sloww2): Likewise.
14936 (bslow): Likewise.
14937 (bslow1): Likewise.
14938 (bslow2): Likewise.
14939 (cslow2): Likewise.
14940
14941 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14942
14943 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14944 (do_cos): Remove corp parameter and calculations.
14945 (do_sin): Likewise.
14946 (do_sincos): Remove cor variable.
14947 (__sin): Use do_sincos for huge inputs.
14948 (__cos): Likewise.
14949 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14950 (reduce_and_compute_sincos): Remove unused function.
14951
14952 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14953
14954 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14955 reduce_sincos, improve accuracy to 136 bits.
14956 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14957 (__sin): Use improved reduction and simplified do_sincos calculation.
14958 (__cos): Likewise.
14959 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14960
14961 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14962
14963 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14964 (do_sincos_2): Likewise.
14965 (__sin): Remove middle range reduction case.
14966 (__cos): Likewise.
14967 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14968 reduction case.
14969
14970 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14971
14972 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14973 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14974 inputs.
14975 (__cos): Likewise.
14976 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14977
14978 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14979
14980 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14981 version to 4.16
14982
14983 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14984
14985 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14986 Remove definitions.
14987 (opendir_oflags): Use O_DIRECTORY regardless.
14988 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14989 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14990
14991 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14992
14993 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14994 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14995 macros.
14996 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14997 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14998 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14999 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15000 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15001 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15002
15003 * htl/Makefile: Bump licence to LGPL 2.1+.
15004 * htl/alloca_cutoff.c: Likewise.
15005 * htl/cthreads-compat.c: Likewise.
15006 * htl/lockfile.c: Likewise.
15007 * htl/pt-alloc.c: Likewise.
15008 * htl/pt-cancel.c: Likewise.
15009 * htl/pt-cleanup.c: Likewise.
15010 * htl/pt-create.c: Likewise.
15011 * htl/pt-dealloc.c: Likewise.
15012 * htl/pt-detach.c: Likewise.
15013 * htl/pt-exit.c: Likewise.
15014 * htl/pt-getattr.c: Likewise.
15015 * htl/pt-initialize.c: Likewise.
15016 * htl/pt-internal.h: Likewise.
15017 * htl/pt-join.c: Likewise.
15018 * htl/pt-self.c: Likewise.
15019 * htl/pt-setcancelstate.c: Likewise.
15020 * htl/pt-setcanceltype.c: Likewise.
15021 * htl/pt-sigmask.c: Likewise.
15022 * htl/pt-spin-inlines.c: Likewise.
15023 * htl/pt-testcancel.c: Likewise.
15024 * htl/pt-yield.c: Likewise.
15025 * htl/tests/test-1.c: Likewise.
15026 * htl/tests/test-10.c: Likewise.
15027 * htl/tests/test-11.c: Likewise.
15028 * htl/tests/test-12.c: Likewise.
15029 * htl/tests/test-13.c: Likewise.
15030 * htl/tests/test-14.c: Likewise.
15031 * htl/tests/test-15.c: Likewise.
15032 * htl/tests/test-16.c: Likewise.
15033 * htl/tests/test-17.c: Likewise.
15034 * htl/tests/test-2.c: Likewise.
15035 * htl/tests/test-3.c: Likewise.
15036 * htl/tests/test-4.c: Likewise.
15037 * htl/tests/test-5.c: Likewise.
15038 * htl/tests/test-6.c: Likewise.
15039 * htl/tests/test-7.c: Likewise.
15040 * htl/tests/test-8.c: Likewise.
15041 * htl/tests/test-9.c: Likewise.
15042 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15043 * sysdeps/htl/bits/cancelation.h: Likewise.
15044 * sysdeps/htl/bits/pthread-np.h: Likewise.
15045 * sysdeps/htl/bits/pthread.h: Likewise.
15046 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15047 * sysdeps/htl/bits/semaphore.h: Likewise.
15048 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15049 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15050 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15051 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15052 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15053 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15054 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15055 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15056 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15057 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15058 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15059 * sysdeps/htl/old_pt-atfork.c: Likewise.
15060 * sysdeps/htl/pt-atfork.c: Likewise.
15061 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15062 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15063 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15064 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15065 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15066 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15067 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15068 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15069 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15070 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15071 * sysdeps/htl/pt-attr-init.c: Likewise.
15072 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15073 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15074 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15075 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15076 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15077 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15078 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15079 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15080 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15081 * sysdeps/htl/pt-attr.c: Likewise.
15082 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15083 * sysdeps/htl/pt-barrier-init.c: Likewise.
15084 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15085 * sysdeps/htl/pt-barrier.c: Likewise.
15086 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15087 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15088 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15089 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15090 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15091 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15092 * sysdeps/htl/pt-cond-init.c: Likewise.
15093 * sysdeps/htl/pt-cond-signal.c: Likewise.
15094 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15095 * sysdeps/htl/pt-cond-wait.c: Likewise.
15096 * sysdeps/htl/pt-cond.c: Likewise.
15097 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15098 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15099 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15100 * sysdeps/htl/pt-condattr-init.c: Likewise.
15101 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15102 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15103 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15104 * sysdeps/htl/pt-equal.c: Likewise.
15105 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15106 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15107 * sysdeps/htl/pt-getschedparam.c: Likewise.
15108 * sysdeps/htl/pt-getspecific.c: Likewise.
15109 * sysdeps/htl/pt-init-specific.c: Likewise.
15110 * sysdeps/htl/pt-key-create.c: Likewise.
15111 * sysdeps/htl/pt-key-delete.c: Likewise.
15112 * sysdeps/htl/pt-key.h: Likewise.
15113 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15114 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15115 * sysdeps/htl/pt-mutex-init.c: Likewise.
15116 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15117 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15118 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15119 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15120 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15121 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15122 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15123 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15124 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15125 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15126 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15127 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15128 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15129 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15130 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15131 * sysdeps/htl/pt-mutexattr.c: Likewise.
15132 * sysdeps/htl/pt-once.c: Likewise.
15133 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15134 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15135 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15136 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15137 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15138 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15139 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15140 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15141 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15142 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15143 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15144 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15145 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15146 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15147 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15148 * sysdeps/htl/pt-setschedparam.c: Likewise.
15149 * sysdeps/htl/pt-setschedprio.c: Likewise.
15150 * sysdeps/htl/pt-setspecific.c: Likewise.
15151 * sysdeps/htl/pt-spin.c: Likewise.
15152 * sysdeps/htl/pt-startup.c: Likewise.
15153 * sysdeps/htl/pthread.h: Likewise.
15154 * sysdeps/htl/sem-close.c: Likewise.
15155 * sysdeps/htl/sem-destroy.c: Likewise.
15156 * sysdeps/htl/sem-getvalue.c: Likewise.
15157 * sysdeps/htl/sem-init.c: Likewise.
15158 * sysdeps/htl/sem-open.c: Likewise.
15159 * sysdeps/htl/sem-post.c: Likewise.
15160 * sysdeps/htl/sem-timedwait.c: Likewise.
15161 * sysdeps/htl/sem-trywait.c: Likewise.
15162 * sysdeps/htl/sem-unlink.c: Likewise.
15163 * sysdeps/htl/sem-wait.c: Likewise.
15164 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15165 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15166 * sysdeps/mach/htl/pt-block.c: Likewise.
15167 * sysdeps/mach/htl/pt-spin.c: Likewise.
15168 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15169 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15170 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15171 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15172 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15173 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15174 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15175 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15176 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15177 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15178 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15179 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15180 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15181 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15182 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15183 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15184 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15185 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15186 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15187 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15188 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15189 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15190 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15191 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15192 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15193 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15194 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15195 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15196 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15197 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15198 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15199 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15200 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15201 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15202 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15203 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15204 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15205 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15206 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15207 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15208 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15209 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15210 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15211
15212 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15213 * README: Remove the mention of out-of-tree patches needed for
15214 GNU/Hurd.
15215
15216 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15217 (UTIME_NOW, UTIME_OMIT): Define macros.
15218
15219 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15220 instead of pthread_detach.
15221 (__cthread_fork): Call __pthread_create instead of pthread_create.
15222 (__cthread_keycreate): Call __pthread_key_create instead of
15223 pthread_key_create.
15224 (__cthread_getspecific): Call __pthread_getspecific instead of
15225 pthread_getspecific.
15226 (__cthread_setspecific): Call __pthread_setspecific instead of
15227 pthread_setspecific.
15228 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15229 __pthread_mutex_unlock instead of pthread_mutex_lock and
15230 pthread_mutex_unlock.
15231 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15232 ___pthread_get_cleanup_stack.
15233 (__pthread_get_cleanup_stack): New strong alias.
15234 * htl/pt-create.c: Include <pthreadP.h>.
15235 (entry_point): Call __pthread_exit instead of pthread_exit.
15236 (pthread_create): Rename to __pthread_create.
15237 (pthread_create): New strong alias.
15238 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15239 (pthread_detach): New strong alias.
15240 (__pthread_detach): Call __pthread_cond_broadcast instead of
15241 pthread_cond_broadcast.
15242 * htl/pt-exit.c: Include <pthreadP.h>.
15243 (__pthread_exit): Call __pthread_setcancelstate and
15244 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15245 __pthread_get_cleanup_stack.
15246 * htl/pt-testcancel.c: Include <pthreadP.h>.
15247 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15248 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15249 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15250 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15251 pthread_attr_getstacksize.
15252 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15253 Rename to __pthread_attr_getstackaddr.
15254 (pthread_attr_getstackaddr): New strong alias.
15255 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15256 Rename to __pthread_attr_getstacksize.
15257 (pthread_attr_getstacksize): New strong alias.
15258 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15259 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15260 (pthread_attr_setstack): New strong alias.
15261 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15262 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15263 pthread_attr_getstacksize, pthread_attr_setstacksize and
15264 pthread_attr_setstackaddr.
15265 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15266 Rename to __pthread_attr_setstackaddr.
15267 (pthread_attr_setstackaddr): New strong alias.
15268 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15269 Rename to __pthread_attr_setstacksize.
15270 (pthread_attr_setstacksize): New strong alias.
15271 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15272 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15273 pthread_exit.
15274 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15275 (__pthread_key_create): New hidden def.
15276 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15277 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15278 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15279 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15280 __pthread_setspecific, __pthread_setcancelstate,
15281 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15282 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15283 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15284 declarations.
15285 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15286 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15287 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15288 (pthread_attr_setstackaddr): New strong alias.
15289 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15290 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15291 (pthread_attr_setstacksize): New strong alias.
15292 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15293 (call_exit): Call __pthread_exit instead of pthread_exit.
15294 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15295 (_pthread_mutex_init): New hidden definition.
15296 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15297 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15298 instead of pthread_attr_init and pthread_attr_setstack.
15299
15300 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15301 __vm_deallocate instead of vm_allocate and vm_deallocate.
15302 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15303 setenv.
15304 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15305 of geteuid.
15306 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15307 strdup.
15308 * hurd/siginfo.c: Include <libioP.h>.
15309 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15310 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15311 munmap.
15312 * mach/devstream.c: Include <libioP.h>.
15313 (dealloc_ref): Call __mach_port_deallocate instead of
15314 mach_port_deallocate.
15315 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15316 Call __mach_port_deallocate instead of mach_port_deallocate.
15317 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15318 pathconf.
15319 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15320 munmap.
15321 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15322 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15323 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15324 of munmap.
15325 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15326 of close.
15327 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15328 instead of sysconf.
15329 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15330 __clock_gettime instead of clock_gettime.
15331 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15332 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15333 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15334 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15335 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15336 tcgetattr.
15337 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15338 __clock_gettime and __nanosleep instead of clock_gettime and
15339 nanosleep.
15340 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15341 __hurd_catch_signal.
15342 (hurd_catch_signal): New strong alias.
15343 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15344 __hurd_catch_signal instead of hurd_catch_signal.
15345 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15346 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15347 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15348 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15349 (_hurd_thread_sigstate): Add hidden def.
15350 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15351 mutex_unlock.
15352 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15353 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15354 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15355 __hurd_file_name_path_lookup.
15356 (hurd_file_name_path_lookup): New strong alias.
15357 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15358 hurd_file_name_path_lookup.
15359 * mach/errstring.c (mach_error_type): Add hidden def.
15360 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15361 * mach/mutex-init.c (__mutex_init): Add hidden def.
15362 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15363 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15364 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15365 * sysdeps/mach/hurd/getcwd.c
15366 (_hurd_canonicalize_directory_name_internal): Rename to
15367 __hurd_canonicalize_directory_name_internal.
15368 (_hurd_canonicalize_directory_name_internal): New strong alias.
15369 (__canonicalize_directory_name_internal, __getcwd): Call
15370 __hurd_canonicalize_directory_name_internal instead of
15371 _hurd_canonicalize_directory_name_internal.
15372 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15373 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15374 hidden defs.
15375 * sysdeps/hurd/include/hurd.h: New file.
15376 * sysdeps/hurd/include/hurd/fd.h: New file.
15377 * sysdeps/hurd/include/hurd/signal.h: New file.
15378 * sysdeps/mach/include/lock-intern.h: New file.
15379 * sysdeps/mach/include/mach.h: New file.
15380 * sysdeps/mach/include/mach/mig_support.h: New file.
15381 * sysdeps/mach/include/mach_error.h: New file.
15382 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15383 prototype.
15384 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15385 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15386 _HEADER_H_HIDDEN_DEF macro.
15387 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15388 _hurd_fd_error_signal): Add hidden prototype.
15389 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15390 hidden def.
15391 * libio/iolibio.h (_IO_puts): New hidden prototype.
15392 * libio/ioputs.c (_IO_puts): New hidden def.
15393 * sysdeps/mach/hurd/localplt.data: New file.
15394
15395 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15396 Amos Jeffries <squid3@treenet.co.nz>
15397 David Michael <fedora.dm0@gmail.com>
15398 Marco Gerards <marco@gnu.org>
15399 Marcus Brinkmann <marcus@gnu.org>
15400 Neal H. Walfield <neal@gnu.org>
15401 Pino Toscano <toscano.pino@tiscali.it>
15402 Richard Braun <rbraun@sceen.net>
15403 Roland McGrath <roland@gnu.org>
15404 Samuel Thibault <samuel.thibault@ens-lyon.org>
15405 Thomas DiModica <ricinwich@yahoo.com>
15406 Thomas Schwinge <tschwinge@gnu.org>
15407
15408 * htl: New directory.
15409 * sysdeps/htl: New directory.
15410 * sysdeps/hurd/htl: New directory.
15411 * sysdeps/i386/htl: New directory.
15412 * sysdeps/mach/htl: New directory.
15413 * sysdeps/mach/hurd/htl: New directory.
15414 * sysdeps/mach/hurd/i386/htl: New directory.
15415 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15416 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15417 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15418
15419 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15420
15421 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15422 signals in thread created for runing timers.
15423
15424 2018-04-01 Florian Weimer <fweimer@redhat.com>
15425
15426 * support/support_format_addrinfo.c (support_format_addrinfo):
15427 Include unknown error number in formatted result.
15428
15429 2018-03-29 Florian Weimer <fweimer@redhat.com>
15430
15431 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15432 capture SIGBUS.
15433
15434 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15435
15436 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15437 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15438 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15439 (__ASSUME_CLONE_BACKWARDS): Define.
15440
15441 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15442
15443 [BZ #23024]
15444 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15445 early when linux sentinel value is set.
15446
15447 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15448
15449 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15450
15451 2018-03-27 Andreas Schwab <schwab@suse.de>
15452
15453 [BZ #23005]
15454 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15455 allocation of private copy of nsaddr_list fails.
15456
15457 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15458
15459 [BZ #16552]
15460 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15461 * sysdeps/unix/sysv/linux/umount.c: ... here.
15462 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15463 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15464 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15465 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15467 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15468 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15469
15470 2018-03-26 Andreas Schwab <schwab@suse.de>
15471
15472 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15473 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15474 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15475 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15476 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15477 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15478 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15479 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15480 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15481 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15482 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15483 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15484 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15485 (R_RISCV_NUM): Define.
15486
15487 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15488
15489 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15490 TLS declaration of errno.
15491 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15492 __libc_setup_tls.
15493 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15494 (ARCH_SETUP_TLS): Likewise.
15495 * sysdeps/mach/hurd/libc-start.h: New file copied from
15496 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15497 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15498 instead of __libc_setup_tls.
15499 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15500 __libc_setup_tls before initializing libpthread and running _hurd_init
15501 which starts the signal thread.
15502 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15503 Declare function.
15504 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15505
15506 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15507
15508 [BZ #22998]
15509 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15510 after it is defined.
15511
15512 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15513 Max Horn <max@quendi.de>
15514
15515 [BZ #22644]
15516 CVE-2017-18269
15517 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15518 branch conditions.
15519 * string/test-memmove.c (do_test2): New testcase.
15520
15521 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15522
15523 * sysdeps/generic/frame.h: Remove file.
15524 * sysdeps/arm/frame.h: Likewise.
15525 * sysdeps/hppa/frame.h: Likewise.
15526 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15527 macro.
15528 (GET_FRAME): Likewise.
15529 (GET_STACK): Likewise.
15530 (CALL_SIGHANDLER): Likewise.
15531 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15532 Likewise.
15533 (GET_FRAME): Likewise.
15534 (GET_STACK): Likewise.
15535 (CALL_SIGHANDLER): Likewise.
15536 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15537 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15538 (GET_FRAME): Likewise.
15539 (GET_STACK): Likewise.
15540 (CALL_SIGHANDLER): Likewise.
15541 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15542 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15543 (GET_FRAME): Likewise.
15544 (GET_STACK): Likewise.
15545 (ADVANCE_STACK_FRAME): Likewise.
15546 (CALL_SIGHANDLER): Likewise.
15547 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15548 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15549 (GET_FRAME): Likewise.
15550 (GET_STACK): Likewise.
15551 (CALL_SIGHANDLER): Likewise.
15552 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15553 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15554 (GET_FRAME): Likewise.
15555 (GET_STACK): Likewise.
15556 (CALL_SIGHANDLER): Likewise.
15557 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15558 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15559 (GET_FRAME): Likewise.
15560 (GET_STACK): Likewise.
15561 (CALL_SIGHANDLER): Likewise.
15562 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15563 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15564 (GET_FRAME): Likewise.
15565 (GET_STACK): Likewise.
15566 (CALL_SIGHANDLER): Likewise.
15567 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15568 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15569 (GET_FRAME): Likewise.
15570 (GET_STACK): Likewise.
15571 (CALL_SIGHANDLER): Likewise.
15572 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15573 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15574 (GET_FRAME): Likewise.
15575 (GET_STACK): Likewise.
15576 (CALL_SIGHANDLER): Likewise.
15577 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15578 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15579 (GET_FRAME): Likewise.
15580 (GET_STACK): Likewise.
15581 (CALL_SIGHANDLER): Likewise.
15582 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15583 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15584 (GET_FRAME): Likewise.
15585 (GET_STACK): Likewise.
15586 (CALL_SIGHANDLER): Likewise.
15587 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15588 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15589 (GET_FRAME): Likewise.
15590 (GET_STACK): Likewise.
15591 (CALL_SIGHANDLER): Likewise.
15592 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15593 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15594 (FIRST_FRAME_POINTER): Likewise.
15595 (ADVANCE_STACK_FRAME): Likewise.
15596 (GET_STACK): Likewise.
15597 (GET_FRAME): Likewise.
15598 (CALL_SIGHANDLER): Likewise.
15599 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15600 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15601 (ADVANCE_STACK_FRAME): Likewise.
15602 (GET_STACK): Likewise.
15603 (GET_FRAME): Likewise.
15604 (CALL_SIGHANDLER): Likewise.
15605 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15606 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15607 (GET_FRAME): Likewise.
15608 (GET_STACK): Likewise.
15609 (CALL_SIGHANDLER): Likewise.
15610 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15611 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15612 (GET_FRAME): Likewise.
15613 (GET_STACK): Likewise.
15614 (CALL_SIGHANDLER): Likewise.
15615
15616 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15617
15618 * sysdeps/x86_64/backtrace.c: Move to ....
15619 * debug/backtrace.c: ... here.
15620 * sysdeps/aarch64/backtrace.c: Remove file.
15621 * sysdeps/alpha/backtrace.c: Likewise.
15622 * sysdeps/hppa/backtrace.c: Likewise.
15623 * sysdeps/ia64/backtrace.c: Likewise.
15624 * sysdeps/mips/backtrace.c: Likewise.
15625 * sysdeps/nios2/backtrace.c: Likewise.
15626 * sysdeps/riscv/backtrace.c: Likewise.
15627 * sysdeps/sh/backtrace.c: Likewise.
15628 * sysdeps/tile/backtrace.c: Likewise.
15629
15630 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15631
15632 [BZ #22987]
15633 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15634 function.
15635 (fdimf): Likewise.
15636 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15637
15638 [BZ #17343]
15639 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15640 possibly overflowing computations.
15641
15642 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15643
15644 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15645 values from Linux-specific section now that it is in the GNU section.
15646 * sysdeps/gnu/errlist.c: Regenerate.
15647
15648 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15649
15650 * math/Makefile (libm-narrow-fns): Add sub.
15651 (libm-test-funcs-narrow): Likewise.
15652 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15653 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15654 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15655 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15656 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15657 (NARROW_SUB_TRIVIAL): Likewise.
15658 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15659 macro.
15660 (__dsubl): Likewise.
15661 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15662 dsub.
15663 (CFLAGS-nldbl-dsub.c): New variable.
15664 (CFLAGS-nldbl-fsub.c): Likewise.
15665 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15666 __nldbl_dsubl.
15667 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15668 prototype.
15669 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15670 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15671 * math/auto-libm-test-in: Add tests of sub.
15672 * math/auto-libm-test-out-narrow-sub: New generated file.
15673 * math/libm-test-narrow-sub.inc: New file.
15674 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15675 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15676 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15677 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15678 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15679 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15681 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15682 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15683 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15684 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15687 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15688 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15689 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15690 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15691 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15693 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15694 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15695 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15696 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15697 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15698 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15699 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15700 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15701 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15702 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15703 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15704 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15705 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15710 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15711 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15712 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15713 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15716 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15717 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15718 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15719 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15720
15721 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15722
15723 [BZ #20079]
15724 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15725
15726 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15727
15728 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15729
15730 2018-03-18 Richard Braun <rbraun@sceen.net>
15731
15732 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15733 thread reference.
15734
15735 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15736
15737 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15738 (__libc_cleanup_fct): Define function.
15739 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15740 __libc_cleanup_end): Rewrite implementation using
15741 __attribute__ ((__cleanup__)).
15742 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15743 * hurd/Makefile (routines): Add hurdlock.
15744 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15745 interface.
15746 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15747 * hurd/hurdpid.c: Include <lowlevellock.h>
15748 (_S_msg_proc_newids): Use lll_wait to synchronize.
15749 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15750 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15751 * mach/Makefile (lock-headers): Remove machine-lock.h.
15752 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15753 <machine-lock.h>.
15754 (__spin_lock_t): New type.
15755 (__SPIN_LOCK_INITIALIZER): New macro.
15756 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15757 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15758 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15759 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15760 (__mutex_init): Initialize with lll.
15761 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15762 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15763 needing lll.
15764 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15765 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15766 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15767 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15768 (__setpgid): Use lll for synchronization.
15769 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15770 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15771 instead of <cthreads.h>.
15772 (_IO_lock_inexpensive): New macro
15773 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15774 (__libc_lock_self0): New declaration.
15775 (__libc_lock_owner_self): New macro.
15776 (__libc_key_t): Remove type.
15777 (_LIBC_LOCK_INITIALIZER): New macro.
15778 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15779 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15780 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15781 __libc_lock_define_initialized_recursive,
15782 __rtld_lock_define_initialized_recursive,
15783 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15784 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15785 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15786 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15787 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15788 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15789 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15790 New macros.
15791 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15792 * hurd/hurdlock.c: New file.
15793 * hurd/hurdlock.h: New file.
15794 * mach/lowlevellock.h: New file
15795
15796 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15797
15798 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15799 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15800 when opening a symlink with O_NOFOLLOW.
15801 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15802 path when flags contains O_NOFOLLOW.
15803 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15804 if flags contains O_DIRECTORY and the result is a directory.
15805 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15806 oneself when the pointer given in D is nul (as set by ext2fs).
15807 * sysdeps/mach/hurd/mlockall.c: New file.
15808 * sysdeps/mach/hurd/munlockall.c: New file.
15809
15810 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15811
15812 * hurd/hurdsig.c: Include <pthread.h>.
15813 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15814 get the signal thread stack layout.
15815 * hurd/Makefile (headers): Remove threadvar.h.
15816 (inline-headers): Remove threadvar.h.
15817 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15818 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15819 __hurd_threadvar_max, __hurd_errno_location.
15820 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15821 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15822 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15823 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15824 unless TLS is not initialized yet, in which case we do not need a
15825 critical section yet anyway.
15826 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15827 <machine-sp.h>.
15828 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15829 declarations.
15830 (__hurd_threadvar_index): Remove enum.
15831 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15832 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15833 inlines.
15834 (__hurd_reply_port0): New variable declaration.
15835 (__hurd_local_reply_port): New macro.
15836 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15837 (interrupted_reply_port_location): Add thread_t parameter. Use it
15838 with THREAD_TCB to access thread-local variables.
15839 (_hurdsig_abort_rpcs): Pass ss->thread to
15840 interrupted_reply_port_location.
15841 (_hurd_internal_post_signal): Likewise.
15842 (_hurdsig_init): Use presence of cthread_fork instead of
15843 __hurd_threadvar_stack_mask to start signal thread by hand.
15844 Remove signal thread threadvar initialization.
15845 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15846 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15847 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15848 of threadvar.
15849 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15850 __libc_lock_self0.
15851 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15852 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15853 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15854 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15855 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15856 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15857 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15858 define variables.
15859 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15860 <hurd/threadvar.h>.
15861 [IS_IN(rtld)] (rtld_errno): New variable.
15862 [IS_IN(rtld)] (__errno_location): New weak function.
15863 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15864 * sysdeps/mach/hurd/errno.c: Remove file.
15865 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15866 (__fork): Remove THREADVAR_SPACE macro and its use.
15867 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15868 variable.
15869 (init): Do not initialize threadvar.
15870 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15871 symbol.
15872 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15873 __hurd_local_reply_port instead of threadvar.
15874 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15875 _hurd_sigstate fields.
15876 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15877 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15878 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15879 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15880 instead of threadvar.
15881 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15882 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15883 (use_threadvar, global_reply_port): Remove variables.
15884 (__hurd_reply_port0): New variable.
15885 (__mig_get_reply_port): Use __hurd_local_reply_port and
15886 __hurd_reply_port0 instead of threadvar.
15887 (__mig_dealloc_reply_port): Likewise.
15888 (__mig_init): Do not initialize threadvar.
15889 * sysdeps/mach/hurd/profil.c: Fix comment.
15890 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15891 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15892 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15893 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15894 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15895 __cthread_setspecific.
15896 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15897 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15898 __cthread_t instead of cthread_fork, cthread_detach,
15899 pthread_getattr_np, pthread_attr_getstack.
15900 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15901 __cthread_keycreate.
15902 (cthread_getspecific): Rename to __cthread_getspecific.
15903 (cthread_setspecific): Rename to __cthread_setspecific.
15904 (__libc_getspecific): Use __cthread_getspecific instead of
15905 cthread_getspecific.
15906 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15907 __cthread_keycreate instead of cthread_keycreate.
15908 (__libc_setspecific): Use __cthread_setspecific instead of
15909 cthread_setspecific.
15910 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15911 Likewise.
15912 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15913 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15914 testing whether it is defined.
15915
15916 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15917
15918 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15919 Define macro.
15920 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15921 * sysdeps/mach/i386/thread_state.h
15922 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15923 i386_THREAD_STATE.
15924 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15925 i386_THREAD_STATE.
15926 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15927
15928 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15929 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15930
15931 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15932 macros.
15933 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15934 descriptor instead of creating a new one.
15935 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15936
15937 * mach/setup-thread.c: Include <ldsodefs.h>.
15938 (__mach_setup_thread): Call _dl_allocate_tls, pass
15939 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15940 MACHINE_THREAD_STATE_FLAVOR, before getting
15941 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15942 MACHINE_THREAD_STATE_FLAVOR with the result.
15943 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15944 MACHINE_THREAD_STATE_FIX_NEW.
15945 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15946 too. Add original thread parameter.
15947
15948 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15949
15950 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15951 Remove inline function.
15952
15953 * sysdeps/i386/fpu/libm-test-ulps: Update.
15954 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15955
15956 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15957
15958 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15959 commit.
15960
15961 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15962
15963 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15964 (__sincos_code): Remove define and undefine.
15965 [__FAST_MATH__] (__sincos): Remove inline function.
15966 [__FAST_MATH__] (__sincosf): Remove inline function.
15967 [__FAST_MATH__] (__sincosl): Remove inline function.
15968 (__atan2l): Remove inline functions.
15969 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15970 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15971 function.
15972 (floor): Remove inline function.
15973 (ceil): Likewise.
15974 [__FAST_MATH__] (__ldexp_code): Remove macro.
15975 [__FAST_MATH__] (ldexp): Remove inline function.
15976 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15977 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15978 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15979 [__USE_ISOC99] (__lrint_code): Remove macro.
15980 [__USE_ISOC99] (__llrint_code): Likewise.
15981 [__USE_ISOC99] (lrintf): Remove inline function.
15982 [__USE_ISOC99] (lrint): Likewise.
15983 [__USE_ISOC99] (lrintl): Likewise.
15984 [__USE_ISOC99] (llrint): Likewise.
15985 [__USE_ISOC99] (llrintf): Likewise.
15986 [__USE_ISOC99] (llrintl): Likewise.
15987
15988 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15989
15990 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15991 (__ieee754_sqrtf): Remove.
15992 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15993 (__ieee754_sqrtf): Remove.
15994 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15995 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15996 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15997 (__ieee754_sqrtf): Remove.
15998 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15999 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16000 (sqrtf): Remove.
16001 (sqrtl): Remove.
16002 (__ieee754_sqrt): Remove.
16003 (__ieee754_sqrtf): Remove.
16004 (__ieee754_sqrtl): Remove.
16005 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16006 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16007 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16008 (__ieee754_sqrtf): Remove.
16009 (__ieee754_sqrtl): Remove.
16010
16011 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16012
16013 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16014 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16015 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16016 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16017 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16018 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16019 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16020 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16021 Likewise.
16022 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16023 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16024 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16025 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16026 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16027 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16028 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16029 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16030 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16031 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16032 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16033 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16034 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16035 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16036 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16037 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16038 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16039 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16040 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16041 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16042 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16045 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16046 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16049 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16050 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16051 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16052 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16053 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16054 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16055 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16056 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16057 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16058 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16059 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16060 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16061 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16062
16063 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16064
16065 * include/math.h (sqrt): Declare with asm redirect.
16066 (sqrtf): Likewise.
16067 (sqrtl): Likewise.
16068 (sqrtf128): Likewise.
16069 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16070 nonlib and libnldbl with -fmath-errno.
16071 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16072 * math/w_sqrt_template.c: Likewise.
16073 * math/w_sqrtf_compat.c: Likewise.
16074 * math/w_sqrtl_compat.c: Likewise.
16075 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16076 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16077 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16078 complex.h.
16079
16080 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16081
16082 * benchtests/Makefile: Define _ISOMAC.
16083 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16084 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16085 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16086 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16087 * benchtests/bench-timing.h: Define attribute_hidden.
16088
16089 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16090
16091 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16092 mov + lsr.
16093
16094 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16095
16096 [BZ #22963]
16097 * localedata/locales/cs_CZ (mon): Rename to...
16098 (alt_mon): This.
16099 (mon): Import from CLDR (genitive case).
16100
16101 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16102
16103 [BZ #22937]
16104 * localedata/locales/el_CY (abmon): Rename to...
16105 (ab_alt_mon): This.
16106 (abmon): Import from CLDR (abbreviated genitive case).
16107 * localedata/locales/el_GR (abmon): Rename to...
16108 (ab_alt_mon): This.
16109 (abmon): Import from CLDR (abbreviated genitive case).
16110
16111 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16112
16113 [BZ #22932]
16114 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16115
16116 2018-03-15 Robert Buj <robert.buj@gmail.com>
16117
16118 [BZ #22848]
16119 * localedata/locales/ca_ES (abmon): Rename to...
16120 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16121 (mon): Rename to...
16122 (alt_mon): This.
16123 (abmon): Import from CLDR (genitive case, month names preceded by
16124 "de" or "d’").
16125 (mon): Likewise.
16126 (abday): Synchronize with CLDR.
16127 (d_t_fmt): Likewise.
16128 (d_fmt): Likewise.
16129 (am_pm): Likewise.
16130
16131 (LC_TIME): Improve indentation.
16132 (LC_TELEPHONE): Likewise.
16133 (LC_NAME): Likewise.
16134 (LC_ADDRESS): Likewise.
16135
16136 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16137
16138 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16139 (lrintf): Remove definitions used only with old GCC.
16140 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16141 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16142 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16143 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16144 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16145 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16146 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16147 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16148 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16149 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16150 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16151 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16152 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16153 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16154 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16155 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16156 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16157 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16158 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16159 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16160 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16161 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16162 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16163 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16164 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16165 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16166 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16167 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16168
16169 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16170
16171 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16172 instruction to unbreak builds with binutils 2.26 and older.
16173
16174 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16175
16176 * sysdeps/aarch64/strncmp.S (count): New macro.
16177 (strncmp): Store misaligned length in SRC1 in COUNT.
16178 (mutual_align): Adjust.
16179 (misaligned8): Load dword at a time when it is safe.
16180
16181 2018-03-12 Zack Weinberg <zackw@panix.com>
16182
16183 [BZ #1190]
16184 [BZ #19476]
16185 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16186 if the _IO_EOF_SEEN bit is already set; update commentary.
16187 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16188 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16189
16190 * support/support_openpty.c, support/tty.h: New files.
16191 * support/Makefile (libsupport-routines): Add support_openpty.
16192
16193 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16194 New test cases.
16195 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16196 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16197
16198 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16199
16200 * po/pt_BR.po: Update translations.
16201
16202 2018-03-12 David Michael <fedora.dm0@gmail.com>
16203
16204 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16205 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16206 get a port to the startup server.
16207
16208 2018-03-11 Zack Weinberg <zackw@panix.com>
16209
16210 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16211 before nldbl-compat.h.
16212
16213 2018-03-10 Zack Weinberg <zackw@panix.com>
16214
16215 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16216 math.h or math_private.h.
16217
16218 * sysdeps/alpha/fpu/s_isnan.c
16219 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16220 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16221 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16222 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16223 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16224 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16225 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16226 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16227 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16230 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16231 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16232 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16233 Include math_private.h.
16234
16235 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16236 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16237 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16238 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16239 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16240 * sysdeps/powerpc/power7/fpu/s_logb.c:
16241 Include math.h and math_private.h.
16242
16243 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16244 uses of $at in .set noat / .set at.
16245
16246 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16247
16248 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16249 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16250 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16251 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16252 Likewise.
16253
16254 2018-03-09 Florian Weimer <fweimer@redhat.com>
16255
16256 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16257 in comment.
16258
16259 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16260
16261 [BZ #22919]
16262 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16263 Add nop before __startcontext, add explaining comments.
16264
16265 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16266
16267 [BZ #22926]
16268 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16269 empty for __SPE__.
16270 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16271 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16272 Do not build hardware transactional code for __SPE__.
16273 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16274 (__lll_trylock_elision): Likewise.
16275 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16276 (__lll_unlock_elision): Likewise.
16277
16278 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16279 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16280 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16281 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16282 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16283 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16284 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16285 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16286 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16287 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16288 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16289 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16290 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16291 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16292 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16293 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16294 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16295 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16296 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16297 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16298 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16299 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16300 (__ASSUME_CLONE_BACKWARDS): Define.
16301 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16302 __clone2 if __NR_clone2 is defined.
16303 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16304 (__ASSUME_CLONE_BACKWARDS): Likewise.
16305 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16306 (__ASSUME_CLONE_BACKWARDS): Likewise.
16307 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16308 (__ASSUME_CLONE2): Likewise.
16309 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16310 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16311 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16312 variants and the define architecture can use.
16313 (__ASSUME_CLONE_DEFAULT): Define as default.
16314 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16315 (__ASSUME_CLONE_BACKWARDS): Likewise.
16316 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16317 (__ASSUME_CLONE_BACKWARDS): Likewise.
16318 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16319 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16320
16321 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16322
16323 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16324
16325 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16326 time.
16327
16328 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16329 (do_test_limit): Likewise.
16330
16331 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16332 for every implementation.
16333 (do_test): Likewise.
16334
16335 * benchtests/bench-strncmp.c: Convert output to json.
16336
16337 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16338
16339 * io/futimens.c: Add missing start-of-file descriptive comment.
16340 * io/utime.c: Likewise.
16341 * misc/futimesat.c: Likewise.
16342 * misc/utimes.c: Likewise.
16343 * sysdeps/mach/hurd/futimesat.c: Likewise.
16344 * sysdeps/mach/hurd/utimes.c: Likewise.
16345 * sysdeps/posix/utime.c: Likewise.
16346 * sysdeps/posix/utimes.c: Likewise.
16347 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16348 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16349 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16350 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16351
16352 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16353
16354 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16355 hurd_futimes.
16356 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16357 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16358 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16359 (__futimens): Move implementation to...
16360 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16361 utime_tvalue_from_tspec): ... new helper functions.
16362 (hurd_futimens): New function.
16363 * sysdeps/mach/hurd/futimesat.c: New file.
16364 * sysdeps/mach/hurd/utimensat.c: New file.
16365
16366 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16367
16368 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16369 UTIME_OMIT): New macros.
16370 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16371 before reverting to converting time spec to time value and calling
16372 __file_utimes.
16373 * sysdeps/mach/hurd/utime-helper.c: New file.
16374 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16375 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16376 reverting to utime_tvalue_from_tval and __file_utimes.
16377 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16378 (__lutimes): Just call hurd_futimens after lookup.
16379 * sysdeps/mach/hurd/utimes.c: Likewise.
16380
16381 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16382
16383 * bits/sigaction.h: Add include guard.
16384 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16385 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16386 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16387 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16388 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16389 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16390 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16391 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16392 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16393
16394 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16395
16396 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16397 -Wmaybe-uninitialized for -Os.
16398 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16399 this disabling.
16400
16401 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16402
16403 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16404 __INO_T_MATCHES_INO64_T is defined.
16405 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16406 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16407 of definition.
16408 * dirent/alphasort64.c: Likewise.
16409 * dirent/scandir.c: Likewise.
16410 * dirent/scandir64-tail.c: Likewise.
16411 * dirent/scandir64.c: Likewise.
16412 * dirent/scandirat.c: Likewise.
16413 * dirent/scandirat64.c: Likewise.
16414 * dirent/versionsort.c: Likewise.
16415 * dirent/versionsort64.c: Likewise.
16416 * include/dirent.h: Likewise.
16417
16418 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16419 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16420 for socketpair endpoint.
16421 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16422 WRITE_BUFFER_SIZE as buffer size for sending socket.
16423 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16424 issue on system where send is implemented with sendto syscall.
16425 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16426 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16427 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16428 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16429
16430 [BZ #21269]
16431 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16432 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16433 sa_restorer for vDSO case.
16434 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16435
16436 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16437
16438 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16439 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16440 * hurd/hurd/ioctl.h: Include <mach/port.h>
16441 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16442 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16443 <mach/mach_types.h> and <mach/message.h>.
16444 (headers): Move mach/param.h to bits/mach/param.h.
16445 * sysdeps/mach/i386/mach/param.h: Move file to ...
16446 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16447 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16448 of <mach/param.h>.
16449 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16450 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16451 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16452 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16453 trivial, for C++ conformity.
16454 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16455 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16456 Process mig output through $(migheadersed).
16457 * hurd/Makefile (migheadersed): Define variable.
16458 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16459 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16460 headers.
16461 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16462 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16463 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16464 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16465 <bits/types/sigset_t.h>.
16466 [!defined __USE_GNU]: Do not #error out.
16467 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16468 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16469 Include <stddef.h> and <bits/types/sigset_t.h>
16470 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16471 instead of sighandler_t.
16472 * stdlib/errno.h (error_t): Move definition to...
16473 * bits/types/error_t.h: ... new header.
16474 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16475 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16476 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16477 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16478 * hurd/hurd.h: Include <bits/types/error_t.h>
16479 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16480 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16481 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16482 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16483 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16484 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16485 * sysdeps/mach/hurd/futimens.c: New file.
16486
16487 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16488
16489 [BZ #22918]
16490 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16491 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16492 * nscd/gai.c (__nss_hosts_database): Readd definition.
16493 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16494 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16495 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16496
16497 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16498
16499 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16500 (ifunc_one): Likewise.
16501
16502 2018-03-01 DJ Delorie <dj@delorie.com>
16503
16504 [BZ #22342]
16505 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16506 key value.
16507
16508 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16509
16510 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16511 `match_pid' parameter.
16512 (td_ta_thr_iter): Update accordingly.
16513
16514 2018-03-01 Florian Weimer <fweimer@redhat.com>
16515
16516 * nptl/Makefile (install-lib-ldscripts): Remove.
16517 (install): Remove rule.
16518 ($(inst_libdir)/libpthread.so): Likewise.
16519
16520 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16521
16522 [BZ #22896]
16523 * localedata/locales/an_ES: update month and day names,
16524 improve d_fmt, improve postal_fmt, add country_post,
16525 add country_isbn
16526
16527 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16528
16529 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16530 Ukrainian instead of Bulgarian.
16531
16532 2018-03-01 Florian Weimer <fweimer@redhat.com>
16533
16534 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16535 reference.
16536
16537 2018-03-01 Florian Weimer <fweimer@redhat.com>
16538
16539 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16540 * nptl/Makefile (routines): Add pthread_atfork.
16541 (static-only-routines): Set to pthread_atfork.
16542 (libpthread-routines): Remove pthread_atfork.
16543 (libpthread-static-only-routines): Remove.
16544 (install): Update comment.
16545 (libpthread.so): Do not install libpthread_nonshared.a.
16546 (tests): Do not link with libpthread_nonshared.a.
16547 (generated): Remove libpthread_nonshared.a.
16548 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16549 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16550 with libpthread_nonshared.a.
16551
16552 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16553
16554 [BZ #22902]
16555 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16556 (libc_feholdexcept_setroundf128): New macro.
16557 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16558
16559 [BZ #15105]
16560 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16561 libc_hidden_def.
16562 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16563 * include/inttypes.h: New file.
16564
16565 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16566
16567 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16568 -Os in two more places.
16569
16570 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16571
16572 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16573 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16574 be sorted correctly at the moment because of a bug.
16575
16576 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16577
16578 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16579 treat ñ as a primary different character, sync the collation
16580 for Spanish with CLDR.
16581 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16582 * localedata/Makefile: Add new test files.
16583 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16584 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16585 collation order.
16586 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16587 * localedata/am_ET.UTF-8.in: New test file.
16588 * localedata/az_AZ.UTF-8.in: Likewise.
16589 * localedata/be_BY.UTF-8.in: Likewise.
16590 * localedata/ber_DZ.UTF-8.in: Likewise.
16591 * localedata/ber_MA.UTF-8.in: Likewise.
16592 * localedata/bg_BG.UTF-8.in: Likewise.
16593 * localedata/br_FR.UTF-8.in: Likewise.
16594 * localedata/cmn_TW.UTF-8.in: Likewise.
16595 * localedata/crh_UA.UTF-8.in: Likewise.
16596 * localedata/csb_PL.UTF-8.in: Likewise.
16597 * localedata/cv_RU.UTF-8.in: Likewise.
16598 * localedata/cy_GB.UTF-8.in: Likewise.
16599 * localedata/dz_BT.UTF-8.in: Likewise.
16600 * localedata/eo.UTF-8.in: Likewise.
16601 * localedata/es_ES.UTF-8.in: Likewise.
16602 * localedata/fa_IR.UTF-8.in: Likewise.
16603 * localedata/fi_FI.UTF-8.in: Likewise.
16604 * localedata/fil_PH.UTF-8.in: Likewise.
16605 * localedata/fur_IT.UTF-8.in: Likewise.
16606 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16607 * localedata/ha_NG.UTF-8.in: Likewise.
16608 * localedata/ig_NG.UTF-8.in: Likewise.
16609 * localedata/ik_CA.UTF-8.in: Likewise.
16610 * localedata/kk_KZ.UTF-8.in: Likewise.
16611 * localedata/ku_TR.UTF-8.in: Likewise.
16612 * localedata/ky_KG.UTF-8.in: Likewise.
16613 * localedata/ln_CD.UTF-8.in: Likewise.
16614 * localedata/mi_NZ.UTF-8.in: Likewise.
16615 * localedata/ml_IN.UTF-8.in: Likewise.
16616 * localedata/mn_MN.UTF-8.in: Likewise.
16617 * localedata/mr_IN.UTF-8.in: Likewise.
16618 * localedata/mt_MT.UTF-8.in: Likewise.
16619 * localedata/nb_NO.UTF-8.in: Likewise.
16620 * localedata/om_KE.UTF-8.in: Likewise.
16621 * localedata/os_RU.UTF-8.in: Likewise.
16622 * localedata/ps_AF.UTF-8.in: Likewise.
16623 * localedata/ro_RO.UTF-8.in: Likewise.
16624 * localedata/ru_RU.UTF-8.in: Likewise.
16625 * localedata/sc_IT.UTF-8.in: Likewise.
16626 * localedata/se_NO.UTF-8.in: Likewise.
16627 * localedata/sq_AL.UTF-8.in: Likewise.
16628 * localedata/sv_SE.UTF-8.in: Likewise.
16629 * localedata/szl_PL.UTF-8.in: Likewise.
16630 * localedata/tg_TJ.UTF-8.in: Likewise.
16631 * localedata/tk_TM.UTF-8.in: Likewise.
16632 * localedata/tt_RU.UTF-8.in: Likewise.
16633 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16634 * localedata/ug_CN.UTF-8.in: Likewise.
16635 * localedata/uz_UZ.UTF-8.in: Likewise.
16636 * localedata/vi_VN.UTF-8.in: Likewise.
16637 * localedata/yi_US.UTF-8.in: Likewise.
16638 * localedata/yo_NG.UTF-8.in: Likewise.
16639 * localedata/zh_CN.UTF-8.in: Likewise.
16640 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16641 file and fix bugs in the collation.
16642 * localedata/locales/az_AZ: Likewise.
16643 * localedata/locales/be_BY: Likewise.
16644 * localedata/locales/ber_DZ: Likewise.
16645 * localedata/locales/ber_MA: Likewise.
16646 * localedata/locales/bg_BG: Likewise.
16647 * localedata/locales/br_FR: Likewise.
16648 * localedata/locales/br_FR@euro: Likewise.
16649 * localedata/locales/ca_ES: Likewise.
16650 * localedata/locales/cns11643_stroke: Likewise.
16651 * localedata/locales/crh_UA: Likewise.
16652 * localedata/locales/cs_CZ: Likewise.
16653 * localedata/locales/csb_PL: Likewise.
16654 * localedata/locales/cv_RU: Likewise.
16655 * localedata/locales/cy_GB: Likewise.
16656 * localedata/locales/da_DK: Likewise.
16657 * localedata/locales/dz_BT: Likewise.
16658 * localedata/locales/en_CA: Likewise.
16659 * localedata/locales/eo: Likewise.
16660 * localedata/locales/es_CU: Likewise.
16661 * localedata/locales/es_EC: Likewise.
16662 * localedata/locales/es_ES: Likewise.
16663 * localedata/locales/es_US: Likewise.
16664 * localedata/locales/et_EE: Likewise.
16665 * localedata/locales/fa_IR: Likewise.
16666 * localedata/locales/fi_FI: Likewise.
16667 * localedata/locales/fil_PH: Likewise.
16668 * localedata/locales/fur_IT: Likewise.
16669 * localedata/locales/gez_ER@abegede: Likewise.
16670 * localedata/locales/ha_NG: Likewise.
16671 * localedata/locales/hr_HR: Likewise.
16672 * localedata/locales/hsb_DE: Likewise.
16673 * localedata/locales/hu_HU: Likewise.
16674 * localedata/locales/ig_NG: Likewise.
16675 * localedata/locales/ik_CA: Likewise.
16676 * localedata/locales/is_IS: Likewise.
16677 * localedata/locales/iso14651_t1_pinyin: Likewise.
16678 * localedata/locales/kk_KZ: Likewise.
16679 * localedata/locales/ku_TR: Likewise.
16680 * localedata/locales/ky_KG: Likewise.
16681 * localedata/locales/ln_CD: Likewise.
16682 * localedata/locales/lt_LT: Likewise.
16683 * localedata/locales/lv_LV: Likewise.
16684 * localedata/locales/mi_NZ: Likewise.
16685 * localedata/locales/ml_IN: Likewise.
16686 * localedata/locales/mn_MN: Likewise.
16687 * localedata/locales/mr_IN: Likewise.
16688 * localedata/locales/mt_MT: Likewise.
16689 * localedata/locales/nb_NO: Likewise.
16690 * localedata/locales/om_KE: Likewise.
16691 * localedata/locales/os_RU: Likewise.
16692 * localedata/locales/pl_PL: Likewise.
16693 * localedata/locales/ps_AF: Likewise.
16694 * localedata/locales/ro_RO: Likewise.
16695 * localedata/locales/ru_RU: Likewise.
16696 * localedata/locales/ru_UA: Likewise.
16697 * localedata/locales/sc_IT: Likewise.
16698 * localedata/locales/se_NO: Likewise.
16699 * localedata/locales/si_LK: Likewise.
16700 * localedata/locales/sq_AL: Likewise.
16701 * localedata/locales/sv_FI: Likewise.
16702 * localedata/locales/sv_FI@euro: Likewise.
16703 * localedata/locales/sv_SE: Likewise.
16704 * localedata/locales/szl_PL: Likewise.
16705 * localedata/locales/tg_TJ: Likewise.
16706 * localedata/locales/ti_ER: Likewise.
16707 * localedata/locales/tk_TM: Likewise.
16708 * localedata/locales/tl_PH: Likewise.
16709 * localedata/locales/tr_TR: Likewise.
16710 * localedata/locales/tt_RU: Likewise.
16711 * localedata/locales/tt_RU@iqtelif: Likewise.
16712 * localedata/locales/ug_CN: Likewise.
16713 * localedata/locales/uk_UA: Likewise.
16714 * localedata/locales/uz_UZ: Likewise.
16715 * localedata/locales/uz_UZ@cyrillic: Likewise.
16716 * localedata/locales/vi_VN: Likewise.
16717 * localedata/locales/yi_US: Likewise.
16718 * localedata/locales/yo_NG: Likewise.
16719
16720 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16721
16722 * gen-locales.mk: Make test files which contain @ modifiers in their
16723 name work.
16724 * localedata/gen-locale.sh: Likewise.
16725
16726 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16727
16728 * posix/tst-fnmatch.input: Fix results for range expressions
16729 for non C locales.
16730 * posix/tst-regexloc.c: Do not use a range expression for
16731 de_DE.ISO-8859-1 locale.
16732
16733 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16734
16735 * posix/bug-regex5.c: Fix test case because with the new
16736 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16737 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16738 file.
16739
16740 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16741
16742 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16743 downloaded from ISO, the collation order of @-. and space has changed.
16744 Therefore, this test file needed to be adapted.
16745 * localedata/fr_CA.UTF-8.in: Likewise.
16746 * localedata/fr_FR.UTF-8.in: Likewise.
16747 * localedata/uk_UA.UTF-8.in: Likewise.
16748
16749 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16750
16751 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16752 order of ȥ in the new iso14651_t1_common file.
16753 * localedata/pl_PL.UTF-8.in: Likewise.
16754
16755 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16756
16757 * localedata/locales/iso14651_t1_common: Add sections for various
16758 scripts to the iso14651_t1_common file.
16759
16760 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16761
16762 * localedata/locales/iso14651_t1_common: Use the code point of a
16763 character in the fourth collation level instead of IGNORE for all
16764 entries which have IGNORE on all 4 levels.
16765
16766 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16767
16768 * localedata/locales/iso14651_t1_common: Add some convenient collation
16769 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16770 rules similar to those in CLDR.
16771
16772 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16773
16774 * localedata/locales/iso14651_t1_common: The new version of this
16775 file downloaded from ISO contained several syntax errors which
16776 are fixed by this patch.
16777
16778 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16779
16780 * localedata/locales/iso14651_t1_common: replace all <U.....>
16781 with <U000.....> because glibc understands only 4 digit or 8 digit
16782
16783 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16784
16785 * localedata/locales/iso14651_t1_common: Necessary changes
16786 to make the file downloaded from ISO usable by glibc.
16787
16788 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16789
16790 [BZ #14095]
16791 * localedata/locales/iso14651_t1_common: Update file to
16792 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16793
16794 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16795
16796 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16797 of <nptl/pthreadP.h>
16798 (thread_attr_compare): Move function to...
16799 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16800 * sysdeps/nptl/timer_routines.h: ... new header.
16801 * sysdeps/mach/hurd/gai_misc.h: New file.
16802
16803 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16804
16805 * string/strcoll_l.c: Include <libc-diag.h>.
16806 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16807 declarations of seq1 and seq2.
16808
16809 [BZ #15105]
16810 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16811 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16812
16813 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16814
16815 [BZ #22433]
16816 [BZ #22807]
16817 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16818 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16819 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16820 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16821 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16822 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16823
16824 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16825
16826 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16827 macros used in __ptrace_request.
16828
16829 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16830
16831 [BZ #22792]
16832 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16833 to $(CC).
16834 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16835 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16836 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16837 <tcb-offsets.h>.
16838
16839 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16840
16841 [BZ #15105]
16842 * ctype/ctype.c (tolower): Use libc_hidden_def.
16843 (toupper): Likewise.
16844 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16845 [!_ISOMAC] (toupper): Likewise.
16846
16847 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16848
16849 * localedata/Makefile: Remove --quiet argument when
16850 installing locales
16851
16852 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16853
16854 [BZ #17438]
16855 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16856 in d_fmt.
16857 * localedata/locales/pt_PT (LC_TIME): likewise
16858
16859 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16860
16861 [BZ #22646]
16862 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16863 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16864 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16865
16866 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16867
16868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16869
16870 * nptl/Makefile (routines): Remove unregister-atfork.
16871 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16872 (fork_handler_alloc): Remove function.
16873 (fork_handlers, fork_handler_init): New variables.
16874 (__fork_lock): Rename to atfork_lock.
16875 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16876 to use a dynamic array to add/remove atfork handlers.
16877 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16878 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16879 Remove declaration.
16880 (fork_handler): Remove next, refcntr, and need_signal member.
16881 (__run_fork_handler_type): New enum.
16882 (__run_fork_handlers): New prototype.
16883 * nptl/register-atfork.c: Remove file.
16884 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16885
16886 * sysdeps/nptl/nptl-signals.h: Move to ...
16887 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16888 comments.
16889 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16890 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16891 unnecessary check for SIGTIMER.
16892 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16893 remove unnecessary removal of SIGTIMER.
16894 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16895 include-signals.h rename.
16896 * nptl/pthreadP.h: Likewise.
16897 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16898 __is_internal_signal instead of __nptl_is_internal_signal.
16899
16900 2018-02-22 Andrew Waterman <andrew@sifive.com>
16901
16902 [BZ # 22884]
16903 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16904 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16905 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16906 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16907
16908 2018-02-22 DJ Delorie <dj@delorie.com>
16909
16910 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16911
16912 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16913
16914 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16915 do_misaligned, not misaligned8.
16916
16917 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16918
16919 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16920 Add memcpy_thunderx2.
16921 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16922 Increment to 4.
16923 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16924 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16925 and IS_THUNDERX2PA checks.
16926 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16927 Use macro to set name appropriately.
16928 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16929 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16930 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16931 New macro.
16932 (IS_THUNDERX2): New macro.
16933
16934 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16935
16936 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16937
16938 2018-02-21 Zack Weinberg <zackw@panix.com>
16939
16940 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16941 Define here, unconditionally.
16942 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16943 * libio/libioP.h: Remove #if 0 blocks.
16944 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16945 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16946 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16947
16948 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16949 Assume weak_alias is always defined.
16950
16951 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16952 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16953 Remove #if 0 and #ifdef TODO blocks.
16954 Assume text_set_element is always defined.
16955
16956 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16957 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16958 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16959
16960 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16961 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16962 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16963 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16964 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16965 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16966 Reformat bit flags for _flags field to make occupancy clearer.
16967 Update commentary.
16968 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16969 Keep definitions consistent with those in libio/libio.h.
16970
16971 * libio/libio.h (_IO_file_flags): Remove macro.
16972 All uses changed to _flags.
16973
16974 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16975 (__HAVE_COLUMN, _IO_BE): Don't define.
16976 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16977 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16978 * libio/libioP.h (EOF): Don't define.
16979 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16980 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16981 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16982 testing _IO_UNIFIED_JUMPTABLES.
16983
16984 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16985 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16986 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16987 (_IO_size_t): Delete; all uses changed to size_t.
16988 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16989 (_IO_off_t): Delete; all uses changed to off_t.
16990 (_IO_off64_t): Delete; all uses changed to off64_t.
16991 (_IO_pid_t): Delete; all uses changed to pid_t.
16992 (_IO_uid_t): Delete; all uses changed to uid_t.
16993 (_IO_wint_t): Delete; all uses changed to wint_t.
16994 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16995 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16996 (_IO_cookie_io_functions_t): Delete; all uses changed to
16997 cookie_io_functions_t.
16998 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16999 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17000 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17001 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17002
17003 * libio/iofopncook.c: Remove unnecessary forward declarations.
17004 * libio/iolibio.h: Correct outdated commentary.
17005 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17006 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17007 Remove unnecessary casts.
17008 * stdio-common/getline.c: Use _IO_getdelim directly.
17009 Don't redefine ssize_t.
17010 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17011 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17012 Remove outdated comments.
17013 * stdio-common/vfscanf.c: Don't redefine va_list.
17014
17015 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17016 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17017 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17018 which are always true, and __cplusplus, which is always false.
17019
17020 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17021
17022 [BZ #15105]
17023 [BZ #19463]
17024 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17025 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17026 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17027 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17028 libc_hidden_proto.
17029 [!_ISOMAC] (putc_unlocked): Likewise.
17030 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17031 define inline if [__USE_EXTERN_INLINES].
17032 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17033 putc_unlocked.
17034
17035 [BZ #15105]
17036 [BZ #19463]
17037 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17038 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17039 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17040 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17041 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17042 getc_unlocked.
17043 * time/tzfile.c (__tzfile_read): Likewise.
17044
17045 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17046
17047 [BZ #22517]
17048 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17049
17050 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17051
17052 * io/fcntl.h: Fix a typo in a comment.
17053
17054 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17055
17056 [BZ #22862]
17057 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17058 define _DEFAULT_SOURCE.
17059 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17060
17061 2018-02-21 Florian Weimer <fweimer@redhat.com>
17062
17063 [BZ #20890]
17064 * elf/cache.c (save_cache): Call fsync on temporary file before
17065 renaming it.
17066 (save_aux_cache): Call fdatasync on temporary file before renaming
17067 it.
17068
17069 2018-02-21 Florian Weimer <fweimer@redhat.com>
17070
17071 [BZ #22787]
17072 * include/caller.h: Remove file.
17073 * elf/dl-caller.c: Likewise.
17074 * elf/Makefile (dl-routines): Remove dl-caller.
17075 (shared-only-routines): Do not add dl-caller.
17076 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17077 __check_caller.
17078 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17079 member.
17080 (dl_open_worker): Do not call __check_caller.
17081 (_dl_open): Do not set caller_dl_open member.
17082 * elf/rtld.c (_rtld_global_ro): Do not initialize
17083 _dl_check_caller member.
17084 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17085 _dl_check_caller member.
17086 (_dl_check_caller): Remove declaration.
17087 * sysdeps/unix/sysv/linux/dl-execstack.c
17088 (_dl_make_stack_executable): Do not call __check_caller.
17089
17090 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17091
17092 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17093 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17094
17095 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17096
17097 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17098 description.
17099
17100 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17101
17102 [BZ #16335]
17103 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17104 of 199606L, 200112L, and 200809L.
17105 (_XOPEN_SOURCE): Document special values of 600 and 700.
17106 (_ISOC11_SOURCE): Document macro.
17107 (_ATFILE_SOURCE): Likewise.
17108 (_FORTIFY_SOURCE): Likewise.
17109
17110 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17111
17112 [BZ #15105]
17113 [BZ #19463]
17114 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17115 and define as weak alias of __ferror_unlocked. Use
17116 libc_hidden_weak.
17117 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17118 libc_hidden_proto.
17119 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17120 function if [__USE_EXTERN_INLINES].
17121 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17122 ferror_unlocked.
17123
17124 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17125
17126 [BZ #6889]
17127 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17128
17129 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17130
17131 [BZ #22818]
17132 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17133 the GLIBC_2.1 version.
17134
17135 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17136
17137 [BZ #21508]
17138 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17139 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17140 intl/tst-gettext-de.po from po/de.po by removing the
17141 POT-Creation-Date line.
17142 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17143 ../po/de.po.
17144 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17145 ../po/de.po.
17146
17147 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17148
17149 * mach/Makefile (headers): Add mach/param.h.
17150 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17151 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17152 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17153 (__ptsname_r): Move implementation to...
17154 (__ptsname_internal): ... new function. Add filling the STP
17155 structure.
17156
17157 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17158
17159 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17160 idouble to 1 ULP.
17161
17162 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17163
17164 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17165 syntax.
17166
17167 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17168
17169 * nptl/Makefile (tst-mutex8-ENV): Delete.
17170 * nptl/tst-mutex8.c (check_type):
17171 Add runtime check if mutex will be elided.
17172
17173 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17174
17175 [BZ #20980]
17176 [BZ #21234]
17177 * manual/install.texi (Configuring and compiling): Describe
17178 passing CC and CFLAGS on configure command line, not as
17179 environment variables. Use @code markup on those variables.
17180 Specify what options go in CC and what go in CFLAGS. Note the
17181 requirement to compile with optimization.
17182 * INSTALL: Regenerated.
17183
17184 [BZ #18124]
17185 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17186 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17187 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17188 __sigprocmask instead of sigprocmask.
17189 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17190 Likewise.
17191 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17192 __sigsetjmp and sigprocmask.
17193
17194 [BZ #15105]
17195 * include/argz.h (argz_next): Use libc_hidden_proto.
17196 (__argz_next): Likewise.
17197 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17198 (argz_next): Use libc_hidden_weak.
17199
17200 [BZ #15105]
17201 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17202 libc_hidden_proto.
17203 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17204 libc_hidden_def.
17205
17206 [BZ #15105]
17207 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17208 libc_hidden_proto.
17209 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17210
17211 [BZ #15105]
17212 [BZ #19463]
17213 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17214 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17215 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17216 (__feof_unlocked): New declaration, and inline function if
17217 [__USE_EXTERN_INLINES].
17218 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17219 instead of feof_unlocked.
17220 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17221 * nss/nsswitch.c (nss_parse_file): Likewise.
17222 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17223 Likewise.
17224 * time/getdate.c (__getdate_r): Likewise.
17225 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17226 Define as macro to call __feof_unlocked.
17227
17228 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17229
17230 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17231
17232 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17233
17234 * math/Makefile: Remove mpexp.c and mplog.c
17235 * sysdeps/i386/fpu/mpexp.c: Delete file.
17236 * sysdeps/i386/fpu/mplog.c: Likewise.
17237 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17238 * sysdeps/ia64/fpu/mplog.c: Likewise.
17239 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17240 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17241 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17242 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17243 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17244 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17245 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17246 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17247 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17248 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17249 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17250 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17251 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17252 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17253 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17254 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17255
17256 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17257
17258 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17259
17260 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17261
17262 * sysdeps/sh/libm-test-ulps: Update.
17263
17264 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17265
17266 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17267 idouble to 1 ULP.
17268
17269 2018-02-12 Zack Weinberg <zackw@panix.com>
17270
17271 [BZ #19239]
17272 * posix/sys/types.h: Don't include sys/sysmacros.h.
17273 * misc/sys/sysmacros.h: Remove the conditional deprecation
17274 warnings for the macros defined by this header.
17275
17276 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17277
17278 * manual/probes.texi: Remove slowexp probes.
17279 * math/Makefile: Remove slowexp.
17280 * sysdeps/generic/math_private.h (__slowexp): Remove.
17281 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17282 document error bounds.
17283 * sysdeps/i386/fpu/slowexp.c: Remove.
17284 * sysdeps/ia64/fpu/slowexp.c: Remove.
17285 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17286 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17287 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17288 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17289 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17290 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17291 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17292 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17293 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17294 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17295 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17296
17297 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17298
17299 [BZ #13932]
17300 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17301 * benchtests/pow-inputs: Update comment for slow path cases.
17302 * manual/probes.texi (slowpow_p10): Delete removed probe.
17303 (slowpow_p10): Likewise.
17304 * math/Makefile: Remove halfulp.c and slowpow.c.
17305 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17306 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17307 (__halfulp): Remove.
17308 (__slowpow): Remove.
17309 * sysdeps/i386/fpu/halfulp.c: Delete file.
17310 * sysdeps/i386/fpu/slowpow.c: Likewise.
17311 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17312 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17313 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17314 improve comments and add error analysis.
17315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17316 (power1): Remove function:
17317 (log1): Remove error argument, add error analysis.
17318 (my_log2): Remove function.
17319 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17320 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17321 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17322 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17323 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17324 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17325 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17326 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17327 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17328 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17329 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17330 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17331 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17332 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17333
17334 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17335
17336 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17337 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17338
17339 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17340
17341 [BZ #22433]
17342 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17343 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17344 and PTRACE_SETHBPREGS.
17345
17346 2018-02-10 Zack Weinberg <zackw@panix.com>
17347
17348 [BZ #22830]
17349 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17350 correctly.
17351 * malloc/tst-malloc-stats-cancellation.c: New test case.
17352 * malloc/Makefile: Add new test case.
17353
17354 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17355
17356 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17357
17358 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17359
17360 * math/Makefile (libm-narrow-fns): Add add.
17361 (libm-test-funcs-narrow): Likewise.
17362 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17363 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17364 * math/gen-auto-libm-tests.c (test_functions): Add add.
17365 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17366 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17367 (NARROW_ADD_TRIVIAL): Likewise.
17368 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17369 macro.
17370 (__daddl): Likewise.
17371 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17372 dadd.
17373 (CFLAGS-nldbl-dadd.c): New variable.
17374 (CFLAGS-nldbl-fadd.c): Likewise.
17375 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17376 __nldbl_daddl.
17377 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17378 prototype.
17379 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17380 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17381 * math/auto-libm-test-in: Add tests of add.
17382 * math/auto-libm-test-out-narrow-add: New generated file.
17383 * math/libm-test-narrow-add.inc: New file.
17384 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17387 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17388 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17389 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17390 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17392 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17396 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17397 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17398 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17399 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17400 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17401 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17403 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17405 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17406 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17408 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17409 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17410 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17411 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17412 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17413 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17414 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17415 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17420 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17421 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17422 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17423 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17424 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17425 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17426 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17427 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17428 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17429 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17430
17431 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17432 (f128-pairs): New variable.
17433 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17434 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17435 to CFLAGS.
17436 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17437 Also make tests add $(f128-loader-link) to gnulib-tests.
17438
17439 2018-02-09 DJ Delorie <dj@redhat.com>
17440
17441 [BZ #22827]
17442 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17443 64-bit ELF type for 64-bit ELF objects.
17444
17445 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17446
17447 * math/libm-test-driver.c (snan_tests_arg): New variable.
17448 * math/libm-test-support.h (snan_tests_arg): New declaration.
17449 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17450
17451 * math/Makefile (test-type-pairs): New variable.
17452 (test-type-pairs-f64xf128-yes): Likewise.
17453 (tests): Add test-narrow-macros.
17454 (libm-test-funcs-narrow): New variable.
17455 (libm-test-c-narrow): Likewise.
17456 (generated): Add $(libm-test-c-narrow).
17457 (libm-tests-base-narrow): New variable.
17458 (libm-tests-narrow): Likewise.
17459 (libm-tests): Add $(libm-tests-narrow).
17460 (libm-tests-for-type): Handle $(libm-tests-narrow).
17461 (libm-test-c-narrow-obj): New variable.
17462 ($(libm-test-c-narrow-obj)): New rule.
17463 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17464 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17465 $(o-iterator) to set dependencies and CFLAGS.
17466 * math/gen-auto-libm-tests.c: Document use for narrowing
17467 functions.
17468 (output_for_one_input_case): Take argument NARROW.
17469 (generate_output): Likewise. Update call to
17470 output_for_one_input_case.
17471 (main): Take --narrow option. Update call to generate_output.
17472 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17473 (apply_lit): Update call to _apply_lit.
17474 (apply_arglit): New function.
17475 (parse_args): Handle "a" arguments.
17476 (parse_auto_input): Handle format names using ":".
17477 * math/README.libm-test: Document "a" parameter type.
17478 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17479 (ARG_TYPE_TRUE_MIN): Likewise.
17480 (ARG_TYPE_MAX): Likwise.
17481 (ARG_MIN_EXP): Likewise.
17482 (ARG_MAX_EXP): Likewise.
17483 (ARG_MANT_DIG): Likewise.
17484 (TEST_COND_arg_ibm128): Likewise.
17485 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17486 (TEST_COND_arg_fmt): New macro.
17487 (init_max_error): Update prototype.
17488 * math/libm-test-support.c (test_ibm128): New variable.
17489 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17490 instead of using [TEST_COND_ibm128] conditional.
17491 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17492 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17493 [TEST_NARROW] (TEST_MSG): New definition.
17494 (arg_plus_zero): New macro.
17495 (arg_minus_zero): Likewise.
17496 (arg_plus_infty): Likewise.
17497 (arg_minus_infty): Likewise.
17498 (arg_qnan_value_pl): Likewise.
17499 (arg_qnan_value): Likewise.
17500 (arg_snan_value_pl): Likewise.
17501 (arg_snan_value): Likewise.
17502 (arg_max_value): Likewise.
17503 (arg_min_value): Likewise.
17504 (arg_min_subnorm_value): Likewise.
17505 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17506 (RUN_TEST_LOOP_aa_f): New macro.
17507 (TEST_SUFF): New macro.
17508 (TEST_SUFF_STR): Likewise.
17509 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17510 (TEST_COND_any_ibm128): New macro.
17511 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17512 this_func. Update call to init_max_error.
17513 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17514 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17515 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17516 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17517 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17518 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17519 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17520 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17521 * math/test-math-vector.h (TEST_NARROW): Likewise.
17522 * math/test-arg-double.h: New file.
17523 * math/test-arg-float128.h: Likewise.
17524 * math/test-arg-float32x.h: Likewise.
17525 * math/test-arg-float64.h: Likewise.
17526 * math/test-arg-float64x.h: Likewise.
17527 * math/test-arg-ldouble.h: Likewise.
17528 * math/test-math-narrow.h: Likewise.
17529 * math/test-narrow-macros.c: Likewise.
17530 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17531 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17532 test-narrow-macros-ldbl-64.
17533 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17534
17535 * math/bits/mathcalls-narrow.h: New file.
17536 * include/bits/mathcalls-narrow.h: Likewise.
17537 * math/math-narrow.h: Likewise.
17538 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17539 (__MATHCALL_NARROW_ARGS_2): Likewise.
17540 (__MATHCALL_NARROW_ARGS_3): Likewise.
17541 (__MATHCALL_NARROW_NORMAL): Likewise.
17542 (__MATHCALL_NARROW_REDIR): Likewise.
17543 (__MATHCALL_NARROW): Likewise.
17544 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17545 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17546 defined.
17547 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17548 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17549 (libm-narrow-fns): New variable.
17550 (libm-narrow-types-basic): Likewise.
17551 (libm-narrow-types-ldouble-yes): Likewise.
17552 (libm-narrow-types-float128-yes): Likewise.
17553 (libm-narrow-types-float128-alias-yes): Likewise.
17554 (libm-narrow-types): Likewise.
17555 (libm-routines): Add narrowing functions.
17556 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17557 (libc_feholdexcept_setroundf128): New macro.
17558 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17559 * sysdeps/ieee754/float128/float128_private.h: Include
17560 <math/math-narrow.h>.
17561 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17562 Undefine and redefine.
17563 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17564 (libm_alias_float_ldouble): Undefine and redefine.
17565 (libm_alias_double_ldouble): Likewise.
17566
17567 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17568
17569 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17570
17571 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17572 FPCR/FPSR.
17573
17574 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17575
17576 * manual/creature.texi: Convert references to gcc.info to gcc.
17577 * manual/stdio.texi: Likewise.
17578 * manual/string.texi: Likewise.
17579
17580 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17581
17582 [BZ #17979]
17583 * posix/bits/types.h (__int_least8_t): New typedef.
17584 (__uint_least8_t): Likewise.
17585 (__int_least16_t): Likewise.
17586 (__uint_least16_t): Likewise.
17587 (__int_least32_t): Likewise.
17588 (__uint_least32_t): Likewise.
17589 (__int_least64_t): Likewise.
17590 (__uint_least64_t): Likewise.
17591 * sysdeps/generic/stdint.h (int_least8_t): Define using
17592 __int_least8_t.
17593 (int_least16_t): Define using __int_least16_t.
17594 (int_least32_t): Define using __int_least32_t.
17595 (int_least64_t): Define using __int_least64_t.
17596 (uint_least8_t): Define using __uint_least8_t.
17597 (uint_least16_t): Define using __uint_least16_t.
17598 (uint_least32_t): Define using __uint_least32_t.
17599 (uint_least64_t): Define using __uint_least64_t.
17600 * wcsmbs/uchar.h: Include <bits/types.h>.
17601 (char16_t): Define using __uint_least16_t conditional only on
17602 [!__USE_ISOCXX11].
17603 (char32_t): Define using __uint_least32_t conditional only on
17604 [!__USE_ISOCXX11].
17605 * wcsmbs/test-char-types.c: New file.
17606 * wcsmbs/Makefile (tests): Add test-char-types.
17607
17608 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17609 version to 4.0.1.
17610
17611 2018-02-07 Zack Weinberg <zackw@panix.com>
17612
17613 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17614 Delete all contents except for definitions of _G_HAVE_MMAP and
17615 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17616 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17617 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17618 change as above.
17619
17620 * libio/libio.h: Don't include bits/_G_config.h here.
17621 Include stddef.h with __need_wchar_t defined. Include
17622 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17623 Define _IO_iconv_t here, directly.
17624 Don't define _IO_HAVE_ST_BLKSIZE.
17625 * libio/libioP.h: Include _G_config.h here. Move include of
17626 shlib-compat.h up with rest of includes. Simplify conditionals
17627 controlling definition of _IO_JUMPS_OFFSET.
17628
17629 * csu/init.c: Remove always-true #if around entire file.
17630 Don't include stdio.h. Set _IO_stdin_used to hardwired
17631 constant 0x20001, and update commentary.
17632 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17633 Replace all uses of _G_va_list with __gnuc_va_list.
17634 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17635 instead of #if _IO_HAVE_ST_BLKSIZE.
17636 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17637 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17638 not #ifdef.
17639
17640 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17641 multiple-include guard to match.
17642 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17643 into this file.
17644 Remove preprocessor conditionals that are always true and/or
17645 redundant to other preprocessor conditionals in the same nest.
17646 Include shlib-compat.h unconditionally.
17647 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17648 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17649 defined after including stdio.h.
17650 Use __BEGIN_DECLS/__END_DECLS.
17651
17652 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17653 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17654 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17655
17656 2018-02-07 Zack Weinberg <zackw@panix.com>
17657
17658 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17659 New single-type headers split from _G_config.h.
17660 * libio/bits/types/cookie_io_functions_t.h
17661 * libio/bits/types/struct_FILE.h
17662 New single-type headers split from libio.h.
17663
17664 * libio/Makefile: Install the above new headers. Don't install
17665 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17666 bits/libio-ldbl.h.
17667 * libio/_G_config.h, libio/libio.h: Delete file.
17668
17669 * libio/bits/libio.h: Remove improper-inclusion guard.
17670 Include stdio.h and don't repeat anything that it does.
17671 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17672 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17673 __io_read_fn as cookie_read_function_t,
17674 __io_write_fn as cookie_write_function_t,
17675 __io_seek_fn as cookie_seek_function_t,
17676 __io_close_fn as cookie_close_function_t,
17677 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17678 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17679 here, in the "compatibility defines" section. Remove an #if 0
17680 block. Use the "body" macros from bits/types/struct_FILE.h to
17681 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17682 and _IO_ferror_unlocked.
17683 Move prototypes of __uflow and __overflow...
17684
17685 * libio/stdio.h: ...here. Don't include bits/libio.h.
17686 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17687 directly from stdarg.h. Include bits/types/__fpos_t.h,
17688 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17689 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17690 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17691 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17692 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17693 __ssize_t, not _IO_ssize_t. Unconditionally define
17694 BUFSIZ as 8192 and EOF as (-1).
17695
17696 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17697 macros from bits/types/struct_FILE.h instead of _IO_* macros
17698 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17699 instead of _IO_ssize_t.
17700 * libio/bits/stdio2.h: Similarly.
17701
17702 * libio/iolibio.h: Add multiple-include guard.
17703 Include bits/libio.h after stdio.h.
17704 * libio/libioP.h: Add multiple-include guard.
17705 Include stdio.h and bits/libio.h before iolibio.h.
17706
17707 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17708 * include/bits/types/cookie_io_functions_t.h
17709 * include/bits/types/struct_FILE.h: New wrappers.
17710
17711 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17712 Get definitions of _G_fpos_t and _G_fpos64_t from
17713 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17714 respectively. Remove improper-inclusion guards.
17715
17716 * conform/data/stdio.h-data: Update expectations of va_list.
17717 * scripts/check-installed-headers.sh: Remove special case for
17718 libio.h and _G_config.h.
17719
17720 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17721
17722 [BZ #15105]
17723 [BZ #19463]
17724 * include/sys/sysmacros.h [!_ISOMAC]
17725 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17726 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17727 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17728 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17729 libc_hidden_proto.
17730 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17731 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17732 Likewise.
17733 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17734 Undefine and redefine to add use __gnu_dev_ prefix.
17735 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17736 Likewise.
17737 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17738 and define as hidden inline function.
17739 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17740 Likewise.
17741 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17742 Likewise.
17743 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17744 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17745 (gnu_dev_minor): Likewise.
17746 (gnu_dev_makedev): Likewise.
17747 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17748 makedev.
17749 * posix/wordexp.c (exec_comm_child): Likewise.
17750 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17751 instead of minor and __gnu_dev_major instead of major.
17752 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17753 __gnu_dev_major instead of major.
17754 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17755 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17756 instead of gnu_dev_minor.
17757 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17758 (SLAVE_P): Likewise.
17759 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17760 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17761 instead of major.
17762
17763 [BZ #21313]
17764 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17765 in another place.
17766 * locale/weightwc.h (findidx): Likewise.
17767
17768 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17769
17770 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17771 (slowlog_inexact): Likewise
17772 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17773 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17774
17775 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17776
17777 [BZ #22797]
17778 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17779 missing second underscore to parameter name.
17780
17781 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17782
17783 [BZ #14508]
17784 [BZ #15512]
17785 [BZ #17082]
17786 [BZ #20530]
17787 * bits/byteswap.h: Update file comment. Do not include
17788 <bits/byteswap-16.h>.
17789 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17790 constant.
17791 (__bswap_16): Define as inline function.
17792 (__bswap_constant_32): Reformat definition.
17793 (__bswap_32): Always define as inline function, not macro, using
17794 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17795 otherwise __bswap_constant_32.
17796 (__bswap_constant_64): Reformat definition. Do not use
17797 __extension__ here.
17798 (__bswap_64): Always define as inline function, not macro. Use
17799 __extension__ on function definition. Use __builtin_bswap64 if
17800 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17801 * string/test-endian-file-scope.c: New file.
17802 * string/test-endian-sign-conversion.c: Likewise.
17803 * string/Makefile (headers): Remove bits/byteswap-16.h.
17804 (tests): Add test-endian-file-scope and
17805 test-endian-sign-conversion.
17806 (CFLAGS-test-endian-sign-conversion.c): New variable.
17807 * bits/byteswap-16.h: Remove file.
17808 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17809 * sysdeps/ia64/bits/byteswap.h: Likewise.
17810 * sysdeps/m68k/bits/byteswap.h: Likewise.
17811 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17812 * sysdeps/s390/bits/byteswap.h: Likewise.
17813 * sysdeps/tile/bits/byteswap.h: Likewise.
17814 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17815 * sysdeps/x86/bits/byteswap.h: Likewise.
17816
17817 [BZ #17721]
17818 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17819 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17820 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17821 199901L] (__restrict): Define to restrict.
17822
17823 [BZ #19667]
17824 * string/testcopy.c: Include <support/support.h>. Do not include
17825 <malloc.h>. Use <support/test-driver.c>.
17826 (main): Rename to do_test. Make static. Use xmalloc instead of
17827 malloc.
17828
17829 [BZ #13575]
17830 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17831 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17832 (SSIZE_MAX): Define to INT_MAX.
17833 * posix/test-ssize-max.c: New file.
17834 * posix/Makefile (tests): Add test-ssize-max.
17835
17836 [BZ #19668]
17837 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17838 <support/support.h>. Do not include <malloc.h>.
17839 (query_auxv): Use xmalloc instead of malloc.
17840
17841 [BZ #14553]
17842 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17843 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17844 instead of loff_t.
17845
17846 2018-02-06 Florian Weimer <fweimer@redhat.com>
17847
17848 [BZ #18023]
17849 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17850 Use scratch_buffer instead of extend_alloca.
17851
17852 2018-02-06 Zack Weinberg <zackw@panix.com>
17853
17854 * libio/stdio.h: Don't define getc or putc as macros.
17855 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17856 not _IO_getc and _IO_putc.
17857
17858 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17859 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17860
17861 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17862
17863 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17864 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17865
17866 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17867
17868 [BZ #14890]
17869 * elf/elf.h (NT_PRFPREG): New macro.
17870 (NT_S390_VXRS_LOW): Likewise.
17871 (NT_S390_VXRS_HIGH): Likewise.
17872 (NT_S390_GS_CB): Likewise.
17873 (NT_S390_GS_BC): Likewise.
17874 (NT_S390_RI_CB): Likewise.
17875
17876 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17877 (MAP_SYNC): New macro.
17878 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17879 Likewise.
17880 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17881 (MAP_SYNC): Likewise.
17882 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17883 (MAP_SYNC): Likewise.
17884 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17885 (MAP_SYNC): Likewise.
17886 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17887 (MAP_SYNC): Likewise.
17888 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17889 (MAP_SYNC): Likewise.
17890 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17891 (MAP_SYNC): Likewise.
17892 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17893 Likewise.
17894 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17895 Likewise.
17896
17897 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17898 (MAP_SHARED_VALIDATE): New macro.
17899 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17900 (MAP_SHARED_VALIDATE): Likewise.
17901
17902 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17903
17904 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17905 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17906 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17907
17908 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17909
17910 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17911 (DT_NUM): Updated to 35.
17912
17913 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17914
17915 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17916 __builtin_expect with __glibc_likely and __glibc_unlikely.
17917 (elf_machine_rela): Likewise.
17918 (elf_machine_lazy_rel): Likewise.
17919
17920 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17921
17922 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17923 __builtin_expect with __glibc_likely and __glibc_unlikely.
17924 (elf_machine_lazy_rel): Likewise.
17925
17926 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17927
17928 [BZ #22638]
17929 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17930 SHARED.
17931 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17932
17933 2018-02-05 Andreas Schwab <schwab@suse.de>
17934
17935 [BZ #22761]
17936 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17937 string.
17938
17939 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17940
17941 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17942 not check against PTHREAD_STACK_MIN.
17943
17944 2018-02-02 Sean McKean <smckean83@gmail.com>
17945
17946 [BZ #22735]
17947 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17948
17949 2018-02-02 Florian Weimer <fweimer@redhat.com>
17950
17951 [BZ #22753]
17952 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17953 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17954 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17955 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17956 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17957 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17958 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17959 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17960 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17961 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17962 * misc/tst-preadvwritev2.c (do_test): Call it.
17963 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17964
17965 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17966
17967 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17968
17969 * benchtests/bench-memcmp.c: Print json instead of plain text.
17970
17971 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17972 every test run.
17973
17974 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17975
17976 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17977 version to 4.15.
17978 (s390_sthyi): New syscall.
17979
17980 * sysdeps/generic/ldbl-classify-compat.h: New file.
17981 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17982 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17983 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17984 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17985 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17986 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17987 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17988 <ldbl-classify-compat.h>.
17989 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17990 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17991 <ldbl-classify-compat.h>.
17992 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17993 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17994 <ldbl-classify-compat.h>.
17995 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17996 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17997 <ldbl-classify-compat.h>.
17998 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18000 <ldbl-classify-compat.h>.
18001 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18003 <ldbl-classify-compat.h>.
18004 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18005 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18006 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18007 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18008 * sysdeps/microblaze/math_private.h: Likewise.
18009 * sysdeps/nios2/math_private.h: Likewise.
18010 * sysdeps/sh/math_private.h: Likewise.
18011
18012 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18013 * sysdeps/m68k/coldfire/math_private.h: ... here.
18014 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18015 * sysdeps/tile/math_private.h: Likewise.
18016 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18017 Remove macro.
18018 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18019 Likewise.
18020
18021 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18022 Remove macro.
18023 (libc_fetestexcept): Likewise.
18024 (libc_feupdateenv_test): Likewise.
18025 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18026 (libc_fetestexcept): Likewise.
18027 (libc_feupdateenv_test): Likewise.
18028 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18029 (libc_fetestexcept): Likewise.
18030 (libc_feupdateenv_test): Likewise.
18031 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18032 (libc_fetestexcept): Likewise.
18033 (libc_feupdateenv_test): Likewise.
18034
18035 * sysdeps/generic/math_private.h
18036 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18037 New inline function.
18038 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18039 Likewise.
18040
18041 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18042 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18043 * sysdeps/generic/math_private.h
18044 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18045 inline function.
18046 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18047 Likewise.
18048 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18049 Likewise.
18050 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18051 Likewise.
18052 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18053 Likewise.
18054 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18055 Likewise.
18056 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18057 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18058 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18059 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18060 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18061 (__fegetenv): Likewise.
18062 (fesetenv): Likewise.
18063 (__fesetenv): Likewise.
18064 (feupdateenv): Likewise.
18065 (__feupdateenv): Likewise.
18066 (fegetround): Likewise.
18067 (__fegetround): Likewise.
18068 (fesetround): Likewise.
18069 (__fesetround): Likewise.
18070
18071 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18072 (feraiseexcept): New macro.
18073 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18074 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18075 Remove macro.
18076 (__feraiseexcept): Likewise.
18077 (feclearexcept): Likewise.
18078 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18079 (__feraiseexcept): Likewise.
18080 (feclearexcept): Likewise.
18081 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18082 (__feraiseexcept): Likewise.
18083 (feclearexcept): Likewise.
18084 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18085 (__feraiseexcept): Likewise.
18086 (feclearexcept): Likewise.
18087 (fetestexcept): Likewise.
18088
18089 * sysdeps/m68k/coldfire/math-tests.h: New file.
18090
18091 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18092 * sysdeps/m68k/bits/fenv.h: ... here.
18093 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18094 not define.
18095 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18096 Likewise.
18097 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18098 Likewise.
18099 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18100 Likewise.
18101 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18102 Likewise.
18103 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18104 Define to 0.
18105 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18106 (__FE_UNDEFINED): New enum constant.
18107 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18108 Do not define.
18109 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18110 Likewise.
18111 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18112 Likewise.
18113 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18114 to match generic bits/fenv.h.
18115 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18116 Do not define.
18117
18118 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18119 packed on bits.
18120 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18121 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18122 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18123 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18124
18125 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18126 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18127 Joseph Myers <joseph@codesourcery.com>
18128
18129 [BZ #21314]
18130 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18131 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18132 computation using c.
18133 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18134 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18135 computation using c.
18136
18137 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18138
18139 * version.h (RELEASE): Set to "development".
18140 (VERSION): Set to "2.27.9000".
18141 * NEWS (2.28): New section.
18142
18143 * version.h (RELEASE): Set to "stable".
18144 (VERSION): Set to "2.27".
18145 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18146
18147 * NEWS: Add the list of bugs fixed in 2.27.
18148
18149 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18150
18151 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18152 against PTHREAD_STACK_MIN.
18153
18154 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18155
18156 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18157 New entries.
18158 (Rafal Luzynski, Andreas Schwab): Update.
18159
18160 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18161
18162 [BZ #10871]
18163 * NEWS: List the languages which actually use the alternative
18164 months feature in this release. Also explain that "alt_mon" and
18165 "ab_alt_mon" are optional.
18166
18167 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18168
18169 [BZ #22765]
18170 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18171
18172 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18173
18174 * manual/install.texi (Tools for Compilation): Update the newest
18175 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18176 * INSTALL: Regenerated.
18177
18178 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18179
18180 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18181 instead of __builtin_expect.
18182
18183 2018-01-30 Florian Weimer <fweimer@redhat.com>
18184
18185 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18186 data.
18187 * nss/tst-nss-getpwent.c (do_test): Likewise.
18188
18189 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18190
18191 [BZ #10871]
18192 * localedata/locales/hr_HR (mon): Rename to...
18193 (alt_mon): This.
18194 (mon): Import from CLDR (genitive case).
18195 (d_t_fmt): Update the comment.
18196
18197 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18198
18199 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18200 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18201 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18202
18203 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18204
18205 * mach/Versions: Fix version when __mach_host_self_ was added.
18206 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18207 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18208 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18209 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18210 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18211 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18212 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18213 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18214 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18215 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18216 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18217 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18218 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18219 || to respect codestyle.
18220 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18221 (do_test_bz20181): Rename accordingly.
18222 * malloc/malloc.c: Include <assert.h>.
18223 (assert): Do not define.
18224 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18225 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18226 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18227 * sysdeps/mach/hurd/hp-timing.h: New file.
18228 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18229
18230 2018-01-29 Darius Rad <darius@bluespec.com>
18231
18232 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18233
18234 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18235
18236 * sysdeps/init_array/crti.S (.section .init_array): Add
18237 PREINIT_FUNCTION when defined.
18238 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18239 * config.h.in: Regenerate.
18240 * manual/platform.texi: Add RISC-V documenation for
18241 __riscv_flush_icache.
18242 * sysdeps/riscv/__longjmp.S: New file.
18243 * sysdeps/riscv/backtrace.c: Likewise.
18244 * sysdeps/riscv/bits/endian.h: Likewise.
18245 * sysdeps/riscv/bits/setjmp.h: Likewise.
18246 * sysdeps/riscv/bits/wordsize.h: Likewise.
18247 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18248 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18249 * sysdeps/riscv/dl-trampoline.S: Likewise.
18250 * sysdeps/riscv/gccframe.h: Likewise.
18251 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18252 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18253 * sysdeps/riscv/machine-gmon.h: Likewise.
18254 * sysdeps/riscv/memusage.h: Likewise.
18255 * sysdeps/riscv/setjmp.S: Likewise.
18256 * sysdeps/riscv/sys/asm.h: Likewise.
18257 * sysdeps/riscv/tls-macros.h: Likewise.
18258 * sysdeps/riscv/dl-tls.h: New file.
18259 * sysdeps/riscv/libc-tls.c: Likewise.
18260 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18261 * sysdeps/riscv/nptl/tls.h: Likewise.
18262 * sysdeps/riscv/stackinfo.h: Likewise.
18263 * sysdeps/riscv/bits/fenv.h: New file.
18264 * sysdeps/riscv/e_sqrtl.c: Likewise.
18265 * sysdeps/riscv/fpu_control.h: Likewise.
18266 * sysdeps/riscv/math-tests.h: Likewise.
18267 * sysdeps/riscv/nofpu/Implies: Likewise.
18268 * sysdeps/riscv/sfp-machine.h: Likewise.
18269 * sysdeps/riscv/tininess.h: Likewise.
18270 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18271 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18272 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18273 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18274 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18275 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18276 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18277 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18278 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18279 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18280 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18281 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18282 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18283 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18284 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18285 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18286 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18287 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18288 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18289 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18290 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18291 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18292 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18293 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18294 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18295 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18296 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18297 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18298 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18299 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18300 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18301 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18302 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18303 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18304 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18305 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18306 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18307 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18308 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18309 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18310 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18311 * sysdeps/riscv/rvf/math_private.h: Likewise.
18312 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18313 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18314 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18315 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18316 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18317 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18318 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18319 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18320 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18321 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18322 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18323 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18324 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18325 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18326 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18327 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18328 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18329 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18330 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18331 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18332 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18333 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18334 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18335 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18336 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18337 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18338 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18339 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18340 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18341 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18342 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18343 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18344 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18345 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18346 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18347 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18348 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18349 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18350 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18351 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18352 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18353 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18354 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18355 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18356 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18357 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18358 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18359 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18360 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18361 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18362 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18363 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18364 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18365 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18366 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18367 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18368 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18369 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18370 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18371 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18372 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18373 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18374 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18375 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18376 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18377 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18378 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18380 * sysdeps/riscv/Implies: New file.
18381 * sysdeps/riscv/Makefile: Likewise.
18382 * sysdeps/riscv/configure: Likewise.
18383 * sysdeps/riscv/configure.ac: Likewise.
18384 * sysdeps/riscv/nptl/Makefile: Likewise.
18385 * sysdeps/riscv/preconfigure: Likewise.
18386 * sysdeps/riscv/rv64/Implies-after: Likewise.
18387 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18388 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18389 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18390 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18391 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18392 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18393 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18394 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18395 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18396 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18397 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18398 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18399 (Config): Likewise.
18400
18401 2018-01-29 Florian Weimer <fweimer@redhat.com>
18402
18403 [BZ #22701]
18404 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18405 libnsl_hidden_proto.
18406 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18407 libnsl_hidden_proto.
18408 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18409 * nis/Makefile (libnsl-routines): Add nss-default only for
18410 build-obsolete-nsl.
18411 * nis/nis_defaults.c (__nis_default_ttl): Add
18412 libnsl_hidden_nolink_def.
18413 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18414 declaration.
18415 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18416 * nis/ypclnt.c (yp_maplist): Likewise.
18417
18418 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18419
18420 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18421 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18422
18423 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18424
18425 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18426 clean -dxfq for git updates when replacing sources.
18427
18428 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18429 --disable-libcilkrts unconditionally, not just for the final GCC
18430 build for Hurd.
18431
18432 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18433 version to 4.15.
18434
18435 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18436
18437 [BZ #10871]
18438 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18439 case).
18440
18441 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18442
18443 [BZ #10871]
18444 * localedata/locales/be_BY (mon): Rename to...
18445 (alt_mon): This, then synchronize with CLDR (nominative case).
18446 (abmon): Rename to...
18447 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18448 (mon): Import from CLDR (genitive case).
18449 (abmon): Likewise.
18450 * localedata/locales/be_BY@latin (mon): Rename to...
18451 (alt_mon): This.
18452 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18453
18454 * localedata/locales/be_BY@latin (lang_name): Reworded to
18455 "biełaruskaja mova".
18456
18457 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18458
18459 [BZ #10871]
18460 * localedata/locales/el_CY (mon): Renamed to...
18461 (alt_mon): This.
18462 (mon): Import from CLDR (genitive case).
18463 * localedata/locales/el_GR: Likewise.
18464
18465 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18466
18467 [BZ #10871]
18468 * localedata/locales/ru_RU (mon): Rename to...
18469 (alt_mon): This.
18470 (abmon): Rename to...
18471 (ab_alt_mon): This.
18472 (mon): Import from CLDR (genitive case).
18473 (abmon): Copy from the old content except the 5th month which is
18474 now in the genitive case, even when abbreviated.
18475 * localedata/locales/ru_UA: Likewise.
18476 * time/tst-strptime.c (day_tests): Add an actual example of
18477 a difference between %b and %Ob in Russian.
18478
18479 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18480
18481 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18482 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18483 a `c' variable.
18484 * resolv/res-close.c: Include <stdlib.h>.
18485 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18486 <sys/wait.h>, <time.h>, <sys/uio.h>.
18487 (NOT_CANCEL_H): Add inclusion guard.
18488 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18489 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18490 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18491 return 0.
18492 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18493 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18494 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18495 instead of void *.
18496 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18497 timer_ptr2id to cast struct timer_node * to void *.
18498 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18499 --disable-libcilkrts to gcc configure.
18500 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18501 and make them the default for now.
18502 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18503 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18504 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18505 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18506 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18507 MACH_IPC_COMPAT.
18508 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18509 __task_terminate would ever return successfully.
18510 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18511 to global scope.
18512 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18513 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18514 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18515 critical section to make code simpler and avoid warning.
18516 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18517 critical section to make code simpler and avoid warning.
18518 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18519 const char * instead of char *.
18520 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18521 __hurd_file_name_split, hurd_file_name_split,
18522 __hurd_directory_name_split, hurd_directory_name_split,
18523 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18524 hurd_file_name_path_lookup): Make lookup function parameter take a
18525 const char *name instead of char *name.
18526 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18527 __hurd_directory_name_split): Likewise.
18528 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18529 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18530 * sysdeps/mach/hurd/check_native.c: New file.
18531 * sysdeps/mach/hurd/check_pf.c: New file.
18532 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18533 (__freeifaddrs): Define macro to freeifaddrs.
18534 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18535 * sysdeps/mach/libmachuser.abilist: New file.
18536 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18537 (do_test_bz20181): Rename accordingly.
18538 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18539 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18540 <sys/mount.h>.
18541 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18542 version only if __USE_EXTERN_INLINES is defined.
18543 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18544 __hurd_sockfail): Likewise.
18545 (_hurd_fd_get): Always declare functions, and provide inline versions
18546 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18547 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18548 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18549 _hurd_port_set): Always declare functions, and provide inline versions
18550 only if __USE_EXTERN_INLINES and _LIBC are defined and
18551 IS_IN(libc).
18552 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18553 _hurd_critical_section_unlock): Likewise.
18554 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18555 * __hurd_threadvar_location): Likewise.
18556 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18557 _hurd_userlink_clear): Likewise.
18558 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18559 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18560 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18561 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18562 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18563 __spin_lock_locked): Likewise.
18564 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18565 __spin_lock_locked): Likewise.
18566 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18567 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18568 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18569 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18570 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18571 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18572 _POSIX_NO_TRUNC): Define to 0.
18573 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18574 check size against PTHREAD_STACK_MIN.
18575 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18576 IS_IN(libpthread)]: Include <sigsetops.h>.
18577 * mach/Makefile (user-interfaces): Add mach/gnumach.
18578 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18579 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18580 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18581 instead of invalid -1.
18582 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18583 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18584 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18585 <net/ppp_defs.h>.
18586
18587 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18588
18589 * hurd/fcntl-internal.h: New file.
18590
18591 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18592
18593 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18594
18595 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18596
18597 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18598
18599 [BZ #22701]
18600 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18601 Build only shared objects.
18602
18603 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18604
18605 * README: Update for hppa.
18606
18607 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18608
18609 * sysdeps/sparc/fpu/libm-test-ulps: Update
18610 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18611
18612 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18613
18614 Revert:
18615
18616 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18617
18618 [BZ #22563]
18619 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18620 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18621 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18622 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18623 to feature_1.
18624
18625 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18626
18627 [BZ #22563]
18628 * bits/types/__cancel_jmp_buf_tag.h: New file.
18629 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18630 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18631 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18632 * nptl/Makefile (headers): Add
18633 bits/types/__cancel_jmp_buf_tag.h.
18634 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18635 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18636 * sysdeps/nptl/pthread.h: Include
18637 <bits/types/__cancel_jmp_buf_tag.h>.
18638 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18639 __cancel_jmp_buf.
18640 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18641
18642 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18643
18644 [BZ #10871]
18645 * localedata/locales/uk_UA (mon): Renamed to...
18646 (alt_mon): This.
18647 (alt_digits): "0" removed and then renamed to...
18648 (mon): This.
18649 (date_fmt): Definition changed not to use the alternative
18650 digits hack.
18651
18652 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18653
18654 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18655 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18656 * elf/elf.h (EF_RISCV_RVC): New define.
18657 (EF_RISCV_FLOAT_ABI): Likewise.
18658 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18659 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18660 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18661 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18662 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18663 define.
18664 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18665
18666 2018-01-25 Andreas Schwab <schwab@suse.de>
18667
18668 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18669 single quotes.
18670 * sysdeps/gnu/configure: Regenerate.
18671 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18672 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18674 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18675 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18676 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18677 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18678 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18679
18680 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18681
18682 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18683 URL, and run autoconf, make it the default for now.
18684
18685 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18686
18687 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18688 soft-float ColdFire configuration.
18689
18690 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18691 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18692 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18693
18694 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18695 MicroBlaze file.
18696
18697 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18698 ....
18699 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18700 ... here.
18701 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18702 New file.
18703
18704 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18705 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18706 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18707 file.
18708
18709 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18710
18711 [BZ #22742]
18712 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18713 Rename to __reserved and add comment.
18714 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18715 Rename to __reserved.
18716
18717 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18718
18719 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18720 i686-gnu configurations.
18721 (Context.run_builds): Include mig, gnumach and hurd in components
18722 considered.
18723 (Context.checkout): Add mig, gnumach and hurd to components.
18724 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18725 hurd.
18726 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18727 (Config.build): Install gnumach headers, build mig and install
18728 hurd headers for 'gnu' OS.
18729 (Config.install_gnumach_headers): New function.
18730 (Config.install_hurd_headers): Likewise.
18731 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18732 when building for 'gnu' OS.
18733
18734 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18735
18736 * manual/tunables.texi (Hardware Capability Tunables): Fix
18737 spelling.
18738
18739 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18740
18741 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18742 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18743 (ALTMON_11, ALTMON_12): Improve documentation.
18744 * manual/time.texi (strftime): Likewise.
18745
18746 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18747
18748 [BZ #10871]
18749 * localedata/locales/pl_PL: Alternative month names added,
18750 primary month names are genitive now.
18751 * time/tst-strptime.c (day_tests): Actually use a genitive case
18752 of a month name in Polish language.
18753
18754 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18755
18756 [BZ #10871]
18757 * manual/locale.texi: Document ALTMON_1..12 constants for
18758 nl_langinfo. Specify when to use ALTMON instead of MON.
18759 * manual/time.texi (strftime, strptime): Document GNU extension
18760 permitting O modifier with %B and %b. Specify when to use
18761 %OB instead of %B.
18762
18763 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18764
18765 [BZ #10871]
18766 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18767 names, define them as the same as abbreviated month names explicitly.
18768 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18769 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18770 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18771 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18772 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18773 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18774 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18775 _NL_WABALTMON_12): New enum constants.
18776 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18777 wab_alt_mon, and ab_alt_mon_defined members.
18778 (time_output): Output ab_alt_mon and wab_alt_mon members.
18779 (time_read): Read them, initialize them as copies of abmon and wabmon
18780 respectively if they are missing, initialize ab_alt_mon_defined.
18781 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18782 * locale/programs/locfile-kw.h: Regenerate.
18783 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18784 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18785 and ru_RU.UTF-8.
18786 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18787 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18788 (__strftime_internal): Handle %Ob and %Oh formats.
18789 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18790 (__strptime_internal): Handle %Ob and %Oh formats.
18791 * time/tst-strptime.c (day_tests): Add more tests to parse different
18792 forms of month names including the new %Ob format specifier.
18793
18794 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18795
18796 [BZ #10871]
18797 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18798 define them as the same as primary full month names explicitly.
18799 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18800 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18801 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18802 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18803 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18804 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18805 _NL_WALTMON_12): New enum constants.
18806 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18807 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18808 macros.
18809 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18810 walt_mon, and alt_mon_defined members.
18811 (time_output): Output alt_mon and walt_mon members.
18812 (time_read): Read them, initialize them as copies of mon and wmon
18813 respectively if they are missing, initialize alt_mon_defined.
18814 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18815 * locale/programs/locfile-kw.h: Regenerate.
18816 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18817 * localedata/tst-langinfo.c (map): Add tests for the new constants
18818 ALTMON_1 .. ALTMON_12.
18819 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18820 and pl_PL.UTF-8.
18821 * time/strftime_l.c (f_altmonth): New macro.
18822 (__strftime_internal): Handle %OB format.
18823 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18824 (__strptime_internal): Handle %OB format.
18825 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18826 of month names including the new %OB format specifier.
18827
18828 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18829
18830 [BZ #22685]
18831 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18832 from ABORT_TRANSACTION.
18833 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18834 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18835 ABORT_TRANSACTION_IMPL): Likewise.
18836 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18837 Linux code, but remove the code that aborts transactions.
18838
18839 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18840
18841 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18842
18843 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18844
18845 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18846 in date: "2004-14-09" should be "2004-09-14".
18847 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18848 "2003-15-09" should be "2003-09-15".
18849
18850 2018-01-18 Arjun Shankar <arjun@redhat.com>
18851
18852 [BZ #22343]
18853 [BZ #22774]
18854 CVE-2018-6485
18855 CVE-2018-6551
18856 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18857 after padding.
18858 (_int_memalign): check for integer overflow before calling
18859 _int_malloc.
18860 * malloc/tst-malloc-too-large.c: New test.
18861 * malloc/Makefile: Add tst-malloc-too-large.
18862
18863 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18864
18865 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18866 in date: "2017-24-07" should be "2017-07-24".
18867 * localedata/locales/mai_IN: Likewise.
18868 * localedata/locales/mai_NP: Likewise.
18869
18870 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18871
18872 * po/ru.po: Update translations.
18873
18874 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18875
18876 [BZ #22719]
18877 * sysdeps/hppa/backtrace.c: New file.
18878
18879 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18880
18881 [BZ #22715]
18882 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18883 align La_x86_64_retval to VEC_SIZE.
18884
18885 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18886
18887 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18888 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18889
18890 2018-01-16 Florian Weimer <fweimer@redhat.com>
18891
18892 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18893 Move tst-thread-exit-clobber ...
18894 [$(CXX)] (tests-unsupported): ... to here.
18895
18896 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18897
18898 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18899 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18900 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18901 (_dl_aarch64_cap_flags): Update.
18902 (_DL_HWCAP_COUNT): Update.
18903
18904 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18905
18906 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18907 (_DL_HWCAP_LAST): Remove.
18908 (_DL_HWCAP_COUNT): Move to ...
18909 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18910 (_DL_HWCAP_COUNT): ... here.
18911
18912 2018-01-16 Florian Weimer <fweimer@redhat.com>
18913
18914 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18915 mode with GNU extensions.
18916
18917 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18918
18919 * elf/elf.h (NT_ARM_SVE): Define.
18920
18921 2018-01-15 Florian Weimer <fweimer@redhat.com>
18922
18923 [BZ #22636]
18924 * nptl/tst-minstack-throw.cc: New file.
18925 * nptl/Makefile (tests): Add tst-minstack-throw.
18926 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18927 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18928
18929 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18930
18931 * scripts/build-many-glibcs.py (Context.checkout): Default
18932 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18933 version to 1.1.0.
18934
18935 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18936
18937 [BZ #22707]
18938 * elf/elf.h (DF_1_STUB): Define.
18939 (DF_1_PIE): Define.
18940
18941 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18942
18943 [BZ #22697]
18944 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18945 Do not add 0.5 to integer or out-of-range arguments.
18946
18947 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18948
18949 * po/bg.po: Update translations.
18950 * po/cs.po: Likewise.
18951 * po/de.po: Likewise.
18952 * po/ko.po: Likewise.
18953 * po/pl.po: Likewise.
18954 * po/sv.po: Likewise.
18955 * po/uk.po: Likewise.
18956 * po/vi.po: Likewise.
18957
18958 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18959
18960 * aarch64/start.S (_start): Use __wrap_main.
18961 (__wrap_main): New local symbol.
18962
18963 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18964
18965 [BZ #22679]
18966 CVE-2018-1000001
18967 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18968 generic_getcwd if the path returned by getcwd syscall is not absolute.
18969 * io/tst-getcwd-abspath.c: New test.
18970 * io/Makefile (tests): Add tst-getcwd-abspath.
18971
18972 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18973
18974 * malloc/malloc.c (malloc_consolidate): Add size check.
18975
18976 2018-01-12 Florian Weimer <fweimer@redhat.com>
18977
18978 * support/write_message.c (write_message): Preserve errno.
18979 * support/check.c (print_failure): Likewise.
18980 * support/support_test_verify_impl.c (support_test_verify_impl):
18981 Likewise.
18982 * support/support_test_compare_failure.c
18983 (support_test_compare_failure): Likewise.
18984
18985 2018-01-12 Florian Weimer <fweimer@redhat.com>
18986
18987 [BZ #22701]
18988 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18989 Prevent installation of libnsl.so.
18990 (libnsl-inhibit-o): Do not build (or install) static libraries.
18991
18992 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18993
18994 [BZ #22657]
18995 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18996 before the day number which may produce a double space.
18997 (date_fmt): Likewise.
18998
18999 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19000
19001 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19002 instead of fegetenv.
19003
19004 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19005
19006 [BZ #22702]
19007 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19008 comment to say exceptions are discarded.
19009 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19010 __fegetenv.
19011 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19012 be enabled.
19013
19014 2018-01-11 Florian Weimer <fweimer@redhat.com>
19015
19016 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19017 and error message.
19018
19019 2018-01-11 Florian Weimer <fweimer@redhat.com>
19020
19021 [BZ #22636]
19022 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19023 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19024
19025 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19026
19027 [BZ #22693]
19028 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19029 negative arguments in test for NaN or infinity argument.
19030
19031 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19032
19033 * po/libc.pot: Regenerate.
19034
19035 2018-01-10 Florian Weimer <fweimer@redhat.com>
19036
19037 [BZ #22636]
19038 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19039 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19040
19041 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19042
19043 * hurd/hurd/fd.h: Include <fcntl.h>
19044 (__hurd_at_flags): New function.
19045 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19046 with call to __hurd_at_flags.
19047 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19048 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19049 __faccessat
19050 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19051 (__access_noerrno): Use __faccessat_common instead of access_common.
19052 (__access): Likewise.
19053 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19054 with a call to __faccessat.
19055 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19056 (__faccessat_common): ... this. Move implementation of __access into it when
19057 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19058 reauthenticate_cwdir_at helper to implement AT mechanism.
19059 (__faccessat_noerrno): New function, just calls __faccessat_common.
19060 (__faccessat): New function, just calls __faccessat_common.
19061 (faccessat): Define weak alias.
19062
19063 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19064
19065 [BZ #22691]
19066 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19067 (CFLAGS-s_fmaxmagl.c): New variable.
19068 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19069
19070 [BZ #22690]
19071 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19072 long int for arguments of possibly overflowing addition or
19073 subtraction.
19074 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19075
19076 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19077
19078 [BZ #22688]
19079 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19080 (CFLAGS-e_remainderl.c): New variable.
19081
19082 [BZ #22687]
19083 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19084 variable.
19085 (CFLAGS-s_cacoshl.c): Likewise.
19086 (CFLAGS-s_casinhl.c): Likewise.
19087 (CFLAGS-s_catanl.c): Likewise.
19088 (CFLAGS-s_catanhl.c): Likewise.
19089 (CFLAGS-s_cexpl.c): Likewise.
19090 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19091 (CFLAGS-s_csinhl.c): Likewise.
19092 (CFLAGS-s_clogl.c): Likewise.
19093 (CFLAGS-s_clog10l.c): Likewise.
19094 (CFLAGS-s_csinl.c): Likewise.
19095 (CFLAGS-s_csqrtl.c): Likewise.
19096
19097 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19098 2017-01-09 Svante Signell <svante.signell@gmail.com>
19099
19100 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19101 (_hurd_exec_paths): New function.
19102 * hurd/hurd.h (_hurd_exec): Deprecate function.
19103 (_hurd_exec_paths): Declare function.
19104 * hurd/Versions: Export _hurd_exec_paths.
19105 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19106 (__execve): Use __getcwd to build absolute path, and use
19107 _hurd_exec_paths instead of _hurd_exec.
19108 * sysdeps/mach/hurd/spawni.c: Likewise.
19109 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19110 _hurd_exec.
19111
19112 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19113
19114 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19115 test instead of failing in case of ENOENT returned by posix_openpt.
19116
19117 2018-01-08 Florian Weimer <fweimer@redhat.com>
19118
19119 resolv: Support binary labels in test framework.
19120 * support/resolv_test.c (struct to_be_freed): Remove.
19121 (struct compressed_name): New.
19122 (allocate_compressed_name, ascii_tolower)
19123 (compare_compressed_name): New functions.
19124 (struct resolv_response_builder): Update type of
19125 compression_offsets for use with tsearch. Rempve to_be_freed.
19126 (response_push_pointer_to_free): Remove function.
19127 (resolv_response_add_name): Rewrite using struct compressed_name
19128 and tsearch instead of hsearch_r.
19129 (response_builder_allocate): Remove initialization of
19130 compression_offsets.
19131 (response_builder_free): Update for removal of to_be_freed. Use
19132 tdestroy instead of hdestroy_r.
19133 * resolv/Makefile (tests): Add tst-resolv-binary.
19134 (tst-resolv-binary): Link with -lresolv -lpthread.
19135
19136 2018-01-08 Florian Weimer <fweimer@redhat.com>
19137
19138 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19139 time. Pass positive flag instead of negative flag to
19140 support_test_compare_failure.
19141 (support_test_compare_failure): Change negative parameter to
19142 positive.
19143 * support/support_test_compare_failure.c (report)
19144 (support_test_compare_failure): Likewise.
19145 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19146 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19147
19148 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19149
19150 [BZ #22637]
19151 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19152 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19153 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19154 stacksize.
19155 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19156
19157 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19158
19159 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19160 Add s_sincosf-sse2 and s_sincosf-fma.
19161 (CFLAGS-s_sincosf-fma.c): New.
19162 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19163 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19164 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19165 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19166 __sincosf is defined.
19167
19168 2018-01-08 Florian Weimer <fweimer@redhat.com>
19169
19170 * nptl/tst-thread-exit-clobber.cc: New file.
19171 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19172 C++11 mode.
19173 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19174 (tests): Add tst-thread-exit-clobber.
19175 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19176
19177 2018-01-08 Florian Weimer <fweimer@redhat.com>
19178
19179 * support/check.h (support_static_assert): Define.
19180 (TEST_COMPARE): Use it.
19181
19182 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19183
19184 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19185 [!__RLIM_T_MATCHES_RLIM64_T]
19186 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19187 __getrlimit64. Add libc_hidden_weak.
19188
19189 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19190
19191 * elf/elf.h (R_RISCV_NONE): New define.
19192 (R_RISCV_32): Likewise.
19193 (R_RISCV_64): Likewise.
19194 (R_RISCV_RELATIVE): Likewise.
19195 (R_RISCV_COPY): Likewise.
19196 (R_RISCV_JUMP_SLOT): Likewise.
19197 (R_RISCV_TLS_DTPMOD32): Likewise.
19198 (R_RISCV_TLS_DTPMOD64): Likewise.
19199 (R_RISCV_TLS_DTPREL32): Likewise.
19200 (R_RISCV_TLS_DTPREL64): Likewise.
19201 (R_RISCV_TLS_TPREL32): Likewise.
19202 (R_RISCV_TLS_TPREL64): Likewise.
19203 * Makerules (make-link-multidir): Make directories before linking into
19204 them.
19205 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19206 define.
19207 (VDSO_HASH_LINUX_4_15): Likewise.
19208 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19209 in subdirectories of lib.
19210 * nptl/Makefile (/librt.so): Always depend on
19211 "$(shared-thread-library)".
19212
19213 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19214
19215 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19216 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19217 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19218 (___tls_get_addr).
19219 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19220 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19221 "-O2 -march=i686".
19222 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19223 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19224 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19225 * sysdeps/gnu/glob-lstat-compat.c: New file.
19226 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19227 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19228
19229 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19230
19231 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19232 Reserve 16 chars to reloc_addr before calling _itoa_word.
19233
19234 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19235
19236 [BZ #22678]
19237 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19238 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19239
19240 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19241 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19242
19243 * resource/tst-getrlimit.c: Add copyright header.
19244
19245 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19246 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19247
19248 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19249 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19250 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19251 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19252 instead.
19253 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19254 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19255 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19256 RLIM64_INFINITY): Fix values to match the kernel ones.
19257 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19258 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19259 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19260 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19261 getrlimit64@@GLIBC_2_27.
19262 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19263 and setrlimit64.
19264 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19265 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19266 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19267 setrlimit, getrlimit64 and setrlimit64.
19268
19269 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19270
19271 [BZ #22648]
19272 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19273 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19274
19275 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19276
19277 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19278 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19279 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19280
19281 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19282
19283 [BZ #15479]
19284 [BZ #22666]
19285 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19286 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19287
19288 [BZ #15479]
19289 [BZ #22665]
19290 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19291 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19292 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19293 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19294
19295 2018-01-04 Florian Weimer <fweimer@redhat.com>
19296
19297 [BZ #22667]
19298 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19299 Align the stack before calling exit.
19300 * stdlib/tst-makecontext-align.c: New file.
19301 * stdlib/Makefile (tests): Add tst-makecontext-align.
19302
19303 2018-01-04 Florian Weimer <fweimer@redhat.com>
19304
19305 Add support for calling dlvsym from libc.so.
19306 * include/dlfcn.h (__libc_dlvsym): Declare.
19307 * elf/Makefile (tests-static-internal): Add
19308 tst-libc_dlvsym-static.
19309 (tests-internal): Add tst-libc_dlvsym.
19310 (modules-names): Add tst-libc_dlvsym-dso.
19311 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19312 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19313 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19314 object tst-libc_dlvsym-dso.so needs to be built before running
19315 these tests.
19316 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19317 * elf/Versions: Export __libc_dlvsym.
19318 * elf/dl-libc.c (struct do_dlvsym_args): New.
19319 (do_dlvsym, __libc_dlvsym): New functions.
19320 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19321 (_dl_open_hook2): New variable.
19322 (__libc_register_dl_open_hook): Set it.
19323 * elf/tst-libc_dlvsym-dso.c: New file.
19324 * elf/tst-libc_dlvsym-static.c: Likewise.
19325 * elf/tst-libc_dlvsym.c: Likewise.
19326 * elf/tst-libc_dlvsym.h: Likewise.
19327
19328 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19329
19330 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19331 include <sys/mount.h>.
19332
19333 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19334
19335 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19336 Add __NO_MATH_ERRNO__ check.
19337
19338 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19339
19340 * sysdeps/mips/mips32/libm-test-ulps: Update.
19341 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19342
19343 2018-01-02 Florian Weimer <fweimer@redhat.com>
19344
19345 * misc/tst-pselect.c: Add copyright header.
19346
19347 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19348
19349 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19350 comment.
19351 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19352 comment.
19353 (settrlimit): Rename into setrlimit.
19354 (__sttrlimit): Rename into __setrlimit.
19355
19356 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19357 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19358 never defined in that case.
19359
19360 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19361
19362 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19363
19364 * sysdeps/arm/libm-test-ulps: Update.
19365
19366 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19367 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19368
19369 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19370
19371 * NEWS: Add cosf and sincosf to list of optimized functions.
19372
19373 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19374
19375 [BZ #22660]
19376 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19377 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19378 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19379 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19380
19381 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19382
19383 [BZ #22433]
19384 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19385
19386 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19387 making a copy of it.
19388
19389 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19390
19391 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19392 trailing whitespace removed.
19393 * scripts/config.guess: Update to version 2018-01-01.
19394 * scripts/config.sub: Update to version 2018-01-01.
19395 * scripts/move-if-change: Update from gnulib.
19396
19397 * NEWS: Update copyright dates.
19398 * catgets/gencat.c (print_version): Likewise.
19399 * csu/version.c (banner): Likewise.
19400 * debug/catchsegv.sh: Likewise.
19401 * debug/pcprofiledump.c (print_version): Likewise.
19402 * debug/xtrace.sh (do_version): Likewise.
19403 * elf/ldconfig.c (print_version): Likewise.
19404 * elf/ldd.bash.in: Likewise.
19405 * elf/pldd.c (print_version): Likewise.
19406 * elf/sotruss.sh: Likewise.
19407 * elf/sprof.c (print_version): Likewise.
19408 * iconv/iconv_prog.c (print_version): Likewise.
19409 * iconv/iconvconfig.c (print_version): Likewise.
19410 * locale/programs/locale.c (print_version): Likewise.
19411 * locale/programs/localedef.c (print_version): Likewise.
19412 * login/programs/pt_chown.c (print_version): Likewise.
19413 * malloc/memusage.sh (do_version): Likewise.
19414 * malloc/memusagestat.c (print_version): Likewise.
19415 * malloc/mtrace.pl: Likewise.
19416 * manual/libc.texinfo: Likewise.
19417 * nptl/version.c (banner): Likewise.
19418 * nscd/nscd.c (print_version): Likewise.
19419 * nss/getent.c (print_version): Likewise.
19420 * nss/makedb.c (print_version): Likewise.
19421 * posix/getconf.c (main): Likewise.
19422 * scripts/test-installation.pl: Likewise.
19423 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19424
19425 * All files with FSF copyright notices: Update copyright dates
19426 using scripts/update-copyrights.
19427 * locale/programs/charmap-kw.h: Regenerated.
19428 * locale/programs/locfile-kw.h: Likewise.
19429
19430 2017-12-31 Zack Weinberg <zackw@panix.com>
19431
19432 * libio/bits/libio-ldbl.h: Correct check for improper
19433 inclusion. Add own multiple include guard.
19434
19435 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19436 Dmitry V. Levin <ldv@altlinux.org>
19437
19438 [BZ #22625]
19439 CVE-2017-16997
19440 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19441 string token expansion. Check for NULL pointer or empty string possibly
19442 returned by expand_dynamic_string_token.
19443 (decompose_rpath): Check for empty path after dynamic string
19444 token expansion.
19445
19446 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19447
19448 [BZ #22433]
19449 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19450
19451 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19452 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19453 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19454 and PTRACE_SYSCALL.
19455 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19456 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19457 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19458 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19459 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19460 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19461
19462 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19463 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19464 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19465 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19467 bits/ptrace-shared.h.
19468 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19469 <bits/ptrace-shared.h>.
19470 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19471 __ptrace_peeksiginfo_flags, ptrace): Remove.
19472 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19473 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19476 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19477
19478 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19479
19480 [BZ #17804]
19481 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19482 end of the loop. Improve comments.
19483
19484 2017-12-29 Zack Weinberg <zackw@panix.com>
19485
19486 [BZ #22615]
19487 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19488 might be set on success.
19489
19490 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19491
19492 [BZ #22611]
19493 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19494 is unchanged on success.
19495
19496 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19497
19498 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19499 updated.
19500 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19501 expand_dynamic_string_token): Likewise.
19502 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19503 is_path argument.
19504
19505 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19506 contains ':'.
19507
19508 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19509 is set and name contains ':', and all code depending on these checks.
19510
19511 2017-12-24 Zack Weinberg <zackw@panix.com>
19512
19513 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19514 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19515 respectively.
19516 * libio/libio.h: Rename the original version of this file to
19517 libio/bits/libio.h. Error out if not included by stdio.h or the
19518 stub libio.h.
19519 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19520 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19521 if not included by bits/libio.h or the stub _G_config.h.
19522 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19523 sysdeps/unix/sysv/linux/bits. Error out if not included by
19524 bits/libio.h or the stub _G_config.h.
19525 * libio/stdio.h: Include bits/libio.h, not libio.h.
19526 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19527 well as libio.h and _G_config.h.
19528
19529 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19530 * libio/strfile.h, stdio-common/vfscanf.c
19531 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19532 Include stdio.h, not _G_config.h nor libio.h.
19533 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19534 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19535
19536 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19537
19538 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19539
19540 [BZ #22347]
19541 * stdlib/getrandom.c (getrandom): Fix comment.
19542 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19543
19544 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19545
19546 [BZ #21161]
19547 * manual/arith.texi (strtoul): Fix a typo.
19548
19549 [BZ #22596]
19550 * manual/arith.texi (finite): Fix the description of the return
19551 value.
19552
19553 2017-12-22 Eric Blake <ebb9@byu.net>
19554
19555 Avoid gcc warnings on cygwin
19556 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19557 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19558 Avoid unused variable.
19559
19560 2017-12-22 Florian Weimer <fweimer@redhat.com>
19561
19562 * io/Makefile (routines): Add copy_file_range.
19563 (tests): Add tst-copy_file_range.
19564 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19565 * io/Versions (GLIBC_2.27): Export copy_file_range.
19566 * io/copy_file_range-compat.c: New file.
19567 * io/copy_file_range.c: Likewise.
19568 * io/tst-copy_file_range-compat.c: Likewise.
19569 * io/tst-copy_file_range.c: Likewise.
19570 * manual/llio.texi (Copying File Data): New section.
19571 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19572 * support/Makefile (libsupport-routines): Add support-xfstat,
19573 xftruncate, xlseek.
19574 * support/support-xfstat.c: New file.
19575 * support/xftruncate.c: Likewise.
19576 * support/xlseek.c: Likewise.
19577 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19578 * sysdeps/unix/sysv/linux/**.abilist: Update.
19579 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19580
19581 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19582
19583 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19584 disable-multi-arch variant to aarch64-linux-gnu.
19585
19586 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19587
19588 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19589 trailing whitespace removed.
19590 * scripts/config.guess: Update to version 2017-12-17.
19591 * scripts/config.sub: Update to version 2017-11-23.
19592 * scripts/install-sh: Update to version 2017-09-23.17.
19593 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19594
19595 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19596
19597 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19598 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19599 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19600 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19601 * sysdeps/tile/crtn.S: Likewise.
19602 * sysdeps/tile/dl-start.S (_start): Likewise.
19603 * sysdeps/tile/dl-trampoline.S: Likewise.
19604 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19605 * sysdeps/tile/start.S (_start): Likewise.
19606 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19607 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19608 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19609 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19610 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19611 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19612 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19613
19614 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19615 comment.
19616 * sysdeps/tile/preconfigure: Remove tilegx folder.
19617 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19618 * sysdeps/tile/Implies: ... here.
19619 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19620 * sysdeps/tile/Makefile: ... here.
19621 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19622 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19623 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19624 * sysdeps/tile/bits/wordsize.h: ... here.
19625 * sysdeps/tile/tilegx/*: Move to ...
19626 * sysdeps/tile/*: ... here.
19627 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19628 * sysdeps/tile/tilegx32/Implies: ... here.
19629 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19630 * sysdeps/tile/tilegx64/Implies: ... here.
19631 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19632 to ...
19633 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19634 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19635 * sysdeps/unix/sysv/linux/tile/*: ... here.
19636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19637 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19639 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19640
19641 * README: Remove tilepro-*-linux-gnu from supported architecture.
19642 * scripts/build-many-glibcs.py: Likewise.
19643 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19644 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19645 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19646 elf_machine_matches_host, elf_machine_dynamic,
19647 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19648 howto, elf_machine_rela): Likewise.
19649 * sysdeps/tile/dl-start.S (_start): Likewise.
19650 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19651 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19652 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19653 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19654 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19655 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19656 Likewise.
19657 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19658 * sysdeps/tile/preconfigure: Likewise.
19659 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19660 POINTER_CHK_GUARD): Likewise.
19661 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19662 * sysdeps/tile/start.S (_start): Likewise.
19663 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19664 Likewise.
19665 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19666 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19667 CMOVNEZ): Remove.
19668 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19669 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19670 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19671 Likewise.
19672 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19673 * sysdeps/tile/tilepro/Implies: Remove file.
19674 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19675 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19676 * sysdeps/tile/tilepro/memchr.c: Likewise.
19677 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19678 * sysdeps/tile/tilepro/memset.c: Likewise.
19679 * sysdeps/tile/tilepro/memusage.h: Likewise.
19680 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19681 * sysdeps/tile/tilepro/strchr.c: Likewise.
19682 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19683 * sysdeps/tile/tilepro/strlen.c: Likewise.
19684 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19685 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19686 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19687 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19688 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19689 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19690 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19691 Likewise.
19692 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19693 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19694 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19695 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19696 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19697 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19698 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19699 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19700 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19701 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19702 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19703 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19704 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19705 tilepro mention in comment.
19706
19707 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19708 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19709 * nptl/pthread_join_common.c: New file: common function used on
19710 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19711 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19712 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19713 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19714 (cleanup): Move definition to pthread_join_common.c.
19715 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19716 Remove superflous checks.
19717 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19718 Likewise.
19719
19720 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19721
19722 * sysdeps/aarch64/libm-test-ulps: Update.
19723
19724 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19725
19726 * sysdeps/aarch64/memset.S (MEMSET): Define.
19727
19728 2017-12-20 Florian Weimer <fweimer@redhat.com>
19729
19730 [BZ #22635]
19731 nptl: Provide full implementation of pthread_self in libc.so.
19732 * nptl/Makefile (routines): Add pthread_self.
19733 (libpthread-routines): Replace pthread_self with
19734 compat-pthread_self.
19735 * nptl/forward.c (pthread_self): Remove.
19736 * nptl/nptl-init.c (pthread_functions): Do not initialize
19737 ptr_pthread_self.
19738 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19739 * nptl/compat-pthread_self.c: New file.
19740 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19741 Remove ptr_pthread_self.
19742
19743 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19744
19745 * posix/regcomp.c: Fix spelling in comments.
19746 * posix/regex.h: Likewise.
19747 * posix/regex_internal.c: Likewise.
19748 * posix/regexec.c: Likewise.
19749
19750 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19751
19752 [BZ #22377]
19753 * math/Makefile [C++] (tests): Add test for iseqsig.
19754 * math/math.h [C++] (iseqsig): New implementation, which does
19755 not rely on __MATH_TG/__builtin_types_compatible_p.
19756 * math/test-math-iseqsig.cc: New file.
19757 * sysdeps/powerpc/powerpc64le/Makefile
19758 (CFLAGS-test-math-iseqsig.cc): New variable.
19759
19760 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19761
19762 * elf/dl-load.c (is_trusted_path): Remove.
19763 (fillin_rpath): Remove check_trusted argument and its use,
19764 all callers changed.
19765
19766 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19767
19768 [BZ #22630]
19769 * Makeconfig (link-pie-before-libc): Replace -pie with
19770 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19771 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19772 (tst-dlopen-aout-no-pie): New.
19773 (LDFLAGS-tst-prelink): Removed.
19774 (tst-prelink-no-pie): New.
19775 (LDFLAGS-tst-main1): Removed.
19776 (tst-main1-no-pie): New.
19777 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19778 (tst-gmon-no-pie): New.
19779
19780 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19781
19782 * manual/install.texi: Document that --enable-static-pie
19783 implies PIE.
19784 * INSTALL: Regenerated.
19785
19786 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19787
19788 [BZ #21309]
19789 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19790 unsigned.
19791
19792 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19793
19794 Revert:
19795
19796 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19797
19798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19799
19800 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19801
19802 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19803 <errno.h>. Include "eexp.tbl".
19804 (half): New constant.
19805 (one): Likewise.
19806 (__ieee754_exp): Rewrite.
19807 (__slowexp): Remove prototype.
19808 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19809 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19810 * sysdeps/i386/fpu/slowexp.c: Likewise.
19811 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19812 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19813 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19814 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19815 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19816 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19817 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19818 comment.
19819 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19820 (CPPFLAGS-slowexp.c): Remove variable.
19821 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19822 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19823 (CFLAGS-slowexp-fma.c): Remove variable.
19824 (CFLAGS-slowexp-fma4.c): Likewise.
19825 (CFLAGS-slowexp-avx.c): Likewise.
19826 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19827 define as macro.
19828 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19829 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19830 * math/Makefile (type-double-routines): Remove slowexp.
19831 * manual/probes.texi (slowexp_p6): Remove.
19832 (slowexp_p32): Likewise.
19833
19834 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19835
19836 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19837 arithmetic.
19838
19839 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19840
19841 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19842
19843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19844
19845 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19846
19847 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19848 <errno.h>. Include "eexp.tbl".
19849 (half): New constant.
19850 (one): Likewise.
19851 (__ieee754_exp): Rewrite.
19852 (__slowexp): Remove prototype.
19853 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19854 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19855 * sysdeps/i386/fpu/slowexp.c: Likewise.
19856 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19857 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19858 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19859 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19860 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19861 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19862 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19863 comment.
19864 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19865 (CPPFLAGS-slowexp.c): Remove variable.
19866 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19867 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19868 (CFLAGS-slowexp-fma.c): Remove variable.
19869 (CFLAGS-slowexp-fma4.c): Likewise.
19870 (CFLAGS-slowexp-avx.c): Likewise.
19871 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19872 define as macro.
19873 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19874 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19875 * math/Makefile (type-double-routines): Remove slowexp.
19876 * manual/probes.texi (slowexp_p6): Remove.
19877 (slowexp_p32): Likewise.
19878
19879 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19880 James Clarke <jrtc27@jrtc27.com>
19881
19882 [BZ #22603]
19883 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19884 addition.
19885
19886 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19887
19888 [BZ #22605]
19889 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19890 code.
19891
19892 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19893
19894 [BZ #22563]
19895 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19896 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19897 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19898 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19899 to feature_1.
19900
19901 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19902
19903 [BZ #22563]
19904 * bits/types/__cancel_jmp_buf_tag.h: New file.
19905 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19906 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19907 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19908 * nptl/Makefile (headers): Add
19909 bits/types/__cancel_jmp_buf_tag.h.
19910 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19911 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19912 * sysdeps/nptl/pthread.h: Include
19913 <bits/types/__cancel_jmp_buf_tag.h>.
19914 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19915 __cancel_jmp_buf.
19916 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19917
19918 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19919
19920 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19921 --enable-static-pie variants to x86_64, x32 and i686.
19922
19923 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19924
19925 [BZ #22631]
19926 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19927 argument for attrubutes. All callers changed.
19928 (__inline_mathop1): Likewise. All callers changed.
19929 (__inline_mathop): Likewise. All callers changed.
19930 [__USE_MISC] (scalbn): Use __inline_forward instead of
19931 __inline_forward_c.
19932 [__USE_ISOC99] (scalbln): Likewise.
19933 [__USE_ISOC99] (nearbyint): Likewise.
19934 [__USE_ISOC99] (lrint): Likewise.
19935 [__USE_MISC] (scalbnf): Likewise.
19936 [__USE_ISOC99] (scalblnf): Likewise.
19937 [__USE_ISOC99] (nearbyintf): Likewise.
19938 [__USE_ISOC99] (lrintf): Likewise.
19939 [__USE_MISC] (scalbnl): Likewise.
19940 [__USE_ISOC99] (scalblnl): Likewise.
19941 [__USE_ISOC99] (nearbyintl): Likewise.
19942 [__USE_ISOC99] (lrintl): Likewise.
19943 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19944 __inline_mathop and __m81_defun changed.
19945
19946 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19947 CPU or FPU for ARM hard-float configurations.
19948
19949 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19950
19951 * nptl/tst-attr3.c: Include <libc-diag.h>.
19952 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19953
19954 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19955
19956 * string/tester.c (test_strncat): Also disable -Warray-bounds
19957 warnings for two tests.
19958
19959 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19960
19961 [BZ #22614]
19962 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19963 $(cc-pie-default) == yes.
19964 * config.make.in (cc-pie-default): New.
19965 * configure.ac (libc_cv_pie_default): Renamed to ...
19966 (libc_cv_cc_pie_default): This.
19967 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19968 * configure: Regenerated.
19969
19970 2017-12-18 Florian Weimer <fweimer@redhat.com>
19971
19972 [BZ #20204]
19973 ld.so: Harden dl-libc/libdl hooks.
19974 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19975 (rtld_active): New function.
19976 * dlfcn/dladdr.c (__dladdr): Call it.
19977 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19978 * dlfcn/dlclose.c (__dlcose): Likewise.
19979 * dlfcn/dlerror.c (__dlerror): Likewise.
19980 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19981 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19982 * dlfcn/dlopen.c (__dlopen): Likewise.
19983 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19984 * dlfcn/dlsym.c (__dlsym): Likewise.
19985 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19986 * libio/vtables.c (_IO_vtable_check): Likewise.
19987 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19988 (__libc_dlclose): Likewise.
19989 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19990 assignment.
19991
19992 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19993
19994 [BZ #22446]
19995 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19996 buffers for readlink input and output.
19997
19998 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19999
20000 [BZ #22624]
20001 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20002 inhibit_stack_protector.
20003
20004 [BZ #22624]
20005 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20006 inhibit_stack_protector.
20007
20008 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20009
20010 [BZ #22627]
20011 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20012 code and invocation.
20013
20014 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20015
20016 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20017
20018 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20019
20020 [BZ #22505]
20021 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20022
20023 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20024
20025 * sysdeps/s390/fpu/libm-test-ulps: Update.
20026
20027 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20028
20029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20030
20031 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20032
20033 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20034 constants to s_sincosf.h file.
20035 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20036 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20037 implementation.
20038 * sysdeps/ieee754/flt-32/s_sincosf.h:
20039 New file.
20040
20041 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20042
20043 [BZ #14681]
20044 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20045 before mtrace.
20046
20047 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20048
20049 [BZ #19574]
20050 * INSTALL: Regenerated.
20051 * Makeconfig (real-static-start-installed-name): New.
20052 (pic-default): Updated for --enable-static-pie.
20053 (pie-default): New for --enable-static-pie.
20054 (default-pie-ldflag): Likewise.
20055 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20056 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20057 Replace $(static-start-installed-name) with
20058 $(real-static-start-installed-name).
20059 (+prectorT): Updated for --enable-static-pie.
20060 (+postctorT): Likewise.
20061 (CFLAGS-.o): Add $(pie-default).
20062 (CFLAGS-.op): Likewise.
20063 * NEWS: Mention --enable-static-pie.
20064 * config.h.in (ENABLE_STATIC_PIE): New.
20065 * configure.ac (--enable-static-pie): New configure option.
20066 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20067 (have-static-pie): Likewise.
20068 Enable static PIE if linker supports --no-dynamic-linker.
20069 (ENABLE_STATIC_PIE): New AC_DEFINE.
20070 (enable-static-pie): New LIBC_CONFIG_VAR.
20071 * configure: Regenerated.
20072 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20073 gr$(start-installed-name) for --enable-static-pie.
20074 (extra-objs): Likewise.
20075 (install-lib): Likewise.
20076 (extra-objs): Add static-reloc.o and static-reloc.os
20077 ($(objpfx)$(start-installed-name)): Also depend on
20078 $(objpfx)static-reloc.o.
20079 ($(objpfx)r$(start-installed-name)): New.
20080 ($(objpfx)g$(start-installed-name)): Also depend on
20081 $(objpfx)static-reloc.os.
20082 ($(objpfx)gr$(start-installed-name)): New.
20083 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20084 in libc.a.
20085 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20086 initimage.
20087 * csu/static-reloc.c: New file.
20088 * elf/Makefile (routines): Add dl-reloc-static-pie.
20089 (elide-routines.os): Likewise.
20090 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20091 (tst-tls1-static-non-pie-no-pie): New.
20092 * elf/dl-reloc-static-pie.c: New file.
20093 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20094 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20095 STATIC_PIE_BOOTSTRAP.
20096 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20097 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20098 (tests-static): Likewise.
20099 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20100 (tst-gmon-static-no-pie): New.
20101 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20102 (CRT-tst-gmon-static-pie): Likewise.
20103 (tst-gmon-static-pie-ENV): Likewise.
20104 (tests-special): Likewise.
20105 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20106 (clean-tst-gmon-static-pie-data): Likewise.
20107 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20108 * gmon/tst-gmon-static-pie.c: New file.
20109 * manual/install.texi: Document --enable-static-pie.
20110 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20111 (_dl_get_dl_main_map): Likewise.
20112 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20113 * sysdeps/x86_64/configure.ac: Likewise.
20114 * sysdeps/i386/configure: Regenerated.
20115 * sysdeps/x86_64/configure: Likewise.
20116 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20117 (ASFLAGS-.op): Likewise.
20118
20119 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20120
20121 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20122 * posix/tst-mmap-offset.c (fname): Use /tmp.
20123 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20124
20125 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20126
20127 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20128
20129 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20130
20131 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20132 errno.
20133
20134 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20135
20136 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20137 --with-float=hard for arm-linux-gnueabihf configurations.
20138
20139 [BZ #14121]
20140 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20141 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20142 ($(mo-installed)): Use $(objpfx)%.mo.
20143 (realclean): Remove rule.
20144
20145 * po/Makefile (linguas): Remove rule and dependencies.
20146 (linguas.mo): Likewise.
20147 (.PHONY): Do not depend on linguas and linguas.mo.
20148 (podir): Remove variable.
20149 (pofiles): Likewise.
20150 [$(pofiles)] (%.po): Remove rule.
20151
20152 * sysdeps/sparc/sparc32/Makefile
20153 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20154 start-of-line whitespace in argument of echo.
20155 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20156 with whitespace. Generate __wrap_.udiv alias.
20157 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20158 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20159 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20160 * sysdeps/sparc/sparc32/urem.S: Likewise.
20161
20162 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20163
20164 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20165 for aligned inputs.
20166
20167 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20168
20169 * benchtests/bench-strcmp.c: Print output in JSON format.
20170
20171 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20172
20173 2017-12-14 Florian Weimer <fweimer@redhat.com>
20174
20175 [BZ #22607]
20176 CVE-2017-1000409
20177 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20178 the expanded path string.
20179
20180 2017-12-14 Florian Weimer <fweimer@redhat.com>
20181
20182 [BZ #22606]
20183 CVE-2017-1000408
20184 * elf/dl-load.c (system_dirs): Update comment.
20185 (nsystem_dirs_len): Use array_length.
20186 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20187
20188 2017-12-14 Florian Weimer <fweimer@redhat.com>
20189
20190 Simplify compiling most of support/ outside of glibc.
20191 * support/check_addrinfo.c: Include <string.h>.
20192 * support/check_dns_packet.c: Likewise.
20193 * support/check_hostent.c: Likewise.
20194 * support/support_can_chroot.c: Include <support/xunistd.h>.
20195 * support/support_format_addrinfo.c: Include <stdlib.h>
20196 * support/support_format_dns_packet.c: Include <stdbool.h>.
20197 * support/support_format_hostent.c: Include <stdlib.h>.
20198 * support/support_format_netent.c: Likewise.
20199 * support/support_write_string.c: Include <support/xunistd.h>.
20200 * support/xdlfcn.c: Include <stddef.h>.
20201
20202 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20203
20204 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20205
20206 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20207 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20208
20209 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20210 (sysdeps_routines): Add memset-niagara7.
20211 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20212 Likewise.
20213 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20214 file.
20215 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20216 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20217 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20218 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20219 Add niagara7 option.
20220 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20221 memset.
20222
20223 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20224 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20225 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20226 Likewise.
20227 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20228 New file.
20229 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20230 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20231 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20232 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20233 and __memmove_niagara7.
20234 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20235 Add niagara7 option.
20236 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20237 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20238 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20239 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20240 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20241
20242 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20243
20244 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20245 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20246 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20247 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20248
20249 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20250 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20251 _dl_sparc_cap_flags array.
20252 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20253
20254 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20255
20256 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20257 time whenever possible.
20258
20259 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20260
20261 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20262 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20263
20264 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20265
20266 * soft-fp/fmadf4.c: Move to ....
20267 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20268 * soft-fp/fmasf4.c: Move to ....
20269 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20270 * soft-fp/fmatf4.c: Move to ....
20271 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20272 * sysdeps/ieee754/soft-fp/Makefile: New file.
20273 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20274 * sysdeps/arm/preconfigure: Regenerated.
20275 * sysdeps/arm/nofpu/Implies: New file.
20276 * sysdeps/arm/s_fma.c: Remove file.
20277 * sysdeps/arm/s_fmaf.c: Likewise.
20278 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20279 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20280 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20281 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20282 * sysdeps/microblaze/s_fma.c: Remove file.
20283 * sysdeps/microblaze/s_fmaf.c: Likewise.
20284 * sysdeps/mips/mips32/nofpu/Implies: New file.
20285 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20286 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20287 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20288 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20289 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20290 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20291 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20292 implementation.
20293 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20294 * sysdeps/nios2/s_fma.c: Remove file.
20295 * sysdeps/nios2/s_fmaf.c: Likewise.
20296 * sysdeps/sh/nofpu/Implies: New file.
20297 * sysdeps/sh/s_fma.c: Remove file.
20298 * sysdeps/sh/s_fmaf.c: Likewise.
20299 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20300 * sysdeps/tile/s_fma.c: Remove file.
20301 * sysdeps/tile/s_fmaf.c: Likewise.
20302
20303 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20304
20305 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20306 Add s_cosf-sse2 and s_cosf-fma.
20307 (CFLAGS-s_cosf-fma.c): New.
20308 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20309 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20310 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20311
20312 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20313
20314 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20315
20316 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20317
20318 * libio/Makefile (tests): Add tst-bz22415.
20319 (tst-bz22415-ENV): New rule.
20320 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20321 (tests-special): Add tst-bz22415-mem.out.
20322 ($(objpfx)tst-bz22415-mem.out): New rule.
20323 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20324 in case of a successful seek operation.
20325 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20326 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20327 buffer is required.
20328 * libio/tst-bz22415.c: New test.
20329
20330 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20331
20332 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20333
20334 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20335 __IPC_64 to 0 to avoid IPC_64 being set.
20336
20337 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20338
20339 [BZ #22593]
20340 * math/bits/mathcalls.h (nextafter): Remove const.
20341 (nexttoward): Likewise.
20342
20343 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20344
20345 * configure.ac (--with-fp): Remove configure option.
20346 (with_fp_cond): New variable.
20347 (libc_cv_with_fp): New configure test. Use this variable instead
20348 of with_fp.
20349 * configure: Regenerated.
20350 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20351 * manual/install.texi (Configuring and compiling): Remove
20352 --without-fp.
20353 * INSTALL: Regenerated.
20354 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20355 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20356 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20357 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20358 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20359 use --without-fp to configure glibc.
20360
20361 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20362
20363 * manual/locale.texi (nl_langinfo): Fix a typo.
20364
20365 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20366
20367 [BZ #22588]
20368 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20369
20370 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20371
20372 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20373 (CFLAGS-argp-parse.c): Likewise.
20374 (CFLAGS-argp-fmtstream.c): Likewise.
20375 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20376 (CPPFLAGS-sha512-crypt.c): Likewise.
20377 (CPPFLAGS-md5-crypt.c): Likewise.
20378 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20379 (CFLAGS-stack_chk_fail_local.c): Likewise.
20380 (CFLAGS-backtrace.c): Likewise.
20381 (CFLAGS-sprintf_chk.c): Likewise.
20382 (CFLAGS-snprintf_chk.c): Likewise.
20383 (CFLAGS-vsprintf_chk.c): Likewise.
20384 (CFLAGS-vsnprintf_chk.c): Likewise.
20385 (CFLAGS-asprintf_chk.c): Likewise.
20386 (CFLAGS-vasprintf_chk.c): Likewise.
20387 (CFLAGS-obprintf_chk.c): Likewise.
20388 (CFLAGS-dprintf_chk.c): Likewise.
20389 (CFLAGS-vdprintf_chk.c): Likewise.
20390 (CFLAGS-printf_chk.c): Likewise.
20391 (CFLAGS-fprintf_chk.c): Likewise.
20392 (CFLAGS-vprintf_chk.c): Likewise.
20393 (CFLAGS-vfprintf_chk.c): Likewise.
20394 (CFLAGS-gets_chk.c): Likewise.
20395 (CFLAGS-fgets_chk.c): Likewise.
20396 (CFLAGS-fgets_u_chk.c): Likewise.
20397 (CFLAGS-fread_chk.c): Likewise.
20398 (CFLAGS-fread_u_chk.c): Likewise.
20399 (CFLAGS-swprintf_chk.c): Likewise.
20400 (CFLAGS-vswprintf_chk.c): Likewise.
20401 (CFLAGS-wprintf_chk.c): Likewise.
20402 (CFLAGS-fwprintf_chk.c): Likewise.
20403 (CFLAGS-vwprintf_chk.c): Likewise.
20404 (CFLAGS-vfwprintf_chk.c): Likewise.
20405 (CFLAGS-fgetws_chk.c): Likewise.
20406 (CFLAGS-fgetws_u_chk.c): Likewise.
20407 (CFLAGS-read_chk.c): Likewise.
20408 (CFLAGS-pread_chk.c): Likewise.
20409 (CFLAGS-pread64_chk.c): Likewise.
20410 (CFLAGS-recv_chk.c): Likewise.
20411 (CFLAGS-recvfrom_chk.c): Likewise.
20412 (CFLAGS-tst-longjmp_chk.c): Likewise.
20413 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20414 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20415 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20416 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20417 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20418 (CFLAGS-tst-chk1.c): Likewise.
20419 (CFLAGS-tst-chk2.c): Likewise.
20420 (CFLAGS-tst-chk3.c): Likewise.
20421 (CFLAGS-tst-chk4.cc): Likewise.
20422 (CFLAGS-tst-chk5.cc): Likewise.
20423 (CFLAGS-tst-chk6.cc): Likewise.
20424 (CFLAGS-tst-lfschk1.c): Likewise.
20425 (CFLAGS-tst-lfschk2.c): Likewise.
20426 (CFLAGS-tst-lfschk3.c): Likewise.
20427 (CFLAGS-tst-lfschk4.cc): Likewise.
20428 (CFLAGS-tst-lfschk5.cc): Likewise.
20429 (CFLAGS-tst-lfschk6.cc): Likewise.
20430 (CFLAGS-tst-ssp-1.c): Likewise.
20431 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20432 (CFLAGS-scandir64.c): Likewise.
20433 (CFLAGS-scandir-tail.c): Likewise.
20434 (CFLAGS-scandir64-tail.c): Likewise.
20435 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20436 (CFLAGS-dl-tunables.c): Likewise.
20437 (CFLAGS-dl-runtime.c): Likewise.
20438 (CFLAGS-dl-lookup.c): Likewise.
20439 (CFLAGS-dl-iterate-phdr.c): Likewise.
20440 (CFLAGS-vismain.c): Likewise.
20441 (CFLAGS-tst-linkall-static.c): Likewise.
20442 (CFLAGS-tst-linkall-static.c): Likewise.
20443 (CPPFLAGS-dl-load.c): Likewise.
20444 (CFLAGS-ldconfig.c): Likewise.
20445 (CFLAGS-dl-cache.c): Likewise.
20446 (CFLAGS-cache.c): Likewise.
20447 (CFLAGS-rtld.c): Likewise.
20448 (CFLAGS-multiload.c): Likewise.
20449 (CFLAGS-filtmod1.c): Likewise.
20450 (CFLAGS-tst-align.c): Likewise.
20451 (CFLAGS-tst-align2.c): Likewise.
20452 (CFLAGS-tst-alignmod.c): Likewise.
20453 (CFLAGS-tst-alignmod2.c): Likewise.
20454 (CPPFLAGS-tst-execstack.c): Likewise.
20455 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20456 (CFLAGS-tst-latepthreadmod.c): Likewise.
20457 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20458 (CFLAGS-getgrnam_r.c): Likewise.
20459 (CFLAGS-getgrent_r.c): Likewise.
20460 (CFLAGS-getgrent.c): Likewise.
20461 (CFLAGS-fgetgrent.c): Likewise.
20462 (CFLAGS-fgetgrent_r.c): Likewise.
20463 (CFLAGS-putgrent.c): Likewise.
20464 (CFLAGS-initgroups.c): Likewise.
20465 (CFLAGS-getgrgid.c): Likewise.
20466 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20467 (CFLAGS-getsgent.c): Likewise.
20468 (CFLAGS-fgetsgent.c): Likewise.
20469 (CFLAGS-fgetsgent_r.c): Likewise.
20470 (CFLAGS-putsgent.c): Likewise.
20471 (CFLAGS-getsgnam.c): Likewise.
20472 (CFLAGS-getsgnam_r.c): Likewise.
20473 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20474 (CFLAGS-iconv_charmap.c): Likewise.
20475 (CFLAGS-dummy-repertoire.c): Likewise.
20476 (CFLAGS-charmap.c): Likewise.
20477 (CFLAGS-linereader.c): Likewise.
20478 (CFLAGS-simple-hash.c): Likewise.
20479 (CFLAGS-gconv_conf.c): Likewise.
20480 (CFLAGS-iconvconfig.c): Likewise.
20481 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20482 (CFLAGS-gethstbyad.c): Likewise.
20483 (CFLAGS-gethstbynm_r.c): Likewise.
20484 (CFLAGS-gethstbynm.c): Likewise.
20485 (CFLAGS-gethstbynm2_r.c): Likewise.
20486 (CFLAGS-gethstbynm2.c): Likewise.
20487 (CFLAGS-gethstent_r.c): Likewise.
20488 (CFLAGS-gethstent.c): Likewise.
20489 (CFLAGS-rcmd.c): Likewise.
20490 (CFLAGS-getnetbynm_r.c): Likewise.
20491 (CFLAGS-getnetbynm.c): Likewise.
20492 (CFLAGS-getnetbyad_r.c): Likewise.
20493 (CFLAGS-getnetbyad.c): Likewise.
20494 (CFLAGS-getnetent_r.c): Likewise.
20495 (CFLAGS-getnetent.c): Likewise.
20496 (CFLAGS-getaliasent_r.c): Likewise.
20497 (CFLAGS-getaliasent.c): Likewise.
20498 (CFLAGS-getrpcent_r.c): Likewise.
20499 (CFLAGS-getrpcent.c): Likewise.
20500 (CFLAGS-getservent_r.c): Likewise.
20501 (CFLAGS-getservent.c): Likewise.
20502 (CFLAGS-getprtent_r.c): Likewise.
20503 (CFLAGS-getprtent.c): Likewise.
20504 (CFLAGS-either_ntoh.c): Likewise.
20505 (CFLAGS-either_hton.c): Likewise.
20506 (CFLAGS-getnetgrent.c): Likewise.
20507 (CFLAGS-getnetgrent_r.c): Likewise.
20508 (CFLAGS-tst-checks-posix.c): Likewise.
20509 (CFLAGS-tst-sockaddr.c): Likewise.
20510 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20511 (CFLAGS-tst-translit.c): Likewise.
20512 (CFLAGS-tst-gettext2.c): Likewise.
20513 (CFLAGS-tst-codeset.c): Likewise.
20514 (CFLAGS-tst-gettext3.c): Likewise.
20515 (CFLAGS-tst-gettext4.c): Likewise.
20516 (CFLAGS-tst-gettext5.c): Likewise.
20517 (CFLAGS-tst-gettext6.c): Likewise.
20518 * io/Makefile (CFLAGS-open.c): Likewise.
20519 (CFLAGS-open64.c): Likewise.
20520 (CFLAGS-creat.c): Likewise.
20521 (CFLAGS-creat64.c): Likewise.
20522 (CFLAGS-fcntl.c): Likewise.
20523 (CFLAGS-poll.c): Likewise.
20524 (CFLAGS-ppoll.c): Likewise.
20525 (CFLAGS-lockf.c): Likewise.
20526 (CFLAGS-statfs.c): Likewise.
20527 (CFLAGS-fstatfs.c): Likewise.
20528 (CFLAGS-statvfs.c): Likewise.
20529 (CFLAGS-fstatvfs.c): Likewise.
20530 (CFLAGS-fts.c): Likewise.
20531 (CFLAGS-fts64.c): Likewise.
20532 (CFLAGS-ftw.c): Likewise.
20533 (CFLAGS-ftw64.c): Likewise.
20534 (CFLAGS-lockf.c): Likewise.
20535 (CFLAGS-posix_fallocate.c): Likewise.
20536 (CFLAGS-posix_fallocate64.c): Likewise.
20537 (CFLAGS-fallocate.c): Likewise.
20538 (CFLAGS-fallocate64.c): Likewise.
20539 (CFLAGS-read.c): Likewise.
20540 (CFLAGS-write.c): Likewise.
20541 (CFLAGS-test-stat.c): Likewise.
20542 (CFLAGS-test-lfs.c): Likewise.
20543 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20544 (CFLAGS-fputc.c): Likewise.
20545 (CFLAGS-fputwc.c): Likewise.
20546 (CFLAGS-freopen64.c): Likewise.
20547 (CFLAGS-freopen.c): Likewise.
20548 (CFLAGS-fseek.c): Likewise.
20549 (CFLAGS-fseeko64.c): Likewise.
20550 (CFLAGS-fseeko.c): Likewise.
20551 (CFLAGS-ftello64.c): Likewise.
20552 (CFLAGS-ftello.c): Likewise.
20553 (CFLAGS-fwide.c): Likewise.
20554 (CFLAGS-genops.c): Likewise.
20555 (CFLAGS-getc.c): Likewise.
20556 (CFLAGS-getchar.c): Likewise.
20557 (CFLAGS-getwc.c): Likewise.
20558 (CFLAGS-getwchar.c): Likewise.
20559 (CFLAGS-iofclose.c): Likewise.
20560 (CFLAGS-iofflush.c): Likewise.
20561 (CFLAGS-iofgetpos64.c): Likewise.
20562 (CFLAGS-iofgetpos.c): Likewise.
20563 (CFLAGS-iofgets.c): Likewise.
20564 (CFLAGS-iofgetws.c): Likewise.
20565 (CFLAGS-iofputs.c): Likewise.
20566 (CFLAGS-iofputws.c): Likewise.
20567 (CFLAGS-iofread.c): Likewise.
20568 (CFLAGS-iofsetpos64.c): Likewise.
20569 (CFLAGS-iofsetpos.c): Likewise.
20570 (CFLAGS-ioftell.c): Likewise.
20571 (CFLAGS-iofwrite.c): Likewise.
20572 (CFLAGS-iogetdelim.c): Likewise.
20573 (CFLAGS-iogetline.c): Likewise.
20574 (CFLAGS-iogets.c): Likewise.
20575 (CFLAGS-iogetwline.c): Likewise.
20576 (CFLAGS-ioputs.c): Likewise.
20577 (CFLAGS-ioseekoff.c): Likewise.
20578 (CFLAGS-ioseekpos.c): Likewise.
20579 (CFLAGS-iosetbuffer.c): Likewise.
20580 (CFLAGS-iosetvbuf.c): Likewise.
20581 (CFLAGS-ioungetc.c): Likewise.
20582 (CFLAGS-ioungetwc.c): Likewise.
20583 (CFLAGS-oldfileops.c): Likewise.
20584 (CFLAGS-oldiofclose.c): Likewise.
20585 (CFLAGS-oldiofgetpos64.c): Likewise.
20586 (CFLAGS-oldiofgetpos.c): Likewise.
20587 (CFLAGS-oldiofsetpos64.c): Likewise.
20588 (CFLAGS-oldiofsetpos.c): Likewise.
20589 (CFLAGS-peekc.c): Likewise.
20590 (CFLAGS-putc.c): Likewise.
20591 (CFLAGS-putchar.c): Likewise.
20592 (CFLAGS-putwc.c): Likewise.
20593 (CFLAGS-putwchar.c): Likewise.
20594 (CFLAGS-rewind.c): Likewise.
20595 (CFLAGS-wfileops.c): Likewise.
20596 (CFLAGS-wgenops.c): Likewise.
20597 (CFLAGS-oldiofopen.c): Likewise.
20598 (CFLAGS-iofopen.c): Likewise.
20599 (CFLAGS-iofopen64.c): Likewise.
20600 (CFLAGS-oldtmpfile.c): Likewise.
20601 (CFLAGS-tst_putwc.c): Likewise.
20602 * locale/Makefile (CFLAGS-md5.c): Likewise.
20603 (CFLAGS-charmap.c): Likewise.
20604 (CFLAGS-locfile.c): Likewise.
20605 (CFLAGS-charmap-dir.c): Likewise.
20606 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20607 (CFLAGS-getpt.c): Likewise.
20608 (CFLAGS-pt_chown.c): Likewise.
20609 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20610 (CFLAGS-obstack.c): Likewise.
20611 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20612 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20613 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20614 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20615 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20616 (CFLAGS-test-tgmath.c): Likewise.
20617 (CFLAGS-test-tgmath2.c): Likewise.
20618 (CFLAGS-test-tgmath-ret.c): Likewise.
20619 (CFLAGS-test-powl.c): Likewise.
20620 (CFLAGS-test-snan.c): Likewise.
20621 (CFLAGS-test-signgam-finite.c): Likewise.
20622 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20623 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20624 (CFLAGS-test-signgam-uchar.c): Likewise.
20625 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20626 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20627 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20628 (CFLAGS-test-signgam-uint.c): Likewise.
20629 (CFLAGS-test-signgam-uint-init.c): Likewise.
20630 (CFLAGS-test-signgam-uint-static.c): Likewise.
20631 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20632 (CFLAGS-test-signgam-ullong.c): Likewise.
20633 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20634 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20635 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20636 (CFLAGS-test-math-cxx11.cc): Likewise.
20637 (CFLAGS-test-math-isinff.cc): Likewise.
20638 (CFLAGS-test-math-iszero.cc): Likewise.
20639 (CFLAGS-test-math-issignaling.cc): Likewise.
20640 (CFLAGS-test-math-iscanonical.cc): Likewise.
20641 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20642 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20643 (CFLAGS-test-flt-eval-method.c): Likewise.
20644 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20645 (CFLAGS-test-finite-macros.c): Likewise.
20646 * misc/Makefile (CFLAGS-select.c): Likewise.
20647 (CFLAGS-tsearch.c): Likewise.
20648 (CFLAGS-lsearch.c): Likewise.
20649 (CFLAGS-pselect.c): Likewise.
20650 (CFLAGS-readv.c): Likewise.
20651 (CFLAGS-writev.c): Likewise.
20652 (CFLAGS-preadv.c): Likewise.
20653 (CFLAGS-preadv64.c): Likewise.
20654 (CFLAGS-pwritev.c): Likewise.
20655 (CFLAGS-pwritev64.c): Likewise.
20656 (CFLAGS-preadv2.c): Likewise.
20657 (CFLAGS-preadv64v2.c): Likewise.
20658 (CFLAGS-pwritev2.c): Likewise.
20659 (CFLAGS-pwritev64v2.c): Likewise.
20660 (CFLAGS-usleep.c): Likewise.
20661 (CFLAGS-syslog.c): Likewise.
20662 (CFLAGS-error.c): Likewise.
20663 (CFLAGS-getpass.c): Likewise.
20664 (CFLAGS-mkstemp.c): Likewise.
20665 (CFLAGS-mkstemp64.c): Likewise.
20666 (CFLAGS-getsysstats.c): Likewise.
20667 (CFLAGS-getusershell.c): Likewise.
20668 (CFLAGS-err.c): Likewise.
20669 (CFLAGS-tst-tsearch.c): Likewise.
20670 (CFLAGS-msync.c): Likewise.
20671 (CFLAGS-fdatasync.c): Likewise.
20672 (CFLAGS-fsync.c): Likewise.
20673 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20674 (CFLAGS-unwind.c): Likewise.
20675 (CFLAGS-unwind-forcedunwind.c): Likewise.
20676 (CFLAGS-pthread_cancel.c): Likewise.
20677 (CFLAGS-pthread_setcancelstate.c): Likewise.
20678 (CFLAGS-pthread_setcanceltype.c): Likewise.
20679 (CFLAGS-cancellation.c): Likewise.
20680 (CFLAGS-libc-cancellation.c): Likewise.
20681 (CFLAGS-pthread_exit.c): Likewise.
20682 (CFLAGS-forward.c): Likewise.
20683 (CFLAGS-pthread_testcancel.c): Likewise.
20684 (CFLAGS-pthread_join.c): Likewise.
20685 (CFLAGS-pthread_timedjoin.c): Likewise.
20686 (CFLAGS-pthread_once.c): Likewise.
20687 (CFLAGS-pthread_cond_wait.c): Likewise.
20688 (CFLAGS-sem_wait.c): Likewise.
20689 (CFLAGS-sem_timedwait.c): Likewise.
20690 (CFLAGS-fcntl.c): Likewise.
20691 (CFLAGS-lockf.c): Likewise.
20692 (CFLAGS-pread.c): Likewise.
20693 (CFLAGS-pread64.c): Likewise.
20694 (CFLAGS-pwrite.c): Likewise.
20695 (CFLAGS-pwrite64.c): Likewise.
20696 (CFLAGS-wait.c): Likewise.
20697 (CFLAGS-waitpid.c): Likewise.
20698 (CFLAGS-sigwait.c): Likewise.
20699 (CFLAGS-msgrcv.c): Likewise.
20700 (CFLAGS-msgsnd.c): Likewise.
20701 (CFLAGS-tcdrain.c): Likewise.
20702 (CFLAGS-open.c): Likewise.
20703 (CFLAGS-open64.c): Likewise.
20704 (CFLAGS-pause.c): Likewise.
20705 (CFLAGS-recv.c): Likewise.
20706 (CFLAGS-send.c): Likewise.
20707 (CFLAGS-accept.c): Likewise.
20708 (CFLAGS-sendto.c): Likewise.
20709 (CFLAGS-connect.c): Likewise.
20710 (CFLAGS-recvfrom.c): Likewise.
20711 (CFLAGS-recvmsg.c): Likewise.
20712 (CFLAGS-sendmsg.c): Likewise.
20713 (CFLAGS-close.c): Likewise.
20714 (CFLAGS-read.c): Likewise.
20715 (CFLAGS-write.c): Likewise.
20716 (CFLAGS-nanosleep.c): Likewise.
20717 (CFLAGS-sigsuspend.c): Likewise.
20718 (CFLAGS-msync.c): Likewise.
20719 (CFLAGS-fdatasync.c): Likewise.
20720 (CFLAGS-fsync.c): Likewise.
20721 (CFLAGS-pt-system.c): Likewise.
20722 (CFLAGS-tst-cleanup2.c): Likewise.
20723 (CFLAGS-tst-cleanupx2.c): Likewise.
20724 (CFLAGS-flockfile.c): Likewise.
20725 (CFLAGS-ftrylockfile.c): Likewise.
20726 (CFLAGS-funlockfile.c): Likewise.
20727 (CFLAGS-tst-initializers1.c): Likewise.
20728 (CFLAGS-tst-initializers1-c89.c): Likewise.
20729 (CFLAGS-tst-initializers1-c99.c): Likewise.
20730 (CFLAGS-tst-initializers1-c11.c): Likewise.
20731 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20732 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20733 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20734 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20735 (CFLAGS-nscd_getgr_r.c): Likewise.
20736 (CFLAGS-nscd_gethst_r.c): Likewise.
20737 (CFLAGS-nscd_getai.c): Likewise.
20738 (CFLAGS-nscd_initgroups.c): Likewise.
20739 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20740 (CFLAGS-pause.c): Likewise.
20741 (CFLAGS-pread.c): Likewise.
20742 (CFLAGS-pread64.c): Likewise.
20743 (CFLAGS-pwrite.c): Likewise.
20744 (CFLAGS-pwrite64.c): Likewise.
20745 (CFLAGS-sleep.c): Likewise.
20746 (CFLAGS-wait.c): Likewise.
20747 (CFLAGS-waitid.c): Likewise.
20748 (CFLAGS-waitpid.c): Likewise.
20749 (CFLAGS-getopt.c): Likewise.
20750 (CFLAGS-wordexp.c): Likewise.
20751 (CFLAGS-sysconf.c): Likewise.
20752 (CFLAGS-pathconf.c): Likewise.
20753 (CFLAGS-fpathconf.c): Likewise.
20754 (CFLAGS-spawn.c): Likewise.
20755 (CFLAGS-spawnp.c): Likewise.
20756 (CFLAGS-spawni.c): Likewise.
20757 (CFLAGS-glob.c): Likewise.
20758 (CFLAGS-glob64.c): Likewise.
20759 (CFLAGS-getconf.c): Likewise.
20760 (CFLAGS-nanosleep.c): Likewise.
20761 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20762 (CFLAGS-getpwent.c): Likewise.
20763 (CFLAGS-getpw.c): Likewise.
20764 (CFLAGS-fgetpwent_r.c): Likewise.
20765 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20766 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20767 (CFLAGS-mq_timedreceive.c): Likewise.
20768 (CFLAGS-mq_timedsend.c): Likewise.
20769 (CFLAGS-clock_nanosleep.c): Likewise.
20770 (CFLAGS-librt-cancellation.c): Likewise.
20771 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20772 (CFLAGS-getspent.c): Likewise.
20773 (CFLAGS-fgetspent.c): Likewise.
20774 (CFLAGS-fgetspent_r.c): Likewise.
20775 (CFLAGS-putspent.c): Likewise.
20776 (CFLAGS-getspnam.c): Likewise.
20777 (CFLAGS-getspnam_r.c): Likewise.
20778 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20779 (CFLAGS-sigsuspend.c): Likewise.
20780 (CFLAGS-sigtimedwait.c): Likewise.
20781 (CFLAGS-sigwait.c): Likewise.
20782 (CFLAGS-sigwaitinfo.c): Likewise.
20783 (CFLAGS-sigreturn.c): Likewise.
20784 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20785 (CFLAGS-vfwprintf.c): Likewise.
20786 (CFLAGS-tmpfile.c): Likewise.
20787 (CFLAGS-tmpfile64.c): Likewise.
20788 (CFLAGS-tempname.c): Likewise.
20789 (CFLAGS-psignal.c): Likewise.
20790 (CFLAGS-vprintf.c): Likewise.
20791 (CFLAGS-cuserid.c): Likewise.
20792 (CFLAGS-errlist.c): Likewise.
20793 (CFLAGS-siglist.c): Likewise.
20794 (CFLAGS-scanf15.c): Likewise.
20795 (CFLAGS-scanf17.c): Likewise.
20796 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20797 (CFLAGS-msort.c): Likewise.
20798 (CFLAGS-qsort.c): Likewise.
20799 (CFLAGS-system.c): Likewise.
20800 (CFLAGS-fmtmsg.c): Likewise.
20801 (CFLAGS-strfmon.c): Likewise.
20802 (CFLAGS-strfmon_l.c): Likewise.
20803 (CFLAGS-strfromd.c): Likewise.
20804 (CFLAGS-strfromf.c): Likewise.
20805 (CFLAGS-strfroml.c): Likewise.
20806 (CFLAGS-tst-bsearch.c): Likewise.
20807 (CFLAGS-tst-qsort.c): Likewise.
20808 (CFLAGS-tst-makecontext2.c): Likewise.
20809 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20810 (CFLAGS-xnlm_prot.c): Likewise.
20811 (CFLAGS-xrstat.c): Likewise.
20812 (CFLAGS-xyppasswd.c): Likewise.
20813 (CFLAGS-xklm_prot.c): Likewise.
20814 (CFLAGS-xrex.c): Likewise.
20815 (CFLAGS-xsm_inter.c): Likewise.
20816 (CFLAGS-xmount.c): Likewise.
20817 (CFLAGS-xrusers.c): Likewise.
20818 (CFLAGS-xspray.c): Likewise.
20819 (CFLAGS-xnfs_prot.c): Likewise.
20820 (CFLAGS-xrquota.c): Likewise.
20821 (CFLAGS-xkey_prot.c): Likewise.
20822 (CFLAGS-auth_unix.c): Likewise.
20823 (CFLAGS-key_call.c): Likewise.
20824 (CFLAGS-pmap_rmt.c): Likewise.
20825 (CFLAGS-clnt_perr.c): Likewise.
20826 (CFLAGS-openchild.c): Likewise.
20827 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20828 (CFLAGS-msgsnd.c): Likewise.
20829 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20830 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20831 (CFLAGS-tzset.c): Likewise.
20832 (CFLAGS-getdate.c): Likewise.
20833 (CFLAGS-test_time.c): Likewise.
20834 (CPPFLAGS-tst-tzname.c): Likewise.
20835 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20836 (CFLAGS-zic.c): Likewise.
20837 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20838 (CFLAGS-wcswidth.c): Likewise.
20839 (CFLAGS-wcstol.c): Likewise.
20840 (CFLAGS-wcstoul.c): Likewise.
20841 (CFLAGS-wcstoll.c): Likewise.
20842 (CFLAGS-wcstoull.c): Likewise.
20843 (CFLAGS-wcstod.c): Likewise.
20844 (CFLAGS-wcstold.c): Likewise.
20845 (CFLAGS-wcstof128.c): Likewise.
20846 (CFLAGS-wcstof.c): Likewise.
20847 (CFLAGS-wcstol_l.c): Likewise.
20848 (CFLAGS-wcstoul_l.c): Likewise.
20849 (CFLAGS-wcstoll_l.c): Likewise.
20850 (CFLAGS-wcstoull_l.c): Likewise.
20851 (CFLAGS-wcstod_l.c): Likewise.
20852 (CFLAGS-wcstold_l.c): Likewise.
20853 (CFLAGS-wcstof128_l.c): Likewise.
20854 (CFLAGS-wcstof_l.c): Likewise.
20855 (CPPFLAGS-tst-wchar-h.c): Likewise.
20856 (CPPFLAGS-wcstold_l.c): Likewise.
20857
20858 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20859
20860 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20861
20862 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20863 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20864
20865 * manual/tunables.texi (Hardware Capability Tunables): Document
20866 glibc.tune.cached_memopt.
20867 * sysdeps/powerpc/cpu-features.c: New file.
20868 * sysdeps/powerpc/cpu-features.h: New file.
20869 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20870 _dl_powerpc_cpu_features.
20871 * sysdeps/powerpc/dl-tunables.list: New file.
20872 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20873 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20874 (INIT_ARCH): Initialize use_aligned_memopt.
20875 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20876 IS_IN(rtld))]: Restrict dl_platform_init availability and
20877 initialize CPU features used by tunables.
20878 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20879 Add memcpy-power8-cached.
20880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20881 __memcpy_power8_cached.
20882 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20883 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20884 New file.
20885
20886 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20887
20888 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20889 (CFLAGS-noinl-tester.c): Likewise.
20890 (CFLAGS-tst-strlen.c): Likewise.
20891 (CFLAGS-stratcliff.c): Likewise.
20892 (CFLAGS-test-ffs.c): Likewise.
20893 (CFLAGS-tst-inlcall.c): Likewise.
20894 (CFLAGS-tst-xbzero-opt.c): Likewise.
20895 (CFLAGS-memcpy.c): Likewise.
20896 (CFLAGS-wordcopy.c): Likewise.
20897
20898 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20899
20900 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20901 Store r15 on stack and add cfi rule.
20902 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20903 Likewise.
20904
20905 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20906
20907 [BZ #22577]
20908 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20909 call.
20910
20911 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20912
20913 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20914 Add s_sinf-sse2 and s_sinf-fma.
20915 (CFLAGS-s_sinf-fma.c): New.
20916 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20917 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20918 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20919
20920 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20921
20922 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20923
20924 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20925
20926 [BZ #22568]
20927 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20928 part of result to imaginary part of argument if it is zero and the
20929 real part of the argument is not finite.
20930 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20931 of result to real part of argument if it is zero and the imaginary
20932 part of the argument is not finite.
20933
20934 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20935
20936 [BZ #22524]
20937 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20938 and to the list of locales to be built for testing.
20939 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20940 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20941 and build the collation rules upon that.
20942
20943 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20944
20945 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20946 * manual/math.texi (Mathematics): Document support for _Float32.
20947 * math/Makefile (test-types): Add float32.
20948 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20949 * stdlib/Versions (GLIBC_2.27): Likewise.
20950 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20951 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20952 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20953 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20954 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20955 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20956 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20957 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20958 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20959 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20960 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20961 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20962 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20963 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20964 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20965 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20966 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20967 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20968 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20969 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20970 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20971 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20972 Likewise.
20973 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20974 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20975 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20976 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20977 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20979 Likewise.
20980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20981 Likewise.
20982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20983 Likewise.
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20985 Likewise.
20986
20987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20988 Likewise.
20989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20990 Likewise.
20991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20992 Likewise.
20993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20994 Likewise.
20995 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20996 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20997 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20998 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20999 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21000 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21001 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21002 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21003 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21004 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21006 Likewise.
21007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21008 Likewise.
21009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21010 Likewise.
21011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21012 Likewise.
21013 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21014 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21015 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21016 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21017 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21018 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21019 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21020 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21021
21022 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21023
21024 * stdlib/strtof.c: Include <bits/floatn.h>
21025 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21026 and later undefine as macro. Define as weak alias if
21027 [!USE_WIDE_CHAR].
21028 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21029 and later undefine as macro. Define as weak alias if
21030 [USE_WIDE_CHAR].
21031 * stdlib/strtof_l.c: Include <bits/floatn.h>
21032 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21033 and later undefine as macro. Define as weak alias if
21034 [!USE_WIDE_CHAR].
21035 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21036 and later undefine as macro. Define as weak alias if
21037 [USE_WIDE_CHAR].
21038
21039 * stdlib/strfromf.c: Include <bits/floatn.h>.
21040 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21041 and later undefine as macro and define as weak alias.
21042
21043 * math/test-float32.h: New file.
21044
21045 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21046 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21047 (libm_alias_float_other_r): Create f32 alias.
21048 (libm_alias_float_r): Use semicolon before call to
21049 libm_alias_float_other_r.
21050
21051 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21052 second argument to libm_alias_float_other.
21053 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21054 second argument to libm_alias_float_other.
21055 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21056 argument to libm_alias_float_other.
21057
21058 [BZ #22561]
21059 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21060 real part of result for argument 0 + i * NaN.
21061 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21062 results for tests of 0 + i * NaN.
21063
21064 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21065
21066 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21067
21068 2017-12-06 David S. Miller <davem@davemloft.net>
21069
21070 * sysdeps/sparc/fpu/libm-test-ulps: Update
21071 exp_{downward,towardzero,upward} ulps.
21072
21073 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21074
21075 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21076 variables static.
21077
21078 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21079 (Y0_2D): Likewise.
21080 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21081 (Y0_2D): Likewise.
21082 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21083 (Y0_2D): Likewise.
21084 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21085 (Y0_2D): Likewise.
21086
21087 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21088
21089 [BZ #22515]
21090 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21091 and to the list of locales to be built for testing.
21092 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21093 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21094 and build the collation rules upon that.
21095
21096 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21097
21098 * NEWS: Add sinf to list of optimized functions.
21099
21100 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21101
21102 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21103 (__HAVE_FLOAT32X): Likewise.
21104 * manual/math.texi (Mathematics): Document support for _Float64
21105 and _Float32x.
21106 * math/Makefile (test-types): Add float64 and float32x.
21107 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21108 functions.
21109 * stdlib/Versions (GLIBC_2.27): Likewise.
21110 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21111 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21112 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21113 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21114 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21115 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21116 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21117 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21118 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21119 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21120 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21121 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21122 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21123 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21124 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21125 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21126 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21127 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21128 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21129 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21130 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21131 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21132 Likewise.
21133 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21134 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21135 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21136 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21137 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21139 Likewise.
21140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21141 Likewise.
21142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21143 Likewise.
21144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21145 Likewise.
21146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21147 Likewise.
21148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21149 Likewise.
21150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21151 Likewise.
21152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21153 Likewise.
21154 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21155 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21156 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21157 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21158 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21159 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21160 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21161 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21162 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21163 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21165 Likewise.
21166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21167 Likewise.
21168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21169 Likewise.
21170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21171 Likewise.
21172 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21173 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21174 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21175 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21176 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21177 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21178 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21179 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21180
21181 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21182
21183 * bits/floatn-common.h: Include <bits/long-double.h>.
21184 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21185 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21186 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21187 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21188 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21189 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21190 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21191 (__builtin_huge_valf64): Use __builtin_huge_vall.
21192 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21193 (__builtin_inff64): Use __builtin_infl.
21194 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21195 (__builtin_nanf64): Use __builtin_nanl.
21196 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21197 (__builtin_nansf64): Use __builtin_nansl.
21198
21199 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21200 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21201 Carlos O'Donnell <carlos@redhat.com>
21202
21203 * elf/dl-tunables.list: Add elision parameters.
21204 * manual/tunables.texi: Add entries about elision tunable.
21205 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21206 Add callback functions to dynamically enable/disable elision.
21207 Add multiple callbacks functions to set elision parameters.
21208 Deleted __libc_enable_secure check.
21209 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21210 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21211 * configure: Regenerated.
21212 * configure.ac: Option enable_lock_elision was deleted.
21213 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21214 * config.make.in: Remove references to enable_lock_elision.
21215 * manual/install.texi: Elision configure option was removed.
21216 * INSTALL: Regenerated to remove enable_lock_elision.
21217 * nptl/Makefile:
21218 Disable elision so it can verify error case for destroying a mutex.
21219 * sysdeps/powerpc/nptl/elide.h:
21220 Cleanup ENABLE_LOCK_ELISION check.
21221 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21222 * sysdeps/s390/configure: Regenerated.
21223 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21224 * nptl/tst-mutex8.c:
21225 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21226 * sysdeps/powerpc/powerpc32/sysdep.h:
21227 Deleted all ENABLE_LOCK_ELISION checks.
21228 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21229 * sysdeps/powerpc/sysdep.h: Likewise.
21230 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21231 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21232 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21233 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21234 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21235 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21236 enable-lock-elision.
21237
21238 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21239
21240 * stdlib/strtod.c: Include <bits/floatn.h>.
21241 (BUILD_DOUBLE): New macro.
21242 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21243 (strtof64): Define and later undefine as macro. Define as weak
21244 alias if [!USE_WIDE_CHAR].
21245 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21246 (wcstof64): Define and later undefine as macro. Define as weak
21247 alias if [USE_WIDE_CHAR].
21248 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21249 (strtof32x): Define and later undefine as macro. Define as weak
21250 alias if [!USE_WIDE_CHAR].
21251 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21252 (wcstof32x): Define and later undefine as macro. Define as weak
21253 alias if [USE_WIDE_CHAR].
21254 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21255 (BUILD_DOUBLE): New macro.
21256 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21257 (strtof64_l): Define and later undefine as macro. Define as weak
21258 alias if [!USE_WIDE_CHAR].
21259 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21260 (wcstof64_l): Define and later undefine as macro. Define as weak
21261 alias if [USE_WIDE_CHAR].
21262 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21263 (strtof32x_l): Define and later undefine as macro. Define as weak
21264 alias if [!USE_WIDE_CHAR].
21265 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21266 (wcstof32x_l): Define and later undefine as macro. Define as weak
21267 alias if [USE_WIDE_CHAR].
21268
21269 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21270
21271 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21272 (reduced): Use ones as double instead of integer.
21273
21274 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21275
21276 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21277
21278 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21279
21280 * stdlib/strfromd.c: Include <bits/floatn.h>.
21281 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21282 and later undefine as macro and define as weak alias.
21283 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21284 Likewise.
21285
21286 * math/test-float32x.h: New file.
21287 * math/test-float64.h: Likewise.
21288
21289 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21290 (libm_alias_double_other_r_f64): New macro.
21291 (libm_alias_double_other_r_f32x): Likewise.
21292 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21293 libm_alias_double_other_r_f32x.
21294 (libm_alias_double_r): Use semicolon before call to
21295 libm_alias_double_other_r.
21296 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21297 <bits/floatn.h>.
21298 (libm_alias_double_other_r_f64): New macro.
21299 (libm_alias_double_other_r_f32x): Likewise.
21300 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21301 libm_alias_double_other_r_f32x.
21302
21303 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21304
21305 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21306 int.
21307 (SINF_FUNC): Likewise. Replace floor with simple casts.
21308
21309 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21310
21311 [BZ #22517]
21312 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21313 and to the list of locales to be built for testing.
21314 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21315 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21316 and build the collation rules upon that.
21317
21318 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21319
21320 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21321 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21322 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21323 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21324 instead of __insn__xxx.
21325 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21326 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21327 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21328 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21329 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21330 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21331
21332 2017-12-05 Florian Weimer <fweimer@redhat.com>
21333
21334 Linux: Implement interfaces for memory protection keys
21335 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21336 xsignal, xsysconf.
21337 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21338 * support/xunistd.h (xsysconf): Declare.
21339 * support/xraise.c: New file.
21340 * support/xsigaction.c: Likewise.
21341 * support/xsignal.c: Likewise.
21342 * support/xsysconf.c: Likewise.
21343 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21344 pkey_set, pkey_get, pkey_mprotect.
21345 [misc] (tests): Add tst-pkey.
21346 (tst-pkey): Link with -lpthread.
21347 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21348 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21349 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21350 (PKEY_DISABLE_WRITE): Define.
21351 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21352 Declare.
21353 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21354 (SEGV_PKUERR): Add.
21355 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21356 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21357 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21358 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21359 Add.
21360 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21361 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21362 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21363 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21364 * sysdeps/unix/sysv/linux/**.abilist: Update.
21365
21366 2017-12-05 Florian Weimer <fweimer@redhat.com>
21367
21368 * support/tst-test_compare.c (subprocess): Use long long instead
21369 of long argument for consistent type width across 32-bit and
21370 64-bit architectures.
21371 (do_test): Adjust expected output.
21372
21373 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21374
21375 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21376 (cosf): Define using libm_alias_float.
21377 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21378 (fabsf): Define using libm_alias_float.
21379 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21380 (fmaf): Define using libm_alias_float.
21381 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21382 (rintf): Define using libm_alias_float.
21383 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21384 (sinf): Define using libm_alias_float.
21385 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21386 <libm-alias-float.h>.
21387 (modff): Define using libm_alias_float.
21388 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21389 <libm-alias-float.h>.
21390 (logbf): Define using libm_alias_float.
21391 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21392 <libm-alias-float.h>.
21393 (ceilf): Define using libm_alias_float.
21394 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21395 <libm-alias-float.h>.
21396 (copysignf): Define using libm_alias_float.
21397 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21398 <libm-alias-float.h>.
21399 (floorf): Define using libm_alias_float.
21400 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21401 <libm-alias-float.h>.
21402 (llrintf): Define using libm_alias_float.
21403 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21404 <libm-alias-float.h>.
21405 (llroundf): Define using libm_alias_float.
21406 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21407 <libm-alias-float.h>.
21408 (lrintf): Define using libm_alias_float.
21409 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21410 <libm-alias-float.h>.
21411 (lroundf): Define using libm_alias_float.
21412 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21413 <libm-alias-float.h>.
21414 (nearbyintf): Define using libm_alias_float.
21415 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21416 <libm-alias-float.h>.
21417 (rintf): Define using libm_alias_float.
21418 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21419 <libm-alias-float.h>.
21420 (roundf): Define using libm_alias_float.
21421 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21422 <libm-alias-float.h>.
21423 (truncf): Define using libm_alias_float.
21424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21425 Include <libm-alias-float.h>.
21426 (ceilf): Define using libm_alias_float.
21427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21428 Include <libm-alias-float.h>.
21429 (copysignf): Define using libm_alias_float.
21430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21431 Include <libm-alias-float.h>.
21432 (floorf): Define using libm_alias_float.
21433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21434 Include <libm-alias-float.h>.
21435 (llrintf): Define using libm_alias_float.
21436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21437 Include <libm-alias-float.h>.
21438 (llroundf): Define using libm_alias_float.
21439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21440 Include <libm-alias-float.h>.
21441 (logbf): Define using libm_alias_float.
21442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21443 Include <libm-alias-float.h>.
21444 (lrintf): Define using libm_alias_float.
21445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21446 Include <libm-alias-float.h>.
21447 (lroundf): Define using libm_alias_float.
21448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21449 Include <libm-alias-float.h>.
21450 (modff): Define using libm_alias_float.
21451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21452 Include <libm-alias-float.h>.
21453 (roundf): Define using libm_alias_float.
21454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21455 Include <libm-alias-float.h>.
21456 (truncf): Define using libm_alias_float.
21457 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21458 <libm-alias-float.h>.
21459 (llrintf): Define using libm_alias_float.
21460 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21461 <libm-alias-float.h>.
21462 (llroundf): Define using libm_alias_float.
21463 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21464 <libm-alias-float.h>.
21465 (ceilf): Define using libm_alias_float.
21466 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21467 <libm-alias-float.h>.
21468 (floorf): Define using libm_alias_float.
21469 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21470 <libm-alias-float.h>.
21471 (llroundf): Define using libm_alias_float.
21472 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21473 <libm-alias-float.h>.
21474 (lroundf): Define using libm_alias_float.
21475 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21476 <libm-alias-float.h>.
21477 (roundf): Define using libm_alias_float.
21478 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21479 <libm-alias-float.h>.
21480 (truncf): Define using libm_alias_float.
21481 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21482 <libm-alias-float.h>.
21483 (copysignf): Define using libm_alias_float.
21484 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21485 <libm-alias-float.h>.
21486 (llrintf): Define using libm_alias_float.
21487 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21488 <libm-alias-float.h>.
21489 (llroundf): Define using libm_alias_float.
21490 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21491 <libm-alias-float.h>.
21492 (lrintf): Define using libm_alias_float.
21493 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21494 <libm-alias-float.h>.
21495 (lroundf): Define using libm_alias_float.
21496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21497 <libm-alias-float.h>.
21498 (ceilf): Define using libm_alias_float.
21499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21500 <libm-alias-float.h>.
21501 (copysignf): Define using libm_alias_float.
21502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21503 <libm-alias-float.h>.
21504 (cosf): Define using libm_alias_float.
21505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21506 <libm-alias-float.h>.
21507 (floorf): Define using libm_alias_float.
21508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21509 <libm-alias-float.h>.
21510 (llrintf): Define using libm_alias_float.
21511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21512 <libm-alias-float.h>.
21513 (llroundf): Define using libm_alias_float.
21514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21515 <libm-alias-float.h>.
21516 (logbf): Define using libm_alias_float.
21517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21518 <libm-alias-float.h>.
21519 (modff): Define using libm_alias_float.
21520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21521 <libm-alias-float.h>.
21522 (roundf): Define using libm_alias_float.
21523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21524 <libm-alias-float.h>.
21525 (sinf): Define using libm_alias_float.
21526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21527 <libm-alias-float.h>.
21528 (truncf): Define using libm_alias_float.
21529 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21530 <libm-alias-float.h>.
21531 (ceilf): Define using libm_alias_float.
21532 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21533 <libm-alias-float.h>.
21534 (copysignf): Define using libm_alias_float.
21535 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21536 <libm-alias-float.h>.
21537 (floorf): Define using libm_alias_float.
21538 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21539 <libm-alias-float.h>.
21540 (llrintf): Define using libm_alias_float.
21541 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21542 <libm-alias-float.h>.
21543 (llroundf): Define using libm_alias_float.
21544 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21545 <libm-alias-float.h>.
21546 (nearbyintf): Define using libm_alias_float.
21547 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21548 <libm-alias-float.h>.
21549 (rintf): Define using libm_alias_float.
21550 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21551 <libm-alias-float.h>.
21552 (roundf): Define using libm_alias_float.
21553 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21554 <libm-alias-float.h>.
21555 (truncf): Define using libm_alias_float.
21556 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21557 <libm-alias-float.h>.
21558 (ceilf): Define using libm_alias_float.
21559 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21560 <libm-alias-float.h>.
21561 (floorf): Define using libm_alias_float.
21562 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21563 <libm-alias-float.h>.
21564 (llroundf): Define using libm_alias_float.
21565 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21566 <libm-alias-float.h>.
21567 (roundf): Define using libm_alias_float.
21568 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21569 <libm-alias-float.h>.
21570 (truncf): Define using libm_alias_float.
21571 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21572 <libm-alias-float.h>.
21573 (copysignf): Define using libm_alias_float.
21574 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21575 <libm-alias-float.h>.
21576 (llrintf): Define using libm_alias_float.
21577 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21578 <libm-alias-float.h>.
21579 (llroundf): Define using libm_alias_float.
21580 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21581 <libm-alias-float.h>.
21582 (cosf): Define using libm_alias_float.
21583 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21584 <libm-alias-float.h>.
21585 (llrintf): Define using libm_alias_float.
21586 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21587 <libm-alias-float.h>.
21588 (llroundf): Define using libm_alias_float.
21589 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21590 <libm-alias-float.h>.
21591 (sinf): Define using libm_alias_float.
21592
21593 2017-12-04 Florian Weimer <fweimer@redhat.com>
21594
21595 * support/check.h (TEST_COMPARE): Define.
21596 (support_test_compare_failure): Declare.
21597 * support/Makefile (libsupport-routines): Add
21598 support_test_compare_failure.
21599 (tests): Add tst-test_compare.
21600 * support /support_test_compare_failure.c: New file.
21601 * support/tst-test_compare.c: Likewise.
21602
21603 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21604
21605 [BZ #22527]
21606 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21607 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21608 available, this rewrite of the collation rules does reproduce
21609 the test file in the same order.
21610
21611 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21612
21613 [BZ #10580]
21614 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21615 digraphs in the month and day names. Using single code points for
21616 digraphs is deprecated. While there are dedicated Unicode
21617 codepoints, for the digraphs, these are included for backwards
21618 compatibility and modern texts use a sequence of Basic Latin
21619 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21620 This makes the month and day names agree exactly with CLDR now,
21621 CLDR does not use the single code points for the digraphs either.
21622
21623 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21624
21625 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21626
21627 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21628
21629 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21630 of floor.
21631
21632 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21633
21634 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21635 Define only for libc.so.
21636
21637 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21638
21639 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21640 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21641 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21642 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21644
21645 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21646
21647 [BZ #5997]
21648 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21649
21650 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21651
21652 [BZ libc/19170]
21653 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21654 PREINIT_FUNCTION_WEAK is nonzero.
21655 (gmon_initializer): New function. Put procedure label for it in
21656 .init_array section.
21657 (_init): Don't call PREINIT_FUNCTION.
21658 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21659 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21660 value when map argument is null.
21661
21662 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21663 depi instruction from PIC pc-relative sequence.
21664 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21665 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21666 (elf_machine_load_address): Likewise.
21667 (elf_machine_runtime_setup): Likewise.
21668
21669 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21670
21671 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21672 <libm-alias-double.h>.
21673 (logb): Define using libm_alias_double.
21674 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21675 <libm-alias-double.h>.
21676 (copysign): Define using libm_alias_double.
21677 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21678 <libm-alias-double.h>.
21679 (llrint): Define using libm_alias_double.
21680 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21681 <libm-alias-double.h>.
21682 (llround): Define using libm_alias_double.
21683 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21684 <libm-alias-double.h>.
21685 (lrint): Define using libm_alias_double.
21686 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21687 <libm-alias-double.h>.
21688 (lround): Define using libm_alias_double.
21689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21690 Include <libm-alias-double.h>.
21691 (copysign): Define using libm_alias_double.
21692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21693 Include <libm-alias-double.h>.
21694 (llrint): Define using libm_alias_double.
21695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21696 Include <libm-alias-double.h>.
21697 (llround): Define using libm_alias_double.
21698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21699 <libm-alias-double.h>.
21700 (logb): Define using libm_alias_double.
21701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21702 Include <libm-alias-double.h>.
21703 (lrint): Define using libm_alias_double.
21704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21705 Include <libm-alias-double.h>.
21706 (lround): Define using libm_alias_double.
21707 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21708 <libm-alias-double.h>.
21709 (llrint): Define using libm_alias_double.
21710 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21711 <libm-alias-double.h>.
21712 (llround): Define using libm_alias_double.
21713 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21714 <libm-alias-double.h>.
21715 (llround): Define using libm_alias_double.
21716 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21717 <libm-alias-double.h>.
21718 (lround): Define using libm_alias_double.
21719 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21720 <libm-alias-double.h>.
21721 (copysign): Define using libm_alias_double.
21722 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21723 <libm-alias-double.h>.
21724 (llrint): Define using libm_alias_double.
21725 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21726 <libm-alias-double.h>.
21727 (llround): Define using libm_alias_double.
21728 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21729 <libm-alias-double.h>.
21730 (lrint): Define using libm_alias_double.
21731 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21732 <libm-alias-double.h>.
21733 (lround): Define using libm_alias_double.
21734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21735 <libm-alias-double.h>.
21736 (copysign): Define using libm_alias_double.
21737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21738 <libm-alias-double.h>.
21739 (llrint): Define using libm_alias_double.
21740 (lrint): Likewise.
21741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21742 <libm-alias-double.h>.
21743 (llround): Define using libm_alias_double.
21744 (lround): Likewise.
21745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21746 <libm-alias-double.h>.
21747 (logb): Define using libm_alias_double.
21748 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21749 <libm-alias-double.h>.
21750 (copysign): Define using libm_alias_double.
21751 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21752 <libm-alias-double.h>.
21753 (llrint): Define using libm_alias_double.
21754 (lrint): Likewise.
21755 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21756 <libm-alias-double.h>.
21757 (llround): Define using libm_alias_double.
21758 (lround): Likewise.
21759 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21760 <libm-alias-double.h>.
21761 (llround): Define using libm_alias_double.
21762 (lround): Likewise.
21763 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21764 <libm-alias-double.h>.
21765 (copysign): Define using libm_alias_double.
21766 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21767 <libm-alias-double.h>.
21768 (llrint): Define using libm_alias_double.
21769 (lrint): Likewise.
21770 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21771 <libm-alias-double.h>.
21772 (llround): Define using libm_alias_double.
21773 (lround): Likewise.
21774 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21775 <libm-alias-double.h>.
21776 (llrint): Define using libm_alias_double.
21777 (lrint): Likewise.
21778 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21779 <libm-alias-double.h>.
21780 (llround): Define using libm_alias_double.
21781 (lround): Likewise.
21782
21783 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21784
21785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21786 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21787 compat symbol based on llround.
21788
21789 * sysdeps/powerpc/power7/fpu/s_logb.c
21790 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21791 symbol based on __logb, not on logb.
21792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21793 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21795 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21796
21797 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21798 (rint): Define using libm_alias_double.
21799 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21800 <libm-alias-double.h>.
21801 (modf): Define using libm_alias_double.
21802 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21803 <libm-alias-double.h>.
21804 (ceil): Define using libm_alias_double.
21805 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21806 <libm-alias-double.h>.
21807 (floor): Define using libm_alias_double.
21808 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21809 <libm-alias-double.h>.
21810 (nearbyint): Define using libm_alias_double.
21811 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21812 <libm-alias-double.h>.
21813 (rint): Define using libm_alias_double.
21814 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21815 <libm-alias-double.h>.
21816 (round): Define using libm_alias_double.
21817 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21818 <libm-alias-double.h>.
21819 (trunc): Define using libm_alias_double.
21820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21821 <libm-alias-double.h>.
21822 (ceil): Define using libm_alias_double.
21823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21824 Include <libm-alias-double.h>.
21825 (floor): Define using libm_alias_double.
21826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21827 <libm-alias-double.h>.
21828 (modf): Define using libm_alias_double.
21829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21830 Include <libm-alias-double.h>.
21831 (round): Define using libm_alias_double.
21832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21833 Include <libm-alias-double.h>.
21834 (trunc): Define using libm_alias_double.
21835 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21836 <libm-alias-double.h>.
21837 (ceil): Define using libm_alias_double.
21838 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21839 <libm-alias-double.h>.
21840 (floor): Define using libm_alias_double.
21841 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21842 <libm-alias-double.h>.
21843 (round): Define using libm_alias_double.
21844 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21845 <libm-alias-double.h>.
21846 (trunc): Define using libm_alias_double.
21847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21848 <libm-alias-double.h>.
21849 (ceil): Define using libm_alias_double.
21850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21851 <libm-alias-double.h>.
21852 (floor): Define using libm_alias_double.
21853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21854 <libm-alias-double.h>.
21855 (modf): Define using libm_alias_double.
21856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21857 <libm-alias-double.h>.
21858 (round): Define using libm_alias_double.
21859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21860 <libm-alias-double.h>.
21861 (trunc): Define using libm_alias_double.
21862 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21863 <libm-alias-double.h>.
21864 (ceil): Define using libm_alias_double.
21865 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21866 <libm-alias-double.h>.
21867 (floor): Define using libm_alias_double.
21868 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21869 <libm-alias-double.h>.
21870 (nearbyint): Define using libm_alias_double.
21871 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21872 <libm-alias-double.h>.
21873 (rint): Define using libm_alias_double.
21874 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21875 <libm-alias-double.h>.
21876 (round): Define using libm_alias_double.
21877 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21878 <libm-alias-double.h>.
21879 (trunc): Define using libm_alias_double.
21880 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21881 <libm-alias-double.h>.
21882 (ceil): Define using libm_alias_double.
21883 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21884 <libm-alias-double.h>.
21885 (floor): Define using libm_alias_double.
21886 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21887 <libm-alias-double.h>.
21888 (round): Define using libm_alias_double.
21889 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21890 <libm-alias-double.h>.
21891 (trunc): Define using libm_alias_double.
21892
21893 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21894 (fabs): Define using libm_alias_double.
21895 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21896 (fma): Define using libm_alias_double.
21897 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21898 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21899 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21900 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21901
21902 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21903
21904 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21905
21906 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21907 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21908 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21909
21910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21911 due redirect macro.
21912
21913 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21914
21915 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21916
21917 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21918
21919 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21920 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21921 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21922 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21923
21924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21925 (libm-sysdep_routines): Add s_nearbyintf-generic and
21926 s_nearbyint-generic.
21927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21928 New file.
21929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21931 Likewise.
21932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21933 Likewise.
21934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21935 file.
21936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21937 Likewise.
21938
21939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21940 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21942 file.
21943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21945 Likewise.
21946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21949
21950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21951 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21953 file.
21954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21956 Likewise.
21957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21960
21961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21962 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21964 file.
21965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21967 Likewise.
21968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21971
21972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21973 (sysdep_calls): New rule.
21974 (sysdep_routines): Use sysdep_calls as base.
21975 (libm-sysdep_routines): Add generic rule for symbols shared with
21976 libc. Add s_copysign-generic and s_copysign-generic objects.
21977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21978 New file.
21979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21981 Likewise.
21982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21985
21986 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21987
21988 [BZ #22519]
21989 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21990 the list of locales to be built for testing.
21991 * localedata/is_IS.UTF-8.in: New file.
21992 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21993 on iso14651_t1.
21994
21995 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21996
21997 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21998 <libm-alias-float.h>.
21999 (fabsf): Define using libm_alias_float.
22000
22001 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22002
22003 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22004
22005 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22006
22007 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22008 <libm-alias-float.h>.
22009 (fabsf): Define using libm_alias_float.
22010 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22011 <libm-alias-float.h>.
22012 (lrintf): Define using libm_alias_float.
22013 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22014 <libm-alias-float.h>.
22015 (rintf): Define using libm_alias_float.
22016
22017 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22018 <libm-alias-double.h>.
22019 (fabs): Define using libm_alias_double.
22020 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22021 <libm-alias-double.h>.
22022 (lrint): Define using libm_alias_double.
22023 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22024 <libm-alias-double.h>.
22025 (rint): Define using libm_alias_double.
22026
22027 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22028 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22029 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22030 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22031 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22032 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22033 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22034 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22035 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22036 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22037 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22038 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22039 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22040 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22041 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22042 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22043 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22044 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22045 s_atan_template.c.
22046 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22047 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22048 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22049 s_ceil_template.c.
22050 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22051 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22052 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22053 s_cos_template.c.
22054 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22055 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22056 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22057 s_expm1_template.c.
22058 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22059 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22060 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22061 s_fabs_template.c.
22062 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22063 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22064 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22065 s_floor_template.c.
22066 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22067 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22068 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22069 s_frexp_template.c.
22070 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22071 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22072 s_lrint_template.c.
22073 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22074 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22075 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22076 s_modf_template.c.
22077 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22078 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22079 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22080 s_nearbyint_template.c.
22081 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22082 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22083 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22084 s_remquo_template.c.
22085 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22086 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22087 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22088 s_rint_template.c.
22089 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22090 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22091 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22092 s_sin_template.c.
22093 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22094 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22095 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22096 s_sincos_template.c.
22097 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22098 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22099 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22100 s_tan_template.c.
22101 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22102 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22103 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22104 s_tanh_template.c.
22105 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22106 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22107 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22108 s_trunc_template.c.
22109 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22110 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22111 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22112 s_atan.c instead of including s_atan.c.
22113 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22114 s_atanf.c instead of including s_atanf.c.
22115 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22116 s_atanl.c instead of including s_atanl.c.
22117 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22118 instead of s_atan.c.
22119 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22120 instead of s_atanf.c.
22121 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22122 instead of s_atanl.c.
22123
22124 * scripts/update-copyrights: Do not handle intl/plural.c
22125 specially.
22126
22127 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22128
22129 [BZ #22432]
22130 * configure.ac (BISON): Require to be present.
22131 * configure: Regenerated.
22132 * intl/Makefile (generated): Add plural.c.
22133 [$(BISON) != no]: Make code unconditional.
22134 (plural.c): Change rule to $(objpfx)plural.c.
22135 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22136 * intl/plural.c: Remove.
22137 * manual/install.texi (Tools for Compilation): Document bison as
22138 required.
22139 * INSTALL: Regenerated.
22140
22141 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22142
22143 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22144 <libm-alias-double.h>.
22145 (llrint): Define using libm_alias_double.
22146 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22147 <libm-alias-float.h>.
22148 (llrintf): Define using libm_alias_float.
22149 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22150 <libm-alias-ldouble.h>.
22151 (llrintl): Define using libm_alias_ldouble.
22152
22153 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22154 declare_mgen_alias instead of weak_alias.
22155 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22156 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22157 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22158
22159 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22160
22161 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22162 Add add_n-generic.
22163 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22164 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22165 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22166
22167 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22168 Add submul_1-generic.
22169 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22170 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22171 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22172
22173 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22174 Add addmul_1-generic.
22175 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22176 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22177 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22178
22179 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22180 Add sub_n-generic.
22181 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22182 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22183 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22184
22185 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22186 Add mul_1-generic.
22187 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22188 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22189 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22190
22191 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22192
22193 According to CLDR, collation rules for Serbian and Bosnian
22194 should be the same as for Croatian.
22195
22196 [BZ #22534]
22197 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22198 and to the list of locales to be built for testing.
22199 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22200 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22201 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22202 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22203
22204 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22205
22206 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22207 to make test case pass.
22208 * localedata/hr_HR.UTF-8.in: Add more test strings.
22209
22210 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22211
22212 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22213
22214 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22215
22216 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22217 the list of locales to built for testing.
22218 * localedata/hr_HR.UTF-8.in: New file.
22219
22220 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22221
22222 [BZ #10580]
22223 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22224 iso14651_t1.
22225 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22226 CLDR (except use ligatures for the digraphs, CLDR does not use
22227 the ligatures), add first_workday, some fixes in the date and time
22228 formats.
22229 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22230 for Đ and đ.
22231 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22232 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22233 Add int_p_cs_precedes and int_n_cs_precedes.
22234 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22235 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22236 LC_MONETARY now).
22237 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22238 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22239 name_miss.
22240 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22241 and lang_lib. Change postal_fmt.
22242
22243 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22244
22245 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22246 <setjmp.h>.
22247 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22248 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22249 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22250 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22251 * sysdeps/generic/setjmpP.h: New file.
22252 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22253 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22254 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22255 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22256 Add jmp_buf-ssp.sym.
22257 (tests): Add tst-saved_mask-1.
22258
22259 2017-11-30 Arjun Shankar <arjun@redhat.com>
22260
22261 [BZ #22375]
22262 CVE-2017-17426
22263 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22264 instead of request2size.
22265
22266 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22267
22268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22269 (__lllrint): Remove alias.
22270 (lllrint): Likewise.
22271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22272 (__lllrintf): Likewise.
22273 (lllrintf): Likewise.
22274
22275 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22276 <libm-alias-float.h>.
22277 (copysignf): Define using libm_alias_float.
22278 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22279 <libm-alias-float.h>.
22280 (fabsf): Define using libm_alias_float.
22281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22282 Include <libm-alias-float.h>.
22283 (copysignf): Define using libm_alias_float.
22284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22285 <libm-alias-float.h>.
22286 (fabsf): Define using libm_alias_float.
22287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22288 <libm-alias-float.h>.
22289 (fdimf): Define using libm_alias_float.
22290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22291 <libm-alias-float.h>.
22292 (fmaf): Define using libm_alias_float.
22293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22294 <libm-alias-float.h>.
22295 (llrintf): Define using libm_alias_float.
22296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22297 Include <libm-alias-float.h>.
22298 (nearbyintf): Define using libm_alias_float.
22299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22300 <libm-alias-float.h>.
22301 (rintf): Define using libm_alias_float.
22302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22303 <libm-alias-float.h>.
22304 (llrintf): Define using libm_alias_float.
22305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22306 <libm-alias-float.h>.
22307 (lrintf): Define using libm_alias_float.
22308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22309 <libm-alias-float.h>.
22310 (nearbyintf): Define using libm_alias_float.
22311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22312 <libm-alias-float.h>.
22313 (rintf): Define using libm_alias_float.
22314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22315 <libm-alias-float.h>.
22316 (ceilf): Define using libm_alias_float.
22317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22318 <libm-alias-float.h>.
22319 (floorf): Define using libm_alias_float.
22320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22321 <libm-alias-float.h>.
22322 (fmaf): Define using libm_alias_float.
22323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22324 <libm-alias-float.h>.
22325 (lrintf): Define using libm_alias_float.
22326 (llrintf): Likewise.
22327 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22328 <libm-alias-float.h>.
22329 (nearbyintf): Define using libm_alias_float.
22330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22331 <libm-alias-float.h>.
22332 (rintf): Define using libm_alias_float.
22333 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22334 <libm-alias-float.h>.
22335 (truncf): Define using libm_alias_float.
22336 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22337 <libm-alias-float.h>.
22338 (copysignf): Define using libm_alias_float.
22339 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22340 <libm-alias-float.h>.
22341 (fabsf): Define using libm_alias_float.
22342 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22343 <libm-alias-float.h>.
22344 (lrintf): Define using libm_alias_float.
22345 (llrintf): Likewise.
22346 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22347 <libm-alias-float.h>.
22348 (nearbyintf): Define using libm_alias_float.
22349 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22350 <libm-alias-float.h>.
22351 (rintf): Define using libm_alias_float.
22352
22353 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22354
22355 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22356 <libm-alias-double.h>.
22357 (copysign): Define using libm_alias_double.
22358 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22359 <libm-alias-double.h>.
22360 (fabs): Define using libm_alias_double.
22361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22362 Include <libm-alias-double.h>.
22363 (copysign): Define using libm_alias_double.
22364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22365 <libm-alias-double.h>.
22366 (fabs): Define using libm_alias_double.
22367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22368 <libm-alias-double.h>.
22369 (fdim): Define using libm_alias_double.
22370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22371 <libm-alias-double.h>.
22372 (fma): Define using libm_alias_double.
22373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22374 <libm-alias-double.h>.
22375 (llrint): Define using libm_alias_double.
22376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22377 Include <libm-alias-double.h>.
22378 (nearbyint): Define using libm_alias_double.
22379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22380 <libm-alias-double.h>.
22381 (rint): Define using libm_alias_double.
22382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22383 <libm-alias-double.h>.
22384 (fabs): Define using libm_alias_double.
22385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22386 <libm-alias-double.h>.
22387 (llrint): Define using libm_alias_double.
22388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22389 <libm-alias-double.h>.
22390 (nearbyint): Define using libm_alias_double.
22391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22392 <libm-alias-double.h>.
22393 (rint): Define using libm_alias_double.
22394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22395 <libm-alias-double.h>.
22396 (ceil): Define using libm_alias_double.
22397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22398 <libm-alias-double.h>.
22399 (floor): Define using libm_alias_double.
22400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22401 <libm-alias-double.h>.
22402 (fma): Define using libm_alias_double.
22403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22404 <libm-alias-double.h>.
22405 (lrint): Define using libm_alias_double.
22406 (llrint): Likewise.
22407 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22408 <libm-alias-double.h>.
22409 (nearbyint): Define using libm_alias_double.
22410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22411 <libm-alias-double.h>.
22412 (rint): Define using libm_alias_double.
22413 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22414 <libm-alias-double.h>.
22415 (trunc): Define using libm_alias_double.
22416 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22417 <libm-alias-double.h>.
22418 (copysign): Define using libm_alias_double.
22419 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22420 <libm-alias-double.h>.
22421 (fabs): Define using libm_alias_double.
22422 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22423 <libm-alias-double.h>.
22424 (lrint): Define using libm_alias_double.
22425 (llrint): Likewise.
22426 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22427 <libm-alias-double.h>.
22428 (nearbyint): Define using libm_alias_double.
22429 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22430 <libm-alias-double.h>.
22431 (rint): Define using libm_alias_double.
22432
22433 [BZ #22229]
22434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22435 <math_ldbl_opt.h>.
22436 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22437
22438 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22439 SPARC --disable-multi-arch glibc variants.
22440
22441 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22442 <libm-alias-float.h>.
22443 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22444 if [SHARED].
22445 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22446 <libm-alias-float.h>.
22447 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22448 if [SHARED].
22449 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22450 <libm-alias-float.h>.
22451 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22452 if [SHARED].
22453 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22454 <libm-alias-float.h>.
22455 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22456 if [SHARED].
22457 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22458 <libm-alias-float.h>.
22459 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22460 if [SHARED].
22461 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22462 <libm-alias-float.h>.
22463 (ceilf): Define using libm_alias_float.
22464 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22465 <libm-alias-float.h>.
22466 (floorf): Define using libm_alias_float.
22467 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22468 <libm-alias-float.h>.
22469 (fmaf): Define using libm_alias_float.
22470 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22471 <libm-alias-float.h>.
22472 (nearbyintf): Define using libm_alias_float.
22473 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22474 <libm-alias-float.h>.
22475 (rintf): Define using libm_alias_float.
22476 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22477 <libm-alias-float.h>.
22478 (truncf): Define using libm_alias_float.
22479 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22480 (copysignf): Define using libm_alias_float.
22481 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22482 (cosf): Define using libm_alias_float.
22483 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22484 (fabsf): Define using libm_alias_float.
22485 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22486 (fmaxf): Define using libm_alias_float.
22487 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22488 (fminf): Define using libm_alias_float.
22489 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22490 (llrintf): Define using libm_alias_float.
22491 [!__ILP32__] (lrintf): Likewise.
22492 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22493 (sincosf): Define using libm_alias_float.
22494 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22495 (sinf): Define using libm_alias_float.
22496 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22497 (lrintf): Define using libm_alias_float.
22498
22499 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22500 <libm-alias-double.h>.
22501 (atan): Define using libm_alias_double.
22502 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22503 <libm-alias-double.h>.
22504 (ceil): Define using libm_alias_double.
22505 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22506 <libm-alias-double.h>.
22507 (floor): Define using libm_alias_double.
22508 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22509 <libm-alias-double.h>.
22510 (fma): Define using libm_alias_double.
22511 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22512 <libm-alias-double.h>.
22513 (nearbyint): Define using libm_alias_double.
22514 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22515 <libm-alias-double.h>.
22516 (rint): Define using libm_alias_double.
22517 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22518 <libm-alias-double.h>.
22519 (sin): Define using libm_alias_double.
22520 (cos): Likewise.
22521 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22522 <libm-alias-double.h>.
22523 (tan): Define using libm_alias_double.
22524 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22525 <libm-alias-double.h>.
22526 (trunc): Define using libm_alias_double.
22527 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22528 (copysign): Define using libm_alias_double.
22529 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22530 (fabs): Define using libm_alias_double.
22531 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22532 (fmax): Define using libm_alias_double.
22533 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22534 (fmin): Define using libm_alias_double.
22535 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22536 (llrint): Define using libm_alias_double.
22537 [!__ILP32__] (lrint): Likewise.
22538 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22539 (lrint): Define using libm_alias_double.
22540
22541 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22542
22543 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22544 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22545 objects.
22546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22550 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22551 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22552
22553 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22554 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22555 objects.
22556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22557 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22559 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22560 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22561 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22562
22563 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22564 (libm-sysdep_routines): Add s_nearbyint-generic and
22565 s_nearbyintf-generic objects.
22566 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22567 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22568 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22569 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22570 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22571 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22572
22573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22574 Add s_finitef-generic and s_finite-generic objects.
22575 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22579 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22581
22582 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22583 Add s_isinff-generic and s_isinf-generic objects.
22584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22590
22591 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22592 Add s_isnanf-generic and s_isnan-generic objects.
22593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22598 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22599
22600 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22601 macro.
22602 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22603 rule.
22604 (sysdep_routines): Use sysdep_calls as base.
22605 (libm-sysdep_routines): Add generic rule for symbols shared with
22606 libc. Add s_signbit-generic and s_signbitf-generic objects.
22607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22609 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22610 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22611 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22612 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22613
22614 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22615
22616 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22617 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22618 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22619 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22620 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22621 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22622 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22623 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22624 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22625 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22626 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22627 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22628 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22629 libm_alias_float_r.
22630 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22631 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22632 (logf): Likewise.
22633 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22634 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22635 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22636 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22637 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22638 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22639 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22640 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22641 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22642 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22643 libm_alias_float.
22644 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22645 (cosf): Likewise.
22646 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22647 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22648 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22649 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22650 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22651 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22652 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22653 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22654 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22655 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22656 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22657 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22658 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22659 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22660 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22661 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22662 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22663 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22664 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22665 libm_alias_float.
22666 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22667 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22668 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22669 * sysdeps/ia64/fpu/w_lgammaf_main.c
22670 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22671 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22672
22673 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22674 Alexandre Oliva <aoliva@redhat.com>
22675
22676 [BZ #17750]
22677 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22678 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22679 accents sorting.
22680 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22681 sorting.
22682 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22683 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22684 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22685 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22686 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22687 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22688 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22689 instead of “ifdef DIACRIT_BACKWARD”.
22690
22691 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22692
22693 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22694 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22695 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22696 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22697 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22698 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22705 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22706 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22707 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22708 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22709 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22710 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22712 ($(have-as-vis3) == yes): Remove conditional.
22713 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22714 Likewise.
22715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22716 file.
22717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22718 file.
22719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22720 file.
22721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22722 file.
22723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22729 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22730 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22731
22732 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22733
22734 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22735 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22736 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22737 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22738 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22739 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22740 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22741 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22742 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22743 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22744 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22745 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22746 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22747 libm_alias_double_r.
22748 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22749 (log): Likewise.
22750 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22751 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22752 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22753 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22754 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22755 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22756 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22757 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22758 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22759 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22760 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22761 libm_alias_double.
22762 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22763 (cos): Likewise.
22764 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22765 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22766 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22767 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22768 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22769 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22770 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22771 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22772 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22773 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22774 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22775 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22776 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22777 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22778 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22779 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22780 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22781 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22782 libm_alias_double.
22783 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22784 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22785 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22786 * sysdeps/ia64/fpu/w_lgamma_main.c
22787 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22788 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22789
22790 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22791
22792 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22793 address of $global$ into %dp register earlier. Use pc-relative
22794 instruction sequence for PIC case.
22795
22796 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22797
22798 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22799 (asinhf): Define using libm_alias_float.
22800 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22801 (atanf): Define using libm_alias_float.
22802 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22803 (cbrtf): Define using libm_alias_float.
22804 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22805 (ceilf): Define using libm_alias_float.
22806 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22807 (copysignf): Define using libm_alias_float.
22808 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22809 (expm1f): Define using libm_alias_float.
22810 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22811 (fabsf): Define using libm_alias_float.
22812 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22813 (floorf): Define using libm_alias_float.
22814 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22815 (fmaxf): Define using libm_alias_float.
22816 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22817 (fminf): Define using libm_alias_float.
22818 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22819 (frexpf): Define using libm_alias_float.
22820 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22821 (llrintf): Define using libm_alias_float.
22822 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22823 (logbf): Define using libm_alias_float.
22824 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22825 (lrintf): Define using libm_alias_float.
22826 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22827 (nearbyintf): Define using libm_alias_float.
22828 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22829 (remquof): Define using libm_alias_float.
22830 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22831 (rintf): Define using libm_alias_float.
22832 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22833 (truncf): Define using libm_alias_float.
22834 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22835 <libm-alias-float.h>.
22836 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22837 if [SHARED].
22838 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22839 <libm-alias-float.h>.
22840 (expf): Define using libm_alias_float, or libm_alias_float_other
22841 if [SHARED].
22842 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22843 <libm-alias-float.h>.
22844 (log2f): Define using libm_alias_float, or libm_alias_float_other
22845 if [SHARED].
22846 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22847 <libm-alias-float.h>.
22848 (logf): Define using libm_alias_float, or libm_alias_float_other
22849 if [SHARED].
22850 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22851 <libm-alias-float.h>.
22852 (powf): Define using libm_alias_float, or libm_alias_float_other
22853 if [SHARED].
22854 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22855 <libm-alias-float.h>.
22856 (cosf): Define using libm_alias_float.
22857 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22858 <libm-alias-float.h>.
22859 (sincosf): Define using libm_alias_float.
22860 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22861 <libm-alias-float.h>.
22862 (sinf): Define using libm_alias_float.
22863 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22864 (fmaxf): Define using libm_alias_float.
22865 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22866 (fminf): Define using libm_alias_float.
22867 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22868 <libm-alias-float.h>.
22869 (fmaf): Define using libm_alias_float.
22870
22871 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22872 (asinh): Define using libm_alias_double.
22873 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22874 (atan): Define using libm_alias_double.
22875 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22876 (cbrt): Define using libm_alias_double.
22877 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22878 (ceil): Define using libm_alias_double.
22879 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22880 (copysign): Define using libm_alias_double.
22881 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22882 (expm1): Define using libm_alias_double.
22883 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22884 (fabs): Define using libm_alias_double.
22885 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22886 (fdim): Define using libm_alias_double.
22887 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22888 (floor): Define using libm_alias_double.
22889 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22890 (fmax): Define using libm_alias_double.
22891 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22892 (fmin): Define using libm_alias_double.
22893 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22894 (frexp): Define using libm_alias_double.
22895 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22896 (llrint): Define using libm_alias_double.
22897 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22898 (logb): Define using libm_alias_double.
22899 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22900 (lrint): Define using libm_alias_double.
22901 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22902 (nearbyint): Define using libm_alias_double.
22903 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22904 (remquo): Define using libm_alias_double.
22905 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22906 (rint): Define using libm_alias_double.
22907 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22908 (trunc): Define using libm_alias_double.
22909 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22910 (fmax): Define using libm_alias_double.
22911 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22912 (fmin): Define using libm_alias_double.
22913 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22914 (fma): Define using libm_alias_double.
22915
22916 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22917
22918 [BZ #22370]
22919 * elf/dl-hwcaps.c (ROUND): Removed.
22920 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22921 and ELF_NOTE_NEXT_OFFSET.
22922 * elf/dl-load.c (ROUND): Removed.
22923 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22924 * elf/readelflib.c (ROUND): Removed.
22925 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22926 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22927 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22928 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22929
22930 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22931
22932 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22933 [!__fmaf] (fmaf): Define using libm_alias_float.
22934
22935 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22936 [!__fma] (fma): Define using libm_alias_double.
22937 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22938
22939 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22940
22941 [BZ #22336]
22942 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22943 and implement the collation rules for cs from CLDR on top of that.
22944 * Makefile: Add cs_CZ.UTF-8 to test-input.
22945 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22946
22947 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22948
22949 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22950
22951 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22952 Icarus Sparry <icarus.w.sparry@intel.com>
22953
22954 * benchtests/Makefile:Add BENCHSET to allow subsets of
22955 benchmarks to be run.
22956 * benchtests/README: Add documentation for: Running subsets of
22957 benchmarks.
22958
22959 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22960
22961 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22962 range of tests names.
22963
22964 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22965 result from property and remove "max", min" and "mean" from
22966 required properties based on benchtests/bench-skeleton.c.
22967
22968 2017-11-28 Florian Weimer <fweimer@redhat.com>
22969
22970 [BZ #20826]
22971 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22972 due to Internet requirement.
22973 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22974 tst-getaddrinfo5.
22975 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22976
22977 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22978
22979 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22980 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22981 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22982 (sysdep_routines): Add memset-ultra1.
22983 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22984 file.
22985 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22986 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22987 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22988 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22989 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22990 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22991 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22992 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22993
22994 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22995 file.
22996 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22997 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22998 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22999 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23000 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23001 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23002 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23003 macro.
23004 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23005 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23006 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23007 (sysdep_routines): Add memcpy-ultra1.
23008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23009 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23010
23011 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23012
23013 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23014 (cfloat_versions): Take function argument without trailing 'f'.
23015 Call libm_alias_float_other.
23016 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23017 * sysdeps/alpha/fpu/cargf.c: Likewise.
23018 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23019 * sysdeps/alpha/fpu/conjf.c: Likewise.
23020 * sysdeps/alpha/fpu/crealf.c: Likewise.
23021 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23022 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23023 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23024 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23025 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23026 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23027 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23028 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23029 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23030 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23031 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23032 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23033 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23034 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23035 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23036 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23037 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23038 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23039 (clog10f): Use libm_alias_float_other.
23040 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23041 (ceilf): Define using libm_alias_float.
23042 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23043 (copysignf): Define using libm_alias_float.
23044 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23045 (fabsf): Define using libm_alias_float.
23046 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23047 (floorf): Define using libm_alias_float.
23048 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23049 (fmaxf): Define using libm_alias_float.
23050 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23051 (fminf): Define using libm_alias_float.
23052 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23053 (lrintf): Define using libm_alias_float.
23054 (llrintf): Likewise.
23055 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23056 (lroundf): Define using libm_alias_float.
23057 (llroundf): Likewise.
23058 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23059 (rintf): Define using libm_alias_float.
23060 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23061 (truncf): Define using libm_alias_float.
23062
23063 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23064 (ceilf): Define using libm_alias_float.
23065 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23066 (floorf): Define using libm_alias_float.
23067 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23068 (fmaf): Define using libm_alias_float.
23069 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23070 (fmaxf): Define using libm_alias_float.
23071 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23072 (fminf): Define using libm_alias_float.
23073 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23074 (llrintf): Define using libm_alias_float.
23075 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23076 (llroundf): Define using libm_alias_float.
23077 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23078 (lrintf): Define using libm_alias_float.
23079 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23080 (lroundf): Define using libm_alias_float.
23081 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23082 <libm-alias-float.h>.
23083 (nearbyintf): Define using libm_alias_float.
23084 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23085 (rintf): Define using libm_alias_float.
23086 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23087 (roundf): Define using libm_alias_float.
23088 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23089 (truncf): Define using libm_alias_float.
23090
23091 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23092 (ceil): Define using libm_alias_double.
23093 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23094 (copysign): Define using libm_alias_double.
23095 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23096 (fabs): Define using libm_alias_double.
23097 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23098 (floor): Define using libm_alias_double.
23099 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23100 (fmax): Define using libm_alias_double.
23101 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23102 (fmin): Define using libm_alias_double.
23103 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23104 (lrint): Define using libm_alias_double.
23105 (llrint): Likewise.
23106 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23107 (lround): Define using libm_alias_double.
23108 (llround): Likewise.
23109 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23110 (rint): Define using libm_alias_double.
23111 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23112 (trunc): Define using libm_alias_double.
23113
23114 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23115 (libm_alias_double_r): Add semicolon after weak_alias call.
23116
23117 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23118
23119 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23120 (ceil): Define using libm_alias_double.
23121 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23122 (floor): Define using libm_alias_double.
23123 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23124 (fma): Define using libm_alias_double.
23125 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23126 (fmax): Define using libm_alias_double.
23127 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23128 (fmin): Define using libm_alias_double.
23129 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23130 (llrint): Define using libm_alias_double.
23131 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23132 (llround): Define using libm_alias_double.
23133 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23134 (lrint): Define using libm_alias_double.
23135 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23136 (lround): Define using libm_alias_double.
23137 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23138 (nearbyint): Define using libm_alias_double.
23139 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23140 (rint): Define using libm_alias_double.
23141 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23142 (round): Define using libm_alias_double.
23143 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23144 (trunc): Define using libm_alias_double.
23145
23146 2017-11-27 Florian Weimer <fweimer@redhat.com>
23147
23148 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23149 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23150 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23151 (tests): Add tst-mlock2.
23152 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23153 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23154 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23155 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23156 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23157 for mlock. Document mlock2.
23158
23159 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23160
23161 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23162 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23163 Likewise.
23164 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23165 Likewise.
23166 * sysdeps/x86/Makeconfig: New file.
23167 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23168 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23169 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23170 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23171 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23172 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23173 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23174 Likewise.
23175 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23176 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23177 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23178 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23179 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23180 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23181 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23182 * manual/math.texi (Mathematics): Document support for _Float64x.
23183 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23184 * stdlib/Versions (GLIBC_2.27): Likewise.
23185 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23186 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23187 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23188 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23189 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23190 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23191 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23192 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23193 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23194 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23195 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23196 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23198 Likewise.
23199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23200 Likewise.
23201 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23202 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23203 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23204 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23205 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23206 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23207 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23208 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23209 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23210 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23211 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23212 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23213 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23214 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23215
23216 2017-11-27 Andreas Schwab <schwab@suse.de>
23217
23218 * elf/Makefile (dl-routines): Add dl-sort-maps.
23219 * elf/dl-sort-maps.c: New file.
23220 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23221 (_dl_sort_maps): Declare.
23222 * elf/dl-fini.c (_dl_sort_fini): Remove.
23223 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23224 * elf/dl-close.c (_dl_close_worker): Likewise.
23225 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23226 open-coding it.
23227 * elf/dl-open.c (dl_open_worker): Likewise.
23228
23229 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23230
23231 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23232 using libm_alias_float128.
23233 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23234 Likewise.
23235 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23236 Likewise.
23237 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23238 (setpayloadsigf128): Likewise.
23239 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23240 Likewise.
23241 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23242 Likewise.
23243
23244 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23245 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23246 -mfloat128 to CFLAGS.
23247 ($(foreach
23248 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23249 Likewise.
23250 (CFLAGS-libm-test-support-float64x.c): New variable.
23251 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23252 $(f128-loader-link) to gnulib-tests.
23253
23254 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23255 (libm_alias_float128_other_r): If
23256 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23257 alias.
23258 (libm_alias_float128_r): Add semicolon after weak_alias call.
23259 * sysdeps/generic/libm-alias-ldouble.h
23260 (libm_alias_ldouble_other_r_f128): New macro.
23261 (libm_alias_ldouble_other_r_f64x): Likewise.
23262 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23263 and libm_alias_ldouble_other_r_f64x.
23264 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23265 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23266 (libm_alias_ldouble_other_r_f128): New macro.
23267 (libm_alias_ldouble_other_r_f64x): Likewise.
23268 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23269 and libm_alias_ldouble_other_r_f64x.
23270
23271 * stdlib/strfroml.c: Always include <stdlib.h>.
23272 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23273 undefine as macro and define as weak alias.
23274 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23275 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23276 <stdlib.h>.
23277 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23278 Define and later undefine as macro and define as weak alias.
23279
23280 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23281 Define and later undefine as macro. Define as weak alias if
23282 [!USE_WIDE_CHAR].
23283 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23284 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23285 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23286 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23287 Define and later undefine as macro. Define as weak alias if
23288 [!USE_WIDE_CHAR].
23289 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23290 Define and later undefine as macro. Define as weak alias if
23291 [USE_WIDE_CHAR].
23292 * sysdeps/ieee754/float128/strtof128_l.c
23293 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23294 Define and later undefine as macro. Define as weak alias if
23295 [!USE_WIDE_CHAR].
23296 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23297 Define and later undefine as macro. Define as weak alias if
23298 [USE_WIDE_CHAR].
23299 * sysdeps/ieee754/ldbl-128/strtold_l.c
23300 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23301 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23302 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23303 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23304 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23305 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23306 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23307 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23308 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23309 * sysdeps/ieee754/ldbl-96/strtold_l.c
23310 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23311 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23312 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23313 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23314
23315 * math/test-float64x.h: New file.
23316 * math/Makefile (type-float64x-yes): New variable.
23317 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23318
23319 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23320 function-like macro.
23321 (min_of_type_): Likewise.
23322 (min_of_type_l): Likewise.
23323 (min_of_type_f128): Likewise.
23324 (min_of_type): Pass () as last argument of __MATH_TG.
23325
23326 * stdlib/tst-strtod-round-skeleton.c
23327 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23328 headers.
23329
23330 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23331 for combinations of long double with _Float64 and _Float64x.
23332
23333 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23334 (__DECL_SIMD_cosf32): Likewise.
23335 (__DECL_SIMD_cosf64): Likewise.
23336 (__DECL_SIMD_cosf32x): Likewise.
23337 (__DECL_SIMD_cosf64x): Likewise.
23338 (__DECL_SIMD_cosf128x): Likewise.
23339 (__DECL_SIMD_sinf16): Likewise.
23340 (__DECL_SIMD_sinf32): Likewise.
23341 (__DECL_SIMD_sinf64): Likewise.
23342 (__DECL_SIMD_sinf32x): Likewise.
23343 (__DECL_SIMD_sinf64x): Likewise.
23344 (__DECL_SIMD_sinf128x): Likewise.
23345 (__DECL_SIMD_sincosf16): Likewise.
23346 (__DECL_SIMD_sincosf32): Likewise.
23347 (__DECL_SIMD_sincosf64): Likewise.
23348 (__DECL_SIMD_sincosf32x): Likewise.
23349 (__DECL_SIMD_sincosf64x): Likewise.
23350 (__DECL_SIMD_sincosf128x): Likewise.
23351 (__DECL_SIMD_logf16): Likewise.
23352 (__DECL_SIMD_logf32): Likewise.
23353 (__DECL_SIMD_logf64): Likewise.
23354 (__DECL_SIMD_logf32x): Likewise.
23355 (__DECL_SIMD_logf64x): Likewise.
23356 (__DECL_SIMD_logf128x): Likewise.
23357 (__DECL_SIMD_expf16): Likewise.
23358 (__DECL_SIMD_expf32): Likewise.
23359 (__DECL_SIMD_expf64): Likewise.
23360 (__DECL_SIMD_expf32x): Likewise.
23361 (__DECL_SIMD_expf64x): Likewise.
23362 (__DECL_SIMD_expf128x): Likewise.
23363 (__DECL_SIMD_powf16): Likewise.
23364 (__DECL_SIMD_powf32): Likewise.
23365 (__DECL_SIMD_powf64): Likewise.
23366 (__DECL_SIMD_powf32x): Likewise.
23367 (__DECL_SIMD_powf64x): Likewise.
23368 (__DECL_SIMD_powf128x): Likewise.
23369
23370 * stdlib/Versions (libc): Move entries for wcstof128 and
23371 wcstof128_l to ....
23372 * wcsmbs/Versions (libc): ... here.
23373 Include <float128-abi.h>.
23374
23375 2017-11-24 Florian Weimer <fweimer@redhat.com>
23376
23377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23378 bits/mman-shared.h.
23379 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23380 <bits/mman-shared.h>.
23381 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23382 to ...
23383 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23384 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23385 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23386 <bits/mman-shared.h>.
23387
23388 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23389
23390 [BZ #22457]
23391 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23392 posix_memalign/free.
23393 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23394
23395 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23396
23397 [BZ #22469]
23398 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23399 and implement the collation rules for pl from CLDR on top of that.
23400 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23401 of locales to be built for testing.
23402 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23403
23404 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23405
23406 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23407 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23408 libm_alias_ldouble_other.
23409 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23410 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23411 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23412 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23413 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23414 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23415 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23416 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23417 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23418 libm_alias_ldouble_r.
23419 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23420 libm_alias_ldouble_other.
23421 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23422 (log10l): Likewise.
23423 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23424 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23425 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23426 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23427 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23428 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23429 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23430 (atan2l): Likewise.
23431 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23432 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23433 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23434 libm_alias_ldouble.
23435 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23436 (cosl): Likewise.
23437 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23438 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23439 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23440 (expl): Likewise.
23441 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23442 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23443 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23444 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23445 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23446 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23447 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23448 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23449 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23450 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23451 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23452 libm_alias_ldouble.
23453 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23454 libm_alias_ldouble_other.
23455 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23456 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23457 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23458 libm_alias_ldouble.
23459 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23460 libm_alias_ldouble_other.
23461 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23462 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23463 * sysdeps/ia64/fpu/w_lgammal_main.c
23464 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23465 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23466
23467 2017-11-23 Florian Weimer <fweimer@redhat.com>
23468
23469 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23470 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23471 alike. Remove freeres marker.
23472 * malloc/arena.c (arena_thread_freeres): Call
23473 tcache_thread_shutdown.
23474
23475 2017-11-23 Florian Weimer <fweimer@redhat.com>
23476
23477 [BZ #22459]
23478 Export nscd hash function as __nss_hash.
23479 * include/nss.h (__nss_hash): Declare.
23480 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23481 symbol.
23482 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23483 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23484 of __nscd_hash.
23485 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23486 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23487 * nss/Makefiles (routines): Add nss_hash.
23488 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23489 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23490 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23491 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23492
23493 2017-11-23 Florian Weimer <fweimer@redhat.com>
23494
23495 [BZ #22478]
23496 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23497 Return error code, not -1.
23498 * signal/tst-sigwait-eintr.c: New file.
23499 * signal/Makefile (tests): Add tst-sigwait-eintr.
23500
23501 2017-11-23 Florian Weimer <fweimer@redhat.com>
23502
23503 Linux: Add memfd_create system call wrapper
23504 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23505 tst-memfd_create.
23506 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23507 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23508 [__USE_GNU] (memfd_create): Declare.
23509 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23510 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23511 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23512 * sysdeps/unix/sysv/linux/**.abilist: Update.
23513 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23514
23515 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23516
23517 * localedata/gen-locale.sh: Fix typo in variable name.
23518
23519 * resolv/res_debug.c (p_secstodate): Condition definition on
23520 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23521 directly as __p_secstodate, and as a compat symbol. Do not use
23522 libresolv_hidden_def.
23523 * resolv/resolv.h (p_secstodate): Remove macro and function
23524 declaration.
23525 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23526 using p_secstodate.
23527 * include/resolv.h (__p_secstodate): Do not use
23528 libresolv_hidden_proto.
23529 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23530 (tests-internal): ... here.
23531 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23532 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23533 and declare and use __p_secstodate and use compat_symbol_reference
23534 in that case.
23535 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23536 implementation returning 77.
23537
23538 [BZ #22463]
23539 * resolv/res_debug.c: Include <libc-diag.h>.
23540 (p_secstodate): Assert time_t at least as wide as u_long. On
23541 overflow, use integer seconds since the epoch as output, or use
23542 "<overflow>" as output and set errno to EOVERFLOW if integer
23543 seconds since the epoch would be 14 or more characters.
23544 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23545 for sprintf call.
23546 * resolv/tst-p_secstodate.c: New file.
23547 * resolv/Makefile (tests): Add tst-p_secstodate.
23548 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23549
23550 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23551 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23552 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23553
23554 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23555
23556 * posix/regcomp.c (init_word_char): Add comments.
23557
23558 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23559
23560 [BZ #22447]
23561 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23562 strlen to compute length of ut_user and set trailing NUL byte of
23563 result explicitly.
23564
23565 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23566
23567 [BZ #15537]
23568 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23569 using “copy "iso14651_t1"” and then implementing the
23570 collation rules for lv from CLDR on top of that.
23571 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23572 of locales to be built for testing.
23573 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23574 sorting.
23575
23576 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23577
23578 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23579 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23580 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23581 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23582 [__USE_MISC] (MADV_HWPOISON): New macro.
23583 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23584
23585 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23586
23587 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23588 -Wmissing-braces on GCC 4.9.
23589
23590 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23591
23592 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23593 * sysdeps/s390/s390-32/start.S (_start): Likewise
23594 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23595 (thread_start): Likewise.
23596 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23597 (thread_start): Likewise.
23598 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23599 (__makecontext_ret): Likewise.
23600 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23601 (__makecontext_ret): Likewise.
23602
23603 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23604
23605 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23606 __wcschrnul): Remove attribute_hidden.
23607
23608 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23609
23610 regex: don't assume uint64_t or uint32_t
23611 This avoids -Werror=overflow errors for 32-bit systems in
23612 the 64-bit case. Problem reported by Joseph Myers in:
23613 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23614 Also, when this code is used in Gnulib it ports to platforms
23615 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23616 them, and on some 32-bit compilers there is no uint64_t.
23617 Problem reported by Gianluigi Tiesi in:
23618 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23619 * posix/regcomp.c (init_word_char): Don't assume that the types
23620 uint64_t and uint32_t exist. Adapted from Gnulib patch
23621 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23622 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23623
23624 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23625
23626 * sysdeps/aarch64/memset-reg.h: New file.
23627 * sysdeps/aarch64/memset.S: Use it.
23628 (__memset): Rename to MEMSET macro.
23629 [ZVA_MACRO]: Use zva_macro.
23630 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23631 Add memset_generic and memset_falkor.
23632 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23633 (__libc_ifunc_impl_list): Add memset ifuncs.
23634 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23635 local variable zva_size.
23636 * sysdeps/aarch64/multiarch/memset.c: New file.
23637 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23638 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23639 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23640 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23641 (DCZID_DZP_MASK): New macro.
23642 (DCZID_BS_MASK): Likewise.
23643 (init_cpu_features): Read and set zva_size.
23644 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23645 (struct cpu_features): New member zva_size.
23646
23647 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23648 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23649 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23650
23651 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23652 backwards. Fix timing computation.
23653 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23654 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23655 on memset by N at a time. Fix timing computation.
23656
23657 2017-11-20 Florian Weimer <fweimer@redhat.com>
23658
23659 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23660 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23661
23662 2017-11-19 Florian Weimer <fweimer@redhat.com>
23663
23664 manual: Document mprotect
23665 * manual/memory.texi (Memory Protection): New section.
23666 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23667 documentation of PROT_* flags and reference the Memory Protection
23668 section instead.
23669
23670 2017-11-19 Florian Weimer <fweimer@redhat.com>
23671
23672 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23673 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23674 (Scatter-Gather): ... to here. Remove misleading comment.
23675
23676 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23677
23678 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23679 style.
23680
23681 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23682 when /proc/<pid>/setgroups does not exist.
23683
23684 2017-11-18 Florian Weimer <fweimer@redhat.com>
23685
23686 * sysdeps/unix/sysv/linux/tst-ttyname.c
23687 (become_root_in_mount_ns): Remove.
23688 (do_in_chroot_1): Call support_enter_mount_namespace.
23689 (do_in_chroot_2): Likewise.
23690 (do_test): Call support_become_root early.
23691
23692 2017-11-18 Florian Weimer <fweimer@redhat.com>
23693
23694 * support/namespace.h (support_enter_mount_namespace): Declare.
23695 * support/support_enter_mount_namespace.c: New file.
23696 * support/Makefile (libsupport-routines): Add
23697 support_enter_mount_namespace.
23698
23699 2017-11-18 Florian Weimer <fweimer@redhat.com>
23700
23701 * support/temp_file.c (support_create_temp_directory): Use
23702 test_dir and do not rely on the presence of the XXXXXX suffix.
23703 * support/temp_file.h (support_create_temp_directory): Update
23704 comment.
23705 * support/tst-xreadlink.c (do_test): Adjust.
23706 * support/support_chroot.c (support_chroot_create): Likewise.
23707
23708 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23709
23710 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23711 macro.
23712 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23713 htm-no-suspend.
23714
23715 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23716
23717 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23718 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23719 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23720 (ceill): Define using libm_alias_ldouble.
23721 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23722 <libm-alias-ldouble.h>.
23723 (copysignl): Define using libm_alias_ldouble.
23724 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23725 (fabsl): Define using libm_alias_ldouble.
23726 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23727 (floorl): Define using libm_alias_ldouble.
23728 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23729 (fmaxl): Define using libm_alias_ldouble.
23730 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23731 (fminl): Define using libm_alias_ldouble.
23732 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23733 (llrintl): Define using libm_alias_ldouble.
23734 (lrintl): Likewise.
23735 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23736 <libm-alias-ldouble.h>.
23737 (nearbyintl): Define using libm_alias_ldouble.
23738 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23739 (truncl): Define using libm_alias_ldouble.
23740 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23741 <libm-alias-ldouble.h>.
23742 (lrintl): Define using libm_alias_ldouble.
23743
23744 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23745 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23746 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23747 (asinhl): Define using libm_alias_ldouble.
23748 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23749 (atanl): Define using libm_alias_ldouble.
23750 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23751 (cbrtl): Define using libm_alias_ldouble.
23752 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23753 (ceill): Define using libm_alias_ldouble.
23754 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23755 (copysignl): Define using libm_alias_ldouble.
23756 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23757 (fabsl): Define using libm_alias_ldouble.
23758 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23759 (floorl): Define using libm_alias_ldouble.
23760 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23761 (fmaxl): Define using libm_alias_ldouble.
23762 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23763 (fminl): Define using libm_alias_ldouble.
23764 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23765 (frexpl): Define using libm_alias_ldouble.
23766 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23767 (llrintl): Define using libm_alias_ldouble.
23768 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23769 (logbl): Define using libm_alias_ldouble.
23770 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23771 (lrintl): Define using libm_alias_ldouble.
23772 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23773 (nearbyintl): Define using libm_alias_ldouble.
23774 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23775 (nextafterl): Define using libm_alias_ldouble.
23776 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23777 (remquol): Define using libm_alias_ldouble.
23778 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23779 (rintl): Define using libm_alias_ldouble.
23780 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23781 (truncl): Define using libm_alias_ldouble.
23782 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23783 (fmaxl): Define using libm_alias_ldouble.
23784 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23785 (fminl): Define using libm_alias_ldouble.
23786
23787 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23788 to C syntax instead of availability and properties of types.
23789 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23790 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23791 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23792 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23793 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23794 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23795
23796 2017-11-17 Florian Weimer <fweimer@redhat.com>
23797
23798 support_become_root: Enable file creation in namespaces.
23799 * support/support_become_root.c (setup_mapping): New function.
23800 (support_become_root): Call it.
23801
23802 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23803
23804 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23805 macro.
23806
23807 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23808
23809 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23810 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23811
23812 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23813
23814 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23815
23816 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23817 version to 4.14.
23818
23819 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23820
23821 * INSTALL: Fix botched up regeneration.
23822
23823 * NEWS: Update sourceare link to https.
23824 * configure.ac: Likewise.
23825 * crypt/md5test-giant.c: Likewise.
23826 * dlfcn/bug-atexit1.c: Likewise.
23827 * dlfcn/bug-atexit2.c: Likewise.
23828 * localedata/README: Likewise.
23829 * malloc/tst-mallocfork.c: Likewise.
23830 * manual/install.texi: Likewise.
23831 * nptl/tst-pthread-getattr.c: Likewise.
23832 * stdio-common/tst-fgets.c: Likewise.
23833 * stdio-common/tst-fwrite.c: Likewise.
23834 * sunrpc/Makefile: Likewise.
23835 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23836 * wcsmbs/tst-mbrtowc2.c: Likewise.
23837 * configure: Regenerate.
23838 * INSTALL: Regenerate.
23839
23840 2017-11-15 Martin Sebor <msebor@redhat.com>
23841
23842 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23843 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23844 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23845
23846 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23847
23848 [BZ #22145]
23849 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23850 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23851
23852 [BZ #22145]
23853 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23854 Defer is_pty check until end of the function.
23855 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23856
23857 [BZ #22145]
23858 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23859 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23860 (ttyname): Likewise.
23861 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23862 (__ttyname_r): Likewise.
23863
23864 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23865 int to bool.
23866
23867 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23868
23869 * manual/terminal.texi (Is It a Terminal):
23870 Mention ENODEV for ttyname and ttyname_r.
23871
23872 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23873
23874 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23875 constant and macro.
23876
23877 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23878 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23879 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23880 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23881 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23882 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23883
23884 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23885
23886 * signal/sigrelse.c (sigrelse): Optimize implementation.
23887
23888 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23889 (__sigpause): Rely on __sigsuspend to implement single thread
23890 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23891
23892 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23893
23894 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23895 kernel version to 4.14.
23896
23897 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23898
23899 [BZ #22442]
23900 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23901 Check if ifname is too long.
23902
23903 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23904
23905 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23906
23907 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23908
23909 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23910 was accidentally lost.
23911
23912 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23913
23914 * localedata/locales/az_IR: Add standard copyright header.
23915
23916 2017-11-15 Florian Weimer <fweimer@redhat.com>
23917
23918 [BZ #22439]
23919 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23920 not just the top one. Output a new "subheaps" statistic.
23921
23922 2017-11-15 Florian Weimer <fweimer@redhat.com>
23923
23924 [BZ #22408]
23925 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23926 under the per-arena lock.
23927 * malloc/Makefile (tests): Add tst-malloc_info.
23928 (tst-malloc_info): Link with libpthread.
23929 * malloc/tst-malloc_info.c: New file.
23930
23931 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23932
23933 [BZ #21660]
23934 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23935 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23936 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23937 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23938 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23939 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23940 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23941 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23942 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23943 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23944 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23945 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23946 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23947 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23948 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23949 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23950 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23951 (__floating_type): Likewise.
23952 (__real_integer_type): Likewise.
23953 (__complex_integer_type): Likewise.
23954 (__expr_is_real): Likewise.
23955 (__tgmath_real_type_sub): Likewise.
23956 (__tgmath_real_type): Likewise.
23957 (__tgmath_complex_type_sub): Likewise.
23958 (__tgmath_complex_type): Likewise.
23959 (__TGMATH_F128): Likewise.
23960 (__TGMATH_CF128): Likewise.
23961 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23962 new macros.
23963 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23964 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23965 Likewise.
23966 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23967 Likewise.
23968 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23969 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23970 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23971 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23972 Likewise.
23973 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23974 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23975 Likewise.
23976 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23977 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23978 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23979 Likewise.
23980 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23981 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23982 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23983 (cimag): Likewise.
23984 (creal): Likewise.
23985
23986 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23987
23988 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23989 for stpncpy calls for GCC 8.
23990 (test_strncat): Disable -Wstringop-truncation warning for strncat
23991 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23992 strncat call for GCC 7.
23993 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23994 calls for GCC 8.
23995 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23996 trailing NUL.
23997
23998 * string/bug-strncat1.c: Include <libc-diag.h>.
23999 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24000
24001 2017-11-13 Claude Paroz <claude@2xlibre.net>
24002
24003 [BZ #22387]
24004 * localedata/locales/aa_DJ: Improved readibility by replacing
24005 <Uxxxx> sequences in the ASCII printable range by their ASCII
24006 character equivalents.
24007 * localedata/locales/aa_ER: Likewise.
24008 * localedata/locales/aa_ER@saaho: Likewise.
24009 * localedata/locales/aa_ET: Likewise.
24010 * localedata/locales/af_ZA: Likewise.
24011 * localedata/locales/agr_PE: Likewise.
24012 * localedata/locales/ak_GH: Likewise.
24013 * localedata/locales/am_ET: Likewise.
24014 * localedata/locales/anp_IN: Likewise.
24015 * localedata/locales/ar_AE: Likewise.
24016 * localedata/locales/ar_BH: Likewise.
24017 * localedata/locales/ar_DZ: Likewise.
24018 * localedata/locales/ar_EG: Likewise.
24019 * localedata/locales/ar_IN: Likewise.
24020 * localedata/locales/ar_IQ: Likewise.
24021 * localedata/locales/ar_JO: Likewise.
24022 * localedata/locales/ar_KW: Likewise.
24023 * localedata/locales/ar_LB: Likewise.
24024 * localedata/locales/ar_LY: Likewise.
24025 * localedata/locales/ar_MA: Likewise.
24026 * localedata/locales/ar_OM: Likewise.
24027 * localedata/locales/ar_QA: Likewise.
24028 * localedata/locales/ar_SA: Likewise.
24029 * localedata/locales/ar_SD: Likewise.
24030 * localedata/locales/ar_SS: Likewise.
24031 * localedata/locales/ar_SY: Likewise.
24032 * localedata/locales/ar_TN: Likewise.
24033 * localedata/locales/ar_YE: Likewise.
24034 * localedata/locales/as_IN: Likewise.
24035 * localedata/locales/ast_ES: Likewise.
24036 * localedata/locales/ayc_PE: Likewise.
24037 * localedata/locales/az_AZ: Likewise.
24038 * localedata/locales/az_IR: Likewise.
24039 * localedata/locales/be_BY: Likewise.
24040 * localedata/locales/be_BY@latin: Likewise.
24041 * localedata/locales/bem_ZM: Likewise.
24042 * localedata/locales/ber_DZ: Likewise.
24043 * localedata/locales/ber_MA: Likewise.
24044 * localedata/locales/bg_BG: Likewise.
24045 * localedata/locales/bhb_IN: Likewise.
24046 * localedata/locales/bho_IN: Likewise.
24047 * localedata/locales/bi_VU: Likewise.
24048 * localedata/locales/bn_BD: Likewise.
24049 * localedata/locales/bn_IN: Likewise.
24050 * localedata/locales/bo_CN: Likewise.
24051 * localedata/locales/bo_IN: Likewise.
24052 * localedata/locales/br_FR: Likewise.
24053 * localedata/locales/brx_IN: Likewise.
24054 * localedata/locales/bs_BA: Likewise.
24055 * localedata/locales/byn_ER: Likewise.
24056 * localedata/locales/ca_AD: Likewise.
24057 * localedata/locales/ca_ES: Likewise.
24058 * localedata/locales/ca_FR: Likewise.
24059 * localedata/locales/ca_IT: Likewise.
24060 * localedata/locales/ce_RU: Likewise.
24061 * localedata/locales/chr_US: Likewise.
24062 * localedata/locales/cmn_TW: Likewise.
24063 * localedata/locales/crh_UA: Likewise.
24064 * localedata/locales/cs_CZ: Likewise.
24065 * localedata/locales/csb_PL: Likewise.
24066 * localedata/locales/cv_RU: Likewise.
24067 * localedata/locales/cy_GB: Likewise.
24068 * localedata/locales/da_DK: Likewise.
24069 * localedata/locales/de_AT: Likewise.
24070 * localedata/locales/de_BE: Likewise.
24071 * localedata/locales/de_CH: Likewise.
24072 * localedata/locales/de_DE: Likewise.
24073 * localedata/locales/de_IT: Likewise.
24074 * localedata/locales/de_LI: Likewise.
24075 * localedata/locales/de_LU: Likewise.
24076 * localedata/locales/doi_IN: Likewise.
24077 * localedata/locales/dv_MV: Likewise.
24078 * localedata/locales/dz_BT: Likewise.
24079 * localedata/locales/el_CY: Likewise.
24080 * localedata/locales/el_GR: Likewise.
24081 * localedata/locales/en_AG: Likewise.
24082 * localedata/locales/en_AU: Likewise.
24083 * localedata/locales/en_BW: Likewise.
24084 * localedata/locales/en_CA: Likewise.
24085 * localedata/locales/en_DK: Likewise.
24086 * localedata/locales/en_GB: Likewise.
24087 * localedata/locales/en_HK: Likewise.
24088 * localedata/locales/en_IE: Likewise.
24089 * localedata/locales/en_IL: Likewise.
24090 * localedata/locales/en_IN: Likewise.
24091 * localedata/locales/en_NG: Likewise.
24092 * localedata/locales/en_NZ: Likewise.
24093 * localedata/locales/en_PH: Likewise.
24094 * localedata/locales/en_SG: Likewise.
24095 * localedata/locales/en_US: Likewise.
24096 * localedata/locales/en_ZA: Likewise.
24097 * localedata/locales/en_ZM: Likewise.
24098 * localedata/locales/en_ZW: Likewise.
24099 * localedata/locales/eo: Likewise.
24100 * localedata/locales/es_AR: Likewise.
24101 * localedata/locales/es_BO: Likewise.
24102 * localedata/locales/es_CL: Likewise.
24103 * localedata/locales/es_CO: Likewise.
24104 * localedata/locales/es_CR: Likewise.
24105 * localedata/locales/es_CU: Likewise.
24106 * localedata/locales/es_DO: Likewise.
24107 * localedata/locales/es_EC: Likewise.
24108 * localedata/locales/es_ES: Likewise.
24109 * localedata/locales/es_GT: Likewise.
24110 * localedata/locales/es_HN: Likewise.
24111 * localedata/locales/es_MX: Likewise.
24112 * localedata/locales/es_NI: Likewise.
24113 * localedata/locales/es_PA: Likewise.
24114 * localedata/locales/es_PE: Likewise.
24115 * localedata/locales/es_PR: Likewise.
24116 * localedata/locales/es_PY: Likewise.
24117 * localedata/locales/es_SV: Likewise.
24118 * localedata/locales/es_US: Likewise.
24119 * localedata/locales/es_UY: Likewise.
24120 * localedata/locales/es_VE: Likewise.
24121 * localedata/locales/et_EE: Likewise.
24122 * localedata/locales/eu_ES: Likewise.
24123 * localedata/locales/eu_ES@euro: Likewise.
24124 * localedata/locales/fa_IR: Likewise.
24125 * localedata/locales/ff_SN: Likewise.
24126 * localedata/locales/fi_FI: Likewise.
24127 * localedata/locales/fil_PH: Likewise.
24128 * localedata/locales/fo_FO: Likewise.
24129 * localedata/locales/fr_BE: Likewise.
24130 * localedata/locales/fr_CA: Likewise.
24131 * localedata/locales/fr_CH: Likewise.
24132 * localedata/locales/fr_FR: Likewise.
24133 * localedata/locales/fr_LU: Likewise.
24134 * localedata/locales/fur_IT: Likewise.
24135 * localedata/locales/fy_DE: Likewise.
24136 * localedata/locales/fy_NL: Likewise.
24137 * localedata/locales/ga_IE: Likewise.
24138 * localedata/locales/gd_GB: Likewise.
24139 * localedata/locales/gez_ER: Likewise.
24140 * localedata/locales/gez_ET: Likewise.
24141 * localedata/locales/gl_ES: Likewise.
24142 * localedata/locales/gu_IN: Likewise.
24143 * localedata/locales/gv_GB: Likewise.
24144 * localedata/locales/ha_NG: Likewise.
24145 * localedata/locales/hak_TW: Likewise.
24146 * localedata/locales/he_IL: Likewise.
24147 * localedata/locales/hi_IN: Likewise.
24148 * localedata/locales/hif_FJ: Likewise.
24149 * localedata/locales/hne_IN: Likewise.
24150 * localedata/locales/hr_HR: Likewise.
24151 * localedata/locales/hsb_DE: Likewise.
24152 * localedata/locales/ht_HT: Likewise.
24153 * localedata/locales/hu_HU: Likewise.
24154 * localedata/locales/hy_AM: Likewise.
24155 * localedata/locales/i18n: Likewise.
24156 * localedata/locales/ia_FR: Likewise.
24157 * localedata/locales/id_ID: Likewise.
24158 * localedata/locales/ig_NG: Likewise.
24159 * localedata/locales/ik_CA: Likewise.
24160 * localedata/locales/is_IS: Likewise.
24161 * localedata/locales/it_CH: Likewise.
24162 * localedata/locales/it_IT: Likewise.
24163 * localedata/locales/iu_CA: Likewise.
24164 * localedata/locales/ja_JP: Likewise.
24165 * localedata/locales/ka_GE: Likewise.
24166 * localedata/locales/kk_KZ: Likewise.
24167 * localedata/locales/kl_GL: Likewise.
24168 * localedata/locales/kn_IN: Likewise.
24169 * localedata/locales/ko_KR: Likewise.
24170 * localedata/locales/kok_IN: Likewise.
24171 * localedata/locales/ks_IN: Likewise.
24172 * localedata/locales/ks_IN@devanagari: Likewise.
24173 * localedata/locales/ku_TR: Likewise.
24174 * localedata/locales/kw_GB: Likewise.
24175 * localedata/locales/ky_KG: Likewise.
24176 * localedata/locales/lb_LU: Likewise.
24177 * localedata/locales/lg_UG: Likewise.
24178 * localedata/locales/li_BE: Likewise.
24179 * localedata/locales/li_NL: Likewise.
24180 * localedata/locales/lij_IT: Likewise.
24181 * localedata/locales/ln_CD: Likewise.
24182 * localedata/locales/lo_LA: Likewise.
24183 * localedata/locales/lt_LT: Likewise.
24184 * localedata/locales/lv_LV: Likewise.
24185 * localedata/locales/lzh_TW: Likewise.
24186 * localedata/locales/mag_IN: Likewise.
24187 * localedata/locales/mai_IN: Likewise.
24188 * localedata/locales/mg_MG: Likewise.
24189 * localedata/locales/mhr_RU: Likewise.
24190 * localedata/locales/mi_NZ: Likewise.
24191 * localedata/locales/mk_MK: Likewise.
24192 * localedata/locales/ml_IN: Likewise.
24193 * localedata/locales/mn_MN: Likewise.
24194 * localedata/locales/mni_IN: Likewise.
24195 * localedata/locales/mr_IN: Likewise.
24196 * localedata/locales/ms_MY: Likewise.
24197 * localedata/locales/mt_MT: Likewise.
24198 * localedata/locales/my_MM: Likewise.
24199 * localedata/locales/nan_TW: Likewise.
24200 * localedata/locales/nan_TW@latin: Likewise.
24201 * localedata/locales/nb_NO: Likewise.
24202 * localedata/locales/nds_DE: Likewise.
24203 * localedata/locales/nds_NL: Likewise.
24204 * localedata/locales/ne_NP: Likewise.
24205 * localedata/locales/nhn_MX: Likewise.
24206 * localedata/locales/niu_NU: Likewise.
24207 * localedata/locales/niu_NZ: Likewise.
24208 * localedata/locales/nl_AW: Likewise.
24209 * localedata/locales/nl_BE: Likewise.
24210 * localedata/locales/nl_NL: Likewise.
24211 * localedata/locales/nn_NO: Likewise.
24212 * localedata/locales/nr_ZA: Likewise.
24213 * localedata/locales/nso_ZA: Likewise.
24214 * localedata/locales/oc_FR: Likewise.
24215 * localedata/locales/om_ET: Likewise.
24216 * localedata/locales/om_KE: Likewise.
24217 * localedata/locales/or_IN: Likewise.
24218 * localedata/locales/os_RU: Likewise.
24219 * localedata/locales/pa_IN: Likewise.
24220 * localedata/locales/pa_PK: Likewise.
24221 * localedata/locales/pap_AW: Likewise.
24222 * localedata/locales/pap_CW: Likewise.
24223 * localedata/locales/pl_PL: Likewise.
24224 * localedata/locales/ps_AF: Likewise.
24225 * localedata/locales/pt_BR: Likewise.
24226 * localedata/locales/pt_PT: Likewise.
24227 * localedata/locales/quz_PE: Likewise.
24228 * localedata/locales/raj_IN: Likewise.
24229 * localedata/locales/ro_RO: Likewise.
24230 * localedata/locales/ru_RU: Likewise.
24231 * localedata/locales/ru_UA: Likewise.
24232 * localedata/locales/rw_RW: Likewise.
24233 * localedata/locales/sa_IN: Likewise.
24234 * localedata/locales/sat_IN: Likewise.
24235 * localedata/locales/sc_IT: Likewise.
24236 * localedata/locales/sd_IN: Likewise.
24237 * localedata/locales/sd_IN@devanagari: Likewise.
24238 * localedata/locales/se_NO: Likewise.
24239 * localedata/locales/sgs_LT: Likewise.
24240 * localedata/locales/shs_CA: Likewise.
24241 * localedata/locales/si_LK: Likewise.
24242 * localedata/locales/sid_ET: Likewise.
24243 * localedata/locales/sk_SK: Likewise.
24244 * localedata/locales/sl_SI: Likewise.
24245 * localedata/locales/sm_WS: Likewise.
24246 * localedata/locales/so_DJ: Likewise.
24247 * localedata/locales/so_ET: Likewise.
24248 * localedata/locales/so_KE: Likewise.
24249 * localedata/locales/so_SO: Likewise.
24250 * localedata/locales/sq_AL: Likewise.
24251 * localedata/locales/sq_MK: Likewise.
24252 * localedata/locales/sr_ME: Likewise.
24253 * localedata/locales/sr_RS: Likewise.
24254 * localedata/locales/sr_RS@latin: Likewise.
24255 * localedata/locales/ss_ZA: Likewise.
24256 * localedata/locales/st_ZA: Likewise.
24257 * localedata/locales/sv_FI: Likewise.
24258 * localedata/locales/sv_SE: Likewise.
24259 * localedata/locales/sw_KE: Likewise.
24260 * localedata/locales/sw_TZ: Likewise.
24261 * localedata/locales/szl_PL: Likewise.
24262 * localedata/locales/ta_IN: Likewise.
24263 * localedata/locales/ta_LK: Likewise.
24264 * localedata/locales/tcy_IN: Likewise.
24265 * localedata/locales/te_IN: Likewise.
24266 * localedata/locales/tg_TJ: Likewise.
24267 * localedata/locales/th_TH: Likewise.
24268 * localedata/locales/the_NP: Likewise.
24269 * localedata/locales/ti_ER: Likewise.
24270 * localedata/locales/ti_ET: Likewise.
24271 * localedata/locales/tig_ER: Likewise.
24272 * localedata/locales/tk_TM: Likewise.
24273 * localedata/locales/tl_PH: Likewise.
24274 * localedata/locales/tn_ZA: Likewise.
24275 * localedata/locales/to_TO: Likewise.
24276 * localedata/locales/tpi_PG: Likewise.
24277 * localedata/locales/tr_CY: Likewise.
24278 * localedata/locales/tr_TR: Likewise.
24279 * localedata/locales/ts_ZA: Likewise.
24280 * localedata/locales/tt_RU: Likewise.
24281 * localedata/locales/tt_RU@iqtelif: Likewise.
24282 * localedata/locales/ug_CN: Likewise.
24283 * localedata/locales/uk_UA: Likewise.
24284 * localedata/locales/unm_US: Likewise.
24285 * localedata/locales/ur_IN: Likewise.
24286 * localedata/locales/ur_PK: Likewise.
24287 * localedata/locales/uz_UZ: Likewise.
24288 * localedata/locales/uz_UZ@cyrillic: Likewise.
24289 * localedata/locales/ve_ZA: Likewise.
24290 * localedata/locales/vi_VN: Likewise.
24291 * localedata/locales/wa_BE: Likewise.
24292 * localedata/locales/wae_CH: Likewise.
24293 * localedata/locales/wal_ET: Likewise.
24294 * localedata/locales/wo_SN: Likewise.
24295 * localedata/locales/xh_ZA: Likewise.
24296 * localedata/locales/yi_US: Likewise.
24297 * localedata/locales/yo_NG: Likewise.
24298 * localedata/locales/yue_HK: Likewise.
24299 * localedata/locales/yuw_PG: Likewise.
24300 * localedata/locales/zh_CN: Likewise.
24301 * localedata/locales/zh_HK: Likewise.
24302 * localedata/locales/zh_SG: Likewise.
24303 * localedata/locales/zh_TW: Likewise.
24304 * localedata/locales/zu_ZA: Likewise.
24305
24306 2017-11-13 Florian Weimer <fweimer@redhat.com>
24307
24308 * support/next_to_fault.h, support/next_to_fault.c: New files.
24309 * support/Makefile (libsupport-routines): Add next_to_fault.
24310 * resolv/tst-inet_pton.c (struct next_to_fault)
24311 (next_to_fault_allocate, next_to_fault_free): Remove.
24312 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24313
24314 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24315
24316 * elf/dl-support.c: Include <dl-procruntime.c>.
24317 * include/link.h: Include <link_map.h>.
24318 * sysdeps/generic/dl-procruntime.c: New file.
24319 * sysdeps/generic/link_map.h: Likewise.
24320 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24321 the writable ld.so namespace.
24322
24323 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24324
24325 timezone: pacify GCC -Wstringop-truncation
24326 Problem reported by Martin Sebor in:
24327 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24328 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24329
24330 2017-11-12 Florian Weimer <fweimer@redhat.com>
24331
24332 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24333 tst-xreadlink.
24334 (tests): Add tst-xreadlink.
24335 * support/support.h (xstrndup): Declare.
24336 * support/xunistd.h (xunlink, xreadlink): Declare.
24337 * support/temp_file.h (support_create_temp_directory): Declare.
24338 * support/temp_file.c (support_create_temp_directory): New function.
24339 * support/support_chroot.c (support_chroot_create): Use it.
24340 * support/xreadlink.c: New file.
24341 * support/xstrndup.c: Likewise.
24342 * support/xunlink.c: Likewise.
24343 * support/tst-xreadlink.c: Likewise.
24344
24345 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24346
24347 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24348
24349 2017-11-11 Florian Weimer <fweimer@redhat.com>
24350
24351 [BZ #22409]
24352 [BZ #22412]
24353 * resolv/res_comp.c (printable_string, binary_hnok)
24354 (binary_leading_dash): New functions.
24355 (res_hnok): Reimplement using these functions and ns_name_pton.
24356 (res_ownok): Likewise.
24357 (res_mailok): Reimplement using printable_string, ns_name_pton and
24358 binary_hnok.
24359 (res_dnok): Reimplement using printable_string and ns_name_pton.
24360 * resolv/tst-res_hnok.c (tests): Add additional tests.
24361 (LETTERDIGITS, PRINTABLE): Define.
24362 (do_test): Adjust one_char results.
24363
24364 2017-11-11 Florian Weimer <fweimer@redhat.com>
24365
24366 [BZ #22413]
24367 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24368 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24369
24370 2017-11-11 Florian Weimer <fweimer@redhat.com>
24371
24372 * resolv/tst-ns_name_pton.c: New file.
24373 * resolv/Makefile (tests): Add tst-ns_name_pton.
24374 (tst-ns_name_pton): Link against libresolv.
24375
24376 2017-11-11 Florian Weimer <fweimer@redhat.com>
24377
24378 * resolv/tst-res_hnok.c: New file.
24379 * resolv/Makefile (tests): Add tst-res_hnok.
24380 (tst-res_hnok): Link against libresolv.
24381
24382 2017-11-11 Florian Weimer <fweimer@redhat.com>
24383
24384 * resolv/tst-resolv-network.c: Use test framework instead explicit
24385 main function.
24386
24387 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24388
24389 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24390 <jmp_buf-macros.h>.
24391 [!_ISOMAC] (STR_HELPER): New.
24392 [!_ISOMAC] (STR): Likewise.
24393 [!_ISOMAC] (TEST_SIZE): Likewise.
24394 [!_ISOMAC] (TEST_ALIGN): Likewise.
24395 [!_ISOMAC] (TEST_OFFSET): Likewise.
24396 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24397 field offsets of jmp_buf as well as sigjmp_buf.
24398 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24399 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24400 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24401 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24402 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24403 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24404 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24405 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24406 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24407 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24408 Likewise.
24409 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24410 Likewise.
24411 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24413 Likewise.
24414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24415 Likewise.
24416 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24417 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24418 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24419 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24420 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24422 Likewise.
24423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24424 Likewise.
24425 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24426 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24427 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24428
24429 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24430
24431 * include/float.h
24432 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24433 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24434 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24435 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24436 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24437 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24438 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24439 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24440 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24441 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24442 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24443 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24444 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24445 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24446 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24447 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24448 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24449 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24450 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24451 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24452 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24453 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24454 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24455 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24456 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24457 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24458 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24459 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24460 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24461 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24462 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24463 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24464 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24465 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24466 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24467 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24468 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24469 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24470 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24471 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24472 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24473 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24474 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24475 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24476 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24477 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24478 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24479 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24480 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24481 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24482 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24483 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24484 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24485 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24486 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24487 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24488 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24489 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24490 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24491 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24492 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24493 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24494 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24495 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24496 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24497 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24498 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24499 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24500 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24501 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24502 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24503 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24504 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24505 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24506 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24507 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24508 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24509 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24510 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24511 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24512 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24513 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24514 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24515 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24516 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24517 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24518 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24519 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24520
24521 * stdlib/tst-strtod.h (F16): New macro.
24522 (F32): Likewise.
24523 (F64): Likewise.
24524 (F32X): Likewise.
24525 (F64X): Likewise.
24526 (F128X): Likewise.
24527 (IF_FLOAT16): Likewise.
24528 (IF_FLOAT32): Likewise.
24529 (IF_FLOAT64): Likewise.
24530 (IF_FLOAT32X): Likewise.
24531 (IF_FLOAT64X): Likewise.
24532 (IF_FLOAT128X): Likewise.
24533 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24534 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24535 (STRTOD_TEST_FOREACH): Likewise.
24536 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24537 (CHOOSE_f64): Likewise.
24538 (CHOOSE_f32x): Likewise.
24539 (CHOOSE_f64x): Likewise.
24540
24541 2017-11-07 Andreas Schwab <schwab@suse.de>
24542
24543 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24544
24545 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24546
24547 [BZ #22403]
24548 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24549 to be escaped.
24550 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24551 to be escaped.
24552
24553 2017-11-07 Claude Paroz <claude@2xlibre.net>
24554
24555 [BZ #22403]
24556 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24557 to be escaped.
24558 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24559 to be escaped.
24560 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24561 to be escaped.
24562
24563 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24564
24565 [BZ #22298]
24566 * nptl/allocatestack.c (allocate_stack): Check if
24567 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24568 __PTHREAD_MUTEX_HAVE_PREV is defined.
24569 * nptl/descr.h (pthread): Likewise.
24570 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24571 Likewise.
24572 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24573 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24574 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24575 * sysdeps/nptl/bits/thread-shared-types.h
24576 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24577 defines.
24578 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24579 of __WORDSIZE for internal layout.
24580 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24581 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24582 instead of __WORDSIZE whether to use an union for __spins and __list
24583 fields.
24584 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24585 case.
24586 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24587 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24588 defines.
24589 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24590 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24591 Likewise.
24592 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24593 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24594 Likewise.
24595 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24596 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24597 Likewise.
24598 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24599 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24600 Likewise.
24601 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24602 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24603 Likewise.
24604 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24605 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24606 Likewise.
24607 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24608 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24609 Likewise.
24610 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24611 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24612 Likewise.
24613 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24614 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24615 Likewise.
24616 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24617 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24618 Likewise.
24619 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24620 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24621 Likewise.
24622 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24623 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24624 Likewise.
24625 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24626 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24627 Likewise.
24628 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24629 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24630 Likewise.
24631
24632 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24633 New macros.
24634 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24635 checks for expected input type size.
24636 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24637 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24638 Likewise.
24639 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24640 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24641 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24642 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24643 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24644 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24645 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24646 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24647 superflous runtime assert check.
24648 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24649 Likewise.
24650 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24651 Likewise.
24652 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24653 Likewise.
24654 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24655 Likewise.
24656 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24657 Likewise.
24658 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24659 Likewise.
24660 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24661 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24662 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24663 Likewise.
24664 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24665 Likewise.
24666 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24667 Likewise.
24668 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24669 Likewise.
24670 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24671 Likewise.
24672 * nptl/pthread_attr_setinheritsched.c
24673 (__pthread_attr_setinheritsched): Likewise.
24674 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24675 Likewise.
24676 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24677 Likewise.
24678 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24679 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24680 __old_pthread_attr_setstack): Likewise.
24681 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24682 Likewise.
24683 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24684 Likewise.
24685 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24686 Likewise.
24687 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24688 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24689 Likewise.
24690 * nptl/tst-typesizes.c: Remove file.
24691
24692 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24693 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24694 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24695 checks for internal pthread_mutex_t offsets.
24696 * sysdeps/aarch64/nptl/pthread-offsets.h
24697 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24698 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24699 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24700 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24701 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24702 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24703 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24704 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24705 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24706 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24707 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24708 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24709 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24710 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24711 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24712 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24713 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24714 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24715
24716 2017-11-07 Florian Weimer <fweimer@redhat.com>
24717
24718 * bits/mman-linux.h: Move ...
24719 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24720 comment.
24721 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24722 outdated comment.
24723
24724 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24725
24726 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24727 Redefine STRNLEN as __strnlen_power8.
24728
24729 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24730
24731 * signal/sighold.c (sighold): Optimize implementation.
24732
24733 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24734 __NR_rt_sigqueueinfo.
24735
24736 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24737 __sigtimedwait.
24738 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24739 assume __NR_rt_sigtimedwait.
24740 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24741 and add LIBC_CANCEL_HANDLED for cancellation marking.
24742 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24743
24744 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24745 (sysdeps_routines): Add memchr_noneon.
24746 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24747 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24748 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24749 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24750 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24751 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24752 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24753
24754 * sysdeps/arm/arm-ifunc.h: New file.
24755 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24756 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24757 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24758 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24759 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24760 (__memcpy_neon): Avoid create hidden alias.
24761 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24762 (__memcpy_vfp): Likewise.
24763 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24764 (sysdep_routines): Add memcpy_arm.
24765 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24766
24767 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24768
24769 [BZ #22362]
24770 * Makerules (make-link-multidir): New.
24771 * config.make.in (multidir): New.
24772 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24773 * configure: Regenerated.
24774 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24775 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24776 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24777 New target.
24778
24779 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24780
24781 [BZ #22402]
24782 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24783 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24784
24785 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24786
24787 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24788 to be escaped.
24789
24790 2017-11-04 Florian Weimer <fweimer@redhat.com>
24791
24792 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24793
24794 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24795
24796 * math/math.h [__HAVE_DISTINCT_FLOAT16
24797 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24798 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24799 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24800 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24801 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24802 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24803 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24804 (__MATH_TG_F32): New macro.
24805 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24806 (__MATH_TG_F64X): Likewise.
24807 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24808 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24809
24810 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24811
24812 * po/de.po: Update translations.
24813 * po/ru.po: Likewise.
24814
24815 2017-11-03 Florian Weimer <fweimer@redhat.com>
24816
24817 * manual/filesys.texi (Hard Links): Document linkat.
24818
24819 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24820
24821 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24822 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24823 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24824 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24825 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24826 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24827 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24828 the same as _Float128.
24829 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24830 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24831 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24832
24833 * stdlib/stdlib.h
24834 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24835 Declare.
24836 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24837 Likewise.
24838 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24839 Likewise.
24840 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24841 (strtof32x): Likewise.
24842 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24843 (strtof64x): Likewise.
24844 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24845 (strtof128x): Likewise.
24846 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24847 (strfromf16): Likewise.
24848 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24849 (strfromf32): Likewise.
24850 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24851 (strfromf64): Likewise.
24852 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24853 (strfromf32x): Likewise.
24854 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24855 (strfromf64x): Likewise.
24856 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24857 (strfromf128x): Likewise.
24858 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24859 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24860 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24861 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24862 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24863 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24864
24865 2017-11-03 Richard Henderson <rth@twiddle.net>
24866
24867 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24868
24869 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24870
24871 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24872
24873 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24874
24875 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24876 DT_TLSDESC_GOT initialization.
24877 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24878 (_dl_tlsdesc_resolve_hold): Likewise.
24879 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24880 (_dl_tlsdesc_resolve_hold): Likewise.
24881 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24882 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24883
24884 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24885
24886 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24887
24888 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24889
24890 [BZ #18572]
24891 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24892 non-lazily for R_ARM_TLS_DESC.
24893
24894 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24895
24896 [BZ #17078]
24897 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24898 R_ARM_TLS_DESC case.
24899 (elf_machine_lazy_rel): Remove the prelink check.
24900
24901 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24902
24903 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24904 DT_TLSDESC_GOT initialization.
24905 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24906 (_dl_tlsdesc_resolve_rela): Likewise.
24907 (_dl_tlsdesc_resolve_hold): Likewise.
24908 (_dl_tlsdesc_undefweak): Remove ldar.
24909 (_dl_tlsdesc_dynamic): Likewise.
24910 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24911 (_dl_tlsdesc_resolve_rela): Likewise.
24912 (_dl_tlsdesc_resolve_hold): Likewise.
24913 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24914 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24915 (_dl_tlsdesc_resolve_rela): Likewise.
24916 (_dl_tlsdesc_resolve_hold): Likewise.
24917
24918 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24919
24920 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24921 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24922
24923 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24924
24925 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24926 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24927
24928 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24929
24930 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24931 Declare.
24932 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24933 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24934 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24935 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24936 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24937 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24938 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24939 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24940 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24941 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24942 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24943
24944 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24945
24946 [BZ #22382]
24947 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24948 * localedata/locales/tpi_PG: Add standard header.
24949
24950 2017-11-02 Florian Weimer <fweimer@redhat.com>
24951
24952 test-errno-linux: quotactl can fail with EPERM in containers.
24953 * sysdeps/unix/sysv/linux/test-errno-linux.c
24954 (LIST, LIST_FORWARD): New macros.
24955 (check_error_in_list): New function.
24956 (test_wrp_rv): Accept list of permitted error codes.
24957 (test_wrp_rv2): Remove.
24958 (test_wrp): Call test_wrp_rv with list of error codes.
24959 (test_wrp2): Accept list of error codes.
24960 (do_test): Adjust. Allow EPERM for quotactl.
24961
24962 2017-11-02 Florian Weimer <fweimer@redhat.com>
24963
24964 * stdio-common/bug16.c (do_test): Use array_length.
24965 * stdio-common/errlist.c (_sys_nerr): Likewise.
24966 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24967 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24968 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24969 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24970 (do_test): Use array_length.
24971 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24972 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24973 * stdio-common/tst-printf-round.c (do_test): Likewise.
24974 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24975 (CHECK): Use array_length.
24976 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24977 * stdio-common/tstscanf.c (main): Likewise.
24978 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24979
24980 2017-11-02 Florian Weimer <fweimer@redhat.com>
24981
24982 Add array_length and array_end macros.
24983 * include/array_length.h: New file.
24984
24985 2017-11-02 Florian Weimer <fweimer@redhat.com>
24986
24987 [BZ #22332]
24988 * posix/tst-glob-tilde.c (do_noescape): New variable.
24989 (one_test): Process it.
24990 (do_test): Set do_noescape. Add unescaping test case.
24991
24992 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24993
24994 * math/complex.h
24995 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24996 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24997 with appropriate macros defined and undefined.
24998 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24999 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25000 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25001 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25002 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25003 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25004 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25005 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25006 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25007 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25008
25009 * math/complex.h
25010 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25011 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25012 that for long double. Do not condition define and undefine of
25013 _Mdouble_complex_ on [__CFLOAT128].
25014
25015 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25016
25017 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25018 of <sysdeps/generic/sysdep.h>.
25019 (ALIGNARG): Removed.
25020 (ASM_SIZE_DIRECTIVE): Likewise.
25021 (ENTRY): Likewise.
25022 (END): Likewise.
25023 (ENTRY_CHK): Likewise.
25024 (END_CHK): Likewise.
25025 (syscall_error): Likewise.
25026 (mcount): Likewise.
25027 (PSEUDO_END): Likewise.
25028 (L): Likewise.
25029 (atom_text_section): Likewise.
25030 * sysdeps/x86/sysdep.h: New file.
25031 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25032 of <sysdeps/generic/sysdep.h>.
25033 (ALIGNARG): Removed.
25034 (ASM_SIZE_DIRECTIVE): Likewise.
25035 (ENTRY): Likewise.
25036 (END): Likewise.
25037 (ENTRY_CHK): Likewise.
25038 (END_CHK): Likewise.
25039 (syscall_error): Likewise.
25040 (mcount): Likewise.
25041 (PSEUDO_END): Likewise.
25042 (L): Likewise.
25043 (atom_text_section): Likewise.
25044
25045 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25046
25047 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25048 category of LC_CTYPE set to "i18n:2012".
25049 * localedata/locales/i18n_ctype: Regenerate.
25050
25051 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25052
25053 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25054 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25055 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25056 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25057
25058 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25059 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25061 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25062
25063 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25064
25065 * math/complex.h
25066 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25067 New macro.
25068 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25069 Likewise.
25070 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25071 Likewise.
25072 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25073 (CMPLXF32X): Likewise.
25074 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25075 (CMPLXF64X): Likewise.
25076 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25077 (CMPLXF128X): Likewise.
25078
25079 * math/math.h
25080 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25081 (__MATH_EVAL_FMT2): Define to add 0.0f.
25082
25083 2017-10-31 Alan Modra <amodra@gmail.com>
25084
25085 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25086 include sysdep.h.
25087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25101 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25102 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25103 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25104 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25105 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25106 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25107 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25108 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25109 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25110 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25111 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25112 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25113 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25114 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25115 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25116 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25117 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25118 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25119 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25120 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25121 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25122 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25123 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25124 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25125 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25126 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25127 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25128 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25129 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25130 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25131 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25132 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25133 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25134 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25135 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25136 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25137 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25138 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25139 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25140 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25141 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25142 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25143 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25144 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25145 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25146 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25147 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25148 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25149 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25150 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25151 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25152 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25153 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25154 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25155 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25156
25157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25158 include sysdep.h and math_ldbl_opt.h.
25159
25160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25161 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25186
25187 2017-10-31 Alan Modra <amodra@gmail.com>
25188
25189 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25190 string/strncase_l.c, not string/strncase.c.
25191 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25192 (libc_hidden_def): Redefine.
25193
25194 2017-10-31 Alan Modra <amodra@gmail.com>
25195
25196 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25197 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25198 (__strcasecmp): Don't define.
25199
25200 2017-10-31 Alan Modra <amodra@gmail.com>
25201
25202 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25203 IS_IN (libc).
25204 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25205 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25206 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25207
25208 2017-10-31 Alan Modra <amodra@gmail.com>
25209
25210 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25211 USE_AS_STPNCPY.
25212
25213 2017-10-31 Alan Modra <amodra@gmail.com>
25214
25215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25216 Redefine only when SHARED.
25217
25218 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25219
25220 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25221 Include <bits/math-finite.h> with appropriate macros defined and
25222 undefined.
25223 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25224 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25225 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25226 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25227 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25228
25229 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25230 [!_Mlong_double_] (_Mlong_double_): Likewise.
25231 [!_Mfloat16_] (_Mfloat16_): Likewise.
25232 [!_Mfloat32_] (_Mfloat32_): Likewise.
25233 [!_Mfloat64_] (_Mfloat64_): Likewise.
25234 [!_Mfloat128_] (_Mfloat128_): Likewise.
25235 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25236 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25237 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25238 (_Mdouble_): Define without indirection through those macros.
25239 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25240 [!_Mfloat128_] (_Mfloat128_): Likewise.
25241 [_Mlong_double_] (_Mlong_double_): Likewise.
25242 (_Mdouble_): Define without indirection through those macros.
25243 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25244 not add -D_Mlong_double_=double.
25245 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25246 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25247
25248 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25249
25250 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25251
25252 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25253
25254 * sysdeps/x86/libc-start.c: Reformat.
25255
25256 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25257
25258 [BZ #22353]
25259 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25260 (1): Renamed to ...
25261 (L(Src0)): This.
25262 (L(Src1)): New.
25263 (L(Src2)): Likewise.
25264 (L(1)): Renamed to ...
25265 (L(Src3)): This.
25266
25267 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25268
25269 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25270 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25271 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25272 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25273 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25274 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25275 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25276 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25277 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25278 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25279 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25280 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25281 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25282 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25283 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25284 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25285 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25286 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25287 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25288 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25289 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25290 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25291 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25292 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25293 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25294 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25295 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25296 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25297 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25298 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25299 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25300 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25301 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25302 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25303 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25304 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25305 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25306 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25307 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25308 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25309 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25310 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25311 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25312 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25313 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25314 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25315 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25316 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25317 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25318 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25319 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25320 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25321 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25322 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25323 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25324 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25325 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25326 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25327 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25328 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25329 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25330 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25331 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25332 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25333 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25334 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25335
25336 2017-10-30 Florian Weimer <fweimer@redhat.com>
25337
25338 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25339 always defined.
25340 * io/tst-mkdirat.c (do_test): Likewise.
25341 * io/tst-mkfifoat.c (do_test): Likewise.
25342 * io/tst-mknodat.c (do_test): Likewise.
25343 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25344 * locale/programs/locale.c (select_dirs): Likewise.
25345 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25346 * posix/bug-glob2.c (my_readdir): Likewise.
25347 * posix/tst-dir.c (main): Likewise.
25348 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25349 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25350
25351 2017-10-30 Florian Weimer <fweimer@redhat.com>
25352
25353 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25354 just __USE_GNU.
25355
25356 2017-10-30 Florian Weimer <fweimer@redhat.com>
25357
25358 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25359 Convert to support/test-driver.c.
25360 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25361 New macro parameters.
25362 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25363 * posix/tst-gnuglob.c: New file.
25364 * posix/tst-gnuglob64.c: Likewise.
25365 * posix/Makefile (tests): Add tst-gnuglob64.
25366
25367 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25368
25369 [BZ #19485]
25370 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25371 and use a better translation for March in “mon”.
25372 * localedata/locales/csb_PL: Use more ASCII to improve the
25373 readability of the source.
25374
25375 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25376
25377 [BZ #13953]
25378 * localedata/locales/km_KH: Use ASCII as much
25379 as possible for better readability of the source and
25380 remove useless comments.
25381 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25382 was commented out and apparently wrong anyway because it was
25383 using Lao characters. If Buddhist era should be used
25384 for km_KH, a native speaker should write the correct formaat
25385 for Khmer.
25386 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25387 (According to CLDR, the first weekday for Cambodia is Sunday).
25388 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25389 (These were using Lao characters which must be wrong. If we get
25390 the correct data from a native speaker, we could add it back, until
25391 then it is better not to have name_mr and name_mrs at all than
25392 having it wrong).
25393
25394 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25395
25396 * locale/loadlocale.c: Correct size of
25397 _nl_value_type_LC_<category> arrays.
25398
25399 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25400
25401 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25402 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25403 with appropriate macros defined and undefined.
25404 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25405 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25406 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25407 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25408 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25409
25410 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25411
25412 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25413 "-O2 -march=i586".
25414
25415 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25416
25417 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25418 with lowercase letters to make it agree with CLDR.
25419
25420 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25421
25422 [BZ #15260]
25423 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25424 first letters of yesstr and nostr in yesexpr and noexpr,
25425 not for the full words.
25426 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25427 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25428 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25429 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25430 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25431 first letters of yesstr and nostr in yesexpr and noexpr,
25432 until now only English was matched in yesexpr and noexpr.
25433 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25434 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25435 fil but not for tl. As tl and fil are very similar, using fil
25436 is probably better than using English.
25437
25438 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25439
25440 [BZ #21706]
25441 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25442 in yesstr and nostr.
25443
25444 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25445
25446 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25447 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25448 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25449 Likewise.
25450 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25451 Likewise.
25452 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25453 Likewise.
25454 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25455 Likewise.
25456 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25457 (SNANF128X): Likewise.
25458
25459 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25460 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25461 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25462 (HUGE_VAL_F32): Likewise.
25463 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25464 (HUGE_VAL_F64): Likewise.
25465 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25466 (HUGE_VAL_F32X): Likewise.
25467 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25468 (HUGE_VAL_F64X): Likewise.
25469 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25470 (HUGE_VAL_F128X): Likewise.
25471
25472 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25473
25474 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25475 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25476 for the br_FR locale.
25477
25478 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25479
25480 [BZ #21706]
25481 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25482
25483 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25484
25485 * locale/programs/record-status.h: Define globals, and function
25486 prototypes. Move function bodies...
25487 * locale/programs/record-status.c: ... to here. New file.
25488 * iconv/Makefile (iconv_prog-modules): Add record-status.
25489 * locale/Makefile (lib-modules): Likewise.
25490 * iconv/iconv_prog.c: Remove verbose.
25491 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25492 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25493 record a warning about ASCII compatibility.
25494 * locale/programs/ld-monetary.c (monetary_finish): If
25495 warn_int_curr_symbol is true then record a warning about the symbol
25496 not being in our ISO 4217 list.
25497 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25498 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25499 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25500 (OPT_NO_WARN): Define.
25501 (OPT_WARN): Define.
25502 (options): Add entry for --no-warnings, and --warnings.
25503 (set_warnings): New function to enable/disable warnings.
25504 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25505 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25506 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25507 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25508 Pass flags to generate_locale.
25509 (generate_locale): Accept new flag argument and pass it to localedef
25510 invocation.
25511 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25512 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25513
25514 * localedata/Makefile (test-input-data): Use full file name.
25515 * localedata/da_DK.in: Rename to...
25516 * localedata/da_DK.ISO-8859-1.in: ...this.
25517 * localedata/de_DE.in: Rename to...
25518 * localedata/de_DE.ISO-8859-1.in: ...this.
25519 * localedata/en_US.in: Rename to...
25520 * localedata/en_US.ISO-8859-1.in: ...this.
25521 * localedata/fr_FR.in: Rename to...
25522 * localedata/fr_FR.UTF-8.in: ... this.
25523 * localedata/hr_HR.in: Rename to...
25524 * localedata/hr_HR.ISO-8859-2.in: ...this.
25525 * localedata/hu_HU.in: Rename to...
25526 * localedata/hu_HU.UTF-8.in: ...this.
25527 * localedata/si_LK.in: Rename to...
25528 * localedata/si_LK.UTF-8.in: ...this.
25529 * localedata/sv_SE.in: Rename to...
25530 * localedata/sv_SE.ISO-8859-1.in: ...this.
25531 * localedata/tr_TR.in: Rename to...
25532 * localedata/tr_TR.UTF-8.in: ...this.
25533 * localedata/uk_UA.in: Rename to...
25534 * localedata/uk_UA.UTF-8.in: ...this.
25535 * localedata/sort-test.sh: Test file is locale name with the
25536 suffix.
25537
25538 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25539 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25540 file.
25541 * localedata/locales/i18n_ctype: Regenerate.
25542 * localedata/locales/tr_TR: Likewise.
25543 * localedata/locales/translit_circle: Likewise.
25544 * localedata/locales/translit_cjk_compat: Likewise.
25545 * localedata/locales/translit_combining: Likewise.
25546 * localedata/locales/translit_compat: Likewise.
25547 * localedata/locales/translit_font: Likewise.
25548 * localedata/locales/translit_fraction: Likewise.
25549
25550 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25551
25552 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25553 lxvd2x/stxvd2x with lvx/stvx.
25554 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25555
25556 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25557
25558 * include/alloc_buffer.h: Replace "if if " with "if " in
25559 comments.
25560 * sysdeps/mips/memcpy.S: Likkewise.
25561 * sysdeps/mips/memset.S: Likewise.
25562 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25563 Likewise.
25564 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25565 Likewise.
25566 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25567 Likewise.
25568
25569 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25570
25571 [BZ #15261]
25572 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25573 yesexpr and noexpr.
25574 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25575 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25576 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25577 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25578 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25579 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25580 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25581
25582 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25583
25584 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25585 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25586 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25587 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25588 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25589 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25590 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25591 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25592 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25593 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25594 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25595 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25596
25597 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25598
25599 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25600 as possible for better readability of the source.
25601 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25602 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25603 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25604 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25605 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25606 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25607 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25608 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25609 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25610 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25611 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25612 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25613 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25614 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25615 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25616 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25617 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25618 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25619 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25620 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25621 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25622 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25623 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25624 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25625 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25626 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25627 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25628 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25629 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25630 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25631 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25632 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25633 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25634 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25635 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25636 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25637 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25638 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25639 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25640 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25641 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25642 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25643 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25644 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25645 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25646 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25647 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25648 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25649 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25650 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25651 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25652 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25653 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25654 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25655 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25656 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25657 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25658 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25659 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25660 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25661 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25662 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25663 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25664 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25665 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25666 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25667 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25668 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25669 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25670 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25671 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25672 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25673 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25674 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25675 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25676 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25677 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25678 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25679 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25680 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25681 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25682 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25683 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25684 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25685 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25686 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25687 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25688 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25689 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25690 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25691 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25692 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25693 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25694 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25695 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25696 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25697 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25698 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25699 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25700 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25701 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25702 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25703 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25704 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25705 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25706 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25707 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25708 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25709 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25710 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25711 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25712 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25713 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25714 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25715 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25716 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25717 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25718 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25719 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25720 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25721 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25722 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25723 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25724 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25725 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25726 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25727 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25728 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25729 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25730 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25731 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25732 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25733 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25734 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25735 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25736 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25737 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25738 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25739 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25740 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25741 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25742 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25743 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25744 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25745 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25746 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25747 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25748 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25749 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25750 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25751 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25752 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25753 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25754 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25755 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25756 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25757 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25758 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25759 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25760 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25761 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25762 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25763 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25764 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25765 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25766 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25767 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25768 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25769 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25770 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25771 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25772 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25773 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25774 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25775
25776 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25777
25778 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25779 (Use first letters of yesstr and nostr correctly instead of using
25780 full words).
25781
25782 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25783
25784 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25785 (Use first letters of yesstr and nostr correctly).
25786
25787 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25788
25789 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25790 also check for the first characters of yesstr and nostr.
25791 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25792 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25793
25794 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25795
25796 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25797 also check for Chinese characters.
25798
25799 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25800
25801 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25802 match also for the contents of yesstr and nostr. As the first letter
25803 of yesstr and nostr is equal, checking only for the first letter
25804 is not enough.
25805
25806 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25807
25808 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25809 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25810
25811 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25812
25813 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25814 of main contributor.
25815
25816 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25817
25818 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25819 instead of using English.
25820
25821 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25822
25823 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25824 by including the first letters of nostr and yesexpr in the regexp.
25825 Also make it more readable by using ASCII where possible.
25826
25827 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25828
25829 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25830 the first letter of nostr in the regexp. It agrees with CLDR now.
25831 Also make it more readable by using ASCII where possible.
25832
25833 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25834
25835 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25836 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25837 these strings contain a U+17D6 (which somewhat looks like a colon)
25838 instead of a real colon to separate the full words for “yes”
25839 and “no” from the single letter responses.
25840
25841 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25842
25843 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25844 it agree with CLDR (include the first letter of yesstr).
25845 Also make it more readable by using ASCII where possible.
25846
25847 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25848
25849 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25850 and improve yesexpr and noexpr. The yesstr and nostr apparently
25851 came from CLDR. And CLDR has a bug there: these strings contain
25852 a U+0903 (which looks like a colon) instead of a real colon
25853 to separate the full words for “yes” and “no” from the single
25854 letter responses.
25855
25856 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25857
25858 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25859 letters of the full yesstr and nostr in yesexpr and noexpr.
25860
25861 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25862
25863 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25864 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25865 * localedata/locales/an_ES: Make source more readable by using ASCII
25866 where possible.
25867
25868 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25869
25870 [BZ #20952]
25871 * localedata/locales/yuw_PG: New file.
25872 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25873 * locale/iso-639.def: Add Yau (Uruwa).
25874
25875 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25876
25877 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25878
25879 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25880
25881 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25882 (__libc_realloc): Likewise.
25883 (_mid_memalign): Likewise.
25884 (__libc_calloc): Likewise.
25885
25886 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25887
25888 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25889 by adding the generic +1 and -0 as in all other locales.
25890 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25891 day names and make it more readable by using ASCII where possible.
25892
25893 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25894
25895 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25896 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25897
25898 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25899
25900 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25901 WNOHANG in waitpid call.
25902
25903 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25904
25905 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25906 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25907
25908 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25909 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25910 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25911 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25912 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25913 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25914 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25915 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25916 variables.
25917
25918 2017-10-23 Michael Collison <michael.collison@arm.com>
25919
25920 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25921 with __builtin_sqrt.
25922 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25923 with __builtin_sqrtf.
25924 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25925 with __builtin_ceil.
25926 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25927 with __builtin_ceilf.
25928 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25929 with __builtin_floor.
25930 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25931 with __builtin_floorf.
25932 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25933 with __builtin_fma.
25934 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25935 with __builtin_fmaf.
25936 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25937 with __builtin_fmax.
25938 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25939 with __builtin_fmaxf.
25940 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25941 with __builtin_fmin.
25942 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25943 with __builtin_fminf.
25944 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25945 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25946 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25947 with builtin_rint and conversion to int.
25948 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25949 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25950 with builtin_llround.
25951 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25952 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25953 with builtin_rint and conversion to long int.
25954 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25955 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25956 with builtin_lround.
25957 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25958 with builtin_lroundf.
25959 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25960 statements with __builtin_nearbyint.
25961 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25962 statements with __builtin_nearbyintf.
25963 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25964 with __builtin_rint.
25965 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25966 with __builtin_rintf.
25967 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25968 with __builtin_round.
25969 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25970 with __builtin_roundf.
25971 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25972 with __builtin_trunc.
25973 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25974 with __builtin_truncf.
25975 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25976 and s_l[l]round[f].c too.
25977
25978 2017-10-23 Alan Modra <amodra@gmail.com>
25979
25980 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25981 Adjust stack after restoring regs. Add missing LR cfi_restore.
25982
25983 2017-10-23 Alan Modra <amodra@gmail.com>
25984
25985 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25986 Move LR save and frame setup/teardown and LR restore to
25987 immediately around memset call. Provide cfi.
25988
25989 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25990
25991 * sysdeps/i386/fpu/e_powf.S: Removed.
25992 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25993 * sysdeps/i386/fpu/w_powf.c: Likewise.
25994 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25995 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25996 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25997 Add e_powf-sse2.
25998 (CFLAGS-e_powf-sse2.c): New.
25999 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26000 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26001
26002 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26003
26004 * sysdeps/i386/fpu/e_log2f.S: Removed.
26005 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26006 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26007 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26008 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26009 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26010 Add e_log2f-sse2.
26011 (CFLAGS-e_log2f-sse2.c): New.
26012 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26013 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26014
26015 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26016
26017 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26018 Add e_powf-fma.
26019 (CFLAGS-e_powf-fma.c): New.
26020 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26021 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26022
26023 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26024
26025 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26026 Add e_log2f-fma.
26027 (CFLAGS-e_log2f-fma.c): New.
26028 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26029 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26030
26031 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26032
26033 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26034 Add e_logf-fma.
26035 (CFLAGS-e_logf-fma.c): New.
26036 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26037 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26038
26039 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26040
26041 * sysdeps/i386/fpu/e_logf.S: Removed.
26042 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26043 * sysdeps/i386/fpu/w_logf.c: Likewise.
26044 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26045 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26046 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26047 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26048 Add e_logf-sse2.
26049 (CFLAGS-e_logf-sse2.c): New.
26050 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26051 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26052
26053 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26054
26055 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26056 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26057 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26058 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26059 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26060 Add e_exp2f-sse2.
26061 (CFLAGS-e_exp2f-sse2.c): New.
26062 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26063 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26064
26065 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26066
26067 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26068 Add e_exp2f-fma.
26069 (CFLAGS-e_exp2f-fma.c): New.
26070 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26071 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26072
26073 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26074
26075 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26076 * sysdeps/i386/fpu/e_expf.S: Likewise.
26077 * sysdeps/i386/fpu/math_errf.c: Likewise.
26078 * sysdeps/i386/fpu/w_expf.c: Likewise.
26079 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26080 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26081 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26082 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26083 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26084 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26085 Remove e_expf-ia32.
26086 (CFLAGS-e_expf-sse2.c): New.
26087 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26088 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26089
26090 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26091
26092 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26093 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26094 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26095 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26096 e_expf.c.
26097 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26098 New.
26099 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26100 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26101 Renamed to ...
26102 (__redirect_expf): This.
26103 (SYMBOL_NAME): Changed to expf.
26104 (__ieee754_expf): Renamed to ...
26105 (__expf): This.
26106 (__GI___expf): This.
26107 (__ieee754_expf): Add strong_alias.
26108 (__expf_finite): Likewise.
26109 (__expf): New.
26110 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26111
26112 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26113
26114 [BZ #22332]
26115 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26116 unescaping.
26117
26118 2017-10-21 Florian Weimer <fweimer@redhat.com>
26119
26120 * posix/Makefile (tests): Add tst-glob-tilde.
26121 (tests-special): Add tst-glob-tilde-mem.out
26122 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26123 (tst-glob-tilde-mem.out): Add mtrace check.
26124 * posix/tst-glob-tilde.c: New file.
26125
26126 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26127
26128 * bits/floatn-common.h: New file.
26129 * math/Makefile (headers): Add bits/floatn-common.h.
26130 * bits/floatn.h: Include <bits/floatn-common.h>.
26131 * sysdeps/ia64/bits/floatn.h: Likewise.
26132 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26133 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26134 * sysdeps/powerpc/bits/floatn.h: Likewise.
26135 * sysdeps/x86/bits/floatn.h: Likewise.
26136
26137 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26138
26139 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26140 indicates whether compiler emits an warning for alias for
26141 functions with incompatible types.
26142
26143 [BZ #22273]
26144 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26145 the auxiliary process is terminated by a signal before calling _exit
26146 or execve.
26147
26148 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26149
26150 [BZ #21265]
26151 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26152 New.
26153 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26154 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26155 and bit_arch_XSAVEC_Usable if needed.
26156 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26157 and bit_arch_Use_dl_runtime_resolve_opt.
26158 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26159 Removed.
26160 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26161 (bit_arch_Prefer_No_AVX512): Updated.
26162 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26163 (bit_arch_XSAVEC_Usable): New.
26164 (STATE_SAVE_OFFSET): Likewise.
26165 (STATE_SAVE_MASK): Likewise.
26166 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26167 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26168 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26169 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26170 (index_arch_XSAVEC_Usable): New.
26171 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26172 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26173 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26174 is enabled.
26175 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26176 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26177 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26178 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26179 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26180 _dl_runtime_resolve_xsavec.
26181 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26182 Removed.
26183 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26184 instead of VEC_SIZE.
26185 (REGISTER_SAVE_BND0): Removed.
26186 (REGISTER_SAVE_BND1): Likewise.
26187 (REGISTER_SAVE_BND3): Likewise.
26188 (REGISTER_SAVE_RAX): Always defined to 0.
26189 (VMOV): Removed.
26190 (_dl_runtime_resolve_avx): Likewise.
26191 (_dl_runtime_resolve_avx_slow): Likewise.
26192 (_dl_runtime_resolve_avx_opt): Likewise.
26193 (_dl_runtime_resolve_avx512): Likewise.
26194 (_dl_runtime_resolve_avx512_opt): Likewise.
26195 (_dl_runtime_resolve_sse): Likewise.
26196 (_dl_runtime_resolve_sse_vex): Likewise.
26197 (USE_FXSAVE): New.
26198 (_dl_runtime_resolve_fxsave): Likewise.
26199 (USE_XSAVE): Likewise.
26200 (_dl_runtime_resolve_xsave): Likewise.
26201 (USE_XSAVEC): Likewise.
26202 (_dl_runtime_resolve_xsavec): Likewise.
26203 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26204 Removed.
26205 (_dl_runtime_resolve_avx512_opt): Likewise.
26206 (_dl_runtime_resolve_avx): Likewise.
26207 (_dl_runtime_resolve_avx_opt): Likewise.
26208 (_dl_runtime_resolve_sse): Likewise.
26209 (_dl_runtime_resolve_sse_vex): Likewise.
26210 (_dl_runtime_resolve_fxsave): New.
26211 (_dl_runtime_resolve_xsave): Likewise.
26212 (_dl_runtime_resolve_xsavec): Likewise.
26213
26214 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26215
26216 [BZ #22320]
26217 CVE-2017-15670
26218 * posix/glob.c (__glob): Fix one-byte overflow.
26219
26220 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26221
26222 * malloc/malloc.c (sysdep-cancel.h): Add include.
26223
26224 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26225
26226 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26227
26228 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26229
26230 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26231 (tests): Remove $(objpfx)ga_test depdendency.
26232 * resolv/ga_test.c: Remove file.
26233
26234 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26235
26236 [BZ #18812]
26237 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26238 * localedata/locales/kab_DZ: New file.
26239
26240 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26241
26242 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26243 _dl_relocate_static_pie instead of _dl_start to compute load
26244 address in static PIE.
26245
26246 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26247
26248 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26249
26250 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26251
26252 [BZ #13605]
26253 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26254 * localedata/locales/shn_MM: New file.
26255
26256 2017-10-20 Florian Weimer <fweimer@redhat.com>
26257
26258 [BZ #22321]
26259 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26260 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26261 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26262 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26263 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26264 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26265
26266 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26267
26268 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26269
26270 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26271
26272 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26273
26274 [BZ #22322]
26275 * sysdeps/mips/bits/long-double.h: Move to ....
26276 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26277
26278 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26279
26280 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26281
26282 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26283 H.J. Lu <hongjiu.lu@intel.com>
26284
26285 [BZ #22299]
26286 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26287 GLRO(dl_platform) to NULL.
26288 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26289 (modules-names): Add tst-platformmod-1 and
26290 x86_64/tst-platformmod-2.
26291 (CFLAGS-tst-platform-1.c): New.
26292 (CFLAGS-tst-platformmod-1.c): Likewise.
26293 (CFLAGS-tst-platformmod-2.c): Likewise.
26294 (LDFLAGS-tst-platformmod-2.so): Likewise.
26295 ($(objpfx)tst-platform-1): Likewise.
26296 ($(objpfx)tst-platform-1.out): Likewise.
26297 (tst-platform-1-ENV): Likewise.
26298 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26299 * sysdeps/x86_64/tst-platform-1.c: New file.
26300 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26301 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26302
26303 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26304
26305 [BZ #13994]
26306 * locale/iso-639.def: Add Karbi.
26307 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26308 * localedata/locales/mjw_IN: New file.
26309
26310 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26311
26312 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26313 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26314 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26315 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26316 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26317 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26318 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26319 <bits/floatn.h>.
26320 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26321 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26322 * manual/math.texi (Mathematics): Document additional architecture
26323 support for _Float128.
26324 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26325 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26326 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26327 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26328 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26329 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26330 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26331 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26332 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26333 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26334 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26335 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26336 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26337 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26338 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26339
26340 2017-10-18 Renlin Li <renlin.li@arm.com>
26341
26342 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26343 _DYNAMIC symbol to calculate load address.
26344
26345 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26346
26347 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26348 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26349 summary bits.
26350 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26351 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26352
26353 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26354
26355 [BZ #16777]
26356 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26357 and improve readability by using more ASCII.
26358 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26359 and improve readability by using more ASCII.
26360
26361 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26362
26363 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26364 not all targets support atomics on bool.
26365
26366 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26367
26368 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26369 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26370 __f128.
26371 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26372 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26373 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26374 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26375 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26376 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26377
26378 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26379
26380 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26381 defines.
26382
26383 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26384
26385 [BZ #22159]
26386 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26387 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26388 (do_check_remalloced_chunk): Fix build bug.
26389 (do_check_malloc_state): Add assert that checks arena->top.
26390 (malloc_consolidate): Remove initialization.
26391 (int_mallinfo): Remove call to malloc_consolidate.
26392 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26393
26394 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26395
26396 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26397 (have_fastchunks): Remove.
26398 (clear_fastchunks): Remove.
26399 (set_fastchunks): Remove.
26400 (malloc_state): Add have_fastchunks.
26401 (malloc_init_state): Use have_fastchunks.
26402 (do_check_malloc_state): Remove incorrect invariant checks.
26403 (_int_malloc): Use have_fastchunks.
26404 (_int_free): Likewise.
26405 (malloc_consolidate): Likewise.
26406
26407 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26408
26409 * malloc/malloc.c (tcache_put): Inline.
26410 (tcache_get): Inline.
26411
26412 2017-10-17 Jordi Mallach <jordi@gnu.org>
26413
26414 Aurelien Jarno <aurelien@aurel32.net>
26415 [BZ #2522]
26416 * localedata/locales/ca_ES@valencia: New file.
26417 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26418
26419 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26420
26421 [BZ #22296]
26422 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26423 < 6.x
26424
26425 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26426
26427 * scripts/build-many-glibcs.py (Context.add_all_configs):
26428 Add arm-linux-gnueabihf multiarch extra_glibcs.
26429
26430 * sysdeps/generic/ifunc-init.h: New file.
26431 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26432
26433 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26434
26435 [BZ #22019]
26436 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26437 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26438 * stdlib/tst-strfmon_l.c: adapt test case.
26439
26440 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26441
26442 * sysdeps/generic/float128-abi.h: New file.
26443 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26444 non-__prefixed symbols to ....
26445 * math/Versions: ... here. Include <float128-abi.h>.
26446 * stdlib/Versions ... and here. Include <float128-abi.h>
26447
26448 2017-10-16 Florian Weimer <fweimer@redhat.com>
26449
26450 * version.h (VERSION): Switch to ".9000" as the development
26451 version suffix.
26452
26453 2017-10-16 Florian Weimer <fweimer@redhat.com>
26454
26455 [BZ #22050]
26456 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26457 compat_symbol_reference to access non-default version.
26458
26459 2017-10-16 Florian Weimer <fweimer@redhat.com>
26460
26461 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26462
26463 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26464
26465 * include/shlib-compat.h (compat_symbol_reference): Update
26466 comment.
26467
26468 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26469
26470 * math/Makefile (test-types): Add
26471 $(type-float128-$(float128-alias-fcts)).
26472 * math/test-float128.h (TYPE_STR): Define conditional on
26473 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26474 (ULP_IDX): Likewise.
26475 (ULP_I_IDX): Likewise.
26476
26477 * stdlib/strtold.c: Include <bits/floatn.h>
26478 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26479 and later undefine as macro. Define as weak alias if
26480 [!USE_WIDE_CHAR].
26481 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26482 and later undefine as macro. Define as weak alias if
26483 [USE_WIDE_CHAR].
26484 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26485 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26486 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26487 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26488 Define and later undefine as macro. Define as weak alias if
26489 [USE_WIDE_CHAR].
26490 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26491 <bits/floatn.h>.
26492 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26493 Define and later undefine as macro. Define as weak alias if
26494 [!USE_WIDE_CHAR].
26495 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26496 Define and later undefine as macro. Define as weak alias if
26497 [USE_WIDE_CHAR].
26498
26499 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26500
26501 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26502 record_verbose messages.
26503
26504 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26505
26506 [BZ #22052]
26507 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26508 to silence -O3 -Wall warning with GCC 7.
26509
26510 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26511
26512 * Makeconfig (+link-static-before-libc): Use the first of
26513 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26514 * gmon/Makefile (tests): Add tst-gmon-static.
26515 (tests-static): Likewise.
26516 (CFLAGS-tst-gmon-static.c): New.
26517 (CRT-tst-gmon-static): Likewise.
26518 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26519 (tst-gmon-static-ENV): Likewise.
26520 (tests-special): Likewise.
26521 ($(objpfx)tst-gmon-static.out): Likewise.
26522 (clean-tst-gmon-static-data): Likewise.
26523 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26524 * gmon/tst-gmon-static-gprof.sh: New file.
26525 * gmon/tst-gmon-static.c: Likewise.
26526
26527 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26528
26529 [BZ #22295]
26530 * locale/programs/linereader.c (get_string): Don't warn on
26531 non-symbolic character.
26532
26533 [BZ #22294]
26534 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26535 int_curr_symbol.
26536
26537 [BZ #22292]
26538 * locale/programs/record-status.h: New file
26539 * locale/programs/locale.c: Add comment.
26540 * locale/programs/charmap-dir.c: Don't include error.h.
26541 (charmap_opendir): Use record_error.
26542 * locale/programs/charmap.c: Don't include error.h.
26543 (charmap_read): Use record_error, and record_warning.
26544 (parse_charmap): Likewise.
26545 * locale/programs/ld-address.c: Don't include error.h.
26546 (address_finish): Use record_error, and record_warning.
26547 * locale/programs/ld-collate.c: Don't include error.h.
26548 (collate_finish): Use record_error, and record_error_at_line.
26549 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26550 (ctype_class_new): Likewise.
26551 (ctype_map_new): Likewise.
26552 (set_one_default): Likewise.
26553 (set_class_defaults): Likewise.
26554 (translit_flatten): Likewise.
26555 (allocate_arrays): Use record_error, and record_verbose.
26556 * locale/programs/ld-identification.c: Don't include error.h.
26557 (indentation_finish): Use record_error and record_warning.
26558 * locale/programs/ld-measurement.c: Don't include error.h.
26559 (measurement_finish): Use record_error.
26560 * locale/programs/ld-messages.c
26561 (message_finish): Likewise.
26562 * locale/programs/ld-monetary.c
26563 (monetary_finish): Likewise.
26564 * locale/programs/ld-name.c (name_finish): Use record_error
26565 and record_warning.
26566 * locale/programs/ld-numeric.c
26567 (numeric_finish): Use record_error.
26568 * locale/programs/ld-paper.c: Don't include error.h.
26569 (paper_finish): Use record_error.
26570 * locale/programs/ld-telephone.c: Don't include error.h.
26571 (telephone_finish): Use record_error.
26572 * locale/programs/ld-time.c (time_finish): Likewise.
26573 * locale/programs/linereader.h (lr_error): Make inline func.
26574 * locale/programs/localedef.c: Define recorded_warning_count,
26575 and recorded_error_count.
26576 (main): Use record_error. Use recorded_error_count and
26577 recorded_warning_count to issue correct error returns.
26578 (add_to_readlist): Use record_error.
26579 (find_locale): Likewise.
26580 (load_locale): Likewise.
26581 * locale/programs/localedef.h: Remove be_quiet
26582 and WITH_CUR_LOCALE.
26583 * locale/programs/locarchive.c (compare_from_file): Use
26584 record_error.
26585 * locale/programs/locfile.c (write_locale_data): Use
26586 record_error.
26587 * locale/programs/repertoire.c: Dont include error.h.
26588 (repertoire_complain): Use record_error.
26589 * localedata/tst-fmon.sh: Expect failures from localedef.
26590 * localedata/tst-locale.sh: Likewise.
26591 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26592
26593 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26594 (REPORTS): Likewise.
26595 (check): Likewise.
26596 (i18n): Rename to...
26597 (i18n_ctype): ...this.
26598 (i18n-report): Rename to...
26599 (i18n_ctype-report): ...this.
26600 * localedata/locales/i18n_ctype: Regenerate.
26601 * localedata/locales/i18n: copy i18n_ctype.
26602
26603 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26604
26605 * stdlib/strfroml.c: Include <bits/floatn.h>.
26606 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26607 Define before include of <stdlib.h> and undefine afterwards, then
26608 define as weak alias.
26609
26610 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26611 Undefine and restore default definition. Use
26612 libm_alias_ldouble_other.
26613
26614 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26615
26616 [BZ #22153]
26617 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26618 in coredumps.
26619
26620 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26621
26622 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26623 Assign sym_map to be map for local symbols, as TLS relocations
26624 use sym_map to determine whether the symbol is defined and to
26625 extract the TLS information.
26626 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26627 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26628
26629 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26630
26631 [BZ #22189]
26632 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26633 (math_force_eval): Add powerpc version.
26634
26635 [BZ #22142]
26636 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26637 -DBL_MAX.
26638 (do_test): Likewise.
26639 * stdio-common/tst-printf.sh: Likewise.
26640 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26641 ifdef clause in order to set the carry bit right. Replace r0 by
26642 0 without changing the behavior.
26643
26644 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26645
26646 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26647 <libm-alias-ldouble.h>.
26648 (fabsl): Define using libm_alias_ldouble.
26649 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26650 <libm-alias-ldouble.h>.
26651 (fabsl): Define using libm_alias_ldouble.
26652
26653 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26654 Remove conditional code.
26655
26656 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26657 Rename to __clog10_internal_l.
26658 (__clog10_internal_l): Define aliases using
26659 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26660 with __clog10.
26661
26662 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26663
26664 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26665 * benchtests/sincosf-inputs: New file.
26666 * benchtests/cosf-inputs: New file.
26667 * benchtests/sinf-inputs: New file.
26668
26669 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26670
26671 * posix/tst-spawn.c (do_test): Wait for both children.
26672
26673 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26674
26675 [BZ #22284]
26676 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26677 tests-pie): Add tst-gmon-pie.
26678 (CFLAGS-tst-gmon-pie.c): New.
26679 (CRT-tst-gmon-pie): Likewise.
26680 (tst-gmon-pie-ENV): Likewise.
26681 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26682 ($(objpfx)tst-gmon-pie.out): Likewise.
26683 (clean-tst-gmon-pie-data): Likewise.
26684 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26685 * gmon/gmon.c [PIC]: Include <link.h>.
26686 [PIC] (callback): New function.
26687 (write_hist): Add an argument for load address. Subtract load
26688 address from PCs.
26689 (write_call_graph): Likewise.
26690 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26691 it to write_hist and write_call_graph.
26692 * gmon/tst-gmon-pie.c: New file.
26693
26694 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26695
26696 * math/Makefile (test-types-basic): New variable.
26697 (test-types): Likewise.
26698 (libm-test-support): Use $(test-types) instead of $(types).
26699 (libm-tests-base-normal): Likewise.
26700 (libm-tests-base-finite): Likewise.
26701 (libm-tests-base-inline): Likewise.
26702 (generated): Likewise.
26703 ($(objpfx)libm-test-support-$(t).c): Likewise.
26704 (libm-tests-for-type iterator): Likewise.
26705 (libm-test-support iterator): Likewise.
26706 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26707 (ulp_idx): Use ULP_IDX.
26708 * math/test-ldouble.h: Include <float.h>.
26709 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26710 (ULP_IDX): New macro.
26711 (ULP_I_IDX): Likewise.
26712 * math/test-double.h (ULP_IDX): Likewise.
26713 (ULP_I_IDX): Likewise.
26714 * math/test-float.h (ULP_IDX): Likewise.
26715 (ULP_I_IDX): Likewise.
26716 * math/test-float128.h (ULP_IDX): Likewise.
26717 (ULP_I_IDX): Likewise.
26718
26719 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26720
26721 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26722 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26723 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26724 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26725 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26726 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26727 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26728 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26730 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26731 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26732 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26733 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26734 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26735 (SINGLE_THREAD_BY_GLOBAL): Define.
26736 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26737 Likewise.
26738 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26739 Likewise.
26740 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26741 Likewise.
26742 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26743 Likewise.
26744 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26745 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26747 Likewise.
26748
26749 2017-10-11 Andreas Schwab <schwab@suse.de>
26750
26751 * nis/Makefile (aux): Remove.
26752 * nscd/Makefile (aux): Add nscd_hash.
26753 (nscd-modules): Likewise.
26754 ($(objpfx)nscd): Don't depend on libnsl.
26755 * nscd/nscd_hash.c: New file.
26756 * nscd/nscd_hash.h: Likewise.
26757 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26758 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26759 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26760 instead of <nis/rpcsvc/nis.h>.
26761 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26762
26763 2017-10-11 Florian Weimer <fweimer@redhat.com>
26764
26765 [BZ #22078]
26766 Avoid large NSS buffers with many addresses, aliases.
26767 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26768 using dynarrays and struct alloc_buffer.
26769 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26770 (tst-nss-files-hosts-multi): Link with -ldl.
26771 * nss/tst-nss-files-hosts-multi.c: New file.
26772
26773 2017-10-11 Florian Weimer <fweimer@redhat.com>
26774
26775 [BZ #18023]
26776 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26777 scratch_buffer. Eliminate gotos.
26778
26779 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26780
26781 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26782 libm_alias_ldouble_other.
26783 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26784 undefine and redefine.
26785 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26786 (exp10l): Do not define here.
26787 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26788 (weak_alias): Undefine and redefine.
26789 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26790 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26791 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26792 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26793
26794 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26795 [!__fma] (fma): Define using libm_alias_double.
26796 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26797 [!__fmaf] (fmaf): Define using libm_alias_float.
26798 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26799 (fmal): Define using libm_alias_ldouble.
26800
26801 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26802
26803 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26804 New macro.
26805 (libm_alias_double_other): Likewise.
26806 (libm_alias_double_r): Use libm_alias_double_other_r.
26807 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26808 New macro.
26809 (libm_alias_float_other): Likewise.
26810 (libm_alias_float_r): Use libm_alias_float_other_r.
26811 * sysdeps/generic/libm-alias-float128.h
26812 (libm_alias_float128_other_r): New macro.
26813 (libm_alias_float128_other): Likewise.
26814 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26815 * sysdeps/generic/libm-alias-ldouble.h
26816 (libm_alias_ldouble_other_r): New macro.
26817 (libm_alias_ldouble_other): Likewise.
26818 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26819 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26820 (libm_alias_double_other_r): New macro.
26821 (libm_alias_double_other): Likewise.
26822 (libm_alias_double_r): Use libm_alias_double_other_r.
26823 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26824 (libm_alias_ldouble_other_r): New macro.
26825 (libm_alias_ldouble_other): Likewise.
26826 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26827 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26828 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26829 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26830 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26831 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26832 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26833 * math/w_exp2f.c: Use libm_alias_float_other.
26834 * math/w_expf.c: Likewise.
26835 * math/w_log2f.c: Likewise.
26836 * math/w_logf.c: Likewise.
26837 * math/w_powf.c: Likewise.
26838 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26839 [!__exp2f]: Use libm_alias_float_other.
26840 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26841 [!__expf]: Use libm_alias_float_other.
26842 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26843 [!__log2f]: Use libm_alias_float_other.
26844 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26845 [!__logf]: Use libm_alias_float_other.
26846 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26847 [!__powf]: Use libm_alias_float_other.
26848
26849 2017-10-10 Florian Weimer <fweimer@redhat.com>
26850
26851 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26852 function.
26853 (_nss_files_gethostbyname3_r): Call it.
26854
26855 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26856
26857 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26858 error. Remove default definition of declare_mgen_alias.
26859 [!declare_mgen_alias_r]: Likewise.
26860 * sysdeps/generic/math-type-macros-double.h
26861 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26862 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26863 (declare_mgen_alias_r): Likewise.
26864 * sysdeps/generic/math-type-macros-float128.h
26865 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26866 * sysdeps/generic/math-type-macros-ldouble.h
26867 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26868 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26869 macro.
26870 (declare_mgen_alias_r_s): Likewise.
26871 (declare_mgen_alias_r): Likewise.
26872 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26873 (lgamma_r): Define using libm_alias_double_r.
26874 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26875 (lgammaf_r): Define using libm_alias_float_r.
26876 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26877 (lgammal_r): Define using libm_alias_ldouble_r.
26878 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26879 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26880
26881 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26882
26883 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26884 extern declaration.
26885
26886 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26887
26888 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26889
26890 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26891
26892 [BZ #21326]
26893 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26894 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26895 * math/Makefile (test-math-cxx11): New test.
26896 * math/test-math-cxx11.cc: New file.
26897
26898 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26899
26900 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26901
26902 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26903 call to allocate the slave pty file descriptor.
26904
26905 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26906
26907 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26908 [!__fma] (fma): Define using libm_alias_double.
26909 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26910 [!__fma] (fma): Define using libm_alias_double.
26911
26912 * sysdeps/ieee754/float128/float128_private.h: Include
26913 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26914 (libm_alias_ldouble_r): Undefine and redefine.
26915 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26916 <libm-alias-ldouble.h>.
26917 (asinhl): Define using libm_alias_ldouble.
26918 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26919 <libm-alias-ldouble.h>.
26920 (atanl): Define using libm_alias_ldouble.
26921 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26922 <libm-alias-ldouble.h>.
26923 (cbrtl): Define using libm_alias_ldouble.
26924 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26925 <libm-alias-ldouble.h>.
26926 (ceill): Define using libm_alias_ldouble.
26927 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26928 <libm-alias-ldouble.h>.
26929 (copysignl): Define using libm_alias_ldouble.
26930 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26931 <libm-alias-ldouble.h>.
26932 (cosl): Define using libm_alias_ldouble.
26933 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26934 <libm-alias-ldouble.h>.
26935 (erfl): Define using libm_alias_ldouble.
26936 (erfcl): Likewise.
26937 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26938 <libm-alias-ldouble.h>.
26939 (expm1l): Define using libm_alias_ldouble.
26940 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26941 <libm-alias-ldouble.h>.
26942 (fabsl): Define using libm_alias_ldouble.
26943 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26944 <libm-alias-ldouble.h>.
26945 (floorl): Define using libm_alias_ldouble.
26946 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26947 <libm-alias-ldouble.h>.
26948 (fmal): Define using libm_alias_ldouble.
26949 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26950 <libm-alias-ldouble.h>.
26951 (frexpl): Define using libm_alias_ldouble.
26952 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26953 libm_alias_ldouble.
26954 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26955 <libm-alias-ldouble.h>.
26956 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26957 libm_alias_ldouble.
26958 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26959 <libm-alias-ldouble.h>.
26960 (getpayloadl): Define using libm_alias_ldouble.
26961 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26962 <libm-alias-ldouble.h>.
26963 (llrintl): Define using libm_alias_ldouble.
26964 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26965 <libm-alias-ldouble.h>.
26966 (llroundl): Define using libm_alias_ldouble.
26967 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26968 <libm-alias-ldouble.h>.
26969 (logbl): Define using libm_alias_ldouble.
26970 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26971 <libm-alias-ldouble.h>.
26972 (lrintl): Define using libm_alias_ldouble.
26973 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26974 <libm-alias-ldouble.h>.
26975 (lroundl): Define using libm_alias_ldouble.
26976 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26977 <libm-alias-ldouble.h>.
26978 (modfl): Define using libm_alias_ldouble.
26979 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26980 <libm-alias-ldouble.h>.
26981 (nearbyintl): Define using libm_alias_ldouble.
26982 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26983 <libm-alias-ldouble.h>.
26984 (nextafterl): Define using libm_alias_ldouble.
26985 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26986 <libm-alias-ldouble.h>.
26987 (nextupl): Define using libm_alias_ldouble.
26988 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26989 <libm-alias-ldouble.h>.
26990 (remquol): Define using libm_alias_ldouble.
26991 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26992 <libm-alias-ldouble.h>.
26993 (rintl): Define using libm_alias_ldouble.
26994 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26995 <libm-alias-ldouble.h>.
26996 (roundevenl): Define using libm_alias_ldouble.
26997 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26998 <libm-alias-ldouble.h>.
26999 (roundl): Define using libm_alias_ldouble.
27000 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27001 using libm_alias_ldouble.
27002 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27003 <libm-alias-ldouble.h>.
27004 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27005 Define using libm_alias_ldouble.
27006 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27007 <libm-alias-ldouble.h>.
27008 (sincosl): Define using libm_alias_ldouble.
27009 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27010 <libm-alias-ldouble.h>.
27011 (sinl): Define using libm_alias_ldouble.
27012 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27013 <libm-alias-ldouble.h>.
27014 (tanhl): Define using libm_alias_ldouble.
27015 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27016 <libm-alias-ldouble.h>.
27017 (tanl): Define using libm_alias_ldouble.
27018 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27019 <libm-alias-ldouble.h>.
27020 (totalorderl): Define using libm_alias_ldouble.
27021 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27022 <libm-alias-ldouble.h>.
27023 (totalordermagl): Define using libm_alias_ldouble.
27024 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27025 <libm-alias-ldouble.h>.
27026 (truncl): Define using libm_alias_ldouble.
27027 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27028 libm_alias_ldouble.
27029 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27030 libm_alias_ldouble.
27031 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27032 <libm-alias-ldouble.h>.
27033 (weak_alias): Do not undefine and redefine.
27034 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27035 (copysignl): Define with long_double_symbol only if [IS_IN
27036 (libc)].
27037 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27038 <libm-alias-ldouble.h>.
27039 (weak_alias): Do not undefine and redefine.
27040 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27041 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27042 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27043 <libm-alias-ldouble.h>.
27044 (weak_alias): Do not undefine and redefine.
27045 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27046 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27047 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27048 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27050 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27051 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27052 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27053 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27054 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27055 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27056 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27057 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27058 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27059 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27060 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27061 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27062 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27063 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27064 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27065 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27066 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27067 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27068 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27069 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27070 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27071
27072 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27073
27074 [BZ #22111]
27075 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27076 (tcache_thread_freeres): Set tcache_shutting_down before
27077 freeing the tcache.
27078 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27079 * malloc/tst-malloc-tcache-leak.c: New file.
27080
27081 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27082
27083 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27084 back to powerpc32 file.
27085 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27086 (memrchr): Add __memrchr_power8 to ifunc list.
27087 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27088 extra bytes for unaligned inputs.
27089
27090 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27091
27092 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27093 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27094 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27095 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27096 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27097
27098 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27099
27100 * sysdeps/arm/libm-test-ulps: Update.
27101
27102 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27103 <libm-alias-ldouble.h>.
27104 (asinhl): Define using libm_alias_ldouble.
27105 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27106 <libm-alias-ldouble.h>.
27107 (cbrtl): Define using libm_alias_ldouble.
27108 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27109 <libm-alias-ldouble.h>.
27110 (copysignl): Define using libm_alias_ldouble.
27111 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27112 <libm-alias-ldouble.h>.
27113 (cosl): Define using libm_alias_ldouble.
27114 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27115 <libm-alias-ldouble.h>.
27116 (erfl): Define using libm_alias_ldouble.
27117 (erfcl): Likewise.
27118 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27119 <libm-alias-ldouble.h>.
27120 (fmal): Define using libm_alias_ldouble.
27121 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27122 <libm-alias-ldouble.h>.
27123 (frexpl): Define using libm_alias_ldouble.
27124 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27125 libm_alias_ldouble.
27126 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27127 <libm-alias-ldouble.h>.
27128 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27129 libm_alias_ldouble.
27130 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27131 <libm-alias-ldouble.h>.
27132 (getpayloadl): Define using libm_alias_ldouble.
27133 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27134 <libm-alias-ldouble.h>.
27135 (llrintl): Define using libm_alias_ldouble.
27136 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27137 <libm-alias-ldouble.h>.
27138 (llroundl): Define using libm_alias_ldouble.
27139 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27140 <libm-alias-ldouble.h>.
27141 (lrintl): Define using libm_alias_ldouble.
27142 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27143 <libm-alias-ldouble.h>.
27144 (lroundl): Define using libm_alias_ldouble.
27145 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27146 <libm-alias-ldouble.h>.
27147 (modfl): Define using libm_alias_ldouble.
27148 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27149 <libm-alias-ldouble.h>.
27150 (nextupl): Define using libm_alias_ldouble.
27151 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27152 <libm-alias-ldouble.h>.
27153 (remquol): Define using libm_alias_ldouble.
27154 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27155 <libm-alias-ldouble.h>.
27156 (roundevenl): Define using libm_alias_ldouble.
27157 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27158 <libm-alias-ldouble.h>.
27159 (roundl): Define using libm_alias_ldouble.
27160 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27161 using libm_alias_ldouble.
27162 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27163 <libm-alias-ldouble.h>.
27164 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27165 <libm-alias-ldouble.h>.
27166 (setpayloadsigl): Define using libm_alias_ldouble.
27167 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27168 <libm-alias-ldouble.h>.
27169 (sincosl): Define using libm_alias_ldouble.
27170 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27171 <libm-alias-ldouble.h>.
27172 (sinl): Define using libm_alias_ldouble.
27173 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27174 <libm-alias-ldouble.h>.
27175 (tanhl): Define using libm_alias_ldouble.
27176 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27177 <libm-alias-ldouble.h>.
27178 (tanl): Define using libm_alias_ldouble.
27179 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27180 <libm-alias-ldouble.h>.
27181 (totalorderl): Define using libm_alias_ldouble.
27182 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27183 <libm-alias-ldouble.h>.
27184 (totalordermagl): Define using libm_alias_ldouble.
27185 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27186 libm_alias_ldouble.
27187 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27188 libm_alias_ldouble.
27189
27190 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27191
27192 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27193 memmove_falkor.
27194 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27195 (__libc_ifunc_impl_list): Likewise.
27196 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27197 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27198
27199 * benchtests/bench-memmove-walk.c: New file.
27200 * benchtests/Makefile (string-benchset): Add it.
27201
27202 * benchtests/bench-memset-walk.c: New file.
27203 * benchtests/Makefile (string-benchset): Add it.
27204
27205 * benchtests/bench-memcpy-walk.c: New file.
27206 * benchtests/Makefile (string-benchset): Add it.
27207
27208 2017-10-05 Florian Weimer <fweimer@redhat.com>
27209
27210 nscd: Eliminate compilation time dependency in the build output.
27211 * nscd/nscd_stat.c (STATDATA_VERSION)
27212 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27213 (STATDATA_VERSION_FULL): New macro definitions.
27214 (compilation): Remove.
27215 (struct statdata): Adjust version member.
27216 (send_stats): Set version from STATDATA_VERSION_FULL.
27217 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27218
27219 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27220
27221 * configure.ac (--enable-add-ons): Remove option.
27222 (machine): Do not mention add-ons in comment.
27223 (LIBC_PRECONFIGURE): Likewise.
27224 (add_ons): Remove variable and sanity checks and logic to locate
27225 add-ons.
27226 (add_ons_automatic): Remove variable.
27227 (configured_add_ons): Likewise.
27228 (add_ons_sfx): Likewise.
27229 (add_ons_pfx): Likewise.
27230 (add_on_subdirs): Likewise.
27231 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27232 consideration of add-ons in Implies handling.
27233 (sysdeps_add_ons): Likewise.
27234 * configure: Regenerated.
27235 * libidn/configure.ac: Remove.
27236 * libidn/configure: Likewise.
27237 * sysdeps/unix/inet/configure.ac: New file.
27238 * sysdeps/unix/inet/configure: New generated file.
27239 * sysdeps/unix/inet/Subdirs: Add libidn.
27240 * Makeconfig (sysdeps-srcdirs): Remove variable.
27241 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27242 ($(common-objpfx)config.status): Do not depend on add-on files.
27243 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27244 comment.
27245 (all-subdirs): Do not include $(add-on-subdirs).
27246 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27247 * config.make.in (add-ons): Remove variable.
27248 (add-on-subdirs): Likewise.
27249 (sysdeps-add-ons): Likewise.
27250 * manual/Makefile (add-chapters): Remove.
27251 ($(objpfx)texis): Do not depend on $(add-chapters).
27252 (nonexamples): Do not handle $(add-chapters).
27253 (examples): Do not handle $(add-ons).
27254 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27255 libc-texinfo.sh.
27256 * manual/install.texi (Installation): Do not mention add-ons.
27257 (--enable-add-ons): Do not document configure option.
27258 * INSTALL: Regenerated.
27259 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27260 * manual/maint.texi (Hierarchy Conventions): Do not mention
27261 add-ons.
27262 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27263 --enable-add-ons.
27264 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27265 add-ons.
27266 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27267 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27268
27269 2017-10-05 Andreas Schwab <schwab@suse.de>
27270
27271 [BZ #15142]
27272 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27273 (_IO_flush_all_lockp): Always lock list_all_lock.
27274 (_IO_flush_all_linebuffered): Likewise.
27275 (_IO_unbuffer_all): Likewise.
27276
27277 2017-10-05 Florian Weimer <fweimer@redhat.com>
27278
27279 [BZ #15436]
27280 Do not flush stdio streams on abort.
27281 * stdlib/abort.c (fflush): Remove macro definition.
27282 (abort): Remove stages related to stdio flushing.
27283
27284 2017-10-05 Florian Weimer <fweimer@redhat.com>
27285
27286 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27287
27288 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27289
27290 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27291
27292 2017-10-05 Florian Weimer <fweimer@redhat.com>
27293
27294 * support/support_format_hostent.c (support_format_hostent): Add
27295 more error information for NETDB_INTERNAL.
27296
27297 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27298
27299 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27300 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27301 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27302 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27303 AC_DEFINE if multi-arch is enabled.
27304 * sysdeps/i386/configure: Regenerated.
27305
27306 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27307
27308 * Makeconfig (+link-static-before-libc): Use
27309 $(DEFAULT-LDFLAGS-$(@F)).
27310 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27311 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27312 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27313
27314 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27315
27316 * elf/Makefile (tests): Add tst-main1.
27317 (modules-names): Add tst-main1mod.
27318 ($(objpfx)tst-main1): New.
27319 (CRT-tst-main1): Likewise.
27320 (LDFLAGS-tst-main1): Likewise.
27321 (LDLIBS-tst-main1): Likewise.
27322 (tst-main1mod.so-no-z-defs): Likewise.
27323 * elf/tst-main1.c: New file.
27324 * elf/tst-main1mod.c: Likewise.
27325
27326 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27327
27328 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27329
27330 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27331
27332 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27333 (fma): Define using libm_alias_double.
27334 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27335 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27336 <math_ldbl_opt.h>.
27337 (fmal): Do not define as compat symbol here.
27338 * sysdeps/alpha/fpu/s_fma.c: New file.
27339
27340 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27341
27342 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27343
27344 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27345
27346 [BZ #22229]
27347 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27348 <math_ldbl_opt.h>
27349 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27350 and libc.
27351 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27352 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27353 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27354 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27356 Include <math_ldbl_opt.h>
27357 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27358 and libc.
27359 (compat_symbol): Undefine and redefine.
27360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27361 <math_ldbl_opt.h>
27362 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27363 (compat_symbol): Undefine and redefine.
27364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27365 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27366 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27367 GLIBC_2_1 for libm.
27368 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27369 GLIBC_2.0 copysignl symbol.
27370 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27371 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27372
27373 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27374
27375 2017-10-04 Florian Weimer <fweimer@redhat.com>
27376
27377 * scripts/check-local-headers.sh: Ignore nspr4 header file
27378 directory in addition to nspr.
27379
27380 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27381
27382 [BZ #17956]
27383 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27384 * configure: Regenerate.
27385 * crypt/Makefile (nss-cpp-flags): New variable.
27386 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27387 (CPPFLAGS-md5-crypt.c): Use it.
27388 * scripts/check-local-headers.sh: Ignore nspr header file
27389 directory.
27390
27391 2017-10-04 Andreas Schwab <schwab@suse.de>
27392
27393 * nis/Makefile (services): Remove compat.
27394 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27395 ($(objpfx)libnss_compat.so): Remove rule.
27396 * nis/Versions (libnss_compat): Remove.
27397 * nss/Makefile (services): Add compat.
27398 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27399 * nss/Versions (libnss_compat): Define.
27400 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27401 Don't include <rpc/types.h>. Replace bool_t by bool.
27402 * nss/nss_compat/compat-initgroups.c: Likewise.
27403 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27404 instead of <rpcsrv/ypclnt.h>.
27405 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27406 yp_get_default_domain.
27407 * nss/nss_compat/compat-pwd.c: Likewise.
27408 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27409 yp_get_default_domain.
27410 * nss/nss_compat/nisdomain.c: New file.
27411 * nss/nss_compat/nisdomain.h: Likewise.
27412
27413 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27414
27415 [BZ #22244]
27416 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27417 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27418
27419 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27420
27421 [BZ #22243]
27422 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27423 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27424
27425 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27426
27427 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27428 "movl main@GOTOFF(%ebx), %eax".
27429
27430 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27431
27432 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27433 allow undefined _DYNAMIC in PIE libc.a.
27434 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27435 Likewse.
27436
27437 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27438
27439 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27440 check _DYNAMIC.
27441
27442 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27443
27444 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27445 check _DYNAMIC.
27446
27447 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27448
27449 * math/test-math-iscanonical.cc (error): Replace bool with int.
27450
27451 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27452
27453 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27454 (modf): Define using libm_alias_double, only if [!__modf].
27455 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27456 <libm-alias-double.h>.
27457 (modf): Define using libm_alias_double, only if [!__modf].
27458 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27459 compat symbol here.
27460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27461 (weak_alias): Do not undefine and redefine.
27462 (strong_alias): Likewise.
27463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27464 (weak_alias): Likewise.
27465 (strong_alias): Likewise.
27466
27467 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27468 (logb): Define using libm_alias_double, only if [!__logb].
27469 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27470 <libm-alias-double.h>.
27471 (logb): Define using libm_alias_double, only if [!__logb].
27472 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27474 (weak_alias): Do not undefine and redefine.
27475 (strong_alias): Likewise.
27476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27477 (weak_alias): Likewise.
27478 (strong_alias): Likewise.
27479
27480 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27481
27482 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27483 Check SHARED instead PIC.
27484
27485 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27486
27487 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27488 [!__fmaf] (fmaf): Define using libm_alias_float.
27489
27490 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27491 (frexp): Define using libm_alias_double.
27492 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27493 <libm-alias-double.h>.
27494 (frexp): Define using libm_alias_double.
27495 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27496 compat symbol here.
27497
27498 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27499
27500 [BZ #22235]
27501 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27502 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27503 (CFLAGS-test-math-iscanonical.cc): New variable.
27504 * math/test-math-iscanonical.cc: New file.
27505 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27506 Provide a C++ implementation based on function overloading,
27507 rather than using __MATH_TG, which uses C-only builtins.
27508 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27509 Likewise.
27510 * sysdeps/powerpc/powerpc64le/Makefile
27511 (CFLAGS-test-math-iscanonical.cc): New variable.
27512
27513 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27514
27515 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27516 (ceil): Define using libm_alias_double.
27517 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27518 (floor): Define using libm_alias_double.
27519 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27520 <libm-alias-double.h>.
27521 (llround): Define using libm_alias_double.
27522 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27523 <libm-alias-double.h>.
27524 (lround): Define using libm_alias_double.
27525 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27526 <libm-alias-double.h>.
27527 (nearbyint): Define using libm_alias_double.
27528 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27529 <libm-alias-double.h>.
27530 (remquo): Define using libm_alias_double.
27531 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27532 (rint): Define using libm_alias_double.
27533 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27534 (round): Define using libm_alias_double.
27535 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27536 (trunc): Define using libm_alias_double.
27537 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27538 <libm-alias-double.h>.
27539 (ceil): Define using libm_alias_double.
27540 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27541 <libm-alias-double.h>.
27542 (floor): Define using libm_alias_double.
27543 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27544 <libm-alias-double.h>.
27545 (llround): Define using libm_alias_double.
27546 [_LP64] (lround): Likewise.
27547 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27548 <libm-alias-double.h>.
27549 [!_LP64] (lround): Define using libm_alias_double.
27550 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27551 <libm-alias-double.h>.
27552 (nearbyint): Define using libm_alias_double.
27553 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27554 <libm-alias-double.h>.
27555 (remquo): Define using libm_alias_double.
27556 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27557 <libm-alias-double.h>.
27558 (rint): Define using libm_alias_double.
27559 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27560 <libm-alias-double.h>.
27561 (round): Define using libm_alias_double.
27562 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27563 <libm-alias-double.h>.
27564 (trunc): Define using libm_alias_double.
27565 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27566 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27567 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27568 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27569 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27570 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27571 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27572 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27573 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27574
27575 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27576
27577 * math/w_remainder.c: New file.
27578 * math/w_remainderf.c: New file.
27579 * math/w_remainderl.c: New file.
27580
27581 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27582
27583 * elf/rtld.c (BOOTSTRAP_MAP): New.
27584 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27585 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27586 Likewise.
27587 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27588 Likewise.
27589 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27590 Likewise.
27591
27592 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27593
27594 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27595 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27596 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27597 rtld_hidden_data_ver): Define to empty.
27598 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27599 __assert_perror_fail): Likewise.
27600 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27601 (__rewinddir): Likewise.
27602 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27603 (__profile_frequency): Likewise.
27604 * include/setjmp.h (__sigsetjmp): Likewise.
27605 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27606 __libc_sigaction): Likewise.
27607 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27608 not set hidden attribute.
27609 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27610 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27611 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27612 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27613 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27614 __fxstatat64): Likewise.
27615 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27616 (__uname): Likewise.
27617 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27618 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27619 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27620 (NO_RTLD_HIDDEN): Set.
27621 * sysdeps/mach/hurd/configure: Refresh.
27622 * config.h.in: Refresh.
27623
27624 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27625
27626 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27627 (atan): Define using libm_alias_double.
27628 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27629 (tan): Define using libm_alias_double.
27630 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27631 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27632
27633 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27634 define as weak alias of __atan. Do not define any aliases if
27635 [__atan].
27636 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27637 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27638 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27639 as weak alias of __tan. Do not define any aliases if [__tan].
27640 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27641 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27642 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27643 __atan.
27644 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27645 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27646 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27647 and define as weak alias of __atan.
27648 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27649 __atan.
27650 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27651 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27652 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27653 define as weak alias of __tan.
27654
27655 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27656
27657 * math/w_lgamma.c: New file.
27658 * math/w_lgammaf.c: New file.
27659 * math/w_lgammal.c: New file.
27660
27661 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27662
27663 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27664 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27665 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27666 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27667 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27668 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27669 * sysdeps/i386/fpu/w_log2f.c: New file.
27670 * sysdeps/i386/fpu/w_logf.c: New file.
27671 * sysdeps/i386/fpu/w_powf.c: New file.
27672 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27673 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27674 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27675
27676 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27677 H.J. Lu <hongjiu.lu@intel.com>
27678
27679 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27680 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27681 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27682 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27683 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27684 the new expf code.
27685 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27686 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27687 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27688 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27689 * sysdeps/i386/fpu/w_exp2f.c: New file.
27690 * sysdeps/i386/fpu/w_expf.c: New file.
27691 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27692 * sysdeps/x86_64/fpu/w_expf.c: New file.
27693
27694 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27695
27696 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27697 (log2f): Likewise.
27698 (powf): Likewise.
27699 * math/w_log2f.c: New file.
27700 * math/w_logf.c: New file.
27701 * math/w_powf.c: New file.
27702 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27703 * math/w_logf_compat.c (__logf_compat): Likewise.
27704 * math/w_powf_compat.c (__powf_compat): Likewise.
27705 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27706 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27707 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27708 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27709 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27710 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27711 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27712 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27713 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27714 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27715 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27716 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27717 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27718 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27719 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27721 Likewise.
27722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27723 Likewise.
27724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27725 Likewise.
27726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27727 Likewise.
27728 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27729 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27730 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27731 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27732 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27734 Likewise.
27735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27736 Likewise.
27737 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27738 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27739 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27740
27741 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27742
27743 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27744 (sysdep_routines): Add memrchr_power8.
27745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27746 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27747 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27748 New file.
27749 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27750 (memrchr): Add __memrchr_power8 to ifunc list.
27751 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27752
27753 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27754
27755 [BZ #18822]
27756 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27757 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27758 libc_hidden_def.
27759 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27760 (__posix_fallocate64_l64): Likewise.
27761
27762 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27763
27764 [BZ #18822]
27765 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27766 (__sched_setaffinity_new): Add libc_hidden_proto and
27767 libc_hidden_def.
27768
27769 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27770
27771 [BZ #18822]
27772 * include/glob.h (__glob64): Add libc_hidden_proto.
27773 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27774 libc_hidden_def.
27775
27776 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27777
27778 [BZ #18822]
27779 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27780 attribute_hidden.
27781
27782 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27783
27784 [BZ #18822]
27785 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27786
27787 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27788
27789 [BZ #18822]
27790 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27791 libc_hidden_def.
27792
27793 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27794
27795 [BZ #18822]
27796 * csu/version.c (__libc_print_version): Add attribute_hidden.
27797
27798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27799
27800 [BZ #18822]
27801 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27802
27803 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27804
27805 [BZ #18822]
27806 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27807
27808 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27809
27810 [BZ #18822]
27811 * nscd/nscd_helper.c (__nis_hash): New prototype.
27812
27813 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27814
27815 [BZ #18822]
27816 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27817 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27818 libc_hidden_def.
27819 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27820 * termios/tcgetattr.c (__tcgetattr): Likewise.
27821
27822 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27823
27824 [BZ #18822]
27825 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27826 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27827 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27828 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27829 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27830
27831 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27832
27833 [BZ #18822]
27834 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27835
27836 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27837
27838 [BZ #18822]
27839 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27840 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27841
27842 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27843
27844 [BZ #18822]
27845 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27846
27847 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27848
27849 [BZ #18822]
27850 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27851 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27852
27853 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27854
27855 [BZ #18822]
27856 * include/ifreq.h: New file.
27857 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27858 (__ifreq): Likewise.
27859 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27860 (__ifreq): Likewise.
27861
27862 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27863
27864 [BZ #18822]
27865 * include/idna.h: New file.
27866 * inet/getnameinfo.c: Include <idna.h> instead of
27867 <libidn/idna.h>.
27868 (__idna_to_unicode_lzlz): Removed.
27869 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27870 <libidn/idna.h>.
27871 (__idna_to_ascii_lz): Removed.
27872 (__idna_to_unicode_lzlz): Likewise.
27873
27874 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27875
27876 [BZ #18822]
27877 * include/plural-exp.h: New file.
27878 * intl/plural-exp.c: Include <plural-exp.h> instead of
27879 "plural-exp.h".
27880
27881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27882
27883 [BZ #18822]
27884 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27885 "getsourcefilter.h".
27886 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27887 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27888 "getsourcefilter.h".
27889 (__get_sol): Removed.
27890
27891 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27892
27893 [BZ #18822]
27894 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27895 to ...
27896 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27897
27898 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27899
27900 [BZ #18822]
27901 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27902 attribute_hidden.
27903
27904 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27905
27906 [BZ #18822]
27907 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27908
27909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27910
27911 [BZ #18822]
27912 * include/search.h (__tdestroy): Add libc_hidden_proto.
27913 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27914
27915 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27916
27917 [BZ #18822]
27918 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27919
27920 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27921
27922 [BZ #18822]
27923 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27924 attribute_hidden.
27925
27926 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27927
27928 [BZ #18822]
27929 * include/signal.h (__kill): Add libc_hidden_proto.
27930 (__sigblock): Likewise.
27931 (__sigprocmask): Likewise.
27932 (__sigaltstack): Likewise.
27933 * signal/kill.c (__kill): Add libc_hidden_def.
27934 * signal/sigblock.c (__sigblock): Likewise.
27935 * signal/sigprocmask.c (__sigprocmask): Likewise.
27936 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27937 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27938 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27939 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27940 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27941 Likewise.
27942 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27943 Likewise.
27944 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27945 (__sigprocmask): Likewise.
27946 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27947 Likewise.
27948 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27949 (__sigprocmask): Likewise.
27950 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27951 Likewise.
27952
27953 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27954
27955 [BZ #18822]
27956 * include/string.h (__strsep): Add libc_hidden_proto.
27957 * string/strsep.c (__strsep): Add libc_hidden_def.
27958
27959 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27960
27961 [BZ #18822]
27962 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27963 attribute_hidden.
27964 (__spawni): Likewise.
27965
27966 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27967
27968 [BZ #18822]
27969 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27970 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27971 libc_hidden_def.
27972
27973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27974
27975 [BZ #18822]
27976 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27977
27978 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27979
27980 [BZ #18822]
27981 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27982 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27983 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27984 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27985 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27986 Likewise.
27987 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27988 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27989
27990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27991
27992 [BZ #18822]
27993 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27994 (__dcigettext): Likewise.
27995
27996 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27997
27998 [BZ #18822]
27999 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28000 libc_hidden_proto.
28001 (__get_nprocs): Likewise.
28002 (__get_phys_pages): Likewise.
28003 (__get_avphys_pages): Likewise.
28004 (__get_child_max): Add attribute_hidden.
28005 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28006 (__get_nprocs): Likewise.
28007 (__get_phys_pages): Likewise.
28008 (__get_avphys_pages): Likewise.
28009 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28010 libc_hidden_def.
28011 (__get_nprocs): Likewise.
28012 (__get_phys_pages): Likewise.
28013 (__get_avphys_pages): Likewise.
28014 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28015 libc_hidden_def.
28016 (__get_nprocs_conf): Likewise.
28017 (__get_phys_pages): Likewise.
28018 (__get_avphys_pages): Likewise.
28019
28020 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28021
28022 [BZ #18822]
28023 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28024 attribute_hidden.
28025 (__netlink_close): Likewise.
28026 (__netlink_free_handle): Likewise.
28027 (__netlink_request): Likewise.
28028
28029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28030
28031 [BZ #18822]
28032 * include/rpc/rpc.h (__rpc_thread_variables): Add
28033 attribute_hidden.
28034 (__rpc_thread_svc_cleanup): Likewise.
28035 (__rpc_thread_clnt_cleanup): Likewise.
28036 (__rpc_thread_key_cleanup): Likewise.
28037
28038 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28039
28040 [BZ #18822]
28041 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28042 (__writev): Likewise.
28043 * misc/readv.c (__readv): Add libc_hidden_def.
28044 * misc/writev.c (__writev): Likewise.
28045 * sysdeps/posix/readv.c (__readv): Likewise.
28046 * sysdeps/posix/writev.c (__writev): Likewise.
28047 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28048 (__readv): Likewise.
28049 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28050 (__writev): Likewise.
28051
28052 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28053
28054 [BZ #18822]
28055 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28056 (__regcomp): Add libc_hidden_proto.
28057 (__regexec): Likewise.
28058 (__regfree): Likewise.
28059 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28060 (__regfree): Likewise.
28061 * posix/regexec.c (__regexec): Likewise.
28062
28063 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28064
28065 [BZ #18822]
28066 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28067 (__getutent): Likewise.
28068 (__getutid): Likewise.
28069 (__getutline): Likewise.
28070 (__pututline): Likewise.
28071 (__getutent_r): Likewise.
28072 (__getutid_r): Likewise.
28073 (__getutline_r): Likewise.
28074 (__utmpname): Add attribute_hidden.
28075 (__setutent): Likewise.
28076 (__endutent): Likewise.
28077 * login/getutent.c (__getutent): Add libc_hidden_def.
28078 * login/getutent_r.c (__getutent_r): Likewise.
28079 (__pututline): Likewise.
28080 * login/getutid.c (__getutid): Likewise.
28081 * login/getutid_r.c (__getutid_r): Likewise.
28082 * login/getutline.c (__getutline): Likewise.
28083 * login/getutline_r.c (__getutline_r): Likewise.
28084 * login/updwtmp.c (__updwtmp): Likewise.
28085
28086 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28087
28088 [BZ #18822]
28089 * include/dirent.h (__opendir): Always add attribute_hidden.
28090 (__fdopendir): Likewise.
28091 (__closedir): Likewise.
28092 (__readdir): Likewise.
28093 (__readdir64): Add libc_hidden_proto.
28094 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28095 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28096 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28097 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28098 New alias.
28099
28100 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28101
28102 [BZ #18822]
28103 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28104 * include/netdb.h (__gethostbyaddr_r): Likewise.
28105 (__gethostbyname_r): Likewise.
28106 (__gethostbyname2_r): Likewise.
28107 (__getnetbyaddr_r): Likewise.
28108 (__getnetbyname_r): Likewise.
28109 (__getservbyname_r): Likewise.
28110 (__getservbyport_r): Likewise.
28111 (__getprotobyname_r): Likewise.
28112 (__getprotobynumber_r): Likewise.
28113 (__getnetgrent_r): Likewise.
28114 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28115 (__getrpcbynumber_r): Likewise.
28116 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28117
28118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28119
28120 [BZ #18822]
28121 * include/stdio.h (__fcloseall): Add attribute_hidden.
28122 (__getline): Likewise.
28123 (__path_search): Likewise.
28124 (__gen_tempname): Likewise.
28125 (__libc_message): Likewise.
28126 (__flockfile): Likewise.
28127 (__funlockfile): Likewise.
28128 (__fxprintf): Likewise.
28129 (__fxprintf_nocancel): Likewise.
28130
28131 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28132
28133 [BZ #18822]
28134 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28135 (__sgetsgent_r): Likewise.
28136
28137 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28138
28139 [BZ #18822]
28140 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28141 (__statfs64): Likewise.
28142 (__fstatfs64): Likewise.
28143 * include/sys/statvfs.h (__statvfs64): Likewise.
28144 (__fstatvfs64): Likewise.
28145 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28146 (__statfs_filesize_max): Likewise.
28147 (__statfs_symlinks): Likewise.
28148 (__statfs_chown_restricted): Likewise.
28149
28150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28151
28152 [BZ #18822]
28153 * include/time.h (__tzstring): Add attribute_hidden.
28154 (__tzfile_read): Likewise.
28155 (__tzfile_compute): Likewise.
28156 (__tzfile_default): Likewise.
28157 (__tzset_parse_tz): Likewise.
28158 (__offtime): Likewise.
28159 (__asctime_r): Likewise.
28160 (__tzset): Likewise.
28161 (__tz_convert): Likewise.
28162 (__getdate_r): Likewise.
28163 (__getclktck): Likewise.
28164
28165 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28166
28167 [BZ #18822]
28168 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28169 (__nscd_unmap): Likewise.
28170 (__nscd_cache_search): Likewise.
28171 (__nscd_get_nl_timestamp): Likewise.
28172 (__nscd_getpwnam_r): Likewise.
28173 (__nscd_getpwuid_r): Likewise.
28174 (__nscd_getgrnam_r): Likewise.
28175 (__nscd_getgrgid_r): Likewise.
28176 (__nscd_gethostbyname_r): Likewise.
28177 (__nscd_gethostbyname2_r): Likewise.
28178 (__nscd_gethostbyaddr_r): Likewise.
28179 (__nscd_getai): Likewise.
28180 (__nscd_getgrouplist): Likewise.
28181 (__nscd_getservbyname_r): Likewise.
28182 (__nscd_getservbyport_r): Likewise.
28183 (__nscd_innetgr): Likewise.
28184 (__nscd_setnetgrent): Likewise.
28185
28186 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28187
28188 [BZ #18822]
28189 * include/gmp.h: Declare internal functions only if _ISOMAC is
28190 undefined.
28191 (__mpn_extract_double): Add attribute_hidden.
28192 (__mpn_extract_long_double): Likewise.
28193 (__mpn_extract_float128): Likewise.
28194 (__mpn_construct_float): Likewise.
28195 (__mpn_construct_double): Likewise.
28196 (__mpn_construct_long_double): Likewise.
28197 (__mpn_construct_float128): Likewise.
28198 (mpn_add_1): Likewise.
28199 (mpn_addmul_1): Likewise.
28200 (mpn_add_n): Likewise.
28201 (mpn_cmp): Likewise.
28202 (mpn_divrem): Likewise.
28203 (mpn_lshift): Likewise.
28204 (mpn_mul): Likewise.
28205 (mpn_mul_1): Likewise.
28206 (mpn_rshift): Likewise.
28207 (mpn_sub_1): Likewise.
28208 (mpn_submul_1): Likewise.
28209 (mpn_sub_n): Likewise.
28210
28211 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28212
28213 [BZ #18822]
28214 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28215 (__wcscat): Likewise.
28216 (__btowc): Likewise.
28217 (__wcrtomb): Likewise.
28218 (__mbsrtowcs): Likewise.
28219 (__wcsrtombs): Likewise.
28220 (__mbsnrtowcs): Likewise.
28221 (__wcsnrtombs): Likewise.
28222 (__wcsncpy): Likewise.
28223 (__wcpncpy): Likewise.
28224 (__wmemcpy): Likewise.
28225 (__wmempcpy): Likewise.
28226 (__wmemmove): Likewise.
28227 (__wcschrnul): Likewise.
28228 (__vfwscanf): Likewise.
28229 (__vswprintf): Likewise.
28230 (__fwprintf): Likewise.
28231 (__vfwprintf): Likewise.
28232
28233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28234
28235 [BZ #18822]
28236 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28237 (__getgrgid_r): Likewise.
28238 (__getgrnam_r): Likewise.
28239 * include/pwd.h (__getpwuid_r): Likewise.
28240 (__getpwnam_r): Likewise.
28241 (__fgetpwent_r): Likewise.
28242 * include/shadow.h (__getspnam_r): Likewise.
28243 (__sgetspent_r): Likewise.
28244 (__fgetspent_r): Likewise.
28245
28246 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28247
28248 [BZ #18822]
28249 * include/unistd.h (__access): Add attribute_hidden.
28250 (__lseek64): Likewise.
28251 (__libc_pread64): Likewise.
28252 (__pipe2): Likewise.
28253 (__sleep): Likewise.
28254 (__chdir): Likewise.
28255 (__fchdir): Likewise.
28256 (__getcwd): Likewise.
28257 (__rmdir): Likewise.
28258 (__execvpe): Likewise.
28259 (__execve): Likewise.
28260 (__setsid): Likewise.
28261 (__getuid): Likewise.
28262 (__geteuid): Likewise.
28263 (__getgid): Likewise.
28264 (__getegid): Likewise.
28265 (__getgroups): Likewise.
28266 (__group_member): Likewise.
28267 (__ttyname_r): Likewise.
28268 (__isatty): Likewise.
28269 (__readlink): Likewise.
28270 (__unlink): Likewise.
28271 (__gethostname): Likewise.
28272 (__profil): Likewise.
28273 (__getdtablesize): Likewise.
28274 (__brk): Likewise.
28275 (__ftruncate): Likewise.
28276 (__ftruncate64): Likewise.
28277
28278 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28279
28280 [BZ #18822]
28281 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28282 * argp/argp-fs-xinl.c: Likewise.
28283 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28284 * argp/argp-parse.c: Include <argp.h>.
28285 * argp/argp-xinl.c: Likewise.
28286 * include/argp-fmtstream.h: New file.
28287 * include/argp.h (__argp_error): Add attribute_hidden.
28288 (__argp_failure): Likewise.
28289 (__argp_input): Likewise.
28290 (__argp_state_help): Likewise.
28291
28292 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28293
28294 [BZ #18822]
28295 * include/wchar.h (____wcstof_l_internal): New prototype.
28296 (____wcstod_l_internal): Likewise.
28297 (____wcstold_l_internal): Likewise.
28298 (____wcstol_l_internal): Likewise.
28299 (____wcstoul_l_internal): Likewise.
28300 (____wcstoll_l_internal): Likewise.
28301 (____wcstoull_l_internal): Likewise.
28302 (____wcstof128_l_internal): Likewise.
28303 * sysdeps/ieee754/float128/wcstof128.c
28304 (____wcstof128_l_internal): Removed.
28305 * sysdeps/ieee754/float128/wcstof128_l.c
28306 (____wcstof128_l_internal): Likewise.
28307 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28308 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28309 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28310 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28311 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28312 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28313 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28314 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28315 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28316 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28317
28318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28319
28320 [BZ #18822]
28321 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28322 instead of <sys/statvfs.h>.
28323 (__internal_statvfs): Removed.
28324 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28325 instead of <sys/statvfs.h>.
28326 (__internal_statvfs64): Removed.
28327 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28328 "internal_statvfs.h" instead of <sys/statvfs.h>.
28329 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28330 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28331 instead of <sys/statvfs.h>.
28332 (__internal_statvfs): Removed.
28333 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28334 instead of <sys/statvfs.h>.
28335 (__internal_statvfs64): Removed.
28336
28337 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28338
28339 [BZ #18822]
28340 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28341 (__gconv_close): Likewise.
28342 (__gconv): Likewise.
28343 (__gconv_find_transform): Likewise.
28344 (__gconv_lookup_cache): Likewise.
28345 (__gconv_compare_alias_cache): Likewise.
28346 (__gconv_load_cache): Likewise.
28347 (__gconv_get_path): Likewise.
28348 (__gconv_close_transform): Likewise.
28349 (__gconv_release_cache): Likewise.
28350 (__gconv_find_shlib): Likewise.
28351 (__gconv_release_shlib): Likewise.
28352 (__gconv_get_builtin_trans): Likewise.
28353 (__gconv_compare_alias): Likewise.
28354 * include/dlfcn.h (_dlerror_run): Likewise.
28355 * include/stdio.h (__fortify_fail_abort): Likewise.
28356 * include/time.h (__tz_compute): Likewise.
28357 (__strptime_internal): Likewise.
28358 * intl/gettextP.h (_nl_find_domain): Likewise.
28359 (_nl_load_domain): Likewise.
28360 (_nl_find_msg): Likewise.
28361 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28362 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28363 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28364 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28365 (__gai_find_request): Likewise.
28366 (__gai_remove_request): Likewise.
28367 (__gai_notify): Likewise.
28368 (__gai_notify_only): Likewise.
28369 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28370 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28371 (_dl_non_dynamic_init): Likewise.
28372 (_dl_aux_init): Likewise.
28373 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28374 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28375 Likewise.
28376 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28377 (__wcsmbs_clone_conv): Likewise.
28378 (__wcsmbs_named_conv): Likewise.
28379
28380 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28381
28382 [BZ #18822]
28383 * include/stdlib.h (__random): Add attribute_hidden.
28384 (__random_r): Likewise.
28385 (__srandom_r): Likewise.
28386 (__initstate_r): Likewise.
28387 (__setstate_r): Likewise.
28388 (__erand48_r): Likewise.
28389 (__nrand48_r): Likewise.
28390 (__jrand48_r): Likewise.
28391 (__srand48_r): Likewise.
28392 (__seed48_r): Likewise.
28393 (__lcong48_r): Likewise.
28394 (__drand48_iterate): Likewise.
28395 (__setenv): Likewise.
28396 (__unsetenv): Likewise.
28397 (__clearenv): Likewise.
28398 (__ptsname_r): Likewise.
28399 (__posix_openpt): Likewise.
28400 (__add_to_environ): Likewise.
28401 (__realpath): Add libc_hidden_proto.
28402 (__ecvt_r): Likewise.
28403 (__fcvt_r): Likewise.
28404 (__qecvt_r): Likewise.
28405 (__qfcvt_r): Likewise.
28406 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28407 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28408
28409 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28410
28411 [BZ #18822]
28412 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28413 * include/time.h (__mktime_internal): Likewise.
28414 * libio/iolibio.h (__fopen_internal): Likewise.
28415
28416 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28417
28418 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28419 pointer in frame.
28420 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28421 Correct offset used to restore PIC register.
28422
28423 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28424
28425 [BZ libc/22165]
28426 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28427 code to load address of __getcontext_ret when generating PIC code.
28428
28429 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28430
28431 * elf/Makefile (tests-static-internal): Add
28432 tst-tls1-static-non-pie.
28433 (LDFLAGS-tst-tls1-static-non-pie): New.
28434 * elf/tst-tls1-static-non-pie.c: New file.
28435
28436 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28437
28438 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28439 (asinh): Define using libm_alias_double.
28440 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28441 (cbrt): Define using libm_alias_double.
28442 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28443 <libm-alias-double.h>.
28444 (copysign): Define using libm_alias_double.
28445 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28446 (erf): Define using libm_alias_double.
28447 (erfc): Likewise.
28448 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28449 (expm1): Define using libm_alias_double.
28450 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28451 (fabs): Define using libm_alias_double.
28452 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28453 libm_alias_double.
28454 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28455 <libm-alias-double.h>.
28456 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28457 libm_alias_double.
28458 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28459 <libm-alias-double.h>.
28460 (getpayload): Define using libm_alias_double.
28461 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28462 <libm-alias-double.h>.
28463 (llrint): Define using libm_alias_double.
28464 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28465 (lrint): Define using libm_alias_double.
28466 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28467 <libm-alias-double.h>.
28468 (nextup): Define using libm_alias_double.
28469 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28470 <libm-alias-double.h>.
28471 (roundeven): Define using libm_alias_double.
28472 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28473 libm_alias_double.
28474 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28475 <libm-alias-double.h>.
28476 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28477 using libm_alias_double.
28478 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28479 (cos): Define using libm_alias_double.
28480 (sin): Likewise.
28481 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28482 <libm-alias-double.h>.
28483 (sincos): Define using libm_alias_double.
28484 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28485 (tanh): Define using libm_alias_double.
28486 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28487 <libm-alias-double.h>.
28488 (totalorder): Define using libm_alias_double.
28489 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28490 <libm-alias-double.h>.
28491 (totalordermag): Define using libm_alias_double.
28492 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28493 libm_alias_double.
28494 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28495 libm_alias_double.
28496 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28497 <libm-alias-double.h>.
28498 (getpayload): Define using libm_alias_double.
28499 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28500 <libm-alias-double.h>.
28501 (roundeven): Define using libm_alias_double.
28502 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28503 <libm-alias-double.h>.
28504 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28505 <libm-alias-double.h>.
28506 (totalorder): Define using libm_alias_double.
28507 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28508 <libm-alias-double.h>.
28509 (totalordermag): Define using libm_alias_double.
28510 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28511 libc compat symbol here.
28512 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28513 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28514 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28515 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28516 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28517 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28518 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28519 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28520 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28521 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28522
28523 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28524
28525 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28526 _dl_relocate_static_pie instead of _dl_start to compute load
28527 address in static PIE. Return 0 if _DYNAMIC is undefined for
28528 static executable.
28529
28530 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28531
28532 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28533 _DYNAMIC is undefined for static executable.
28534
28535 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28536
28537 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28538
28539 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28540
28541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28542
28543 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28544
28545 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28546 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28547 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28548 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28549 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28550 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28551 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28552 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28553 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28554 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28555 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28556 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28557 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28558 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28559 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28560 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28561 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28562
28563 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28564
28565 * math/bits/cmathcalls.h (cimag): Remove inline.
28566 (creal): Remove inline.
28567 (conj): Remove inline.
28568
28569 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28570
28571 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28572 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28573 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28574 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28575 (issignalingf_inline): Likewise.
28576 (POWF_LOG2_TABLE_BITS): Likewise.
28577 (POWF_LOG2_POLY_ORDER): Likewise.
28578 (POWF_SCALE_BITS): Likewise.
28579 (POWF_SCALE): Likewise.
28580 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28581 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28582 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28583
28584 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28585
28586 * math/Makefile (type-float-routines): Add e_log2f_data.
28587 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28588 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28589 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28590 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28591 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28592 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28593 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28594
28595 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28596
28597 * math/Makefile (type-float-routines): Add e_logf_data.
28598 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28599 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28600 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28601 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28602 * sysdeps/i386/fpu/e_logf_data.c: New file.
28603 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28604 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28605
28606 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28607
28608 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28609 undefined _DYNAMIC in PIE libc.a.
28610 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28611 Likewse.
28612
28613 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28614
28615 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28616 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28617 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28618 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28619 (__signbit): Remove.
28620 (__signbitl): Remove.
28621 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28622 (__signbit): Remove.
28623 (__signbitl): Remove.
28624 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28625 (__signbit): Remove.
28626 (__signbitl): Remove.
28627 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28628 (__signbit): Remove.
28629 (__signbitl): Remove.
28630 * sysdeps/tile/bits/mathinline.h: Delete file.
28631 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28632 (__signbit): Remove.
28633 (__signbitl): Remove.
28634
28635 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28636
28637 * math/math.h: Improve handling of C99 isgreater macros.
28638 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28639 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28640 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28641 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28642 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28643
28644 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28645
28646 * sysdeps/aarch64/libm-test-ulps: Update.
28647
28648 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28649
28650 [BZ #22225]
28651 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28652 math_opt_barrier on argument when doing arithmetic on it.
28653 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28654 Likewise. Use math_force_eval not math_opt_barrier after
28655 arithmetic.
28656 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28657 math_opt_barrier on argument when doing arithmetic on it.
28658 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28659 Likewise.
28660
28661 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28662
28663 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28664 libc_hidden_def.
28665 (__freeifaddrs): Likewise.
28666
28667 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28668
28669 * include/dirent.h (__dirfd): New declaration.
28670 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28671 alias.
28672 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28673 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28674 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28675 * include/unistd.h (__revoke): New declaration.
28676 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28677 alias.
28678 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28679 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28680 revoke.
28681 * include/dirent.h (__seekdir): New declaration.
28682 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28683 redefine as weak alias.
28684 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28685 of seekdir.
28686 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28687 and use libc_hidden_def on them.
28688 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28689 them.
28690 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28691 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28692 instead of getifaddrs and freeifaddrs.
28693
28694 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28695
28696 [BZ #18822]
28697 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28698 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28699 (__dso_handle): Remove declaration.
28700 * dlfcn/tstatexit.c (__dso_handle): Removed.
28701 (main): Don't check __dso_handle.
28702 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28703 (main): Don't check __dso_handle.
28704 * include/dso_handle.h: New file.
28705 * malloc/mtrace.c: Include <dso_handle.h>.
28706 (mtrace): Pass __dso_handle directly.
28707 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28708 (__dso_handle): Remove declaration.
28709 (__pthread_atfork): Pass __dso_handle directly.
28710 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28711 (__dso_handle): Removed.
28712 * posix/wordexp-test.c: Include <dso_handle.h>.
28713 (__dso_handle): Remove declaration.
28714 (__app_register_atfork): Pass __dso_handle directly.
28715 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28716 (__dso_handle): Remove declaration.
28717 (at_quick_exit): Pass __dso_handle directly.
28718 * stdlib/atexit.c: Include <dso_handle.h>.
28719 (__dso_handle): Remove declaration.
28720 (atexit): Pass __dso_handle directly.
28721 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28722 (__dso_handle): Removed.
28723
28724 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28725
28726 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28727 using VDSO.
28728
28729 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28730
28731 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28732 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28733 values to correct default value for given type.
28734
28735 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28736
28737 [BZ #22101]
28738 * elf/Makefile (tests): Add tst-debug1.
28739 ($(objpfx)tst-debug1): New.
28740 ($(objpfx)tst-debug1.out): Likewise.
28741 ($(objpfx)tst-debug1mod1.so): Likewise.
28742 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28743 with p_filesz == 0.
28744 * elf/tst-debug1.c: New file.
28745
28746 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28747
28748 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28749 Define using __ifunc.
28750
28751 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28752
28753 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28754 exp2f() values.
28755
28756 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28757
28758 [BZ #22156]
28759 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28760
28761 2017-09-26 Florian Weimer <fweimer@redhat.com>
28762
28763 * resolv/Makefile (tests-internal): Fix typo in comment.
28764
28765 2017-09-26 Florian Weimer <fweimer@redhat.com>
28766
28767 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28768
28769 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28770
28771 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28772 Use an union instead of a max_align_t array for __space,
28773 so that __space is the same size on all platforms.
28774 * malloc/scratch_buffer_grow_preserve.c
28775 (__libc_scratch_buffer_grow_preserve): Likewise.
28776
28777 [BZ #22183]
28778 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28779 version to 2.
28780 * posix/Makefile (routines): Add glob-lstat-compat and
28781 glob64-lstat-compat.
28782 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28783 * posix/glob-lstat-compat.c: New file.
28784 * posix/glob64-lstat-compat.c: Likewise.
28785 * posix/tst-glob_lstat_compat.c: Likewise.
28786 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28787 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28788 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28789 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28790 Likewise.
28791 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28792 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28793 * posix/glob.c (glob_lstat): New function.
28794 (glob): Rename to __glob and add versioned symbol to 2.27.
28795 (glob_in_dir): Use glob_lstat.
28796 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28797 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28798 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28799 2.27.
28800 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28801 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28802 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28803 gl_lstat on glob call.
28804 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28805 and glob64 symbols.
28806 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28807 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28808 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28809 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28810 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28811 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28812 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28813 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28814 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28815 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28816 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28817 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28819 Likewise.
28820 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28822 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28823 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28824 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28825 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28826 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28829 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28830 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28831 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28832
28833 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28834
28835 * configure.ac (AS): Require binutils 2.25 or later.
28836 * configure: Regenerated.
28837
28838 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28839
28840 [BZ #22207]
28841 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28842 VM size.
28843
28844 2017-09-25 DJ Delorie <dj@redhat.com>
28845
28846 [BZ #22161]
28847 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28848 resetting timeout.
28849
28850 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28851
28852 * sysdeps/ieee754/dbl-64/sincos32.h
28853 [SINCCOS32_H]: Remove define.
28854 [SINCOS32_H]: Define.
28855
28856 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28857
28858 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28859 (exp2f): Likewise.
28860 * math/w_exp2f.c: New file.
28861 * math/w_expf.c: New file.
28862 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28863 * math/w_expf_compat.c (__expf_compat): Likewise.
28864 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28865 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28866 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28867 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28868 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28869 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28870 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28871 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28872 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28873 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28874 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28875 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28876 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28877 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28879 Likewise.
28880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28881 Likewise.
28882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28883 Likewise.
28884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28885 Likewise.
28886 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28887 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28888 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28889 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28890 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28892 Likewise.
28893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28894 Likewise.
28895 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28896 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28897 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28898
28899 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28900
28901 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28902 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28903 (roundtoint, converttoint): Likewise.
28904 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28905 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28906 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28907 * sysdeps/ieee754/flt-32/math_config.h: New file.
28908 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28909 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28910 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28911 * sysdeps/i386/fpu/math_errf.c: New file.
28912 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28913 * sysdeps/ia64/fpu/math_errf.c: New file.
28914 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28915 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28916
28917 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28918
28919 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28920 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28921 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28922 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28923 to make sure that these symbols are defined.
28924 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28925 of <limits.h>
28926 (__need_NULL): Do not define.
28927 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28928 alignment.
28929 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28930 CMGROUP_MAX, cmsgcred): Do not define.
28931 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28932 NULL.
28933 * bits/socket.h: Likewise.
28934 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28935 __gettimeofday instead of gettimeofday.
28936 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28937 instead of settimeofday.
28938
28939 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28940
28941 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28942 (asinhf): Define using libm_alias_float.
28943 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28944 (atanf): Define using libm_alias_float.
28945 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28946 (cbrtf): Define using libm_alias_float.
28947 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28948 (ceilf): Define using libm_alias_float.
28949 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28950 <libm-alias-float.h>.
28951 (copysignf): Define using libm_alias_float.
28952 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28953 (cosf): Define using libm_alias_float.
28954 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28955 (erff): Define using libm_alias_float.
28956 (erfcf): Likewise.
28957 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28958 (expm1f): Define using libm_alias_float.
28959 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28960 (fabsf): Define using libm_alias_float.
28961 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28962 (floorf): Define using libm_alias_float.
28963 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28964 (frexpf): Define using libm_alias_float.
28965 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28966 libm_alias_float.
28967 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28968 <libm-alias-float.h>.
28969 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28970 libm_alias_float.
28971 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28972 <libm-alias-float.h>.
28973 (getpayloadf): Define using libm_alias_float.
28974 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28975 <libm-alias-float.h>.
28976 (llrintf): Define using libm_alias_float.
28977 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28978 <libm-alias-float.h>.
28979 (llroundf): Define using libm_alias_float.
28980 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28981 (logbf): Define using libm_alias_float.
28982 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28983 (lrintf): Define using libm_alias_float.
28984 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28985 (lroundf): Define using libm_alias_float.
28986 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28987 (modff): Define using libm_alias_float.
28988 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28989 <libm-alias-float.h>.
28990 (nearbyintf): Define using libm_alias_float.
28991 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28992 <libm-alias-float.h>.
28993 (nextafterf): Define using libm_alias_float.
28994 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28995 <libm-alias-float.h>.
28996 (nextupf): Define using libm_alias_float.
28997 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28998 <libm-alias-float.h>.
28999 (remquof): Define using libm_alias_float.
29000 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29001 (rintf): Define using libm_alias_float.
29002 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29003 <libm-alias-float.h>.
29004 (roundevenf): Define using libm_alias_float.
29005 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29006 (roundf): Define using libm_alias_float.
29007 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29008 using libm_alias_float.
29009 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29010 <libm-alias-float.h>.
29011 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29012 Define using libm_alias_float.
29013 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29014 <libm-alias-float.h>.
29015 (sincosf): Define using libm_alias_float.
29016 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29017 (sinf): Define using libm_alias_float.
29018 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29019 (tanf): Define using libm_alias_float.
29020 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29021 (tanhf): Define using libm_alias_float.
29022 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29023 <libm-alias-float.h>.
29024 (totalorderf): Define using libm_alias_float.
29025 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29026 <libm-alias-float.h>.
29027 (totalordermagf): Define using libm_alias_float.
29028 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29029 (truncf): Define using libm_alias_float.
29030 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29031 libm_alias_float.
29032 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29033 libm_alias_float.
29034
29035 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29036
29037 [BZ #22146]
29038 math/math.h: Let fpclassify use the builtin in C++ mode, even
29039 when optimazing for size.
29040
29041 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29042
29043 * csu/Makefile (generated): Do not add version-info.h.
29044 (before-compile): Likewise.
29045 (all-Banner-files): Remove variable.
29046 ($(objpfx)version-info.h): Remove rule.
29047 * csu/version.c (banner): Do not include "version-info.h".
29048 * libidn/Banner: Remove.
29049 * manual/contrib.texi (Simon Josefsson): New entry.
29050
29051 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29052
29053 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29054 Remove conditionals on LDBL_MANT_DIG.
29055 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29056 (__ieee754_lgammal_r): Likewise.
29057
29058 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29059
29060 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29061 _Float128 and L().
29062 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29063 _Float128 and L(). Replace _Float128 with long double and L(x)
29064 with xL, throughout the file.
29065 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29066 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29067 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29068 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29069
29070 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29071
29072 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29073 sysdeps/ieee754/ldbl-128ibm.
29074 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29075 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29076 of including it. Keep _Float128 and L() intact. These will be
29077 reviewed by a separate patch.
29078 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29079 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29080 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29081 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29082
29083 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29084
29085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29086 (__finitef128): Define to __redirect___finitef128.
29087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29088 (__isinff128): Define to __redirect___isinff128.
29089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29090 (__isnanf128): Define to __redirect___isnanf128.
29091
29092 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29093
29094 * sysdeps/powerpc/powerpc64le/Makefile
29095 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29096 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29097
29098 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29099 Carlos O'Donell <carlos@redhat.com>
29100
29101 [BZ #22180]
29102 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29103 * stdlib/test-dlclose-exit-race.c: New file.
29104 * stdlib/test-dlclose-exit-race-helper.c: New file.
29105 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29106
29107 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29108
29109 * crypt/Banner: Remove file.
29110 * nptl/Banner: Likewise.
29111 * resolv/Banner: Likewise.
29112 * soft-fp/Banner: Likewise.
29113 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29114 ($(objpfx)version.d): Remove dependency on banner.h.
29115 ($(objpfx)version.os): Likewise.
29116 * nptl/version.c (banner): Do not include banner.h.
29117 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29118 Jelinek and BIND code.
29119
29120 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29121 Carlos O'Donell <carlos@redhat.com>
29122
29123 * support/xdlfcn.h: New file.
29124 * support/xdlfcn.c: New file.
29125 * support/Makefile (libsupport-routines): Add xdlfcn.
29126 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29127
29128 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29129
29130 [BZ #20142]
29131 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29132 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29133 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29134 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29135 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29136 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29137 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29138 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29139
29140 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29141 Ricky Zhou <rickyz@google.com>
29142 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29143
29144 [BZ #14333]
29145 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29146 Remove atomics.
29147 (__new_exitfn): Fail registration when we finished at_exit processing.
29148 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29149 * stdlib/on_exit.c (__on_exit): Likewise.
29150 * stdlib/exit.c (__exit_funcs_done): New variable.
29151 (__run_exit_handlers): Use __exit_funcs_lock.
29152 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29153 declarations.
29154 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29155 (test-cxa_atexit-race, test-on_exit-race): New tests.
29156 * stdlib/test-atexit-race-common.c: New file.
29157 * stdlib/test-atexit-race.c: New file.
29158 * stdlib/test-at_quick_exit-race.c: New file.
29159 * stdlib/test-cxa_atexit-race.c: New file.
29160 * stdlib/test-on_exit-race.c: New file.
29161
29162 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29163
29164 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29165 * benchtests/exp2f-inputs: Copy of expf-inputs.
29166 * benchtests/log2f-inputs: Copy of logf-inputs.
29167
29168 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29169
29170 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29171 Explicitly take address of first element of array arguments in
29172 call to INLINE_SYSCALL.
29173
29174 2017-09-19 Andreas Schwab <schwab@suse.de>
29175
29176 [BZ #22134]
29177 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29178 execveat first.
29179 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29180 unimplemented.
29181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29182 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29183 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29184 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29185 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29186 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29187 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29188 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29189 * posix/Makefile (tests): Add tst-fexecve.
29190 * posix/tst-fexecve.c: New file.
29191
29192 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29193
29194 * benchtests/Makefile: Add logf benchmark.
29195 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29196
29197 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29198
29199 * benchtests/Makefile: Add expf benchmark.
29200 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29201
29202 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29203
29204 * csu/Makefile: Add -funwind-tables to libc-start.c.
29205 * debug/Makefile: Add -funwind-tables to backtrace.c.
29206 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29207 * sysdeps/arm/Makefile: Likewise.
29208 * sysdeps/i386/Makefile: Likewise.
29209 * sysdeps/m68k/Makefile: Likewise.
29210 * sysdeps/mips/Makefile: Likewise.
29211 * sysdeps/nios2/Makefile: Likewise.
29212 * sysdeps/sh/Makefile: Likewise.
29213 * sysdeps/sparc/Makefile: Likewise.
29214
29215 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29216
29217 * benchtests/Makefile (bench-math): Add trunc and truncf.
29218 (CFLAGS-bench-trunc.c): New variable.
29219 (CFLAGS-bench-truncf.c): Likewise.
29220 * benchtests/trunc-inputs: New file.
29221 * benchtests/truncf-inputs: Likewise.
29222
29223 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29224
29225 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29226
29227 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29228
29229 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29230 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29231 redefine.
29232 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29233 (exp10l): Define as weak alias.
29234 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29235 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29236 and redefine.
29237 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29238 (remainderl): Define as weak alias.
29239
29240 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29241 (fmal): Define using libm_alias_ldouble.
29242 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29243 (acoshl): Define using libm_alias_ldouble.
29244 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29245 (acosl): Define using libm_alias_ldouble.
29246 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29247 (asinl): Define using libm_alias_ldouble.
29248 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29249 (atan2l): Define using libm_alias_ldouble.
29250 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29251 (atanhl): Define using libm_alias_ldouble.
29252 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29253 (coshl): Define using libm_alias_ldouble.
29254 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29255 (exp10l): Define using libm_alias_ldouble.
29256 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29257 (exp2l): Define using libm_alias_ldouble.
29258 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29259 (expl): Define using libm_alias_ldouble.
29260 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29261 (fmodl): Define using libm_alias_ldouble.
29262 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29263 (hypotl): Define using libm_alias_ldouble.
29264 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29265 (j0l): Define using libm_alias_ldouble.
29266 (y0l): Likewise.
29267 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29268 (j1l): Define using libm_alias_ldouble.
29269 (y1l): Likewise.
29270 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29271 (jnl): Define using libm_alias_ldouble.
29272 (ynl): Likewise.
29273 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29274 (log10l): Define using libm_alias_ldouble.
29275 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29276 (log2l): Define using libm_alias_ldouble.
29277 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29278 (logl): Define using libm_alias_ldouble.
29279 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29280 (powl): Define using libm_alias_ldouble.
29281 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29282 (remainderl): Define using libm_alias_ldouble.
29283 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29284 (sinhl): Define using libm_alias_ldouble.
29285 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29286 (sqrtl): Define using libm_alias_ldouble.
29287 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29288 (tgammal): Define using libm_alias_ldouble.
29289 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29290 (exp10l): Do not use long_double_symbol here.
29291 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29292 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29293 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29294 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29295 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29296 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29297 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29298 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29299 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29300 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29301 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29302 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29303 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29304 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29305 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29306 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29307 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29308 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29309 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29310 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29311 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29312 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29313
29314 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29315
29316 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29317 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29318
29319 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29320
29321 * io/read.c (read): Add libc_hidden_weak.
29322 * sysdeps/mach/hurd/read.c (read): Likewise.
29323 * io/write.c (write): Likewise.
29324 * sysdeps/mach/hurd/write.c (write): Likewise.
29325 * io/pread64.c (__pread64): Likewise.
29326 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29327 * posix/pread64.c (__pread64): Add libc_hidden_def.
29328
29329 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29330
29331 * benchtests/scripts/compare_strings.py: New option -g.
29332 (draw_graph): Print a message that a graph is being generated.
29333 (process_results): Generate graph only if -g is passed.
29334 (main): Process option -g.
29335
29336 * benchtests/scripts/compare_strings.py (process_results):
29337 Better spacing for output.
29338
29339 * benchtests/scripts/compare_strings.py: Use argparse.
29340 * benchtests/README: Document existence of compare_strings.py.
29341
29342 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29343
29344 * math/s_fma.c: Include <libm-alias-double.h>.
29345 (fma): Define using libm_alias_double.
29346 * math/s_nextafter.c: Include <libm-alias-double.h>.
29347 (nextafter): Define using libm_alias_double.
29348 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29349 (acos): Define using libm_alias_double.
29350 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29351 (aocsh): Define using libm_alias_double.
29352 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29353 (asin): Define using libm_alias_double.
29354 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29355 (atan2): Define using libm_alias_double.
29356 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29357 (atanh): Define using libm_alias_double.
29358 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29359 (cosh): Define using libm_alias_double.
29360 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29361 (exp10): Define using libm_alias_double.
29362 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29363 (exp2): Define using libm_alias_double.
29364 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29365 (exp): Define using libm_alias_double.
29366 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29367 (fmod): Define using libm_alias_double.
29368 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29369 (hypot): Define using libm_alias_double.
29370 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29371 (j0): Define using libm_alias_double.
29372 (y0): Likewise.
29373 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29374 (j1): Define using libm_alias_double.
29375 (y1): Likewise.
29376 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29377 (jn): Define using libm_alias_double.
29378 (yn): Likewise.
29379 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29380 (log10): Define using libm_alias_double.
29381 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29382 (log2): Define using libm_alias_double.
29383 * math/w_log_compat.c: Include <libm-alias-double.h>.
29384 (log): Define using libm_alias_double.
29385 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29386 (pow): Define using libm_alias_double.
29387 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29388 (remainder): Define using libm_alias_double.
29389 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29390 (sinh): Define using libm_alias_double.
29391 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29392 (sqrt): Define using libm_alias_double.
29393 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29394 (tgamma): Define using libm_alias_double.
29395 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29396 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29397 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29398 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29399 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29400 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29401 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29402 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29403 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29404 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29405 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29406 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29407 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29408 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29409 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29410 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29411 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29412 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29413 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29414 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29415 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29416 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29417 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29418 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29419 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29420
29421 * math/e_acoshl.c: Remove.
29422 * math/e_acosl.c: Likewise.
29423 * math/e_asinl.c: Likewise.
29424 * math/e_atan2l.c: Likewise.
29425 * math/e_atanhl.c: Likewise.
29426 * math/e_coshl.c: Likewise.
29427 * math/e_expl.c: Likewise.
29428 * math/e_fmodl.c: Likewise.
29429 * math/e_gammal_r.c: Likewise.
29430 * math/e_hypotl.c: Likewise.
29431 * math/e_j0l.c: Likewise.
29432 * math/e_j1l.c: Likewise.
29433 * math/e_jnl.c: Likewise.
29434 * math/e_lgammal_r.c: Likewise.
29435 * math/e_log10l.c: Likewise.
29436 * math/e_log2l.c: Likewise.
29437 * math/e_logl.c: Likewise.
29438 * math/e_powl.c: Likewise.
29439 * math/e_rem_pio2l.c: Likewise.
29440 * math/e_sinhl.c: Likewise.
29441 * math/e_sqrtf128.c: Likewise.
29442 * math/e_sqrtl.c: Likewise.
29443 * math/k_cosl.c: Likewise.
29444 * math/k_sinl.c: Likewise.
29445 * math/k_tanl.c: Likewise.
29446 * math/s_asinhl.c: Likewise.
29447 * math/s_atanl.c: Likewise.
29448 * math/s_cbrtl.c: Likewise.
29449 * math/s_erfl.c: Likewise.
29450 * math/s_expm1l.c: Likewise.
29451 * math/s_log1pl.c: Likewise.
29452 * math/s_tanhl.c: Likewise.
29453
29454 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29455
29456 [BZ #21745]
29457 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29458 [$(subdir) = math] (sysdep_calls): New variable. Has the
29459 previous contents of sysdep_routines, but re-sorted..
29460 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29461 sysdep_calls.
29462 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29463 defined in sysdep_calls and replace by the respective m_* names.
29464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29465 (compat_symbol): Undefine to avoid duplicated compat symbols in
29466 libc.
29467
29468 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29469
29470 * math/s_fmaf.c: Include <libm-alias-float.h>.
29471 (fmaf): Define using libm_alias_float.
29472 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29473 (acosf): Define using libm_alias_float.
29474 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29475 (acoshf): Define using libm_alias_float.
29476 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29477 (asinf): Define using libm_alias_float.
29478 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29479 (atan2f): Define using libm_alias_float.
29480 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29481 (atanhf): Define using libm_alias_float.
29482 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29483 (coshf): Define using libm_alias_float.
29484 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29485 (exp10f): Define using libm_alias_float.
29486 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29487 (fmodf): Define using libm_alias_float.
29488 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29489 (hypotf): Define using libm_alias_float.
29490 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29491 (j0f): Define using libm_alias_float.
29492 (y0f): Likewise.
29493 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29494 (j1f): Define using libm_alias_float.
29495 (y1f): Likewise.
29496 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29497 (jnf): Define using libm_alias_float.
29498 (ynf): Likewise.
29499 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29500 (log10f): Define using libm_alias_float.
29501 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29502 (log2f): Define using libm_alias_float.
29503 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29504 (logf): Define using libm_alias_float.
29505 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29506 (powf): Define using libm_alias_float.
29507 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29508 (remainderf): Define using libm_alias_float.
29509 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29510 (sinhf): Define using libm_alias_float.
29511 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29512 (sqrtf): Define using libm_alias_float.
29513 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29514 (tgammaf): Define using libm_alias_float.
29515
29516 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29517
29518 * include/math.h (roundeven): Change hidden_proto call to
29519 __roundeven.
29520 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29521 alias.
29522 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29523 (y0): Rename to __y0 and define as weak alias.
29524 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29525 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29526 alias.
29527 (y0f): Rename to __y0f and define as weak alias.
29528 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29529 alias.
29530 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29531 (y1): Rename to __y1 and define as weak alias.
29532 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29533 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29534 alias.
29535 (y1f): Rename to __y1f and define as weak alias.
29536 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29537 alias.
29538 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29539 (yn): Rename to __yn and define as weak alias.
29540 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29541 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29542 alias.
29543 (ynf): Rename to __ynf and define as weak alias.
29544 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29545 (fromfp): Define as weak alias.
29546 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29547 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29548 (fromfpx): Define as weak alias.
29549 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29550 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29551 __getpayload and define as weak alias.
29552 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29553 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29554 __roundeven and define as weak alias.
29555 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29556 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29557 __setpayload.
29558 (setpayload): Define as weak alias.
29559 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29560 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29561 __setpayloadsig.
29562 (setpayloadsig): Define as weak alias.
29563 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29564 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29565 __totalorder and define as weak alias.
29566 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29567 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29568 to __totalordermag and define as weak alias.
29569 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29570 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29571 (ufromfp): Define as weak alias.
29572 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29573 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29574 __ufromfpx.
29575 (ufromfpx): Define as weak alias.
29576 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29577 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29578 Rename to __getpayload and define as weak alias.
29579 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29580 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29581 Rename to __roundeven and define as weak alias.
29582 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29583 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29584 Rename to __totalorder and define as weak alias.
29585 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29586 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29587 (totalordermag): Rename to __totalordermag and define as weak
29588 alias.
29589 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29590 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29591 macro.
29592 (__roundevenl): Likewise.
29593 (__totalorderl): Likewise.
29594 (__totalordermagl): Likewise
29595 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29596 __fromfpf128.
29597 (fromfpf128): Define as weak alias.
29598 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29599 __fromfpxf128.
29600 (fromfpxf128): Define as weak alias.
29601 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29602 __setpayloadf128.
29603 (setpayloadf128): Define as weak alias.
29604 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29605 __setpayloadsigf128.
29606 (setpayloadsigf128): Define as weak alias.
29607 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29608 __ufromfpf128.
29609 (ufromfpf128): Define as weak alias.
29610 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29611 __ufromfpxf128.
29612 (ufromfpxf128): Define as weak alias.
29613 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29614 (fromfpf): Define as weak alias.
29615 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29616 __fromfpxf.
29617 (fromfpxf): Define as weak alias.
29618 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29619 __getpayloadf and define as weak alias.
29620 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29621 __roundevenf and define as weak alias.
29622 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29623 __setpayloadf.
29624 (setpayloadf): Define as weak alias.
29625 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29626 __setpayloadsigf.
29627 (setpayloadsigf): Define as weak alias.
29628 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29629 __totalorderf and define as weak alias.
29630 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29631 Rename to __totalordermagf and define as weak alias.
29632 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29633 __ufromfpf.
29634 (ufromfpf): Define as weak alias.
29635 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29636 __ufromfpxf.
29637 (ufromfpxf): Define as weak alias.
29638 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29639 __fromfpl.
29640 (fromfpl): Define as weak alias.
29641 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29642 __fromfpxl.
29643 (fromfpxl): Define as weak alias.
29644 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29645 to __getpayloadl and define as weak alias.
29646 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29647 __roundevenl and define as weak alias.
29648 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29649 __setpayloadl.
29650 (setpayloadl): Define as weak alias.
29651 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29652 __setpayloadsigl.
29653 (setpayloadsigl): Define as weak alias.
29654 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29655 to __totalorderl and define as weak alias.
29656 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29657 Rename to __totalordermagl and define as weak alias.
29658 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29659 __ufromfpl.
29660 (ufromfpl): Define as weak alias.
29661 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29662 __ufromfpxl.
29663 (ufromfpxl): Define as weak alias.
29664 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29665 __fromfpl.
29666 (fromfpl): Define as weak alias.
29667 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29668 __fromfpxl.
29669 (fromfpxl): Define as weak alias.
29670 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29671 Rename to __getpayloadl and define as weak alias.
29672 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29673 to __roundevenl and define as weak alias. Call __roundeven
29674 instead of roundeven.
29675 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29676 __setpayloadl.
29677 (setpayloadl): Define as weak alias.
29678 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29679 __setpayloadsigl.
29680 (setpayloadsigl): Define as weak alias.
29681 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29682 Rename to __totalorderl and define as weak alias.
29683 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29684 Rename to __totalordermagl and define as weak alias.
29685 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29686 __ufromfpl.
29687 (ufromfpl): Define as weak alias.
29688 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29689 __ufromfpxl.
29690 (ufromfpxl): Define as weak alias.
29691 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29692 __fromfpl.
29693 (fromfpl): Define as weak alias.
29694 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29695 __fromfpxl.
29696 (fromfpxl): Define as weak alias.
29697 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29698 __getpayloadl and define as weak alias.
29699 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29700 __roundevenl and define as weak alias.
29701 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29702 __setpayloadl.
29703 (setpayloadl): Define as weak alias.
29704 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29705 __setpayloadsigl.
29706 (setpayloadsigl): Define as weak alias.
29707 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29708 __totalorderl and define as weak alias.
29709 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29710 Rename to __totalordermagl and define as weak alias.
29711 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29712 __ufromfpl.
29713 (ufromfpl): Define as weak alias.
29714 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29715 __ufromfpxl.
29716 (ufromfpxl): Define as weak alias.
29717
29718 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29719
29720 * benchtests/bench-string.h (realloc_bufs): New function.
29721 (test_init): Call it.
29722 * benchtests/bench-memset-large.c (do_test): Likewise.
29723 * benchtests/bench-memset.c (do_test): Likewise.
29724
29725 * benchtests/bench-memset-large.c: Print output in JSON
29726 format.
29727 * benchtests/bench-memset.c: Likewise.
29728
29729 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29730
29731 [BZ #21084]
29732 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29733 * iconvdata/Makefile: Add IBM858.
29734 * iconvdata/gconv-modules: Likewise.
29735 * iconvdata/tst-tables.sh: Likewise.
29736 * iconvdata/ibm858.c: New file.
29737 * localedata/charmaps/IBM858: Likewise.
29738
29739 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29740
29741 [BZ #22023]
29742 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29743 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29744
29745 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29746
29747 [BZ #22112]
29748 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29749 and add tel_int_fmt.
29750
29751 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29752
29753 * sysdeps/generic/libm-alias-float128.h: New file.
29754 * sysdeps/generic/math-type-macros-float128.h: Include
29755 <libm-alias-float128.h>.
29756 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29757
29758 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29759
29760 * sysdeps/generic/libm-alias-ldouble.h: New file.
29761 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29762 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29763 * sysdeps/generic/math-type-macros-ldouble.h: Include
29764 <libm-alias-ldouble.h>.
29765 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29766 libm_alias_ldouble.
29767
29768 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29769
29770 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29771 * math/w_exp_compat.c: ... here.
29772 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29773 * math/w_expf_compat.c: ... here.
29774 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29775 * math/w_expl_compat.c: ... here.
29776 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29777 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29778 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29779 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29780
29781 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29782
29783 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29784 redefine.
29785 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29786 macro.
29787 (ldexpl): Only define as compat symbol for libc, not libm.
29788 (scalbnl): Define as compat symbol for libc here.
29789 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29790 define for [IS_IN (libc)].
29791 (__ldexpl_2): Remove alias.
29792 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29793 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29794 name in long_double_symbol call.
29795 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29796 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29797 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29798 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29799 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29800 Remove macro.
29801 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29802 Define as compat symbol.
29803
29804 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29805
29806 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29807 * sysdeps/unix/sysv/linux/alpha/Makefile
29808 [$(subdir) = csu] (sysdep_routines): Remove rule.
29809
29810 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29811
29812 * sysdeps/generic/libm-alias-double.h: New file.
29813 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29814 * sysdeps/generic/math-type-macros-double.h: Include
29815 <libm-alias-double.h>.
29816 [declare_mgen_alias] (declare_mgen_alias): Define to use
29817 libm_alias_double.
29818 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29819 (M_LIBM_NEED_COMPAT): Remove macro.
29820 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29821 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29822 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29823 code.
29824 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29825 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29826 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29827 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29828 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29829 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29830 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29831 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29832 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29833 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29834 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29835 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29836 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29837 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29838 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29839 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29840 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29841 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29842 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29843 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29844 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29845 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29846 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29847 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29848 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29849 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29850 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29851 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29852 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29853 macro.
29854 (declare_mgen_alias): New macro.
29855 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29856 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29858 (M_LIBM_NEED_COMPAT): Remove macro.
29859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29860 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29861 <first-versions.h>.
29862 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29863 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29864
29865 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29866
29867 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29868 (declare_mgen_alias_2): Remove.
29869 * sysdeps/generic/math-type-macros-double.h
29870 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29871 Likewise.
29872 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29873 alias.
29874 (ldexp): Define with declare_mgen_alias.
29875 (scalbn): Likewise.
29876
29877 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29878
29879 * grp/initgroups.c: Include config.h.
29880 (DEFAULT_CONFIG): New macro.
29881 (internal_getgrouplist): Use DEFAULT_CONFIG.
29882 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29883 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29884 (DEFAULT_DEFCONFIG): New macro.
29885 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29886 * nss/grp-lookup.c: Include config.h
29887 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29888 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29889 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29890 * manual/nss.texi: Update default values section.
29891
29892 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29893
29894 [BZ #21967]
29895 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29896 New.
29897 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29898 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29899 Handle MathVec_Prefer_No_AVX512.
29900 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29901 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29902 is set.
29903
29904 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29905
29906 * posix/sched_primax.c (__sched_get_priority_max): Add
29907 libc_hidden_def.
29908 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29909 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29910 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29911 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29912 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29913 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29914 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29915 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29916 Add aliases.
29917
29918 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29919
29920 * sysdeps/generic/libm-alias-float.h: New file.
29921 * sysdeps/generic/math-type-macros-float.h: Include
29922 <libm-alias-float.h>.
29923 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29924
29925 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29926
29927 [BZ #22093]
29928 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29929 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29930 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29931 (HWCAP_IMPORTANT): Likewise.
29932 (HWCAP_X86_64): New enum.
29933 (HWCAP_X86_AVX512_1): Updated.
29934 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29935 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29936 (modules-names): Add x86_64/tst-x86_64mod-1.
29937 (LDFLAGS-tst-x86_64mod-1.so): New.
29938 ($(objpfx)tst-x86_64-1): Likewise.
29939 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29940 (tst-x86_64-1-clean): Likewise.
29941 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29942 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29943
29944 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29945
29946 * po/sv.po: Update translations.
29947 * po/fr.po: Likewise.
29948
29949 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29950
29951 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29952 seconds.
29953 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29954 seconds.
29955 * elf/rtld-Rules: Fix $(error) use.
29956
29957 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29958
29959 [BZ #14925]
29960 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29961 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29962 * localedata/locales/bn_BD: “Bengali” was still used in some
29963 comments. Change it to “Bangla”.
29964
29965 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29966
29967 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29968
29969 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29970
29971 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29972 thunderx2t99p1 to list of cpu names.
29973 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29974 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29975
29976 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29977
29978 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29979 Use strcmp instead of tunable_is_name.
29980
29981 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29982
29983 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29984 (F_GET_RW_HINT): New macro.
29985 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29986 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29987 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29988 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29989 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29990 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29991 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29992 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29993 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29994
29995 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29996 (F_ADD_SEALS): New macro.
29997 [__USE_GNU] (F_GET_SEALS): Likewise.
29998 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29999 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30000 [__USE_GNU] (F_SEAL_GROW): Likewise.
30001 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30002
30003 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30004
30005 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30006 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30007 * posix/glob_internal.h (__glob_pattern_type):
30008 * posix/glob.c (glob):
30009 * posix/glob_pattern_p.c (__glob_pattern_p):
30010 Use them.
30011
30012 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30013 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30014 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30015 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30016 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30018 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30019 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30020 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30021 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30022 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30023 * sysdeps/wordsize-64/glob.c: Likewise.
30024 * sysdeps/wordsize-64/glob64.c: Likewise.
30025 * sysdeps/wordsize-64/globfree.c: Likewise.
30026 * sysdeps/wordsize-64/globfree64.c: Likewise.
30027 * sysdeps/unix/sysv/linux/glob.c: New file.
30028 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30029 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30030 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30031 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30032 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30033 adds !GLOB_NO_OLD_VERSION as an extra condition.
30034 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30035 using relative path instead of absolute one.
30036 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30037 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30038 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30039 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30040 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30041 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30042
30043 [BZ #1062]
30044 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30045 (glob): Use the same scratch buffer for both getlogin_r and
30046 getpwnam_r. Don’t require preallocation of the login name. This
30047 simplifies storage allocation, and corrects the handling of
30048 long login names.
30049
30050 [BZ #1062]
30051 * posix/glob.c (glob): Port recent patches to platforms
30052 lacking getpwnam_r.
30053 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30054 returns an error number rather than setting errno.
30055
30056 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30057 instead of GCC extension.
30058 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30059 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30060 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30061
30062 [BZ #866]
30063 [BZ #1062]
30064 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30065 * posix/bug-glob1.c: Remove file.
30066 * posix/tst-glob_symlinks.c: New file.
30067 * posix/glob.c (__lstat64): New macro.
30068 (is_dir): New function.
30069 (glob, glob_in_dir): Match symlinks even if they are dangling.
30070 (link_stat, link_exists_p): Remove. All uses removed.
30071
30072 [BZ #1062]
30073 [BZ #19971]
30074 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30075 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30076 All uses removed.
30077
30078 [BZ #1062]
30079 CVE-2017-15671
30080 * posix/Makefile (routines): Add globfree, globfree64, and
30081 glob_pattern_p.
30082 * posix/flexmember.h: New file.
30083 * posix/glob_internal.h: Likewise.
30084 * posix/glob_pattern_p.c: Likewise.
30085 * posix/globfree.c: Likewise.
30086 * posix/globfree64.c: Likewise.
30087 * sysdeps/gnu/globfree64.c: Likewise.
30088 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30089 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30090 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30091 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30092 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30093 * sysdeps/wordsize-64/globfree.c: Likewise.
30094 * sysdeps/wordsize-64/globfree64.c: Likewise.
30095 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30096 [NDEBUG): Remove comments.
30097 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30098 (dirent_type): New type. Use uint_fast8_t not
30099 uint8_t, as C99 does not require uint8_t.
30100 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30101 (struct readdir_result): Use dirent_type. Do not define skip_entry
30102 unless it is needed; this saves a byte on platforms lacking d_ino.
30103 (readdir_result_type, readdir_result_skip_entry):
30104 New functions, replacing ...
30105 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30106 these functions, which were removed. This makes the callers
30107 easier to read. All callers changed.
30108 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30109 (size_add_wrapv, glob_use_alloca): New static functions.
30110 (glob, glob_in_dir): Check for size_t overflow in several places,
30111 and fix some size_t checks that were not quite right.
30112 Remove old code using SHELL since Bash no longer
30113 uses this.
30114 (glob, prefix_array): Separate MS code better.
30115 (glob_in_dir): Remove old Amiga and VMS code.
30116 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30117 separate files.
30118 (glob_in_dir): Do not rely on undefined behavior in accessing
30119 struct members beyond their bounds. Use a flexible array member
30120 instead
30121 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30122 0/1. Caller changed.
30123 (glob): Fix memory leaks.
30124 * posix/glob64 (globfree64): Move to separate file.
30125 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30126 (globfree64): Remove hidden alias.
30127 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30128 oldglob.
30129 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30130 separate file.
30131 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30132 define.
30133 Move compat code to separate file.
30134 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30135 separate file.
30136
30137 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30138
30139 * resolv/tst-resolv-qtypes.c (domain): Changed to
30140 "const char domain[] =".
30141
30142 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30143
30144 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30145 version to 3.1.6.
30146
30147 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30148 (TCP_MD5SIG_EXT): Likewise.
30149 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30150 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30151 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30152
30153 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30154
30155 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30156
30157 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30158
30159 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30160
30161 [BZ #22100]
30162 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30163
30164 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30165
30166 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30167 before assuming that the file is empty. Avoid testing buffer content
30168 when nread == 0.
30169
30170 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30171
30172 [BZ #18858]
30173 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30174 Remove define.
30175 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30176 Likewise.
30177 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30178 Likewise.
30179 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30180 Likewise.
30181 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30182 Likewise.
30183 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30184 Likewise.
30185 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30186 Likewise.
30187
30188 2017-09-06 Florian Weimer <fweimer@redhat.com>
30189
30190 * malloc/dynarray_emplace_enlarge.c
30191 (__libc_dynarray_emplace_enlarge): Add missing else.
30192
30193 2017-09-06 Florian Weimer <fweimer@redhat.com>
30194
30195 [BZ #22096]
30196 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30197 case of failure to obtain the global conf object.
30198
30199 2017-09-06 Florian Weimer <fweimer@redhat.com>
30200
30201 [BZ #22095]
30202 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30203 dynarray allocation failure.
30204
30205 2017-09-06 Florian Weimer <fweimer@redhat.com>
30206
30207 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30208 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30209 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30210 New functions.
30211 (response): Call them. Add 'p', '6' flag processing.
30212 (test_reverse): New function.
30213 (test_get2_any): Call it.
30214 (test_no_inet6): Add 'p' test.
30215 (test_inet6): Likewise.
30216
30217 2017-09-06 Florian Weimer <fweimer@redhat.com>
30218
30219 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30220 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30221 the QNAME.
30222 (test_gai): Adjust query names. Add additional tests.
30223 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30224 test_get2. Adjust query names. Add additional tests.
30225 (test_no_inet6): New function, extracted from threadfunc.
30226 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30227 Add additional tests.
30228
30229 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30230
30231 [BZ #22070]
30232 * localedata/unicode-gen/utf8_gen.py: Set the width for
30233 characters with Prepended_Concatenation_Mark property to 1
30234 * localedata/charmaps/UTF-8: Updated using the improved script.
30235
30236 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30237
30238 [BZ #21750]
30239 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30240 use the range notation for all ranges of neighbouring characters
30241 with the same width.
30242
30243 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30244
30245 * sysdeps/generic/math-type-macros-double.h: Include
30246 <math-svid-compat.h>.
30247 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30248 * sysdeps/generic/math-type-macros-float.h: Include
30249 <math-svid-compat.h>.
30250 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30251 * sysdeps/generic/math-type-macros-ldouble.h: Include
30252 <math-svid-compat.h>.
30253 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30254 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30255 condition.
30256 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30257 * math/w_acosf_compat.c: Likewise.
30258 * math/w_acosh_compat.c: Likewise.
30259 * math/w_acoshf_compat.c: Likewise.
30260 * math/w_acoshl_compat.c: Likewise.
30261 * math/w_acosl_compat.c: Likewise.
30262 * math/w_asin_compat.c: Likewise.
30263 * math/w_asinf_compat.c: Likewise.
30264 * math/w_asinl_compat.c: Likewise.
30265 * math/w_atan2_compat.c: Likewise.
30266 * math/w_atan2f_compat.c: Likewise.
30267 * math/w_atan2l_compat.c: Likewise.
30268 * math/w_atanh_compat.c: Likewise.
30269 * math/w_atanhf_compat.c: Likewise.
30270 * math/w_atanhl_compat.c: Likewise.
30271 * math/w_cosh_compat.c: Likewise.
30272 * math/w_coshf_compat.c: Likewise.
30273 * math/w_coshl_compat.c: Likewise.
30274 * math/w_exp10_compat.c: Likewise.
30275 * math/w_exp10f_compat.c: Likewise.
30276 * math/w_exp10l_compat.c: Likewise.
30277 * math/w_exp2_compat.c: Likewise.
30278 * math/w_exp2f_compat.c: Likewise.
30279 * math/w_exp2l_compat.c: Likewise.
30280 * math/w_fmod_compat.c: Likewise.
30281 * math/w_fmodf_compat.c: Likewise.
30282 * math/w_fmodl_compat.c: Likewise.
30283 * math/w_hypot_compat.c: Likewise.
30284 * math/w_hypotf_compat.c: Likewise.
30285 * math/w_hypotl_compat.c: Likewise.
30286 * math/w_j0_compat.c: Likewise.
30287 * math/w_j0f_compat.c: Likewise.
30288 * math/w_j0l_compat.c: Likewise.
30289 * math/w_j1_compat.c: Likewise.
30290 * math/w_j1f_compat.c: Likewise.
30291 * math/w_j1l_compat.c: Likewise.
30292 * math/w_jn_compat.c: Likewise.
30293 * math/w_jnf_compat.c: Likewise.
30294 * math/w_jnl_compat.c: Likewise.
30295 * math/w_lgamma_r_compat.c: Likewise.
30296 * math/w_lgammaf_r_compat.c: Likewise.
30297 * math/w_lgammal_r_compat.c: Likewise.
30298 * math/w_log10_compat.c: Likewise.
30299 * math/w_log10f_compat.c: Likewise.
30300 * math/w_log10l_compat.c: Likewise.
30301 * math/w_log2_compat.c: Likewise.
30302 * math/w_log2f_compat.c: Likewise.
30303 * math/w_log2l_compat.c: Likewise.
30304 * math/w_log_compat.c: Likewise.
30305 * math/w_logf_compat.c: Likewise.
30306 * math/w_logl_compat.c: Likewise.
30307 * math/w_pow_compat.c: Likewise.
30308 * math/w_powf_compat.c: Likewise.
30309 * math/w_powl_compat.c: Likewise.
30310 * math/w_remainder_compat.c: Likewise.
30311 * math/w_remainderf_compat.c: Likewise.
30312 * math/w_remainderl_compat.c: Likewise.
30313 * math/w_sinh_compat.c: Likewise.
30314 * math/w_sinhf_compat.c: Likewise.
30315 * math/w_sinhl_compat.c: Likewise.
30316 * math/w_sqrt_compat.c: Likewise.
30317 * math/w_sqrtf_compat.c: Likewise.
30318 * math/w_sqrtl_compat.c: Likewise.
30319 * math/w_tgamma_compat.c: Likewise.
30320 * math/w_tgammaf_compat.c: Likewise.
30321 * math/w_tgammal_compat.c: Likewise.
30322 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30323 [LIBM_SVID_COMPAT].
30324 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30325 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30326 [LIBM_SVID_COMPAT].
30327 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30328 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30329 [LIBM_SVID_COMPAT].
30330 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30331 * sysdeps/i386/fpu/w_sqrt.c: New file.
30332 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30333 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30334 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30335 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30336 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30337 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30338 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30339 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30340 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30341 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30342 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30343 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30344 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30345 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30346 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30347 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30348 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30349 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30350 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30351 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30352 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30353 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30354 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30355 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30356 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30357 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30358 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30359 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30360 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30361 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30362 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30363 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30364 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30365 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30366 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30367 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30368 * sysdeps/ia64/fpu/w_log.c: Likewise.
30369 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30370 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30371 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30372 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30373 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30374 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30375 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30376 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30377 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30378 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30379 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30380 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30381 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30382 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30383 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30384 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30385 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30386 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30387 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30388 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30389 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30390 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30391 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30392 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30393 [LIBM_SVID_COMPAT].
30394 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30395 * sysdeps/ieee754/k_standard.c: Likewise.
30396 * sysdeps/ieee754/k_standardf.c: Likewise.
30397 * sysdeps/ieee754/k_standardl.c: Likewise.
30398 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30399 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30400 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30401 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30402 long_double_symbol call on [LIBM_SVID_COMPAT].
30403 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30404 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30405 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30406 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30407 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30408 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30409 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30410 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30411 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30412 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30413 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30414 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30415 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30416 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30417 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30418 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30419 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30420 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30421 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30422 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30423 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30424 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30425
30426 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30427
30428 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30429 * malloc/tst-mallocstate.c: Convert from test-skeleton
30430 to test-driver. Ifdef code using TEST_COMPAT macro.
30431 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30432 * math/test-matherr.c: Likewise.
30433
30434 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30435
30436 [BZ #22086]
30437 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30438 comparing word with byte-swapped constant.
30439
30440 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30441
30442 [BZ #20498]
30443 * locale/iso-639.def: add Miskito.
30444 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30445 * localedata/locales/miq_NI: New file.
30446
30447 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30448
30449 [BZ #18822]
30450 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30451 (__mkdir): Likewise.
30452 * io/chmod.c (__chmod): Add libc_hidden_def.
30453 * io/mkdir.c (__mkdir): Likewise.
30454 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30455 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30456 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30457 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30458
30459 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30460
30461 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30462 version to 4.13.
30463
30464 [BZ #22082]
30465 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30466 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30467
30468 2017-09-04 Florian Weimer <fweimer@redhat.com>
30469
30470 * math/math.h: Issue warning if log is defined.
30471
30472 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30473
30474 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30475 kernel version to 4.13.
30476
30477 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30478
30479 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30480 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30481 parameter.
30482 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30483 just <bits/types.h>.
30484 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30485 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30486 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30487 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30488 * misc/preadv2.c: Include <errno.h>.
30489 * misc/preadv64v2.c: Include <errno.h>.
30490 * misc/pwritev2.c: Include <errno.h>.
30491 * misc/pwritev64v2.c: Include <errno.h>.
30492 * sysdeps/posix/preadv2.c: Include <errno.h>.
30493 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30494 Fix <unistd.h> inclusion.
30495 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30496 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30497 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30498 __strtoul_internal): New functions.
30499 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30500 * sysdeps/posix/system.c: Include <sigsetops.h>.
30501 * sysdeps/mach/hurd/i386/Makefile
30502 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30503 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30504 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30505 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30506 __feraiseexcept_renamed to feraiseexcept instead of
30507 __GI_feraiseexcept.
30508 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30509 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30510 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30511 RWF_NOWAIT): Define to 0 if undefined already.
30512 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30513 boils down to 0.
30514 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30515 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30516
30517 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30518
30519 * manual/math.texi (pow10): Do not document.
30520 (pow10f): Likewise.
30521 (pow10l): Likewise.
30522 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30523 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30524 * math/libm-test-exp10.inc (pow10_test): Remove.
30525 (do_test): Do not call pow10.
30526 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30527 [NO_LONG_DOUBLE] (pow10l): Likewise.
30528 * math/w_exp10f_compat.c (pow10f): Likewise.
30529 * math/w_exp10l_compat.c (pow10l): Likewise.
30530 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30531 (pow10): Make into compat symbol.
30532 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30533 (pow10f): Make into compat symbol.
30534 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30535 (pow10l): Make into compat symbol.
30536 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30537 pow10.
30538 (CFLAGS-nldbl-pow10.c): Remove variable..
30539 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30540 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30541 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30542 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30543 Undefine and redefine.
30544 (pow10l): Make into compat symbol.
30545 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30546 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30547 * sysdeps/arm/libm-test-ulps: Likewise.
30548 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30549 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30550 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30551 * sysdeps/microblaze/libm-test-ulps: Likewise.
30552 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30553 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30554 * sysdeps/nios2/libm-test-ulps: Likewise.
30555 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30556 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30557 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30558 * sysdeps/sh/libm-test-ulps: Likewise.
30559 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30560 * sysdeps/tile/libm-test-ulps: Likewise.
30561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30562
30563 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30564
30565 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30566
30567 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30568
30569 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30570 "../ChangeLog.old/ChangeLog.8".
30571 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30572 "../ChangeLog.old/ChangeLog.14".
30573
30574 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30575
30576 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30577 Threads Library.
30578
30579 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30580
30581 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30582
30583 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30584
30585 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30586 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30587
30588 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30589
30590 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30591 32 atexit handlers.
30592
30593 2017-09-01 Zack Weinberg <zackw@panix.com>
30594
30595 * math/math.h (HUGE_VAL): Improve commentary.
30596
30597 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30598 Andreas Schwab <schwab@suse.de>
30599
30600 [BZ #21530]
30601 * include/stdio.h (__gen_tempfd): New function.
30602 * stdio-common/Makefile (routines): Add gentempfd.
30603 * stdio-common/gentempfd.c: New file.
30604 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30605 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30606 unnamed file first.
30607
30608 2017-09-01 Florian Weimer <fweimer@redhat.com>
30609
30610 [BZ #21915]
30611 [BZ #21922]
30612 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30613 result to determine success or failure, not the errno value.
30614 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30615 (tst-nss-files-hosts-erange): Link with -ldl.
30616 * nss/tst-nss-files-hosts-erange.c: New file.
30617 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30618 (do_test): Add NO_DATA tests.
30619 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30620 (do_test): Call it.
30621
30622 2017-09-01 Florian Weimer <fweimer@redhat.com>
30623
30624 [BZ #21922]
30625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30626 coming from gethostbyname2_r.
30627
30628 2017-09-01 Florian Weimer <fweimer@redhat.com>
30629
30630 * support/namespace.h (struct support_chroot_configuration): Add
30631 hosts, host_conf.
30632 (struct support_chroot): Add path_hosts, path_host_conf.
30633 * support/support_chroot.c (write_file): New function.
30634 (support_chroot_create): Call it to process /etc/resolv.conf,
30635 /etc/hosts, /etc/host.conf.
30636 (support_chroot_free): Update.
30637
30638 2017-09-01 Florian Weimer <fweimer@redhat.com>
30639
30640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30641 status indicates it is set.
30642
30643 2017-09-01 Florian Weimer <fweimer@redhat.com>
30644
30645 [BZ #20532]
30646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30647 function lookup failures more reliable.
30648
30649 2017-09-01 Florian Weimer <fweimer@redhat.com>
30650
30651 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30652 (getcanonname): Likewise.
30653 (gaih_inet): Likewise.
30654
30655 2017-09-01 Florian Weimer <fweimer@redhat.com>
30656
30657 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30658 (getcanonname): Likewise.
30659 (gaih_inet): Likewise.
30660
30661 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30662 Richard Henderson <rth@twiddle.net>
30663
30664 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30665 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30666 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30667 (IREG_SIZE, OREG_SIZE): New macros.
30668 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30669 (IREG_SIZE, OREG_SIZE): New macros.
30670 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30671 (IREG_SIZE): New macro.
30672 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30673 (IREG_SIZE): New macro.
30674 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30675 New includes.
30676 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30677 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30678 (__CONCATX): Handle exceptions correctly on large values that may
30679 set FE_INVALID.
30680 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30681 Initialize if not already set.
30682 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30683
30684 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30685
30686 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30687 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30688 Likewise.
30689 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30690 Likewise.
30691 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30692 Likewise.
30693 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30694 Likewise.
30695 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30696 Likewise.
30697 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30698 Likewise.
30699 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30700 Likewise.
30701 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30702 (NO_CANCELLATION): Likewise.
30703 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30704 Likewise.
30705 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30706 Likewise.
30707 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30708 Likewise.
30709 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30710 (NO_CANCELLATION): Likewise.
30711 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30712 (NO_CANCELLATION): Likewise.
30713 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30714 Likewise
30715 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30716 Likewise.
30717 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30718 Likewise.
30719 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30720 Likewise.
30721 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30722 hidden prototype.
30723 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30724 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30725
30726 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30727
30728 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30729 in resolver call.
30730
30731 2017-08-31 Florian Weimer <fweimer@redhat.com>
30732
30733 * include/libc-symbols.h (internal_function): Remove.
30734
30735 2017-08-31 Florian Weimer <fweimer@redhat.com>
30736
30737 * stdlib/fmtmsg.c (internal_addseverity): Remove
30738 internal_function.
30739
30740 2017-08-31 Florian Weimer <fweimer@redhat.com>
30741
30742 * stdio-common/printf_fp.c (group_number): Remove
30743 internal_function.
30744 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30745
30746 2017-08-31 Florian Weimer <fweimer@redhat.com>
30747
30748 * posix/fnmatch.c (internal_function): Remove definition.
30749 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30750 * posix/regcomp.c (peek_token, init_word_char)
30751 (duplicate_node_closure, fetch_token, peek_token)
30752 (peek_token_bracket, build_range_exp, build_collating_symbol):
30753 Likewise.
30754 * posix/regex_internal.c (re_string_construct_common)
30755 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30756 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30757 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30758 (re_string_translate_buffer, re_string_reconstruct)
30759 (re_string_peek_byte_case, re_string_fetch_byte_case)
30760 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30761 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30762 (re_node_set_add_intersect, re_node_set_init_union)
30763 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30764 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30765 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30766 (re_acquire_state_context): Likewise.
30767 * posix/regex_internal.h (internal_function): Remove definition.
30768 (re_string_realloc_buffers, build_wcs_buffer)
30769 (build_wcs_upper_buffer, build_upper_buffer)
30770 (re_string_translate_buffer, re_string_context_at)
30771 (re_string_char_size_at, re_string_wchar_at)
30772 (re_string_elem_size_at): Likewise.
30773 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30774 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30775 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30776 (re_search_internal, re_search_2_stub, re_search_stub)
30777 (re_copy_regs, prune_impossible_nodes, check_matching)
30778 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30779 (free_fail_stack_return, sift_states_iter_mb)
30780 (sift_states_backward, build_sifted_states)
30781 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30782 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30783 (check_subexp_limits, sift_states_bkref, merge_state_array)
30784 (find_recover_state, transit_state, merge_state_with_log)
30785 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30786 (transit_state_mb, transit_state_bkref, get_subexp)
30787 (get_subexp_sub, find_subexp_node, check_arrival)
30788 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30789 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30790 (check_node_accept_bytes, find_collation_sequence_value)
30791 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30792 (acquire_init_state_context, check_halt_node_context)
30793 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30794 (sub_epsilon_src_nodes): Likewise.
30795 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30796 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30797 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30798 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30799 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30800 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30801 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30802 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30803 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30804 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30805 (PREADV): Likewise.
30806 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30807 (PREADV): Likewise.
30808 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30809 (PWRITEV): Likewise.
30810 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30811 (PWRITEV): Likewise.
30812 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30813 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30814
30815 2017-08-31 Florian Weimer <fweimer@redhat.com>
30816
30817 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30818 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30819 Remove internal_function.
30820 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30821 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30822 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30823 (__deallocate_stack, __libc_pthread_init)
30824 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30825 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30826 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30827 Likewise.
30828 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30829 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30830 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30831 Likewise.
30832 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30833 (__pthread_mutex_unlock_usercnt): Likewise.
30834
30835 2017-08-31 Florian Weimer <fweimer@redhat.com>
30836
30837 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30838 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30839 (fts_safe_changedir): Remove internal_function.
30840 * io/ftw.c (internal_function): Remove definition.
30841 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30842
30843 2017-08-31 Florian Weimer <fweimer@redhat.com>
30844
30845 * inet/deadline.c (__deadline_current_time)
30846 (__deadline_from_timeval, __deadline_to_ms): Remove
30847 internal_function.
30848 * inet/getnameinfo.c (nrl_domainname): Likewise.
30849 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30850 * inet/inet6_option.c (add_pad): Likewise.
30851 * inet/net-internal.h (__deadline_current_time)
30852 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30853 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30854 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30855 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30856
30857 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30858
30859 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30860 include <bits/nan.h>.
30861 * math/Makefile (headers): Remove bits/nan.h.
30862 * bits/nan.h: Remove.
30863 * sysdeps/ieee754/bits/nan.h: Likewise.
30864 * sysdeps/mips/bits/nan.h: Likewise.
30865
30866 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30867 not include <bits/inf.h>.
30868 * math/Makefile (headers): Remove bits/inf.h.
30869 * bits/inf.h: Remove.
30870 * sysdeps/ieee754/bits/inf.h: Likewise.
30871
30872 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30873 bits/huge_vall.h or bits/huge_val_flt128.h.
30874 (HUGE_VAL): Define directly here.
30875 [__USE_ISOC99] (HUGE_VALF): Likewise.
30876 [__USE_ISOC99] (HUGE_VALL): Likewise.
30877 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30878 (HUGE_VAL_F128): Likewise.
30879 * math/Makefile (headers): Remove bits/huge_val.h,
30880 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30881 * bits/huge_val.h: Remove.
30882 * bits/huge_val_flt128.h: Likewise.
30883 * bits/huge_valf.h: Likewise.
30884 * bits/huge_vall.h: Likewise.
30885 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30886 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30887 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30888 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30889 * sysdeps/sh/bits/huge_val.h: Likewise.
30890 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30891 * sysdeps/x86/bits/huge_vall.h: Likewise.
30892
30893 2017-08-31 Florian Weimer <fweimer@redhat.com>
30894
30895 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30896 internal_function.
30897 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30898 Likewise.
30899 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30900 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30901 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30902 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30903 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30904 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30905 * elf/dl-libc.c (dlerror_run): Likewise.
30906 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30907 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30908 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30909 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30910 Likewise.
30911 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30912 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30913 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30914 * elf/dl-profile.c (_dl_start_profile): Likewise.
30915 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30916 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30917 Likewise.
30918 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30919 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30920 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30921 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30922 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30923 (_dl_allocate_tls_storage): Likewise.
30924 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30925 (_dl_check_all_versions): Likewise.
30926 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30927 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30928 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30929 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30930 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30931 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30932 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30933 internal_function from __dl_start.
30934 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30935 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30936 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30937 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30938 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30939 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30940 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30941 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30942 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30943 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30944 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30945 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30946 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30947 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30948 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30949 Likewise.
30950 (struct rtld_global_ro): Remove internal_function from the
30951 _dl_lookup_symbol_x member.
30952 (_dl_symbol_value): Remove. No longer defined anywhere.
30953 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30954 internal_function.
30955 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30956 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30957 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30958 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30959 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30960 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30961 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30962 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30963 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30964 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30965 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30966 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30967
30968 2017-08-31 Florian Weimer <fweimer@redhat.com>
30969
30970 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30971 Remove internal_function.
30972 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30973 Likewise.
30974 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30975 Likewise.
30976
30977 2017-08-31 Florian Weimer <fweimer@redhat.com>
30978
30979 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30980 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30981 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30982
30983 2017-08-31 Florian Weimer <fweimer@redhat.com>
30984
30985 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30986 (__gai_enqueue_request): Remove internal_function.
30987 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30988 (__gai_remove_request, __gai_notify, __gai_notify_only)
30989 (__gai_sigqueue): Likewise.
30990 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30991 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30992 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30993 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30994 Likewise.
30995
30996 2017-08-31 Florian Weimer <fweimer@redhat.com>
30997
30998 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30999 * include/dirent.h (__opendirat, __getdents, __getdents64)
31000 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31001 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31002 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31003 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31004 Likewise.
31005 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31006
31007 2017-08-31 Florian Weimer <fweimer@redhat.com>
31008
31009 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31010 internal_function.
31011 (GETCWD_RETURN_TYPE): Likewise.
31012
31013 2017-08-31 Florian Weimer <fweimer@redhat.com>
31014
31015 * include/time.h (__tz_compute, __strptime_internal): Remove
31016 internal_function.
31017 * time/strptime_l.c (__strptime_internal): Likewise.
31018 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31019
31020 2017-08-31 Florian Weimer <fweimer@redhat.com>
31021
31022 * iconv/gconv.c (__gconv): Remove internal_function.
31023 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31024 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31025 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31026 (__gconv_release_cache): Likewise.
31027 * iconv/gconv_close.c (__gconv_close): Likewise.
31028 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31029 (read_conf_file, __gconv_get_path): Likewise.
31030 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31031 (__gconv_release_step, gen_steps, increment_counter)
31032 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31033 (__gconv_close_transform, free_modules_db): Likewise.
31034 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31035 Likewise.
31036 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31037 (__gconv_find_transform, __gconv_lookup_cache)
31038 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31039 (__gconv_close_transform, __gconv_release_cache)
31040 (__gconv_loaded_object, __gconv_release_shlib)
31041 (__gconv_compare_alias): Likewise.
31042 * iconv/gconv_open.c (__gconv_open): Likewise.
31043 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31044 * iconv/iconvconfig.c (add_module): Likewise.
31045 * intl/dcigettext.c (plural_lookup, guess_category_value)
31046 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31047 * intl/eval-plural.h (plural_eval): Likewise.
31048 * intl/finddomain.c (_nl_find_domain): Likewise.
31049 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31050 (_nl_load_domain, _nl_find_msg): Likewise.
31051 (internal_function): Remove definition.
31052 * intl/loadinfo.h (internal_function): Likewise.
31053 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31054 internal_function.
31055 * intl/localealias.c (internal_function): Remove definition.
31056 (read_alias_file): Remove internal_function.
31057 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31058 * intl/plural-exp.h (internal_function): Remove definition.
31059 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31060 internal_function.
31061 * intl/plural.c: Regenerate.
31062 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31063 * locale/coll-lookup.c (__collidx_table_lookup)
31064 (__collseq_table_lookup): Likewise.
31065 * locale/coll-lookup.h (__collidx_table_lookup)
31066 (__collseq_table_lookup): Likewise.
31067 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31068 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31069 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31070 (_nl_unload_locale): Likewise.
31071 * locale/localeinfo.h (struct __locale_data): Remove
31072 internal_function from cleanup member.
31073 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31074 (_nl_remove_locale, _nl_load_locale_from_archive)
31075 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31076 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31077 (_nl_cleanup_time): Remove internal_function.
31078 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31079 (_nl_parse_alt_digit): Likewise.
31080 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31081 (_nl_select_era_entry): Likewise.
31082 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31083 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31084 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31085 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31086 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31087
31088 2017-08-31 Florian Weimer <fweimer@redhat.com>
31089
31090 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31091 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31092 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31093 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31094 Likewise.
31095 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31096 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31097 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31098 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31099 Likewise.
31100 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31101
31102 2017-08-31 Florian Weimer <fweimer@redhat.com>
31103
31104 * misc/getttyent.c (skip, value): Remove internal_function.
31105 * misc/syslog.c (openlog_internal): Likewise.
31106 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31107
31108 2017-08-31 Florian Weimer <fweimer@redhat.com>
31109
31110 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31111 (__nss_rewrite_field): Remove internal_function.
31112 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31113 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31114 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31115 * nss/nsswitch.c (nss_parse_file, nss_getline)
31116 (nss_parse_service_list, nss_new_service): Likewise.
31117 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31118 * nss/valid_field.c (__nss_valid_field): Likewise.
31119 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31120
31121 2017-08-31 Florian Weimer <fweimer@redhat.com>
31122
31123 * malloc/arena.c (__malloc_fork_lock_parent)
31124 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31125 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31126 internal_function from defintions.
31127 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31128 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31129 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31130 internal_function from declarations.
31131 * malloc/malloc.c (internal_function): Do not define.
31132 (mem2mem_check): Remove internal_function from declaration.
31133 (munmap_chunk, mremap_chunk): Remove internal_function.
31134 * malloc/mtrace.c (tr_where): Likewise.
31135
31136 2017-08-31 Florian Weimer <fweimer@redhat.com>
31137
31138 * include/rpc/pmap_clnt.h (__get_socket): Remove
31139 internal_function.
31140 * sunrpc/auth_des.c (synchronize): Likewise.
31141 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31142 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31143 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31144 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31145 (key_call): Likewise.
31146 * sunrpc/pm_getport.c (__get_socket): Likewise.
31147 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31148 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31149 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31150 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31151 (invalidate): Likewise.
31152 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31153 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31154 (set_input_fragment, get_input_bytes): Likewise.
31155
31156 2017-08-31 Florian Weimer <fweimer@redhat.com>
31157
31158 * malloc/malloc.c (_int_free): Remove locked variable and related
31159 asserts.
31160
31161 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31162
31163 [BZ #22051]
31164 * Makerules (build-module-helper-objlist): Filter out
31165 $(elf-objpfx)sofini.os.
31166 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31167 needed.
31168
31169 2017-08-31 Florian Weimer <fweimer@redhat.com>
31170
31171 * libio/fcloseall.c: Assume weak_alias is defined.
31172 * libio/feof.c: Likewise.
31173 * libio/fileno.c: Likewise.
31174 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31175 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31176 definitions.
31177 (_IO_file_open): Call __open directly.
31178 (_IO_new_file_sync): Assume ESPIPE is defined.
31179 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31180 (_IO_new_file_write): Call __write directly.
31181 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31182 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31183 * libio/genops.c: Assume _LIBC is defined.
31184 (save_for_backup): Remove internal_function.
31185 * libio/getc.c: Assume weak_alias is defined.
31186 * libio/getwc.c: Likewise.
31187 * libio/iofclose.c: Assume _LIBC is defined.
31188 * libio/iofdopen.c: Likewise.
31189 (_IO_fcntl): Remove macro definition.
31190 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31191 Call __fcntl directly.
31192 * libio/iofflush.c: Assume weak_alias is defined.
31193 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31194 defined.
31195 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31196 * libio/iofgets.c: Likewise.
31197 * libio/iofopen.c: Assume _LIBC is defined.
31198 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31199 * libio/iofputs.c: Assume weak_alias is defined.
31200 * libio/iofread.c: Likewise.
31201 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31202 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31203 * libio/ioftell.c: Assume weak_alias is defined.
31204 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31205 * libio/iofwide.c: Assume _LIBC is defined.
31206 (_IO_fwide): Drop SHARED conditional because it is implied by
31207 SHLIB_COMPAT.
31208 * libio/iofwrite.c: Assume weak_alias is defined.
31209 * libio/iogetdelim.c: Likewise.
31210 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31211 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31212 (_IO_getwline): Call __wmemcpy directly.
31213 * libio/iopopen.c: Assume _LIBC is defined.
31214 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31215 (_IO_close): Remove macro definitions.
31216 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31217 _exit directly.
31218 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31219 directly.
31220 * libio/ioputs.c: Assume weak_alias is defined.
31221 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31222 * libio/iosetbuffer.c: Assume weak_alias is defined.
31223 * libio/iosetvbuf.c: Likewise.
31224 * libio/ioungetc.c: Likewise.
31225 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31226 libc_hidden_def, libc_hidden_weak, NULL are defined.
31227 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31228 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31229 defined.
31230 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31231 definitions.
31232 (_IO_old_file_init_internal): Drop SHARED conditional because it
31233 is implied by SHLIB_COMPAT.
31234 (_IO_old_file_fopen): Call __open directly.
31235 (_IO_old_file_sync): Assume ESPIPE is defined.
31236 (_IO_old_file_write): Call __write directly.
31237 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31238 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31239 Call __fcntl directly.
31240 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31241 (_IO_old_fgetpos): Assume EIO is defined.
31242 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31243 (_IO_old_fgetpos64): Assume EIO is defined.
31244 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31245 (_IO_old_fsetpos): Assume EIO is defined.
31246 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31247 (_IO_old_fsetpos64): Assume EIO is defined.
31248 * libio/oldiopopen.c: Assume _LIBC is defined.
31249 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31250 (_IO_close): Remove macro definitions.
31251 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31252 directly.
31253 (_IO_old_proc_close): Call __close, __waitpid directly.
31254 * libio/put.c: Assume weak_alias is defined.
31255 * libio/stdfiles.c: Assume _LIBC is defined.
31256 * libio/stdio.c: Likewise.
31257 * libio/wfileops.c: Likewise.
31258 (_IO_wfile_sync): Assume ESPIPE is defined.
31259 * libio/wgenops.c: Assume _LIBC is defined.
31260 (save_for_wbackup): Remove internal_function.
31261
31262 2017-08-31 Florian Weimer <fweimer@redhat.com>
31263
31264 * malloc/malloc.c (top_check): Change return type to void. Remove
31265 internal_function.
31266 * malloc/hooks.c (top_check): Likewise.
31267 (malloc_check, realloc_check, memalign_check): Adjust.
31268
31269 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31270
31271 [BZ #21457]
31272 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31273 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31274 sigcontext and namespace requirements.
31275 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31276 * sysdeps/m68k/sys/ucontext.h: Likewise.
31277 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31278 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31279 <bits/sigcontext.h>.
31280 (__ctx): Define earlier.
31281 (mcontext_t): Define structure contents rather than using struct
31282 sigcontext.
31283 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31284 __glibc_reserved1 instead of __reserved.
31285 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31286 <bits/sigcontext.h>.
31287 (__ctx): Define earlier.
31288 (mcontext_t): Define structure contents rather than using struct
31289 sigcontext.
31290 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31291 mcontext_t instead of struct sigcontext.
31292 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31293 <bits/sigcontext.h>.
31294 (__ctx): Define earlier.
31295 (mcontext_t): Define structure contents rather than using struct
31296 sigcontext.
31297 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31298 <bits/sigcontext.h>.
31299 (__ctx): Define earlier.
31300 (mcontext_t): Define structure contents rather than using struct
31301 sigcontext.
31302 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31303 mcontext_t instead of struct sigcontext.
31304 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31305 mcontext_t instead of struct sigcontext.
31306 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31307 <bits/sigcontext.h>.
31308 (__ctx): New macro.
31309 (struct __ia64_fpreg_mcontext): New type.
31310 (mcontext_t): Define structure contents rather than using struct
31311 sigcontext.
31312 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31313 (uc_sigmask): Define using __ctx.
31314 (uc_stack): Likewise.
31315 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31316 <bits/sigcontext.h>.
31317 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31318 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31319 <bits/sigcontext.h>.
31320 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31321 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31322 <bits/sigcontext.h>.
31323 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31324 <bits/sigcontext.h>.
31325 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31326 <bits/sigcontext.h>.
31327 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31328 <bits/sigcontext.h>.
31329 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31330 <bits/sigcontext.h>.
31331 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31332 <bits/sigcontext.h>.
31333 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31334 <bits/sigcontext.h>.
31335 (__ctx): Define earlier.
31336 (mcontext_t): Define structure contents rather than using struct
31337 sigcontext.
31338 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31339 <bits/sigcontext.h>. Include <bits/types.h>.
31340 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31341 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31342 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31343 (test-xfail-UNIX98/signal.h/conform): Likewise.
31344 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31345 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31346 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31347 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31348 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31349 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31350 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31351 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31352 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31353
31354 2017-08-30 Florian Weimer <fweimer@redhat.com>
31355
31356 * malloc/dynarray_emplace_enlarge.c
31357 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31358 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31359 * malloc/tst-dynarray.c (test_long_overflow): New function.
31360 (do_test): Call it.
31361
31362 2017-08-30 Florian Weimer <fweimer@redhat.com>
31363
31364 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31365 (set_arena_corrupt): Remove definitions.
31366 (mtrim): Do not check for corrupt arena.
31367 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31368 Likewise.
31369
31370 2017-08-30 Florian Weimer <fweimer@redhat.com>
31371
31372 [BZ #21754]
31373 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31374 check_action.
31375 (ptmalloc_init): Do not set or use check_action.
31376 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31377 call to malloc_printerr. Remove return statement.
31378 (free_check): Likewise. Remove arena unlock.
31379 (top_check): Update comment. Adjust call to malloc_printerr.
31380 Remove heap repair code.
31381 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31382 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31383 (sysmalloc): Adjust call to malloc_printerr.
31384 (munmap_chunk, __libc_realloc): Likewise. Remove return
31385 statement.
31386 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31387 Remove errout label and corresponding gotos.
31388 (_int_free): Likewise. Remove arena unlock.
31389 (do_set_mallopt_check): Do not set check_action.
31390 (malloc_printerr): Adjust parameter list. Do not mark arena as
31391 corrupt.
31392 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31393 comment.
31394 * manual/probes.texi (Memory Allocation Probes): Remove
31395 memory_mallopt_check_action.
31396
31397 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31398
31399 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31400 Use pointer to uint64_t instead of long int for sp.
31401
31402 2017-08-30 Florian Weimer <fweimer@redhat.com>
31403
31404 [BZ #21754]
31405 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31406 without printing a backtrace. Do not leak any information in the
31407 error message.
31408 * manual/memory.texi (Heap Consistency Checking): Update.
31409 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31410
31411 2017-08-30 Florian Weimer <fweimer@redhat.com>
31412
31413 Do not scale NPTL tests with available number of CPUs.
31414 * nptl/tst-cond16.c (count): Set to constant value of 8.
31415 * nptl/tst-cond18.c (count): Likewise.
31416
31417 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31418
31419 [BZ #22035]
31420 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31421 Define to take a second argument that is a macro that
31422 concatentates a suffix, not the suffix itself.
31423 (__CONCAT_d): New macro.
31424 (__CONCAT_f): Likewise.
31425 (__CONCAT_l): Likewise.
31426
31427 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31428
31429 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31430 by child.
31431
31432 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31433 Aurelien Jarno <aurelien@aurel32.net>
31434 Maciej W. Rozycki <macro@imgtec.com>
31435
31436 [BZ #21956]
31437 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31438 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31439 `mips16-syscall6' and `mips16-syscall7'.
31440 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31441 (CFLAGS-mips16-syscall7.c): Remove.
31442 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31443 Remove `__mips16_syscall5', `__mips16_syscall6' and
31444 `__mips16_syscall7'.
31445 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31446 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31447 `__mips_syscall_return'.
31448 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31449 (__mips16_syscall1): Likewise.
31450 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31451 (__mips16_syscall2): Likewise.
31452 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31453 (__mips16_syscall3): Likewise.
31454 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31455 (__mips16_syscall4): Likewise.
31456 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31457 Remove.
31458 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31459 Remove.
31460 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31461 Remove.
31462 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31463 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31464 `__mips16_syscall5'. Remove prototype.
31465 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31466 `__mips16_syscall6'. Remove prototype.
31467 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31468 `__mips16_syscall7'. Remove prototype.
31469 (__nomips16, __mips16_syscall_return): Move to...
31470 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31471 (__nomips16, __mips_syscall_return): ... here.
31472 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31473 `__mips16_syscall_return' to `__mips_syscall_return'.
31474 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31475 `internal_syscall##nr'.
31476 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31477 `internal_syscall##nr'.
31478 (FORCE_FRAME_POINTER): Remove.
31479 (__mips_syscall5): New prototype.
31480 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31481 (__mips_syscall6): New prototype.
31482 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31483 (__mips_syscall7): New prototype.
31484 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31485 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31486 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31487 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31488 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31489 (sysdep_routines): Add libc-do-syscall.
31490 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31491 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31492
31493 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31494
31495 [BZ #21672]
31496 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31497 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31498 (advise_stack_range): New function.
31499 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31500 stack non required to advise_stack_range at allocatestack.c
31501
31502 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31503
31504 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31505
31506 2017-08-29 Florian Weimer <fweimer@redhat.com>
31507
31508 [BZ #22026]
31509 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31510 __end_fct. Mangle __end_fct after setting it to NULL.
31511 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31512 (modules-names, modules-names-tests): Add
31513 tst-gconv-init-failure-mod.
31514 (gconv-modules): New target.
31515 (tst-gconv-init-failure-mod.so): Link against libsupport.
31516 (tst-gconv-init-failure): Depend on gconv-modules,
31517 tst-gconv-init-failure-mod.so.
31518 * iconv/tst-gconv-init-failure-mod.c: New file.
31519 * iconv/tst-gconv-init-failure.c: Likewise.
31520 * iconv/test-gconv-modules: Likewise.
31521
31522 2017-08-29 Florian Weimer <fweimer@redhat.com>
31523
31524 [BZ #22025]
31525 * iconv/gconv_db.c (free_derivation): Remove redundant
31526 parentheses.
31527 (gen_steps): Unconditionally mangle __btowc_fct after
31528 initialization.
31529 (increment_counter): Likewise. Do not call init_fct for internal
31530 modules.
31531
31532 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31533
31534 [BZ #22028]
31535 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31536 (_MSUF_): Remove macro.
31537 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31538 Likewise.
31539 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31540 (__REDIRFROM_X): New macro.
31541 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31542 Likewise.
31543 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31544 (__REDIRTO_X): Likewise.
31545 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31546 arguments.
31547 (__MATH_REDIRCALL_2): Likewise.
31548 (__MATH_REDIRCALL_INTERNAL): Likewise.
31549 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31550 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31551 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31552 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31553 * math/test-finite-macros.c: New file.
31554 * math/Makefile (tests): Add test-finite-macros.
31555 (CFLAGS-test-finite-macros.c): New variable.
31556
31557 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31558 Jeff Law <law@redhat.com>
31559
31560 [BZ #22025]
31561 Mangle NULL pointers in iconv/gconv.
31562 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31563 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31564 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31565 is non-NULL before demangling the end_fct. Check for NULL
31566 end_fct after demangling.
31567 (__gconv_release_step): Demangle the end_fct before checking
31568 it for NULL. Remove assert on __shlibc_handle != NULL.
31569 (gen_steps): Don't check btowc_fct for NULL before mangling.
31570 Demangle init_fct before checking for NULL.
31571 (increment_counter): Likewise.
31572 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31573 end_fct for NULL before mangling.
31574 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31575 for NULL.
31576
31577 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31578
31579 [BZ #21971]
31580 * locale/iso-639.def: add Morisyen.
31581
31582 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31583
31584 [BZ #21930]
31585 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31586 (iszero): New C++ implementation that does not use
31587 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31588 signaling nans are enabled, since __builtin_types_compatible_p
31589 is a C-only feature.
31590 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31591 defined, include ieee754_float128.h for access to the union and
31592 member ieee854_float128.ieee.
31593 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31594 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31595 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31596 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31597 options of test-math-zero on powerpc64le.
31598
31599 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31600
31601 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31602 Change double to float.
31603
31604 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31605
31606 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31607 unconditional.
31608 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31609 conditional code; define contents only for [LIBM_SVID_COMPAT].
31610
31611 2017-08-28 Florian Weimer <fweimer@redhat.com>
31612
31613 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31614 (abi-lp64_be-options): Remove.
31615 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31616 (abi-hard-options): Likewise.
31617 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31618 (abi-o32_hard-options, abi-o32_soft_2008-options)
31619 (abi-o32_hard_2008-options, abi-n32_soft-options)
31620 (abi-n32_hard-options, abi-n32_soft_2008-options)
31621 (abi-n32_hard_2008-options, abi-n64_soft-options)
31622 (abi-n64_hard-options, abi-n64_soft_2008-options)
31623 (abi-n64_hard_2008-options): Likewise.
31624 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31625 (abi-64-v1-options, abi-64-v2-options): Likewise.
31626 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31627 (abi-64-options): Likewise.
31628 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31629 (abi-64-options): Likewise.
31630 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31631 (abi-64-options): Likewise.
31632 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31633 (abi-64-options, abi-x32-options): Likewise.
31634
31635 2017-08-28 Florian Weimer <fweimer@redhat.com>
31636
31637 Store supported list of SYS_* system calls in the source tree.
31638 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31639 (bits/syscall.h): Generate from list file.
31640 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31641 [$(subdir) = misc] (tests): Add tst-syscall-list.
31642 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31643 [$(subdir) = misc] (tst-syscall-list-macros.list)
31644 [$(subdir) = misc] (tst-syscall-list-nr.list)
31645 (tst-syscall-list-sys.list): Helper targets for new
31646 tst-syscall-list test.
31647 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31648 tst-syscall-list.sh.
31649 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31650 target. Do not include bits/syscall.d.
31651 [$(subdir) = misc] (generated): Do not update.
31652 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31653 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31654 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31655 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31656
31657 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31658
31659 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31660 (tst-cxa_atexit, tst-on_exit): Likewise.
31661 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31662 tst-cxa_atexit, and tst-on_exit.
31663 * stdlib/tst-atexit-common.c: New file.
31664 * stdlib/tst-atexit.c: New file.
31665 * stdlib/tst-at_quick_exit.c: New file.
31666 * stdlib/tst-cxa_atexit.c: New file.
31667 * stdlib/tst-on_exit.c: New file.
31668
31669 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31670
31671 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31672 * mach/stack_chk_fail_local.c: New file.
31673 * hurd/stack_chk_fail_local.c: New file.
31674 * mach/Machrules ($(interface-library)-routines): Add
31675 stack_chk_fail_local.
31676 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31677 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31678 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31679 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31680 * hurd/Makefile (CFLAGS-hurdstartup.o,
31681 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31682
31683 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31684
31685 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31686 (index_cpu_*, index_arch_*): Removed.
31687
31688 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31689
31690 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31691 Use uint64_t instead of unsigned long.
31692
31693 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31694
31695 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31696 [__HAVE_DISTINCT_FLOAT128].
31697
31698 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31699 of <bits/math-finite.h>.
31700 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31701 inclusion of <bits/math-finite.h>.
31702 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31703 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31704 __NO_LONG_DOUBLE_MATH].
31705 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31706 (__MATH_REDIRCALL_2): Likewise.
31707 (__MATH_REDIRCALL_INTERNAL): Likewise.
31708 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31709 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31710 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31711
31712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31713 Remove file.
31714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31715 Likewise.
31716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31717 Likewise.
31718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31719 Likewise.
31720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31721 Likewise.
31722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31723 Likewise.
31724 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31725 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31726 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31727 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31729 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31730 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31731 w_sqrtf_compat-ppc32.
31732
31733 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31734
31735 * math/math.h [defined __cplusplus] (issignaling): In the long
31736 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31737 is not defined. Call __issignaling, otherwise.
31738
31739 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31740
31741 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31742 syscall definitions and replace __builtin_expect with __glibc_likely.
31743 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31744 syscall.
31745 (SYSCALL_CANCELLABLE): Removedefinition
31746 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31747 definition.
31748 (PSEUDO_END): Likewise.
31749 [IS_IN (libpthread)] (CENABLE): Likewise.
31750 [IS_IN (libpthread)] (CDISABLE): Likewise.
31751 [IS_IN (libc)] (CENABLE): Likewise.
31752 [IS_IN (libc)] (CENABLE): Likewise.
31753 [IS_IN (librt)] (CDISABLE): Likewise.
31754 [IS_IN (librt)] (CDISABLE): Likewise.
31755 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31756 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31757 definition.
31758 (PSEUDO_END): Likewise.
31759 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31760 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31761 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31762 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31763 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31764 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31765 (CENABLE): Likewise.
31766 (CDISABLE): Likewise.
31767 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31768 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31769 defintion.
31770 (PSEUDO_END): Likewise.
31771 [IS_IN (libpthread)] (CENABLE): Likewise.
31772 [IS_IN (libpthread)] (CDISABLE): Likewise.
31773 [IS_IN (libc)] (CENABLE): Likewise.
31774 [IS_IN (libc)] (CENABLE): Likewise.
31775 [IS_IN (librt)] (CDISABLE): Likewise.
31776 [IS_IN (librt)] (CDISABLE): Likewise.
31777 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31778 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31779 definition.
31780 (PSEUDO_END): Likewise.
31781 [IS_IN (libpthread)] (CENABLE): Likewise.
31782 [IS_IN (libpthread)] (CDISABLE): Likewise.
31783 [IS_IN (libc)] (CENABLE): Likewise.
31784 [IS_IN (libc)] (CENABLE): Likewise.
31785 [IS_IN (librt)] (CDISABLE): Likewise.
31786 [IS_IN (librt)] (CDISABLE): Likewise.
31787 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31788 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31789 definition.
31790 (PSEUDO_END): Likewise.
31791 [IS_IN (libpthread)] (CENABLE): Likewise.
31792 [IS_IN (libpthread)] (CDISABLE): Likewise.
31793 [IS_IN (libc)] (CENABLE): Likewise.
31794 [IS_IN (libc)] (CENABLE): Likewise.
31795 [IS_IN (librt)] (CDISABLE): Likewise.
31796 [IS_IN (librt)] (CDISABLE): Likewise.
31797 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31798 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31799 definition.
31800 (PSEUDO_END): Likewise.
31801 [IS_IN (libpthread)] (CENABLE): Likewise.
31802 [IS_IN (libpthread)] (CDISABLE): Likewise.
31803 [IS_IN (libc)] (CENABLE): Likewise.
31804 [IS_IN (libc)] (CENABLE): Likewise.
31805 [IS_IN (librt)] (CDISABLE): Likewise.
31806 [IS_IN (librt)] (CDISABLE): Likewise.
31807 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31808 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31809 definition.
31810 (PSEUDO_END): Likewise.
31811 [IS_IN (libpthread)] (CENABLE): Likewise.
31812 [IS_IN (libpthread)] (CDISABLE): Likewise.
31813 [IS_IN (libc)] (CENABLE): Likewise.
31814 [IS_IN (libc)] (CENABLE): Likewise.
31815 [IS_IN (librt)] (CDISABLE): Likewise.
31816 [IS_IN (librt)] (CDISABLE): Likewise.
31817 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31818 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31819 definition.
31820 (PSEUDO_END): Likewise.
31821 [IS_IN (libpthread)] (CENABLE): Likewise.
31822 [IS_IN (libpthread)] (CDISABLE): Likewise.
31823 [IS_IN (libc)] (CENABLE): Likewise.
31824 [IS_IN (libc)] (CENABLE): Likewise.
31825 [IS_IN (librt)] (CDISABLE): Likewise.
31826 [IS_IN (librt)] (CDISABLE): Likewise.
31827 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31828 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31829 Remove definition.
31830 (PSEUDO_END): Likewise.
31831 [IS_IN (libpthread)] (CENABLE): Likewise.
31832 [IS_IN (libpthread)] (CDISABLE): Likewise.
31833 [IS_IN (libc)] (CENABLE): Likewise.
31834 [IS_IN (libc)] (CENABLE): Likewise.
31835 [IS_IN (librt)] (CDISABLE): Likewise.
31836 [IS_IN (librt)] (CDISABLE): Likewise.
31837 (SINGLE_THREAD_P): Likewise.
31838 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31839 definition.
31840 (PSEUDO_END): Likewise.
31841 [IS_IN (libpthread)] (CENABLE): Likewise.
31842 [IS_IN (libpthread)] (CDISABLE): Likewise.
31843 [IS_IN (libc)] (CENABLE): Likewise.
31844 [IS_IN (libc)] (CENABLE): Likewise.
31845 [IS_IN (librt)] (CDISABLE): Likewise.
31846 [IS_IN (librt)] (CDISABLE): Likewise.
31847 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31848 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31849 definition.
31850 (PSEUDO_END): Likewise.
31851 [IS_IN (libpthread)] (CENABLE): Likewise.
31852 [IS_IN (libpthread)] (CDISABLE): Likewise.
31853 [IS_IN (libc)] (CENABLE): Likewise.
31854 [IS_IN (libc)] (CENABLE): Likewise.
31855 [IS_IN (librt)] (CDISABLE): Likewise.
31856 [IS_IN (librt)] (CDISABLE): Likewise.
31857 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31858 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31859 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31860 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31862 definition.
31863 (PSEUDO_END): Likewise.
31864 [IS_IN (libpthread)] (CENABLE): Likewise.
31865 [IS_IN (libpthread)] (CDISABLE): Likewise.
31866 [IS_IN (libc)] (CENABLE): Likewise.
31867 [IS_IN (libc)] (CENABLE): Likewise.
31868 [IS_IN (librt)] (CDISABLE): Likewise.
31869 [IS_IN (librt)] (CDISABLE): Likewise.
31870 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31872 definition.
31873 (PSEUDO_END): Likewise.
31874 [IS_IN (libpthread)] (CENABLE): Likewise.
31875 [IS_IN (libpthread)] (CDISABLE): Likewise.
31876 [IS_IN (libc)] (CENABLE): Likewise.
31877 [IS_IN (libc)] (CENABLE): Likewise.
31878 [IS_IN (librt)] (CDISABLE): Likewise.
31879 [IS_IN (librt)] (CDISABLE): Likewise.
31880 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31881 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31882 definition.
31883 (PSEUDO_END): Likewise.
31884 [IS_IN (libpthread)] (CENABLE): Likewise.
31885 [IS_IN (libpthread)] (CDISABLE): Likewise.
31886 [IS_IN (libc)] (CENABLE): Likewise.
31887 [IS_IN (libc)] (CENABLE): Likewise.
31888 [IS_IN (librt)] (CDISABLE): Likewise.
31889 [IS_IN (librt)] (CDISABLE): Likewise.
31890 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31891 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31893 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31894 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31895 definition.
31896 (PSEUDO_END): Likewise.
31897 [IS_IN (libpthread)] (CENABLE): Likewise.
31898 [IS_IN (libpthread)] (CDISABLE): Likewise.
31899 [IS_IN (libc)] (CENABLE): Likewise.
31900 [IS_IN (libc)] (CENABLE): Likewise.
31901 [IS_IN (librt)] (CDISABLE): Likewise.
31902 [IS_IN (librt)] (CDISABLE): Likewise.
31903 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31904 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31905 definition.
31906 (PSEUDO_END): Likewise.
31907 [IS_IN (libpthread)] (CENABLE): Likewise.
31908 [IS_IN (libpthread)] (CDISABLE): Likewise.
31909 [IS_IN (libc)] (CENABLE): Likewise.
31910 [IS_IN (libc)] (CENABLE): Likewise.
31911 [IS_IN (librt)] (CDISABLE): Likewise.
31912 [IS_IN (librt)] (CDISABLE): Likewise.
31913 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31914
31915 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31916
31917 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31918
31919 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31920
31921 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31922
31923 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31924
31925 [BZ #21982]
31926 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31927 middle and outer with size_t instead of int. Repleace %d and
31928 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31929 "MAX (outer, nchars - 64)" to support unsigned outer and
31930 nchars. Also exit loop when outer == 0.
31931
31932 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31933
31934 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31935 * include/signal.h (__sigsuspend_nocancel): Likewise.
31936 * include/time.h (__nanosleep_nocancel): Likewise.
31937 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31938 * login/utmp_file.c: Include non cancellable syscall header.
31939 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31940 prototype.
31941
31942 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31943
31944 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31945 .byte sequences with AVX512F instructions.
31946 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31947 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31948 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31949 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31950 Likewise.
31951 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31952 Likewise.
31953
31954 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31955 Steve Ellcey <sellcey@cavium.com>
31956
31957 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31958 Use PTR_REG macro in cmp instruction.
31959
31960 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31961
31962 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31963 Change the return type of the ifunc resolver to match the return
31964 type of the target function.
31965
31966 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31967
31968 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31969 (preadv64): Likewise.
31970 (pwrite64(: Likewise.
31971 (pwritev64): Likewise.
31972
31973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31974 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31975 (LOAD_ARGS_0): Likewise.
31976 (LOAD_ARGS_1): Likewise.
31977 (LOAD_ARGS_2): Likewise.
31978 (LOAD_ARGS_3): Likewise.
31979 (LOAD_ARGS_4): Likewise.
31980 (LOAD_ARGS_5): Likewise.
31981 (LOAD_ARGS_6): Likewise.
31982 (LOAD_REGS_0): Likewise.
31983 (LOAD_REGS_1): Likewise.
31984 (LOAD_REGS_2): Likewise.
31985 (LOAD_REGS_3): Likewise.
31986 (LOAD_REGS_4): Likewise.
31987 (LOAD_REGS_5): Likewise.
31988 (LOAD_REGS_6): Likewise.
31989 (ASM_ARGS_0): Likewise.
31990 (ASM_ARGS_1): Likewise.
31991 (ASM_ARGS_2): Likewise.
31992 (ASM_ARGS_3): Likewise.
31993 (ASM_ARGS_4): Likewise.
31994 (ASM_ARGS_5): Likewise.
31995 (ASM_ARGS_6): Likewise.
31996 (LOAD_ARGS_TYPES_1): Likewise.
31997 (LOAD_ARGS_TYPES_2): Likewise.
31998 (LOAD_ARGS_TYPES_3): Likewise.
31999 (LOAD_ARGS_TYPES_4): Likewise.
32000 (LOAD_ARGS_TYPES_5): Likewise.
32001 (LOAD_ARGS_TYPES_6): Likewise.
32002 (LOAD_REGS_TYPES_1): Likewise.
32003 (LOAD_REGS_TYPES_2): Likewise.
32004 (LOAD_REGS_TYPES_3): Likewise.
32005 (LOAD_REGS_TYPES_4): Likewise.
32006 (LOAD_REGS_TYPES_5): Likewise.
32007 (LOAD_REGS_TYPES_6): Likewise.
32008 (TYPEFY): New define.
32009 (ARGIFY): Likewise.
32010 (internal_syscall0): Likewise.
32011 (internal_syscall1): Likewise.
32012 (internal_syscall2): Likewise.
32013 (internal_syscall3): Likewise.
32014 (internal_syscall4): Likewise.
32015 (internal_syscall5): Likewise.
32016 (internal_syscall6): Likewise.
32017 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32018 (INTERNAL_SYSCALL_NCS): Remove define.
32019 (internal_syscall1): Add define.
32020
32021 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32022
32023 * math/w_remainder_compat.c: Remove duplicate inclusion of
32024 math-svid-compat.h.
32025 * math/w_remainderf_compat.c: Likewise.
32026 * math/w_remainderl_compat.c: Likewise.
32027
32028 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32029
32030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32031
32032 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32033
32034 [BZ #21684]
32035 * math/tgmath.h (__floating_type): Simplify definitions.
32036 (__real_integer_type): New macro.
32037 (__complex_integer_type): Likewise.
32038 (__expr_is_real): Likewise.
32039 (__tgmath_real_type_sub): Update comment to describe handling of
32040 complex types.
32041 (__tgmath_complex_type_sub): New macro.
32042 (__tgmath_complex_type): Likewise.
32043 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32044 (__TGMATH_CF128): Use __expr_is_real.
32045 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32046 __expr_is_real.
32047 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32048 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32049 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32050 integer types.
32051
32052 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32053
32054 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32055 macro.
32056 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32057 alias.
32058 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32059 Likewise.
32060
32061 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32062 nanosleep_not_cancel with __nanosleep_nocancel.
32063 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32064 (__nanosleep_nocancel): New macro.
32065 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32066 function.
32067 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32068 macro.
32069 (__nanosleep_nocancel): New prototype.
32070
32071 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32072 pause_not_cancel with __pause_nocancel.
32073 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32074 (__pause_nocancel): New macro.
32075 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32076 macro.
32077 (__pause_nocancel): New prototype.
32078 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32079
32080 2017-08-22 Martin Sebor <msebor@redhat.com>
32081
32082 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32083 to return a pointer to the same type as the target function.
32084
32085 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32086
32087 [BZ #18822]
32088 [BZ #21986]
32089 * include/printf.h (__printf_fphex): Add attribute_hidden.
32090 (__guess_grouping): New prototype.
32091 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32092 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32093 libc_hidden_proto and libc_hidden_def.
32094 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32095 (__vstrfmon_l): Remove the third argument passed to
32096 __guess_grouping.
32097
32098 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32099
32100 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32101 definition for issignaling that does not rely on __MATH_TG,
32102 since __MATH_TG uses __builtin_types_compatible_p, which is only
32103 available in C mode.
32104 (CFLAGS-test-math-issignaling.cc): New variable.
32105 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32106 * math/test-math-issignaling.cc: New test for C++ implementation
32107 of type-generic issignaling.
32108 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32109 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32110 options of test-math-issignaling on powerpc64le.
32111
32112 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32113
32114 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32115 building libc.a.
32116 (hidden_proto): Likewise.
32117 (hidden_tls_proto): Likewise.
32118 (__hidden_proto): Likewise.
32119
32120 2017-08-22 Florian Weimer <fweimer@redhat.com>
32121
32122 math: Statically link tests of internal functionality.
32123 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32124 atest-exp2.
32125 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32126 (gmp-objs): Remove assignment.
32127 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32128
32129 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32130
32131 [BZ #21987]
32132 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32133 and copy to ...
32134 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32135 ... here.
32136 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32137 ... and here.
32138
32139 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32140 variable definitions above inclusion of ../Rules.
32141
32142 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32143
32144 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32145 case calling __builtin_unreachable.
32146
32147 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32148
32149 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32150 __waitpid_nocancel.
32151 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32152 (__waitpid_nocancel): New macro.
32153 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32154 macro.
32155 (__waitpid_nocancel): Replace macro with a function.
32156 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32157 function.
32158
32159 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32160 __fcntl_nocancel.
32161 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32162 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32163
32164 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32165 __writev_nocancel_nostatus.
32166 (write_call_graph): Likewise.
32167 (write_bb_counts): Likewise.
32168 * resolv/herror.c (herror): Likewise.
32169 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32170 macro.
32171 (__writev_nocancel_nostatus): New macro.
32172 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32173 Remove macro.
32174 (__writev_nocancel_nostatus): New function.
32175
32176 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32177
32178 Revert:
32179 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32180
32181 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32182 building libc.a.
32183 (hidden_proto): Likewise.
32184 (hidden_tls_proto): Likewise.
32185 (__hidden_proto): Likewise.
32186
32187 [BZ #21973]
32188 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32189 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32191 Likewise.
32192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32193 Likewise.
32194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32195 Likewise.
32196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32197 Likewise.
32198 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32199 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32200 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32201 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32202 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32203 GLIBC_2.0 sqrtl symbol.
32204
32205 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32206 [__USE_MISC] (_LIB_VERSION): Likewise.
32207 [__USE_MISC] (struct exception): Likewise.
32208 [__USE_MISC] (matherr): Likewise.
32209 [__USE_MISC] (DOMAIN): Likewise.
32210 [__USE_MISC] (SING): Likewise.
32211 [__USE_MISC] (OVERFLOW): Likewise.
32212 [__USE_MISC] (UNDERFLOW): Likewise.
32213 [__USE_MISC] (TLOSS): Likewise.
32214 [__USE_MISC] (PLOSS): Likewise.
32215 [__USE_MISC] (HUGE): Likewise.
32216 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32217 * math/math-svid-compat.h: New file.
32218 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32219 and matherrl.
32220 * include/math.h [!_ISOMAC] (__matherr): Remove.
32221 * manual/arith.texi (FP Exceptions): Do not document matherr.
32222 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32223 (tests-internal): New variable.
32224 (install-lib): Do not add libieee.a.
32225 (non-lib.a): Likewise.
32226 (extra-objs): Do not add libieee.a and ieee-math.o.
32227 (CPPFLAGS-s_lib_version.c): Remove variable.
32228 ($(objpfx)libieee.a): Remove rule.
32229 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32230 * math/ieee-math.c: Remove.
32231 * math/libm-test-support.c (matherr): Remove.
32232 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32233 and license notices. Include <math-svid-compat.h> and
32234 <shlib-compat.h>.
32235 (matherr): Undefine as macro. Use compat_symbol_reference.
32236 (_LIB_VERSION): Likewise.
32237 * math/test-matherr-2.c: New file.
32238 * math/test-matherr-3.c: Likewise.
32239 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32240 declaration.
32241 (__kernel_standard_f): Likewise.
32242 (__kernel_standard_l): Likewise.
32243 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32244 <math_private.h>. Include <math-svid-compat.h>.
32245 (_LIB_VERSION): Undefine as macro.
32246 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32247 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32248 [LIBM_SVID_COMPAT], use compat_symbol.
32249 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32250 <math_private.h>. Include <math-svid-compat.h>.
32251 (matherr): Undefine as macro.
32252 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32253 compat_symbol.
32254 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32255 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32256 compat_symbol_reference.
32257 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32258 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32259 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32260 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32261 (MATHERR_D): Remove declaration.
32262 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32263 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32264 [LIBM_BUILD] (pmatherrf): Likewise.
32265 [LIBM_BUILD] (pmatherr): Likewise.
32266 [LIBM_BUILD] (pmatherrl): Likewise.
32267 (DOMAIN): Likewise.
32268 (SING): Likewise.
32269 (OVERFLOW): Likewise.
32270 (UNDERFLOW): Likewise.
32271 (TLOSS): Likewise.
32272 (PLOSS): Likewise.
32273 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32274 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32275 compat_symbol.
32276 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32277 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32278 compat_symbol.
32279 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32280 * math/w_acos_compat.c: Likewise.
32281 * math/w_acosf_compat.c: Likewise.
32282 * math/w_acosh_compat.c: Likewise.
32283 * math/w_acoshf_compat.c: Likewise.
32284 * math/w_acoshl_compat.c: Likewise.
32285 * math/w_acosl_compat.c: Likewise.
32286 * math/w_asin_compat.c: Likewise.
32287 * math/w_asinf_compat.c: Likewise.
32288 * math/w_asinl_compat.c: Likewise.
32289 * math/w_atan2_compat.c: Likewise.
32290 * math/w_atan2f_compat.c: Likewise.
32291 * math/w_atan2l_compat.c: Likewise.
32292 * math/w_atanh_compat.c: Likewise.
32293 * math/w_atanhf_compat.c: Likewise.
32294 * math/w_atanhl_compat.c: Likewise.
32295 * math/w_cosh_compat.c: Likewise.
32296 * math/w_coshf_compat.c: Likewise.
32297 * math/w_coshl_compat.c: Likewise.
32298 * math/w_exp10_compat.c: Likewise.
32299 * math/w_exp10f_compat.c: Likewise.
32300 * math/w_exp10l_compat.c: Likewise.
32301 * math/w_exp2_compat.c: Likewise.
32302 * math/w_exp2f_compat.c: Likewise.
32303 * math/w_exp2l_compat.c: Likewise.
32304 * math/w_fmod_compat.c: Likewise.
32305 * math/w_fmodf_compat.c: Likewise.
32306 * math/w_fmodl_compat.c: Likewise.
32307 * math/w_hypot_compat.c: Likewise.
32308 * math/w_hypotf_compat.c: Likewise.
32309 * math/w_hypotl_compat.c: Likewise.
32310 * math/w_j0_compat.c: Likewise.
32311 * math/w_j0f_compat.c: Likewise.
32312 * math/w_j0l_compat.c: Likewise.
32313 * math/w_j1_compat.c: Likewise.
32314 * math/w_j1f_compat.c: Likewise.
32315 * math/w_j1l_compat.c: Likewise.
32316 * math/w_jn_compat.c: Likewise.
32317 * math/w_jnf_compat.c: Likewise.
32318 * math/w_jnl_compat.c: Likewise.
32319 * math/w_lgamma_main.c: Likewise.
32320 * math/w_lgamma_r_compat.c: Likewise.
32321 * math/w_lgammaf_main.c: Likewise.
32322 * math/w_lgammaf_r_compat.c: Likewise.
32323 * math/w_lgammal_main.c: Likewise.
32324 * math/w_lgammal_r_compat.c: Likewise.
32325 * math/w_log10_compat.c: Likewise.
32326 * math/w_log10f_compat.c: Likewise.
32327 * math/w_log10l_compat.c: Likewise.
32328 * math/w_log2_compat.c: Likewise.
32329 * math/w_log2f_compat.c: Likewise.
32330 * math/w_log2l_compat.c: Likewise.
32331 * math/w_log_compat.c: Likewise.
32332 * math/w_logf_compat.c: Likewise.
32333 * math/w_logl_compat.c: Likewise.
32334 * math/w_pow_compat.c: Likewise.
32335 * math/w_powf_compat.c: Likewise.
32336 * math/w_powl_compat.c: Likewise.
32337 * math/w_remainder_compat.c: Likewise.
32338 * math/w_remainderf_compat.c: Likewise.
32339 * math/w_remainderl_compat.c: Likewise.
32340 * math/w_scalb_compat.c: Likewise.
32341 * math/w_scalbf_compat.c: Likewise.
32342 * math/w_scalbl_compat.c: Likewise.
32343 * math/w_sinh_compat.c: Likewise.
32344 * math/w_sinhf_compat.c: Likewise.
32345 * math/w_sinhl_compat.c: Likewise.
32346 * math/w_sqrt_compat.c: Likewise.
32347 * math/w_sqrtf_compat.c: Likewise.
32348 * math/w_sqrtl_compat.c: Likewise.
32349 * math/w_tgamma_compat.c: Likewise.
32350 * math/w_tgammaf_compat.c: Likewise.
32351 * math/w_tgammal_compat.c: Likewise.
32352 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32353 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32354 * sysdeps/ieee754/k_standard.c: Likewise.
32355 * sysdeps/ieee754/k_standardf.c: Likewise.
32356 * sysdeps/ieee754/k_standardl.c: Likewise.
32357 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32358 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32359 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32360 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32361 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32362 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32363 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32364 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32365 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32367 Likewise.
32368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32369 Likewise.
32370 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32372 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32373 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32374
32375 2017-08-21 Florian Weimer <fweimer@redhat.com>
32376
32377 [BZ #21864]
32378 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32379 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32380 Move before inclusion of ../Rules.
32381
32382 2017-08-21 Florian Weimer <fweimer@redhat.com>
32383
32384 [BZ #21972]
32385 * assert/assert.h (assert): Use static_cast (bool) for C++.
32386 Use the ternary operator in the warning branch for GNU C.
32387 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32388 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32389 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32390 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32391 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32392
32393 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32394
32395 [BZ #18822]
32396 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32397 (__syscall_clock_gettime): Add attribute_hidden.
32398 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32399 (__start_context): Likewise.
32400
32401 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32402
32403 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32404 building libc.a.
32405 (hidden_proto): Likewise.
32406 (hidden_tls_proto): Likewise.
32407 (__hidden_proto): Likewise.
32408
32409 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32410
32411 * include/libc-symbols.h (attribute_hidden): Enable hidden
32412 visibility in libc.a compiled with PIE.
32413
32414 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32415
32416 [BZ #18822]
32417 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32418 Add attribute_hidden.
32419
32420 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32421
32422 [BZ #21864]
32423 * Makerules (all-nonlib): Add $(others-extras).
32424 * catgets/Makefile (others-extras): New.
32425 * elf/Makefile (others-extras): Likewise.
32426 * nss/Makefile (others-extras): Likewise.
32427
32428 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32429
32430 [BZ #18822]
32431 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32432 * elf/dl-open.c: Include <libc-internal.h>.
32433 (__libc_multiple_libcs): Removed.
32434 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32435 <hp-timing.h>.
32436 * include/libc-internal.h (__libc_multiple_libcs): New.
32437 * misc/sbrk.c: Include <libc-internal.h>.
32438 (__libc_multiple_libcs): Removed.
32439
32440 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32441
32442 [BZ #18822]
32443 * grp/initgroups.c (__nss_group_database): Removed.
32444 (__nss_initgroups_database): Likewise.
32445 * nscd/gai.c (__nss_hosts_database): Likewise.
32446 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32447 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32448 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32449 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32450 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32451 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32452 attribute_hidden.
32453 * nss/nsswitch.c (__nss_database_custom): Define only if
32454 USE_NSCD is defined.
32455 (__nss_configure_lookup): Use __nss_database_custom only if
32456 USE_NSCD is defined.
32457 * nss/nsswitch.h (__nss_database_custom): Declare only if
32458 USE_NSCD is defined. Add attribute_hidden.
32459 (__nss_setent): Add attribute_hidden.
32460 (__nss_endent): Likewise.
32461 (__nss_getent_r): Likewise.
32462 (__nss_getent): Likewise.
32463 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32464
32465 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32466
32467 [BZ #18822]
32468 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32469 libc_hidden_proto and libc_hidden_def.
32470
32471 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32472
32473 [BZ #18822]
32474 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32475 Add libc_hidden_proto.
32476 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32477 Add libc_hidden_def.
32478
32479 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32480
32481 [BZ #21974]
32482 * gmon/Makefile (routines): Remove bb_init_func and
32483 bb_exit_func.
32484 (elide-routines.os): Removed.
32485 * gmon/bb_exit_func.c: Likewise.
32486 * gmon/bb_init_func.c: Likewise.
32487 * include/sys/gmon.h (__bb): Likewise.
32488 (__bb_init_func): Likewise.
32489 (__bb_exit_func): Likewise.
32490 * sysdeps/alpha/bb_init_func.S: Likewise.
32491
32492 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32493
32494 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32495 * include/setjmp.h (____longjmp_chk): Here. Add
32496 attribute_hidden.
32497
32498 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32499
32500 [BZ #18822]
32501 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32502 attribute_hidden.
32503 (__strspn_sse2): Likewise.
32504
32505 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32506
32507 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32508 (close_not_cancel_no_status): Likewise.
32509 (__close_nocancel): New macro.
32510 (__close_nocancel_nostatus): Likewise.
32511 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32512 macro.
32513 (close_not_cancel): Likewise.
32514 (close_not_cancel_no_status): Likewise.
32515 (__close_nocancel): New prototype.
32516 (__close_nocancel_nostatus): New function.
32517 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32518 * catgets/open_catalog.c (__open_catalog): Replace
32519 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32520 * gmon/gmon.c (write_gmon): Likewise.
32521 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32522 * intl/loadmsgcat.c (close): Likewise.
32523 * io/ftw.c (open_dir_stream): Likewise.
32524 (ftw_startup): Likewise.
32525 * libio/fileops.c (_IO_file_open): Likewise.
32526 (_IO_file_close_mmap): Likewise.
32527 (_IO_file_close): Likewise.
32528 * libio/iopopen.c (_IO_dup2): Likewise.
32529 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32530 * locale/loadlocale.c (_nl_load_locale): Likewise.
32531 * login/utmp_file.c (pututline_file): Likewise.
32532 (endutent_file): Likewise.
32533 * misc/daemon.c (daemon): Likewise.
32534 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32535 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32536 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32537 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32538 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32539 * nscd/nscd_helper.c (open_socket): Likewise.
32540 (__nscd_open_socket): Likewise.
32541 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32542 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32543 (__nscd_innetgr): Likewise.
32544 * nss/nss_db/db-open.c (internal_setent): Likewise.
32545 * resolv/res-close.c (__res_iclose): Likewise.
32546 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32547 * sysdeps/posix/closedir.c (__closedir): Likewise.
32548 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32549 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32550 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32551 (opendir_tail): Likewise.
32552 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32553 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32554 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32555 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32556 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32557 (gethostid): Likewise.
32558 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32559 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32560 Likewise.
32561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32562 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32563 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32564 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32565 Likewise.
32566 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32567 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32568 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32569 Likewise.
32570 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32571 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32572 Likewise.
32573 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32574 Likewise.
32575 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32576 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32577 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32578 __close_nocancel.
32579
32580 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32581 (openat_not_cancel_3): Likewise.
32582 (openat64_not_cancel_3): Likewise).
32583 (openat_not_cancel_3): Likewise).
32584 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32585 macro.
32586 (openat_not_cancel_3): Likewise.
32587 (openat64_not_cancel): Likewise.
32588 (openat64_not_cancel_3): Likewise.
32589 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32590 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32591 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32592 __open{64}_nocancel.
32593 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32594 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32595 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32596
32597 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32598
32599 [BZ #18822]
32600 * include/argz.h (__argz_create_sep): New function prototype.
32601 (__argz_append): Likewise.
32602 (__argz_add): Likewise.
32603 (__argz_add_sep): Likewise.
32604 (__argz_delete): Likewise.
32605 (__argz_insert): Likewise.
32606 (__argz_replace): Likewise.
32607 * string/argz.h (__argz_create_sep): Removed.
32608 (__argz_append): Likewise.
32609 (__argz_add): Likewise.
32610 (__argz_add_sep): Likewise.
32611 (__argz_delete): Likewise.
32612 (__argz_insert): Likewise.
32613 (__argz_replace): Likewise.
32614
32615 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32616
32617 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32618 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32619 (GNU_PROPERTY_STACK_SIZE): Likewie.
32620 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32621 (GNU_PROPERTY_LOPROC): Likewise.
32622 (GNU_PROPERTY_HIPROC): Likewise.
32623 (GNU_PROPERTY_LOUSER): Likewise.
32624 (GNU_PROPERTY_HIUSER): Likewise.
32625 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32626 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32627 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32628 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32629 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32630 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32631 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32632 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32633 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32634 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32635 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32636 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32637 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32638 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32639 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32640 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32641 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32642 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32643 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32644 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32645 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32646 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32647 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32648
32649 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32650
32651 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32652 in C++ mode.
32653
32654 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32655
32656 [BZ #21930]
32657 * math/math.h (isinf): Check if in C or C++ mode before using
32658 __builtin_types_compatible_p, since this is a C mode feature.
32659
32660 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32661
32662 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32663 (__write_nocancel): New macro.
32664 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32665 Rewrite as a function prototype.
32666 (write_not_cancel): Remove macro.
32667 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32668 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32669 (write_gmon): Likewise.
32670 * libio/fileops.c (_IO_new_file_write): Likewise.
32671 * login/utmp_file.c (pututline_file): Likewise.
32672 (updwtmp_file): Likewise.
32673 * stdio-common/psiginfo.c (psiginfo): Likewise.
32674 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32675 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32676 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32677 Likewise.
32678 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32679 Likewise.
32680
32681 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32682 (__read_nocancel): New macro.
32683 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32684 __read_nocancel.
32685 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32686 macro.
32687 (__read_nocancel): New prototype.
32688 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32689 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32690 with __read_nocancel.
32691 * intl/loadmsgcat.c (read): Likewise.
32692 * libio/fileops.c (_IO_file_read): Likewise.
32693 * locale/loadlocale.c (_nl_load_locale): Likewise.
32694 * login/utmp_file.c (getutent_r_file): Likewise.
32695 (internal_getut_r): Likewise.
32696 (getutline_r_file): Likewise.
32697 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32698 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32699 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32700 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32701 Likewise.
32702 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32703 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32704 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32705 Likewise.
32706 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32707 Likewise.
32708 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32709 Likewise.
32710 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32711 Likewise.
32712 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32713
32714 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32715
32716 [BZ #21966]
32717 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32718 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32719 usable.
32720
32721 2017-08-17 DJ Delorie <dj@redhat.com>
32722
32723 * bug17079.c: Update to new test harness.
32724 * test-digits-dots.c: Likewise.
32725 * test-netdb.c: Likewise.
32726 * tst-field.c: Likewise.
32727 * tst-nss-getpwent.c: Likewise.
32728 * tst-nss-static.c: Likewise.
32729 * tst-nss-test1.c: Likewise.
32730 * tst-nss-test2.c: Likewise.
32731 * tst-nss-test3.c: Likewise.
32732 * tst-nss-test4.c: Likewise.
32733 * tst-nss-test5.c: Likewise.
32734
32735 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32736
32737 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32738 (open_not_cancel_2): Likewise.
32739 (open_nocancel): New macro.
32740 (open64_nocancel): Likewise.
32741 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32742 (open_not_cancel_2): Likewise.
32743 (__open_nocancel): New prototype.
32744 (__open64_nocancel): Likewise.
32745 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32746 __open_nocancel.
32747 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32748 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32749 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32750 with __open_nocancel.
32751 * csu/check_fds.c (check_one_fd): Likewise.
32752 * gmon/gmon.c (write_gmon): Likewise.
32753 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32754 * intl/loadmsgcat.c (open): Likewise.
32755 * libio/fileops.c (_IO_file_open): Likewise.
32756 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32757 * locale/loadlocale.c (_nl_load_locale): Likewise.
32758 * login/utmp_file.c (setutent_file): Likewise.
32759 * misc/daemon.c (daemon): Likewise.
32760 * nss/nss_db/db-open.c (internal_setent): Likewise.
32761 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32762 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32763 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32764 (__opendir): Likewise.
32765 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32766 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32767 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32768 (gethostid): Likewise.
32769 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32770 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32771 Likewise.
32772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32773 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32774 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32775 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32776 Likewise.
32777 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32778 Likewise.
32779 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32780 Likewise.
32781 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32782 Likewise.
32783 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32784 Likewise.
32785 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32786 Likewise.
32787 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32788 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32789
32790 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32791
32792 * benchtests/bench-skeleton.c (main): Add support for
32793 latency benchmarking.
32794 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32795
32796 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32797
32798 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32799 the startup object.
32800
32801 2017-08-17 Florian Weimer <fweimer@redhat.com>
32802
32803 * include/sys/socket.h (__opensock): Remove internal_function.
32804 * socket/opensock.c (__opensock): Likewise.
32805 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32806
32807 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32808
32809 [BZ #21944]
32810 * signal/bits/types/__sigval_t.h: New file.
32811 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32812 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32813 and define sigval_t using __sigval_t.
32814 * include/bits/types/__sigval_t.h: New file.
32815 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32816 instead of <bits/types/__sigval_t.h>.
32817 (struct sigevent): Use __sigval_t instead of sigval_t.
32818 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32819 instead of <bits/types/__sigval_t.h>.
32820 (siginfo_t): Use __sigval_t instead of sigval_t.
32821 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32822 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32823 (struct sigevent): Use __sigval_t instead of sigval_t.
32824 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32825 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32826 (siginfo_t): Use __sigval_t instead of sigval_t.
32827 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32828
32829 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32830
32831 * NEWS: Remove "[Add new features here]" for 2.27.
32832
32833 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32834
32835 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32836 libc.so.
32837
32838 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32839
32840 * NEWS: Mention x86-64 FMA optimization.
32841
32842 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32843
32844 [BZ #21912]
32845 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32846 Add e_expf-fma.
32847 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32848 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32849 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32850
32851 2017-08-16 Andreas Schwab <schwab@suse.de>
32852
32853 [BZ #16750]
32854 CVE-2009-5064
32855 * elf/ldd.bash.in: Never run file directly.
32856
32857 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32858
32859 [BZ #21955]
32860 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32861 (L(SP_INF_0)): Likewise.
32862
32863 2017-08-15 Florian Weimer <fweimer@redhat.com>
32864
32865 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32866 run-built-tests.
32867
32868 2017-08-15 Florian Weimer <fweimer@redhat.com>
32869
32870 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32871 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32872 BROKEN_THREAD_SIGNALS code.
32873 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32874 request_list): Remove caller_pid member used for
32875 BROKEN_THREAD_SIGNALS.
32876 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32877 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32878 Remove BROKEN_THREAD_SIGNALS support.
32879 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32880 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32881
32882 2017-08-15 Florian Weimer <fweimer@redhat.com>
32883
32884 * gmon/Makefile (tests): Add tst-gmon.
32885 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32886 Set.
32887 (tests-special): Add tst-gmon-prof.out.
32888 (tst-gmon.out): Depend on clean-tst-gmon-data.
32889 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32890 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32891 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32892 startup object.
32893 * aclocal.m4 (GPROF): Set and substitute.
32894 * config.amke.in (GPROF): Set.
32895 * configure: Regenerate.
32896
32897 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32898
32899 * elf/elf.h A (NT_PPC_TAR): New macro.
32900 (NT_PPC_PPR): Likewise.
32901 (NT_PPC_DSCR): Likewise.
32902 (NT_PPC_EBB): Likewise.
32903 (NT_PPC_PMU): Likewise.
32904 (NT_PPC_TM_CGPR): Likewise.
32905 (NT_PPC_TM_CFPR): Likewise.
32906 (NT_PPC_TM_CVMX): Likewise.
32907 (NT_PPC_TM_CVSX): Likewise.
32908 (NT_PPC_TM_SPR): Likewise.
32909 (NT_PPC_TM_CTAR): Likewise.
32910 (NT_PPC_TM_CPPR): Likewise.
32911 (NT_PPC_TM_CDSCR): Likewise.
32912
32913 2017-08-15 Florian Weimer <fweimer@redhat.com>
32914
32915 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32916 regparm (2) instead of internal_function.
32917 (_MCOUNT_DECL): Adjust.
32918
32919 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32920
32921 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32922 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32923
32924 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32925
32926 * conform/data/sys/wait.h-data (si_value): Do not expect for
32927 XPG42.
32928
32929 2017-08-14 Florian Weimer <fweimer@redhat.com>
32930
32931 [BZ #21962]
32932 NSS: Create stubs for accidentally exported lookup functions.
32933 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32934 Remove declaration.
32935 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32936 (ether_hostton): Call __nss_ethers_lookup2 instead.
32937 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32938 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32939 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32940 (setup): Call __nss_netgroup_lookup2 instead.
32941 * nss/Makefile (routines): Add compat-lookup.
32942 * nss/Versions (GLIBC_2.27): Add symbol version.
32943 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32944 (DB_COMPAT_FCT): Remove.
32945 * nss/compat-lookup.c: New file.
32946 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32947 from databases.def.
32948 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32949 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32950 (netname2user): Call __nss_publickey_lookup2 instead.
32951 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32952 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32953 instead.
32954
32955 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32956 Sergei Trofimovich <slyfox@inbox.ru>
32957
32958 [BZ #21908]
32959 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32960 Rename to MMAP2_PAGE_UNIT.
32961 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32962 __OFF_T_MATCHES_OFF64_T is not defined.
32963 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32964 uint64_t.
32965 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32966 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32967
32968 2017-08-14 Florian Weimer <fweimer@redhat.com>
32969
32970 i386: Do not set internal_function.
32971 * config.h.in (USE_REGPARMS, internal_function): Remove.
32972 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32973 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32974
32975 2017-08-14 Florian Weimer <fweimer@redhat.com>
32976
32977 * elf/dl-init.c (_dl_init): Remove internal_function.
32978 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32979 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32980
32981 2017-08-14 Florian Weimer <fweimer@redhat.com>
32982
32983 * elf/rtld.c (_dl_start): Remove internal_function.
32984 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32985 _dl_start.
32986
32987 2017-08-14 Florian Weimer <fweimer@redhat.com>
32988
32989 * elf/dl-fini.c (_dl_fini): Remove internal_function
32990 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32991
32992 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32993
32994 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32995 (bit_cpu_SHSTK): Likewise.
32996 (index_cpu_IBT): Likewise.
32997 (index_cpu_SHSTK): Likewise.
32998 (reg_IBT): Likewise.
32999 (reg_SHSTK): Likewise.
33000 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33001 Handle index_cpu_IBT and index_cpu_SHSTK.
33002
33003 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33004
33005 [BZ #19982]
33006 * po/fr.po: Fix spelling mistake.
33007
33008 2017-08-13 Florian Weimer <fweimer@redhat.com>
33009
33010 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33011 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33012 (_dl_catch_error, _dl_receive_error): Likewise.
33013 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33014 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33015 (_dl_deallocate_tls): Likewise.
33016 * include/dlfcn.h (_dl_addr): Likewise.
33017 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33018 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33019 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33020 Likewise.
33021
33022 2017-08-13 Florian Weimer <fweimer@redhat.com>
33023
33024 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33025 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33026 internal_function.
33027 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33028
33029 2017-08-13 Florian Weimer <fweimer@redhat.com>
33030
33031 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33032 internal_function.
33033 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33034 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33035 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33036 internal_function from _dl_make_stack_executable_hook member.
33037 (_dl_make_stack_executable): Remove internal_function.
33038 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33039 Likewise.
33040 * sysdeps/unix/sysv/linux/dl-execstack.c
33041 (_dl_make_stack_executable): Likewise.
33042
33043 2017-08-13 Florian Weimer <fweimer@redhat.com>
33044
33045 * sysdeps/unix/sysv/linux/netlinkaccess.h
33046 (__netlink_assert_response): Remove internal_function.
33047 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33048 (__netlink_assert_response): Likewise.
33049
33050 2017-08-13 Florian Weimer <fweimer@redhat.com>
33051
33052 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33053 internal_function.
33054 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33055
33056 2017-08-13 Florian Weimer <fweimer@redhat.com>
33057
33058 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33059 internal_function.
33060 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33061 * inet/netgroup.h (__internal_setnetgrent)
33062 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33063 * inet/getnetgrent_r.c (__internal_setnetgrent)
33064 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33065 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33066 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33067 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33068 * nss/nsswitch.h (db_lookup_function): Likewise.
33069
33070 2017-08-13 Florian Weimer <fweimer@redhat.com>
33071
33072 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33073 Remove internal_function.
33074 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33075 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33076 message argument on the stack.
33077 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33078 Likeweise.
33079
33080 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33081
33082 Adapt test case data to the changes in the thousands
33083 separators.
33084
33085 [BZ #20756]
33086 * localedata/tst-langinfo.sh: Adapt test case data.
33087 * stdlib/tst-strfmon_l.c: Likewise.
33088 * stdlib/tst-strtod4.c: Likewise.
33089 * stdlib/tst-strtod5i.c: Likewise.
33090
33091 2017-08-11 Florian Weimer <fweimer@redhat.com>
33092
33093 [BZ #21242]
33094 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33095 Suppress pedantic warning resulting from statement expression.
33096 (__ASSERT_FUNCTION): Add missing __extension__.
33097
33098 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33099
33100 * benchtests/bench-memmove-large.c: Print output in JSON
33101 format.
33102 * benchtests/bench-memmove.c: Likewise.
33103
33104 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33105 * benchtests/bench-memchr.c (do_one_test): Likewise.
33106 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33107 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33108 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33109 * benchtests/bench-memmove.c (do_one_test): Likewise.
33110 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33111 * benchtests/bench-memset.c (do_one_test): Likewise.
33112 * benchtests/bench-string.h (test_init): Remove memsets.
33113
33114 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33115
33116 * manual/lang.texi
33117 (Computing the Width of an Integer Data Type): Rename section to
33118 "Width of an Integer Type". Remove inaccurate statement regarding
33119 lack of C language facilities for determining width of integer
33120 types, and reorder content to improve flow and context of
33121 discussion.
33122
33123 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33124
33125 * lang.texi (va_copy): Change standard from ISO to C99.
33126 (__va_copy): Add standard and header annotation.
33127 Update description for clarity of origins and current use.
33128
33129 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33130
33131 [BZ #21941]
33132 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33133 xssqrtqp requires operands to be in Vector Registers
33134 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33135 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33136 (__ieee754_sqrtf128): Likewise.
33137
33138 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33139
33140 * sysdeps/aarch64/memcmp.S (memcmp):
33141 Rewrite of optimized memcmp.
33142
33143 2017-08-10 Florian Weimer <fweimer@redhat.com>
33144
33145 Introduce ld.so exceptions.
33146 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33147 (_dl_exception_create, _dl_exception_create_format)
33148 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33149 (_dl_catch_exception): Declare.
33150 (_dl_catch_error): Update comment.
33151 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33152 errstring, malloced members with exception member.
33153 (_dl_out_of_memory): Remove.
33154 (fatal_error): New function, extracted from _dl_signal_error.
33155 (_dl_signal_exception, _dl_signal_cexception): New functions.
33156 (_dl_signal_error): Call _dl_exception_create to allocate an
33157 exception object.
33158 (_dl_catch_exception): New function, based on _dl_catch_error.
33159 (_dl_catch_error): Implement using _dl_catch_exception.
33160 * elf/dl-exception.c: New file.
33161 * elf/Makefile (dl-routines): Add dl-exception.
33162 (elide-routines.os): Likewise.
33163 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33164 _dl_exception_create_format, _dl_exception_free.
33165 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33166 _dl_signal_exception.
33167 * elf/dl-lookup.c (make_string): Remove.
33168 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33169 _dl_signal_cexception, _dl_exception_free.
33170 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33171 _dl_signal_exception.
33172 * elf/dl-sym.c (do_sym): Likewise.
33173 * elf/dl-version.c (make_string): Remove.
33174 (match_symbol): Use _dl_exception_create_format,
33175 _dl_signal_cexception, _dl_exception_free.
33176 (_dl_check_map_versions): Likewise.
33177 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33178 _dl_catch_exception.
33179 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33180 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33181 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33182 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33183 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33184 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33185 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33186 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33187 Likewise.
33188 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33190 (ld.so): Likewise.
33191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33192 (ld.so): Likewise.
33193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33194 Likewise.
33195 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33196 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33197 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33198 Likewise.
33199 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33200 Likewise.
33201 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33202
33203 2017-08-10 Florian Weimer <fweimer@redhat.com>
33204
33205 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33206 attribute_hidden, internal_function.
33207 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33208 internal_function.
33209
33210 2017-08-10 Florian Weimer <fweimer@redhat.com>
33211
33212 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33213 function which calls __builtin_unreachable.
33214
33215 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33216
33217 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33218 Indian monetary formatting
33219 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33220 test cases.
33221
33222 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33223
33224 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33225 Fix typo in comment.
33226
33227 [BZ #21928]
33228 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33229 PTRACE_SEIZE_DEVEL): Remove.
33230 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33231 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33232 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33233 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33234 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33235
33236 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33237
33238 * posix/bits/types.h (__qaddr_t): Remove.
33239
33240 [BZ #21457]
33241 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33242 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33243 __glibc_reserved1.
33244 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33245 (ucontext_t): Use __ctx with uc_flags.
33246 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33247 (__ctxt): Likewise.
33248 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33249 __glibc_reserved1.
33250 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33251 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33252 __glibc_reserved1.
33253 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33254 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33255 __glibc_reserved1.
33256 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33257 macro.
33258 (ucontext_t): Use __ctx with uc_flags.
33259 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33260 (ucontext_t): Use __ctx with uc_flags.
33261 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33262 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33263 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33264 (ucontext_t): Use __ctx with uc_flags.
33265 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33266 undefine further down.
33267 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33268 __glibc_reserved1.
33269 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33270 undefine further down.
33271 (ucontext_t): Use __ctx with uc_flags.
33272 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33273 undefine further down.
33274 (ucontext_t): Use __ctx with uc_flags.
33275 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33276 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33277 Rename uc_pad to __glibc_reserved1.
33278 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33279 undefine further down.
33280 (ucontext_t): Use __ctx with uc_flags.
33281 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33282 further down.
33283 (ucontext_t): Use __ctx with uc_flags.
33284 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33285 __ctx with uc_flags.
33286 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33287 (ucontext_t): Use __ctx with uc_flags.
33288 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33289 __ctx with uc_flags.
33290
33291 2017-08-09 Florian Weimer <fweimer@redhat.com>
33292
33293 [BZ #21932]
33294 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33295 before early return.
33296
33297 2017-08-09 Andreas Schwab <schwab@suse.de>
33298
33299 [BZ #21041]
33300 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33301 renamed alias.
33302
33303 [BZ #21041]
33304 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33305 tst-compat-forwarder.
33306 (modules-names): Add tst-compat-forwarder-mod.
33307 ($(objpfx)tst-compat-forwarder): Depend on
33308 $(objpfx)tst-compat-forwarder-mod.so.
33309 * nptl/tst-compat-forwarder.c: New file.
33310 * nptl/tst-compat-forwarder-mod.c: New file.
33311
33312 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33313
33314 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33315 comments.
33316
33317 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33318 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33319 memcpy_falkor.
33320 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33321 Bump.
33322 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33323 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33324 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33325 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33326 Add falkor.
33327 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33328 New macro.
33329
33330 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33331
33332 [BZ #759]
33333 * manual/setjmp.texi (getcontex): Document uc_stack value
33334 compatibility differences.
33335
33336 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33337
33338 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33339 (old_malloc_hook): Likewise.
33340 (old_memalign_hook): Likewise.
33341 (old_realloc_hook): Likewise.
33342 (struct hdr): Likewise.
33343 (flood): Likewise.
33344 (freehook): Likewise.
33345 (mallochook): Likewise.
33346 (memalignhook): Likewise.
33347 (reallochook): Likewise.
33348 (mprobe): Likewise.
33349 * malloc/mtrace.c (mallwatch): Likewise.
33350 (tr_old_free_hook): Likewise.
33351 (tr_old_malloc_hook): Likewise.
33352 (tr_old_realloc_hook): Likewise.
33353 (tr_old_memalign_hook): Likewise.
33354 (tr_where): Likewise.
33355 (lock_and_info): Likewise.
33356 (tr_freehook): Likewise.
33357 (tr_mallochook): Likewise.
33358 (tr_reallochook): Likewise.
33359 (tr_memalignhook): Likewise.
33360 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33361 * misc/mmap.c (__mmap): Likewise.
33362 * misc/mmap64.c (__mmap64): Likewise.
33363 * misc/mprotect.c (__mprotect): Likewise.
33364 * misc/msync.c (msync): Likewise.
33365 * misc/munmap.c (__munmap): Likewise.
33366 * posix/posix_madvise.c (posix_madvise): Likewise.
33367 * socket/send.c (__send): Likewise.
33368 * socket/sendto.c (__sendto): Likewise.
33369 * socket/setsockopt.c (__setsockopt): Likewise.
33370 * string/memcmp.c (__ptr_t): Remove macro.
33371 (MEMCMP): Use void * instead of ptr_t.
33372 * string/memrchr.c (__ptr_t): Remove macro.
33373 (__memrchr): Use void * instead of ptr_t.
33374 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33375 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33376 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33377 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33378 * sysdeps/mach/msync.c (msync): Likewise.
33379 * sysdeps/mach/munmap.c (__munmap): Likewise.
33380 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33381 Likewise.
33382 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33383 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33384 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33385 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33386 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33387 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33388 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33389 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33390 Likewise.
33391 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33392 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33393 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33394 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33395 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33396 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33397 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33398 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33399 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33400 Likewise.
33401 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33402 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33403 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33404 (MEMCMP): Use void * instead of ptr_t.
33405 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33406 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33407
33408 2017-08-08 Florian Weimer <fweimer@redhat.com>
33409
33410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33411 return statement.
33412
33413 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33414
33415 [BZ #21913]
33416 * csu/libc-tls.c: Include <startup.h> first.
33417 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33418 * elf/dl-tunables.c: Include <startup.h> first.
33419 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33420 * sysdeps/generic/startup.h: New file.
33421 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33422 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33423 (I386_USE_SYSENTER): New. Defined to 0.
33424
33425 2017-08-08 Andreas Schwab <schwab@suse.de>
33426
33427 [BZ #21041]
33428 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33429 * nptl/pt-system.c (system): Likewise.
33430
33431 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33432
33433 [BZ #21780]
33434 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33435 EOPNOTSUPP.
33436 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33437 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33438 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33439 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33440 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33441 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33442 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33443
33444 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33445
33446 [BZ #21899]
33447 * bits/sigaction.h (struct sigaction): Define sa_handler and
33448 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33449 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33450 [__USE_XOPEN_EXTENDED].
33451 (SA_RESTART): Likewise.
33452 (SA_NODEFER): Likewise.
33453 (SA_RESETHAND): Likewise.
33454 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33455 (struct sigaction): Define sa_handler and sa_sigaction using union
33456 also for [__USE_XOPEN_EXTENDED].
33457 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33458 [__USE_XOPEN_EXTENDED].
33459 (SA_RESTART): Likewise.
33460 (SA_NODEFER): Likewise.
33461 (SA_RESETHAND): Likewise.
33462 * sysdeps/unix/sysv/linux/bits/sigaction.h
33463 (struct sigaction): Define sa_handler and sa_sigaction using union
33464 also for [__USE_XOPEN_EXTENDED].
33465 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33466 [__USE_XOPEN_EXTENDED].
33467 (SA_RESTART): Likewise.
33468 (SA_NODEFER): Likewise.
33469 (SA_RESETHAND): Likewise.
33470 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33471 (struct sigaction): Define sa_handler and sa_sigaction using union
33472 also for [__USE_XOPEN_EXTENDED].
33473 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33474 [__USE_XOPEN_EXTENDED].
33475 (SA_RESTART): Likewise.
33476 (SA_NODEFER): Likewise.
33477 (SA_RESETHAND): Likewise.
33478 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33479 (struct sigaction): Define sa_handler and sa_sigaction using union
33480 also for [__USE_XOPEN_EXTENDED].
33481 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33482 [__USE_XOPEN_EXTENDED].
33483 (SA_RESTART): Likewise.
33484 (SA_NODEFER): Likewise.
33485 (SA_RESETHAND): Likewise.
33486 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33487 (struct sigaction): Define sa_handler and sa_sigaction using union
33488 also for [__USE_XOPEN_EXTENDED].
33489 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33490 [__USE_XOPEN_EXTENDED].
33491 (SA_RESTART): Likewise.
33492 (SA_NODEFER): Likewise.
33493 (SA_RESETHAND): Likewise.
33494 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33495 (struct sigaction): Define sa_handler and sa_sigaction using union
33496 also for [__USE_XOPEN_EXTENDED].
33497 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33498 [__USE_XOPEN_EXTENDED].
33499 (SA_RESTART): Likewise.
33500 (SA_NODEFER): Likewise.
33501 (SA_RESETHAND): Likewise.
33502 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33503 (struct sigaction): Define sa_handler and sa_sigaction using union
33504 also for [__USE_XOPEN_EXTENDED].
33505 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33506 [__USE_XOPEN_EXTENDED].
33507 (SA_RESTART): Likewise.
33508 (SA_NODEFER): Likewise. Define directly rather than as alias.
33509 (SA_RESETHAND): Likewise.
33510 (SA_INTERRUPT): Define only for [__USE_MISC].
33511 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33512 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33513 [__USE_MISC].
33514 (SA_STACK): Define only for [__USE_MISC].
33515 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33516 (struct sigaction): Define sa_handler and sa_sigaction using union
33517 also for [__USE_XOPEN_EXTENDED].
33518 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33519 [__USE_XOPEN_EXTENDED].
33520 (SA_RESTART): Likewise.
33521 (SA_NODEFER): Likewise.
33522 (SA_RESETHAND): Likewise.
33523 (SA_NOPTRACE): Define only for [__USE_MISC].
33524
33525 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33526 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33527 (struct catalog_info): Likewise.
33528 * inet/htontest.c (lo): Likewise.
33529 (foo): Likewise.
33530 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33531 * inet/inet_net.c (inet_network): Likewise.
33532 * inet/inet_netof.c (inet_netof): Likewise.
33533 * inet/rcmd.c (__ivaliduser): Likewise.
33534 (iruserok): Likewise.
33535 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33536 * locale/programs/locale-spec.c (locale_special): Likewise.
33537 * nis/nis_findserv.c (struct findserv_req): Likewise.
33538 (__nis_findfastest_with_timeout): Likewise.
33539 * nss/test-netdb.c (test_network): Likewise.
33540 * resolv/inet_neta.c (inet_neta): Likewise.
33541 * resolv/ns_date.c (ns_datetosecs): Likewise.
33542 (SECS_PER_DAY): Likewise.
33543 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33544 Likewise.
33545 * resolv/res_comp.c (__putlong): Likewise.
33546 (__putshort): Likewise.
33547 (_getlong): Likewise.
33548 (_getshort): Likewise.
33549 * resolv/res_debug.c (p_time): Likewise.
33550 (precsize_ntoa): Likewise.
33551 (precsize_aton): Likewise.
33552 (latlon2ul): Likewise.
33553 (loc_aton): Likewise.
33554 (loc_ntoa): Likewise.
33555 * resolv/res_hconf.c (struct netaddr): Likewise.
33556 (_res_hconf_reorder_addrs): Likewise.
33557 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33558 (clnttcp_control): Likewise.
33559 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33560 (clntudp_control): Likewise.
33561 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33562 (clntunix_control): Likewise.
33563 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33564 * sunrpc/rpc/auth.h (union des_block): Likewise.
33565 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33566 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33567 (xdrrec_create): Likewise.
33568 (xdrrec_endofrecord): Likewise.
33569 (flush_out): Likewise.
33570 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33571 (xdrstdio_putlong): Likewise.
33572 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33573 Likewise.
33574
33575 * misc/sys/cdefs.h (__long_double_t): Remove.
33576 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33577 instead of __long_double_t,
33578 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33579
33580 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33581
33582 * benchtests/scripts/compare_strings.py: Avoid display error when
33583 running on a text terminal.
33584
33585 * benchtests/scripts/compare_strings.py (main): Add an
33586 optional -base option.
33587 (process_results): New argument base_func.
33588
33589 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33590 hardcoding memcpy.
33591 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33592 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33593
33594 2017-08-07 Andreas Schwab <schwab@suse.de>
33595
33596 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33597 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33598 * intl/Makefile ($(objpfx)tst-gettext.out)
33599 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33600 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33601 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33602 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33603 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33604 * posix/Makefile ($(objpfx)globtest.out)
33605 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33606 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33607 ($(objpfx)tst-printf.out): Likewise.
33608 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33609 ($(objpfx)tst-setcontext3.out): Likewise.
33610
33611 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33612
33613 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33614 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33615 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33616 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33617 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33618 and mptan-fma.
33619 (CFLAGS-doasin-fma.c): New.
33620 (CFLAGS-dosincos-fma.c): Likewise.
33621 (CFLAGS-e_asin-fma.c): Likewise.
33622 (CFLAGS-e_atan2-fma.c): Likewise.
33623 (CFLAGS-e_exp-fma.c): Likewise.
33624 (CFLAGS-e_log-fma.c): Likewise.
33625 (CFLAGS-e_pow-fma.c): Likewise.
33626 (CFLAGS-halfulp-fma.c): Likewise.
33627 (CFLAGS-mpa-fma.c): Likewise.
33628 (CFLAGS-mpatan-fma.c): Likewise.
33629 (CFLAGS-mpatan2-fma.c): Likewise.
33630 (CFLAGS-mpexp-fma.c): Likewise.
33631 (CFLAGS-mplog-fma.c): Likewise.
33632 (CFLAGS-mpsqrt-fma.c): Likewise.
33633 (CFLAGS-mptan-fma.c): Likewise.
33634 (CFLAGS-s_atan-fma.c): Likewise.
33635 (CFLAGS-sincos32-fma.c): Likewise.
33636 (CFLAGS-slowexp-fma.c): Likewise.
33637 (CFLAGS-slowpow-fma.c): Likewise.
33638 (CFLAGS-s_sin-fma.c): Likewise.
33639 (CFLAGS-s_tan-fma.c): Likewise.
33640 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33641 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33642 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33643 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33644 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33645 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33646 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33647 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33648 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33649 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33650 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33651 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33652 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33653 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33654 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33656 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33657 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33659 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33660 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33661 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33662 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33663 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33664 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33665 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33666 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33667 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33668 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33669 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33670 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33671
33672 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33673
33674 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33675 (min_of_type_f): New macro.
33676 (min_of_type_): Likewise.
33677 (min_of_type_l): Likewise.
33678 (min_of_type_f128): Likewise.
33679 (min_of_type): Define using __MATH_TG and taking an expression
33680 argument.
33681 (math_check_force_underflow): Pass expression instead of type to
33682 min_of_type.
33683 (math_check_force_underflow_nonneg): Likewise.
33684
33685 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33686
33687 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33688 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33689 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33690
33691 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33692
33693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33694 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33695 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33696 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33697 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33698 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33699 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33700 memmove_chk-nonshared and memset_chk-nonshared
33701 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33702 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33703 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33704 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33705 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33706 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33707 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33708 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33709 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33710 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33711 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33712 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33713 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33714 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33715 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33716 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33717 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33718 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33719 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33720 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33721 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33722 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33723 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33724 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33725 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33726 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33727 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33728 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33729 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33730 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33731 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33732 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33733 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33734 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33735 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33736 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33737 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33738 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33739 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33740 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33741 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33742 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33743 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33744 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33745 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33746 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33747 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33748 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33749 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33750 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33751 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33752 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33753 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33754 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33755 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33756 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33757 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33758 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33759 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33760 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33761 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33762 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33763 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33764 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33765 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33766 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33767 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33768 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33769 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33770 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33771 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33772 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33773 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33774 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33775 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33776 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33777 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33778 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33779 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33780 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33781 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33782 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33783 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33784 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33785 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33786 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33787 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33788 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33789 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33790 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33791 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33792 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33793 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33794 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33795 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33796 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33797 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33798 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33799 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33800 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33801 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33802 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33803 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33804 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33805 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33806 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33807 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33808 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33809
33810 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33811
33812 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33813 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33814 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33815 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33816 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33817 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33818 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33819 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33820 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33821 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33822 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33823 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33824 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33825 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33826 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33827 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33828 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33829 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33830 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33831 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33832 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33833 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33834 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33835 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33836 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33837 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33838 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33839 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33840 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33841 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33842 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33843 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33844 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33845 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33846 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33847 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33848 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33849 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33850 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33851 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33852 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33853 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33854 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33855 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33856 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33857 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33858 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33859 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33860 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33861 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33862 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33863 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33864 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33865 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33866 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33867 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33868 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33869 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33870 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33871 ...
33872 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33873 Don't include <sysdep.h> nor <init-arch.h>.
33874 (_ZGVbN2v_cos): Removed.
33875 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33876 ...
33877 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33878 Don't include <sysdep.h> nor <init-arch.h>.
33879 (_ZGVdN4v_cos): Removed.
33880 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33881 ...
33882 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33883 Don't include <sysdep.h> nor <init-arch.h>.
33884 (_ZGVeN8v_cos): Removed.
33885 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33886 ...
33887 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33888 Don't include <sysdep.h> nor <init-arch.h>.
33889 (_ZGVbN2v_exp): Removed.
33890 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33891 ...
33892 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33893 Don't include <sysdep.h> nor <init-arch.h>.
33894 (_ZGVdN4v_exp): Removed.
33895 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33896 ...
33897 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33898 Don't include <sysdep.h> nor <init-arch.h>.
33899 (_ZGVeN8v_exp): Removed.
33900 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33901 ...
33902 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33903 Don't include <sysdep.h> nor <init-arch.h>.
33904 (_ZGVbN2v_log): Removed.
33905 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33906 ...
33907 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33908 Don't include <sysdep.h> nor <init-arch.h>.
33909 (_ZGVdN4v_log): Removed.
33910 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33911 ...
33912 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33913 Don't include <sysdep.h> nor <init-arch.h>.
33914 (_ZGVeN8v_log): Removed.
33915 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33916 ...
33917 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33918 Don't include <sysdep.h> nor <init-arch.h>.
33919 (_ZGVbN2vv_pow): Removed.
33920 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33921 ...
33922 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33923 Don't include <sysdep.h> nor <init-arch.h>.
33924 (_ZGVdN4vv_pow): Removed.
33925 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33926 ...
33927 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33928 Don't include <sysdep.h> nor <init-arch.h>.
33929 (_ZGVeN8vv_pow): Removed.
33930 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33931 ...
33932 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33933 Don't include <sysdep.h> nor <init-arch.h>.
33934 (_ZGVbN2v_sin): Removed.
33935 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33936 ...
33937 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33938 Don't include <sysdep.h> nor <init-arch.h>.
33939 (_ZGVbN4v_sin): Removed.
33940 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33941 ...
33942 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33943 Don't include <sysdep.h> nor <init-arch.h>.
33944 (_ZGVbN8v_sin): Removed.
33945 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33946 ...
33947 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33948 Don't include <sysdep.h> nor <init-arch.h>.
33949 (_ZGVbN2vvv_sincos): Removed.
33950 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33951 ...
33952 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33953 Don't include <sysdep.h> nor <init-arch.h>.
33954 (_ZGVdN4vvv_sincos): Removed.
33955 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33956 ...
33957 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33958 Don't include <sysdep.h> nor <init-arch.h>.
33959 (_ZGVeN8vvv_sincos): Removed.
33960 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33961 ...
33962 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33963 Don't include <sysdep.h> nor <init-arch.h>.
33964 (_ZGVeN16v_cosf): Removed.
33965 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33966 ...
33967 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33968 Don't include <sysdep.h> nor <init-arch.h>.
33969 (_ZGVbN4v_cosf): Removed.
33970 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33971 ...
33972 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33973 Don't include <sysdep.h> nor <init-arch.h>.
33974 (_ZGVdN8v_cosf): Removed.
33975 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33976 ...
33977 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33978 Don't include <sysdep.h> nor <init-arch.h>.
33979 (_ZGVeN16v_expf): Removed.
33980 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33981 ...
33982 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33983 Don't include <sysdep.h> nor <init-arch.h>.
33984 (_ZGVbN4v_expf): Removed.
33985 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33986 ...
33987 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33988 Don't include <sysdep.h> nor <init-arch.h>.
33989 (_ZGVdN8v_expf): Removed.
33990 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33991 ...
33992 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33993 Don't include <sysdep.h> nor <init-arch.h>.
33994 (_ZGVeN16v_logf): Removed.
33995 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33996 ...
33997 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33998 Don't include <sysdep.h> nor <init-arch.h>.
33999 (_ZGVbN4v_logf): Removed.
34000 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34001 ...
34002 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34003 Don't include <sysdep.h> nor <init-arch.h>.
34004 (_ZGVdN8v_logf): Removed.
34005 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34006 ...
34007 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34008 Don't include <sysdep.h> nor <init-arch.h>.
34009 (_ZGVeN16vv_powf): Removed.
34010 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34011 ...
34012 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34013 Don't include <sysdep.h> nor <init-arch.h>.
34014 (_ZGVbN4vv_powf): Removed.
34015 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34016 ...
34017 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34018 Don't include <sysdep.h> nor <init-arch.h>.
34019 (_ZGVdN8vv_powf): Removed.
34020 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34021 ...
34022 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34023 Don't include <sysdep.h> nor <init-arch.h>.
34024 (_ZGVeN16vvv_sincosf): Removed.
34025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34026 ...
34027 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34028 Don't include <sysdep.h> nor <init-arch.h>.
34029 (_ZGVbN4vvv_sincosf): Removed.
34030 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34031 ...
34032 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34033 Don't include <sysdep.h> nor <init-arch.h>.
34034 (_ZGVdN8vvv_sincosf): Removed.
34035 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34036 ...
34037 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34038 Don't include <sysdep.h> nor <init-arch.h>.
34039 (_ZGVeN16v_sinf): Removed.
34040 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34041 ...
34042 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34043 Don't include <sysdep.h> nor <init-arch.h>.
34044 (_ZGVbN4v_sinf): Removed.
34045 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34046 ...
34047 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34048 Don't include <sysdep.h> nor <init-arch.h>.
34049 (_ZGVdN8v_sinf): Removed.
34050
34051 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34052
34053 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34054 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34055 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34056 s_rint-sse4_1 and s_rintf-sse4_1.
34057 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34058 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34060 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34061 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34062 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34063 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34064 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34065 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34066 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34067 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34068 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34069 (__ceil): Removed.
34070 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34071 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34072 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34073 (__ceilf): Removed.
34074 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34075 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34076 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34077 (__floor): Removed.
34078 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34079 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34080 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34081 (__floorf): Removed.
34082 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34083 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34084 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34085 (__nearbyint): Removed.
34086 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34087 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34088 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34089 (__nearbyintf): Removed.
34090 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34091 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34092 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34093 (__rint): Removed.
34094 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34095 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34096 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34097 (__rintf): Removed.
34098
34099 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34100
34101 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34102 SHARED. Avoid dynamic relocation against main in static PIE.
34103
34104 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34105
34106 [BZ #21815]
34107 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34108 (LDFLAGS-tst-prelink): Likewise.
34109
34110 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34111
34112 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34113 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34114 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34115 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34116 (INTERNAL_SYSCALL_NCS): Likewise.
34117 (LOADARGS_1): Likewise.
34118 (LOADARGS_5): Likewise.
34119 (RESTOREARGS_1): Likewise.
34120 (RESTOREARGS_5): Likewise.
34121
34122 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34123
34124 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34125 (MEMPCPY_SYMBOL): Likewise.
34126 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34127 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34128 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34129 in libc.a.
34130 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34131 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34132 Likewise.
34133 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34134 (__hidden_ver1): Don't use in libc.a.
34135 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34136 (__mempcpy): Don't create a weak alias in libc.a.
34137 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34138 libc.a.
34139 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34140 (__hidden_ver1): Don't use in libc.a.
34141
34142 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34143
34144 * config.make.in (have-insert): New.
34145 * configure.ac (libc_cv_insert): New. Set to yes if linker
34146 supports INSERT in linker script.
34147 (AC_SUBST(libc_cv_insert): New.
34148 * configure: Regenerated.
34149 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34150 if $(have-insert) == yes.
34151
34152 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34153
34154 * elf/Makefile (tests): Add vismain only if
34155 $(have-protected-data) == yes.
34156 (tests-pie): Likewise.
34157
34158 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34159
34160 [BZ #21871]
34161 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34162 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34163
34164 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34165
34166 [BZ #21790]
34167 * sysdeps/i386/i586/memset.S
34168 (__memset_zero_constant_len_parameter): Removed.
34169 * sysdeps/i386/i686/memset.S
34170 (__memset_zero_constant_len_parameter): Likewise.
34171 * sysdeps/i386/i686/multiarch/memset_chk.S
34172 (__memset_zero_constant_len_parameter): Likewise.
34173 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34174 Likewise.
34175
34176 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34177
34178 * stdlib/getentropy.c (getentropy): Change return type to int.
34179
34180 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34181
34182 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34183
34184 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34185
34186 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34187 u_intN_t.
34188 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34189 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34190 Likewise.
34191 (ieee_float_shape_type): Likewise.
34192 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34193 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34194 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34195 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34196 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34197 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34198 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34199 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34200 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34201 Likewise.
34202 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34203 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34204 (__ieee754_yn): Likewise.
34205 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34206 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34207 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34208 Likewise.
34209 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34210 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34211 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34212 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34213 (__erfc): Likewise.
34214 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34215 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34216 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34217 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34218 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34219 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34220 Likewise.
34221 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34222 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34223 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34224 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34225 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34226 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34227 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34228 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34229 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34230 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34231 (__issignaling): Likewise.
34232 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34233 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34234 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34235 Likewise.
34236 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34237 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34238 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34239 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34240 Likewise.
34241 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34242 Likewise.
34243 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34244 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34245 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34246 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34247 (__erfcf): Likewise.
34248 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34249 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34250 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34251 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34252 Likewise.
34253 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34254 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34255 Likewise.
34256 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34257 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34258 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34259 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34260 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34261 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34262 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34263 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34264 Likewise.
34265 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34266 Likewise.
34267 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34268 Likewise.
34269 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34270 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34271 Likewise.
34272 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34273 Likewise.
34274 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34275 (__ieee754_ynl): Likewise.
34276 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34277 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34278 Likewise.
34279 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34280 Likewise.
34281 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34282 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34283 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34284 Likewise.
34285 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34286 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34287 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34288 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34289 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34290 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34291 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34292 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34293 Likewise.
34294 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34295 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34296 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34297 Likewise.
34298 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34299 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34300 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34301 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34302 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34303 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34304 Likewise.
34305 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34306 Likewise.
34307 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34308 Likewise.
34309 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34310 Likewise.
34311 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34312 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34313 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34314 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34315 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34316 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34317 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34318 Likewise.
34319 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34320 Likewise.
34321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34322 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34323 Likewise.
34324 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34325 (__ieee754_remainderl): Likewise.
34326 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34328 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34329 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34330 Likewise.
34331 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34332 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34333 Likewise.
34334 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34335 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34336 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34337 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34338 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34339 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34340 Likewise.
34341 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34342 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34343 (__ieee754_y0l): Likewise.
34344 (pzero): Likewise.
34345 (qzero): Likewise.
34346 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34347 (__ieee754_y1l): Likewise.
34348 (pone): Likewise.
34349 (qone): Likewise.
34350 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34351 (__ieee754_ynl): Likewise.
34352 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34353 (__ieee754_lgammal_r): Likewise.
34354 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34355 Likewise.
34356 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34357 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34358 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34359 (__erfcl): Likewise.
34360 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34361 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34362 Likewise.
34363 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34364 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34365 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34366 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34367 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34368 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34369 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34370 Likewise.
34371 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34372 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34373 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34374 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34375 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34376 Likewise.
34377 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34378 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34379 Likewise.
34380 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34381 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34382 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34383 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34384 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34385
34386 2017-08-03 Florian Weimer <fweimer@redhat.com>
34387
34388 [BZ #21885]
34389 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34390 on memory allocation failure.
34391
34392 2017-08-03 Alan Modra <amodra@gmail.com>
34393
34394 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34395 tst-tlsopt-powerpc.c with function name change and no test harness.
34396 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34397 Call tls_get_addr_opt_test.
34398 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34399 (modules-names): Add mod-tlsopt-powerpc.
34400 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34401 (tst-tlsopt-powerpc): Depend on .so.
34402 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34403 define. Expand use in TLS_GD and TLS_LD.
34404
34405 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34406
34407 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34408 function.
34409 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34410
34411 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34412
34413 [BZ #21686]
34414 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34415 comparing size with that of double.
34416 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34417 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34418 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34419 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34420 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34421 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34422 unsigned __int128 types.
34423
34424 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34425
34426 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34427 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34428 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34429 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34430 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34431
34432 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34433
34434 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34435
34436 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34437
34438 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34439 of SHARED.
34440 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34441 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34442 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34443 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34444 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34445 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34446 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34447
34448 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34449
34450 [BZ #21685]
34451 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34452 bit-field expressions passed to sizeof or typeof.
34453 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34454 (__TGMATH_F128): Likewise.
34455 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34456 (__TGMATH_CF128): Likewise.
34457 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34458 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34459 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34460 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34461 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34462 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34463 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34464 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34465 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34466 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34467 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34468 (__TGMATH_UNARY_IMAG): Likewise.
34469 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34470 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34471 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34472 type.
34473 (define_vars_for_type): Handle bit_field type specially.
34474 (Tests.__init__): Declare structure with bit-field element.
34475
34476 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34477
34478 [BZ #21791]
34479 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34480 (MEMCPY_CHK): Define only if SHARED is defined.
34481 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34482 Likewise.
34483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34484 Likewise.
34485
34486 See ChangeLog.18 for earlier changes.