]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
74f038ec3673e588d1e045207c4f24c9a60e98ce
[thirdparty/glibc.git] / ChangeLog
1 2019-05-16 Florian Weimer <fweimer@redhat.com>
2
3 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4 Remove flags.
5 (LINE_PARSER): Remove address mapping.
6 (EXTRA_ARGS_VALUE): Remove flags argument.
7 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
8 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
9 gethostbyname3_multi.
10 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
11 _nss_files_gethostbyname3_r.
12 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
13
14 2019-05-16 Florian Weimer <fweimer@redhat.com>
15
16 * support/support_test_compare_blob.c (report_blob): Report
17 incorrect NULL blobs.
18
19 2019-05-15 Mark Wielaard <mark@klomp.org>
20
21 [BZ# 24476]
22 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
23 __libc_once_get (once) and static_buf == NULL.
24 (__dlerror): Check we have a valid key, set result to static_buf
25 otherwise.
26
27 2019-05-15 Andreas Schwab <schwab@suse.de>
28
29 [BZ #20568]
30 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
31 __codecvt_do_length.
32 * libio/Makefile (tests): Add tst-wfile-sync.
33 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
34 * libio/tst-wfile-sync.c: New file.
35 * libio/tst-wfile-sync.input: New file.
36
37 2019-05-15 Florian Weimer <fweimer@redhat.com>
38
39 nss: Turn __nss_database_lookup into a compatibility symbol.
40 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
41 __nss_database_lookup.
42 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
43 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
44 __nss_database_lookup.
45 (__nss_next): Move to …
46 * nss/compat-lookup.c (nss_next): … here. Change it to fail
47 unconditionally.
48 (__nss_database_lookup): New function.
49 * nss/Versions (GLIBC_2.0): Update comment.
50 (GLIBC_PRIVATE): Export __nss_database_lookup2.
51 * grp/initgroups.c (internal_getgrouplist): Call
52 __nss_database_lookup2 instead of __nss_database_lookup.
53 * nscd/aicache.c (addhstaiX): Likewise.
54 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
56 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
57 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
58 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
59 Likewise.
60 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
61 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
62 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63
64 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
65
66 * support/support.h (support_install_rootsbindir): New variable.
67 * support/support_paths.c: Likewise.
68 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
69
70 2019-05-15 Florian Weimer <fweimer@redhat.com>
71
72 * iconv/gconv.h (__gconv_transliterate): Move declaration …
73 * iconv/gconv_int.h (__gconv_transliterate): … here.
74 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
75 * iconv/skeleton.c: Likewise.
76
77 2019-05-14 Florian Weimer <fweimer@redhat.com>
78
79 Linux: Add the tgkill function.
80 * bits/signal_ext.h: New file.
81 * manual/signal.texi (Signaling Another Process): Document tgkill.
82 * signal/Makefile (headers): Add bits/signal_ext.h.
83 * signal/signal.h: Include <bits/signal_ext.h>.
84 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
85 (tst-tgkill): Link with libpthread.
86 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
87 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
88 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
89 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
90 tgkill.
91 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
92 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
93 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
94 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
95 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
96 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
97 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
98 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
99 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
100 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
101 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
102 Likewise.
103 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
104 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
105 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
107 Likewise.
108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
109 Likewise.
110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
111 Likewise.
112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
113 Likewise.
114 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
115 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
116 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
117 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
118 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
119 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
120 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
121 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
122
123 2019-05-14 Carlos O'Donell <carlos@redhat.com>
124
125 * manual/search.texi (Tree Search Function): Adjust twalk_r
126 documentation.
127
128 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
129
130 [BZ #24544]
131 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
132 pre-defined value.
133
134 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
135 * support/support.h (support_bindir_prefix): New variable.
136 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
137
138 * config.make.in (bindir): New variable.
139
140 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
141 (lll_trylock): Call __lll_trylock.
142 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
143 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
144 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
145 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
146 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
147 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
148 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
149 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
150 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
151 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
152 lowlevellock-futex.h.
153
154 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
155 initialization for LLL_LOCK_INITIALIZER different than 0.
156 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
157 Assume LLL_LOCK_INITIALIZER being 0.
158 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
159 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
160 Likewise.
161 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
162 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
163
164 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
165 Optimize futex call and add systemtap probe.
166
167 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
168 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
169 __libc_disable_asynccancel, __librt_enable_asynccancel,
170 __libc_disable_asynccancel, __librt_enable_asynccancel,
171 __librt_disable_asynccancel): Move to ...
172 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
173 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
174 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
175 * sysdeps/generic/single-thread.h: New file.
176 * sysdeps/unix/sysdep.h: Include single-thread.h.
177 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
178 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
179
180 2019-05-08 Mike FABIAN <mfabian@redhat.com>
181
182 [BZ #24535]
183 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
184 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
185 Unicode 12.1.0.
186 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
187 * localedata/unicode-gen/PropList.txt: Likewise.
188 * localedata/unicode-gen/UnicodeData.txt: Likewise.
189 * localedata/charmaps/UTF-8: Regenerate.
190 * localedata/locales/i18n_ctype: Likewise.
191 * localedata/locales/tr_TR: Likewise.
192 * localedata/locales/translit_circle: Likewise.
193 * localedata/locales/translit_cjk_compat: Likewise.
194 * localedata/locales/translit_combining: Likewise.
195 * localedata/locales/translit_compat: Likewise.
196 * localedata/locales/translit_font: Likewise.
197 * localedata/locales/translit_fraction: Likewise.
198
199 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
200
201 [BZ #24531]
202 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
203 (do_set_tcache_count): Only update if count is small enough.
204 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
205
206 2019-05-10 Florian Weimer <fweimer@redhat.com>
207
208 * nptl/sem_close.c (struct walk_closure): Define.
209 (walker): Adjust for __twalk_r.
210 (sem_close): Call __twalk_r.
211
212 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
213
214 * support/timespec.c (test_timespec_before_impl,
215 test_timespec_equal_or_after_impl): print timespec member as intmax_t
216 insted of long int.
217
218 2019-05-09 Mike Crowe <mac@mcrowe.com>
219
220 * nptl/tst-abstime.c: Use libsupport.
221
222 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
223 small bug where only tv.tv_usec was checked which could cause an
224 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
225 than a second.
226
227 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
228 libsupport.
229
230 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
231 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
232
233 * nptl/tst-cond11.c: Use libsupport.
234
235 * support/timespec.h: New file. Provide timespec helper functions
236 along with macros in the style of those in check.h.
237 * support/timespec.c: New file. Implement check functions declared
238 in support/timespec.h.
239 * support/timespec-add.c: New file from gnulib containing
240 timespec_add implementation that handles overflow.
241 * support/timespec-sub.c: New file from gnulib containing
242 timespec_sub implementation that handles overflow.
243 * support/README: Mention timespec.h.
244
245 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
246
247 [BZ #24537]
248 * nptl/Makefile: Move tst-eintr1 to xtests.
249
250 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
251
252 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
253 TRUNC handling.
254 (round_mode): Add definition for TRUNC.
255 * sysdeps/powerpc/fpu/s_trunc.c: New file.
256 * sysdeps/powerpc/fpu/s_truncf.c: New file.
257 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
258 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
259 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
260 Likewise.
261 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
262 Likewise.
263 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
264 Likewise.
265 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
266 Likewise.
267 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
268 file.
269 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
270 Likewise.
271 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
272 Likewise.
273 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
274 Likewise.
275 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
276 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
277 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
278 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
279 s_truncf-power5+, and s_truncf-ppc64.
280 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
281 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
282 file.
283 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
285 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
286 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
287 file.
288 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
289 Likewise.
290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
291 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
293 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
294 s_truncf-power5+, and s_truncf-ppc64.
295 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
296 file.
297 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
298 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
299 Likewise.
300 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
301 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
302 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
303 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
304 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
305
306 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
307 ROUND handling.
308 (round_mode): Add definition for ROUND.
309 (round_to_integer_float): Likewise.
310 * sysdeps/powerpc/fpu/s_round.c: New file.
311 * sysdeps/powerpc/fpu/s_roundf.c: New file.
312 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
313 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
314 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
315 Likewise.
316 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
317 Likewise.
318 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
319 Likewise.
320 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
321 Likewise.
322 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
323 file.
324 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
325 Likewise.
326 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
327 Likewise.
328 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
329 Likewise.
330 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
331 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
332 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
333 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
334 s_roundf-power5+, and s_roundf-ppc64.
335 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
336 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
337 file.
338 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
340 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
341 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
342 file.
343 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
344 Likewise.
345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
346 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
348 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
349 s_roundf-power5+, and s_roundf-ppc64.
350 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
351 file.
352 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
353 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
354 Likewise.
355 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
356 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
357 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
358 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
359 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
360
361 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
362 Add FLOOR option.
363 (round_mode): Add definition for FLOOR.
364 * sysdeps/powerpc/fpu/s_floor.c: New file.
365 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
366 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
367 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
369 Remove file.
370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
371 Likewise
372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
373 Likewise.
374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
375 Likewise.
376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
377 New file.
378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
379 Likewise.
380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
381 Likewise.
382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
383 Likewise.
384 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
385 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
386 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
387 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
388 s_floorf-power5+, and s_floorf-ppc64.
389 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
390 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
391 file.
392 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
394 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
395 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
396 file.
397 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
398 Likewise.
399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
400 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
401 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
402 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
403 s_floorf-power5+, and s_floorf-ppc64.
404 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
405 file.
406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
407 file.
408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
409 Likewise.
410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
411 Likewise.
412 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
413 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
414 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
415 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
416
417 2019-05-08 Mike Crowe <mac@mcrowe.com>
418
419 * support/xclock_gettime.c (xclock_gettime): New file. Provide
420 clock_gettime wrapper for use in tests that fails the test rather
421 than returning failure.
422
423 * support/xtime.h: New file to declare xclock_gettime.
424
425 * support/Makefile: Add xclock_gettime.c.
426
427 * support/README: Mention xtime.h.
428
429 2019-05-08 Florian Weimer <fweimer@redhat.com>
430
431 malloc/tst-mallocfork2: Use process-shared barriers.
432 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
433 (signal_count, sigusr1_sender_pid): Remove.
434 (iterations): Define constant.
435 (shared): New variable.
436 (sigusr1_received): Update comment.
437 (sigusr1_handler): Do not send SIGSTOP to the sender process.
438 (signal_sender): Optional use barriers to avoid sending signals
439 during irrelevant times.
440 (do_it): Initialize variable shared. Use xfork for error
441 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
442 the iteration count, independent of signal delivery. Check for
443 deadlocks in fork. Introduce barriers for reducing signal
444 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
445 replaced by the barriers. Count signals during fork/free/malloc
446 and report them.
447 * malloc/Makefile (tst-mallocfork): Link with libpthread.
448
449 2019-05-07 Joseph Myers <joseph@codesourcery.com>
450
451 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
452 version to 5.1.
453 (clock_adjtime64) New syscall.
454 (clock_getres_time64) Likewise.
455 (clock_gettime64) Likewise.
456 (clock_nanosleep_time64) Likewise.
457 (clock_settime64) Likewise.
458 (futex_time64) Likewise.
459 (io_pgetevents_time64) Likewise.
460 (io_uring_enter) Likewise.
461 (io_uring_register) Likewise.
462 (io_uring_setup) Likewise.
463 (mq_timedreceive_time64) Likewise.
464 (mq_timedsend_time64) Likewise.
465 (pidfd_send_signal) Likewise.
466 (ppoll_time64) Likewise.
467 (pselect6_time64) Likewise.
468 (recvmmsg_time64) Likewise.
469 (rt_sigtimedwait_time64) Likewise.
470 (sched_rr_get_interval_time64) Likewise.
471 (semtimedop_time64) Likewise.
472 (timer_gettime64) Likewise.
473 (timer_settime64) Likewise.
474 (timerfd_gettime64) Likewise.
475 (timerfd_settime64) Likewise.
476 (utimensat_time64) Likewise.
477
478 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
479 version to 9 branch.
480
481 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
482
483 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
484 __memmove_thunderx2 to the list of implementations
485 * sysdeps/aarch64/multiarch/memmove.c: Likewise
486 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
487 (__memmove_thunderx2): Rewritten using SIMD ld/st
488 (__memcpy_thunderx2): Fixed handling overlapping cases.
489 Used ldp/stp instead of ldr/str if possible. Made loops
490 tails branchless.
491
492 2019-05-03 Florian Weimer <fweimer@redhat.com>
493
494 * misc/tst-tsearch.c (walk_tree): Add more error checking.
495
496 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
497
498 [BZ #24506]
499 * elf/tst-pldd.c (in_str_list): New function.
500 (do_test): Add default names for ld and libc as one option.
501
502 2019-05-02 Florian Weimer <fweimer@redhat.com>
503
504 misc: Add twalk_r function.
505 * include/search.h (__twalk_r): Declare.
506 * manual/examples/twalk.c: New file.
507 * manual/search.texi (Tree Search Function): Document twalk_r.
508 * misc/Versions (2.30): Export twalk_r.
509 (GLIBC_PRIVATE): Export __twalk_r.
510 * misc/search.h [__USE_GNU] (twalk_r): Declare.
511 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
512 (twalk_r): Add weak alias.
513 * misc/tst-tsearch.c (struct walk_trace_element): Define.
514 (walk_trace): New variable.
515 (struct twalk_with_twalk_r_closure): Define.
516 (twalk_with_twalk_r_action): New function.
517 (twalk_with_twalk_r): Likewise.
518 (walk_action): Call walk_trace_add.
519 (walk_tree_with): Rename from walk_tree. Add walk argument.
520 (walk_tree): New function.
521 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
522 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
523 Likewise.
524 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
525 Likewise.
526 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
527 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
528 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
529 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
530 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
531 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
532 Likewise.
533 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
534 Likewise.
535 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
536 Likewise.
537 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
538 (GLIBC_2.30): Likewise.
539 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
540 (GLIBC_2.30): Likewise.
541 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
542 (GLIBC_2.30): Likewise.
543 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
544 (GLIBC_2.30): Likewise.
545 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
546 Likewise.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
548 (GLIBC_2.30): Likewise.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
550 (GLIBC_2.30): Likewise.
551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
552 (GLIBC_2.30): Likewise.
553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
554 (GLIBC_2.30): Likewise.
555 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
556 Likewise.
557 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
558 Likewise.
559 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
560 Likewise.
561 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
562 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
563 Likewise.
564 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
565 Likewise.
566 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
567 Likewise.
568 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
569 Likewise.
570
571 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
572
573 Make mktime etc. compatible with __time64_t
574 Keep these functions compatible with Gnulib while adding
575 __time64_t support. The basic idea is to move private API
576 declarations from include/time.h to time/mktime-internal.h, since
577 the former file cannot easily be shared with Gnulib whereas the
578 latter can.
579 Also, do some other minor cleanup while in the neighborhood.
580 * include/time.h: Include stdbool.h, time/mktime-internal.h.
581 (__mktime_internal): Move this prototype to time/mktime-internal.h,
582 since Gnulib needs it.
583 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
584 Move these macros to time/mktime-internal.h, since Gnulib needs them.
585 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
586 (in_time_t_range): New static function.
587 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
588 so that glibc users are not tempted to use __time64_t.
589 * time/mktime-internal.h: Rewrite so that it does both glibc
590 and Gnulib work. Include time.h if not _LIBC.
591 (mktime_offset_t) [!_LIBC]: Define for gnulib.
592 (__time64_t): New type or macro, moved here from
593 posix/bits/types.h.
594 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
595 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
596 from include/time.h.
597 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
598 New macros, taken from GNulib.
599 (__mktime_internal): New prototype, moved here from include/time.h.
600 * time/mktime.c (mktime_min, mktime_max, convert_time)
601 (ranged_convert, __mktime_internal, __mktime64):
602 * time/timegm.c (__timegm64):
603 Use __time64_t, not time_t.
604 * time/mktime.c: Stop worrying about whether time_t is floating-point.
605 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
606 Rename from mktime.
607 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
608 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
609 for libc_hidden_def.
610 Include errno.h.
611 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
612 Rename from timegm.
613 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
614
615 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
616
617 [BZ #19444]
618 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
619 from `-Wmaybe-uninitialized'.
620 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
621
622 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
623
624 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
625 function.
626 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
627 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
628 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
629 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
630 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
632 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
634 Remove file.
635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
636 Likewise.
637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
638 Likewise.
639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
640 Likewise.
641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
642 New file.
643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
644 Likewise.
645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
646 Likewise.
647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
648 Likewise.
649 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
651 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
652 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
653 Likewise.
654 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
655 Likewise.
656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
657 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
658 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
659 file.
660 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
661 Likewise.
662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
663 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
664 * here.
665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
666 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
667 s_ceilf-power5+, and s_ceilf-ppc64.
668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
669 file.
670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
673 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
674 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
675 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
676 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
677
678 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
679 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
680 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
681
682 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
683
684 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
685 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
686 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
687 (sem_getvalue): Likewise.
688
689 2019-04-26 Florian Weimer <fweimer@redhat.com>
690
691 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
692 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
693
694 2019-04-26 Florian Weimer <fweimer@redhat.com>
695
696 Makeconfig: Move -Wl,-rpath-link options before library references.
697 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
698 (link-libc): Remove $(link-libc-rpath-link).
699
700 2019-04-25 Florian Weimer <fweimer@redhat.com>
701
702 * Makeconfig (+link-pie-before-libc): Remove $(CC).
703 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
704 (+link-static-before-libc): Remove $(CC).
705 (+link-static, +link-static-tests): Add $(CC).
706 (+link-before-libc): Remove $(CC).
707 (+link, +link-pie, +link-pie-printers): Add $(CC).
708
709 2019-04-26 Florian Weimer <fweimer@redhat.com>
710
711 * Makeconfig (+link-pie-before-libc): Remove $(CC).
712 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
713 (+link-static-before-libc): Remove $(CC).
714 (+link-static, +link-static-tests): Add $(CC).
715 (+link-before-libc): Remove $(CC).
716 (+link, +link-pie, +link-pie-printers): Add $(CC).
717
718 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
719
720 [BZ#24484]
721 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
722
723 2019-04-25 Florian Weimer <fweimer@redhat.com>
724
725 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
726 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
727 (bench-link-targets): New variable.
728 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
729
730 2019-04-25 Florian Weimer <fweimer@redhat.com>
731
732 Also enable BIND_NOW for programs if --enable-bind-now.
733 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
734 (+link-pie): Use $(link-extra-flags).
735 (+link-static): Likewise.
736 [! $(build-pie-default)] (+link): Likewise.
737 * manual/install.texi (Configuring and compiling): Update
738 --enable-bind-now description.
739 * INSTALL: Regenerated.
740
741 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
742
743 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
744 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
745
746 2019-04-24 Mike Frysinger <vapier@gentoo.org>
747
748 [BZ #18465]
749 * malloc/Makefile (others): Add memusagestat.
750 ($(objpfx)memusagestat): Delete rule.
751 (LDLIBS-memusagestat): New variable.
752
753 2019-04-24 Florian Weimer <fweimer@redhat.com>
754
755 * locale/Makefile (tests-special): Guard setting by
756 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
757 to run while cross-compiling.
758
759 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
760
761 [BZ #18035]
762 * elf/Makefile (tests-container): Add tst-pldd.
763 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
764 (E(find_maps)): Avoid use alloca, use default read file operations
765 instead of explicit LFS names, and fix infinite loop.
766 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
767 (get_process_info): Use _Static_assert instead of assert, use default
768 directory operations instead of explicit LFS names, and free some
769 leadek pointers.
770 * elf/tst-pldd.c: New file.
771
772 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
773
774 * malloc/arena.c (do_set_mallopt_check): Removed.
775
776 2019-04-23 Florian Weimer <fweimer@redhat.com>
777
778 locale: Add LOCPATH diagnostics to the locale program.
779 * locale/programs/locale.c (setlocale_failed): New variable.
780 (try_setlocale): New function.
781 (quote_string): Likewise.
782 (setlocale_diagnostics): Likewise.
783 (main): Call try_setlocale instead of setlocale. Call
784 setlocale_diagnostics.
785 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
786 (tst-locale-locpath.out): New target.
787 * locale/tst-locale-locpath.sh: New file.
788
789 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
790
791 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
792 to 2.30 notes.
793
794 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
795
796 [BZ #23741]
797 * malloc/hooks.c (malloc_check, realloc_check): Use
798 __builtin_add_overflow on overflow check and adapt to
799 checked_request2size change.
800 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
801 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
802 allocation size to PTRDIFF_MAX.
803 (REQUEST_OUT_OF_RANGE): Remove macro.
804 (checked_request2size): Change to inline function and limit maximum
805 requested size to PTRDIFF_MAX.
806 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
807 maximum allocation size to PTRDIFF_MAX.
808 (_mid_memalign): Use _int_memalign call for overflow check.
809 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
810 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
811 limit maximum requested size to PTRDIFF_MAX.
812 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
813 valloc, pvalloc): Add __attribute_alloc_size__.
814 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
815 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
816 larger than PTRDIFF_MAX.
817 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
818 around tests of malloc with negative sizes.
819 * malloc/tst-posix_memalign.c (do_test): Likewise.
820 * malloc/tst-pvalloc.c (do_test): Likewise.
821 * malloc/tst-valloc.c (do_test): Likewise.
822 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
823 with resulting size allocation larger than PTRDIFF_MAX with
824 reallocarray_nowarn.
825 (reallocarray_nowarn): New function.
826 * NEWS: Mention the malloc function semantic change.
827
828 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
829
830 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
831 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
832
833 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
834 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
835 * sysdeps/powerpc/fpu/s_fma.c: New file.
836 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
837
838 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
839 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
840
841 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
842 the magic flag store.
843 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
844 Likewise.
845 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
846 Likewise.
847 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
848 Remove rt_sigreturn call.
849
850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
851 Remove rt_sigreturn call.
852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
853 Likewise.
854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
856
857 * support/Makefile (libsupport-routines): Add support_subprocess,
858 xposix_spawn, xposix_spawn_file_actions_addclose, and
859 xposix_spawn_file_actions_adddup2.
860 (tst-support_capture_subprocess-ARGS): New rule.
861 * support/capture_subprocess.h (support_capture_subprogram): New
862 prototype.
863 * support/support_capture_subprocess.c (support_capture_subprocess):
864 Refactor to use support_subprocess and support_capture_poll.
865 (support_capture_subprogram): New function.
866 * support/tst-support_capture_subprocess.c (write_mode_to_str,
867 str_to_write_mode, test_common, parse_int, handle_restart,
868 do_subprocess, do_subprogram, do_multiple_tests): New functions.
869 (do_test): Add support_capture_subprogram tests.
870 * support/subprocess.h: New file.
871 * support/support_subprocess.c: Likewise.
872 * support/xposix_spawn.c: Likewise.
873 * support/xposix_spawn_file_actions_addclose.c: Likewise.
874 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
875 * support/xspawn.h: Likewise.
876
877 2019-04-17 Mike Gerow <gerow@google.com>
878
879 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
880 groups limit.
881
882 2019-04-11 Florian Weimer <fweimer@redhat.com>
883
884 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
885 domain with empty string.
886 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
887
888 2019-04-11 Florian Weimer <fweimer@redhat.com>
889
890 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
891 comment.
892 (alloc_buffer_next): Change return type to non-const. Update
893 comment.
894
895 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
896
897 * manual/time.texi (Formatting Calendar Time): Add missing percent
898 sign to conversion specifier.
899
900 2019-04-09 Carlos O'Donell <carlos@redhat.com>
901 Kwok Cheung Yeung <kcy@codesourcery.com>
902
903 [BZ #16573]
904 * malloc/mtrace.c: Define prototypes for all hooks.
905 (set_default_hooks): New function.
906 (set_trace_hooks): Likewise.
907 (save_default_hooks): Likewise.
908 (tr_freehook): Use new s*_hooks functions.
909 (tr_mallochook): Likewise.
910 (tr_reallochook): Likewise.
911 (tr_memalignhook): Likewise.
912 (mtrace): Likewise.
913 (muntrace): Likewise.
914
915 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
916
917 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
918 (generic_stpcpy): New function.
919 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
920 (generic_stpncpy): New function.
921 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
922 (generic_strcat): New function.
923 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
924 (generic_strcpy): New function.
925 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
926 (STUPID_STRNCAT): Remove function.
927 (generic_strncat): New function.
928 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
929 (STUPID_STRNCPY): Remove function.
930 (generic_strncpy): New function.
931 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
932 (generic_strnlen): New function.
933 (memchr_strnlen): New function.
934 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
935 (memchr_strlen): Likewise.
936
937 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
938
939 * benchtests/bench-strstr.c (input): Add realistic input text.
940 (stupid_strstr): Remove function.
941 (basic_strstr): Add function.
942 (twoway_strstr): Add function.
943 (do_one_test): Add result checking.
944 (do_test): Use new input text. Remove accidental early matches.
945 (test_main): Improve range of tests, reduce unaligned cases.
946
947 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
948
949 * benchtests/bench-memmem.c (simple_memmem): Remove function.
950 (basic_memmem): Add function.
951 (twoway_memmem): Add function.
952
953 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
954
955 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
956 * benchtests/bench-malloc-thread.c: Likewise.
957 * benchtests/bench-skeleton.c: Likewise.
958 * benchtests/bench-strtod.c: Likewise.
959 * benchtests/bench-timing.h: Likewise.
960
961 2019-04-08 Florian Weimer <fweimer@redhat.com>
962
963 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
964 definitions.
965 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
966 RES_INSECURE2 security checks.
967 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
968 RES_INSECURE2 handling.
969
970 2019-04-08 Florian Weimer <fweimer@redhat.com>
971
972 resolv: Remove support for RES_USE_INET6 and the inet6 option.
973 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
974 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
975 GETHOSTBYNAME.
976 * resolv/Makefile (tests): Remove tst-res_use_inet6.
977 (tests-internal): Update justification for tst-resolv-res_init,
978 tst-resolv-res_init-thread.
979 (tst-res_use_inet6): Remove target.
980 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
981 * resolv/res_debug.c (p_option): Remove "inet6" support.
982 * resolv/res_init.c (res_setoptions): Likewise.
983 * resolv/res_use_inet6.h: Remove file.
984 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
985 definition.
986 (res_use_inet6): Always return false.
987 * resolv/resolv.h (RES_USE_INET6): Remove definition.
988 * resolv/resolv_context.h: Adjust file comment.
989 (struct resolv_context): Update comment on __next field.
990 (__resolv_context_put): Update comment.
991 * resolv/tst-res_use_inet6.c: Remove file.
992 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
993 "inet6" support.
994 (test_cases): Adjust test case.
995 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
996 (thread_byname2_af_inet6): Use old byname_inet6 code.
997 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
998 (gai): Remove do_inet6 argument.
999 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1000 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1001 (thread_gai_unspec_inet6): Remove functions.
1002 (do_test): Adjust thread_funcs.
1003 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1004 RES_USE_INET6 flag.
1005 (gaih_inet): Do not disable RES_USE_INET6 flag.
1006
1007 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1008
1009 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1010 and remove redundant code.
1011
1012 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1013
1014 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1015 New rule.
1016 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1018 Likewise.
1019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1020 Likewise.
1021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1022 Likewise.
1023 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1024 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1025 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1026 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1027 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1028 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1030 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1031 wcsrchr-power7.
1032 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1035 Remove wcsrchr optimizations.
1036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1037
1038 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1039 the loop unroll.
1040
1041 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1042 New rule.
1043 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1045 Likewise.
1046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1047 Likewise.
1048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1049 Likewise.
1050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1051 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1052 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1053 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1054 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1055 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1057 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1058 wcschr-power7.
1059 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1062 Remove wcschr optimizations.
1063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1064
1065 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1066 the loop unroll.
1067
1068 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1069 New rule.
1070 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1072 Likewise.
1073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1074 Likewise.
1075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1076 Likewise.
1077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1078 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1079 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1080 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1082 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1084 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1085 wcscpy-power7.
1086 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1089 Remove wcscpy optimizations.
1090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1091
1092 * include/loop_unroll.h: New file.
1093 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1094 besides generic implementation.
1095
1096 2019-04-03 DJ Delorie <dj@redhat.com>
1097
1098 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1099 snprintf truncating output.
1100
1101 2019-04-02 DJ Delorie <dj@redhat.com>
1102
1103 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1104 warning.
1105
1106 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1107
1108 [BZ #22964]
1109 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1110 era.
1111 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1112 (mkreftable): Add rules for the new Japanese era and the new dates.
1113
1114 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1115 Rafal Luzynski <digitalfreak@lingonborough.com>
1116
1117 * time/tst-strftime2.c (date_t): Explicitly define the type.
1118 (dates): Use natural month and year numbers to express a date.
1119 (is_before): New function to compare dates.
1120 (mkreftable): Minor improvements to simplify maintenance.
1121 (do_test): Reflect the changes in dates array.
1122
1123 [BZ #24293]
1124 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1125 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1126 * time/tst-strftime2.c (locales): Likewise.
1127 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1128 2010-04-01, and 2011-04-01.
1129 (mkreftable): Add rules for the new locales and the new dates.
1130
1131 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1132
1133 * localedata/locales/ja_JP: Add comments to era entries.
1134
1135 2019-04-01 DJ Delorie <dj@redhat.com>
1136
1137 [BZ #24394]
1138 * time/strptime_l.c (%Ey): Fix fencepost error.
1139 * time/tst-strftime3.c: New.
1140 * time/Makefile (tests): Add tst-strftime3.
1141
1142 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1143
1144 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1145 conditional branch to DIVBYZERO. Fix unwind info.
1146 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1147 excb after conditional branch to $powerof2. Add missing unop
1148 instructions and .align directives and reorder instructions to
1149 match __divqu.
1150
1151 2019-04-01 Richard Henderson <rth@twiddle.net>
1152
1153 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1154 Do not redefine.
1155 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1156 Do not redefine.
1157
1158 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1159
1160 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1161 $libc_cv_riscv_float_abi in `test' invocation.
1162 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1163
1164 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1165
1166 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1167 asm with builtin.
1168 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1169 Likewise.
1170 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1171 (_GET_SI_FPSCR): Likewise.
1172 (_SET_SI_FPSCR): Likewise.
1173
1174 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1175
1176 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1177 clang 2.8.
1178 (signbit): Use builtin for clang 3.3.
1179 (isinf): Use builtin for clang 3.7.
1180
1181 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1182
1183 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1184
1185 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1186
1187 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1188 quote in printf.
1189
1190 2019-03-25 Mike Crowe <mac@mcrowe.com>
1191
1192 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1193 pthread_rwlock_timedrdlock with calls to
1194 pthread_rwlock_timedwrlock to ensure that the latter is tested
1195 too. Use new function name in diagnostic messages too.
1196
1197 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1198 (do_test) Use libsupport test macros rather than hand-coded
1199 conditionals and error messages. Ensure that sem_init returns zero
1200 rather than not -1. Use <support/test-driver.c> rather than
1201 test-skeleton.c.
1202
1203 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1204 test macros rather than hand-coded conditionals and error messages.
1205 Use <support/test-driver.c> rather than test-skeleton.c.
1206
1207 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1208
1209 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1210
1211 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1212 (NT_MIPS_MSA): Likewise.
1213
1214 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1215
1216 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1217 * benchtests/README: Update description.
1218 * benchtests/bench-timing.h: Default to hp-timing.
1219 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1220 HP_TIMING_PRINT): Remove.
1221 (HP_TIMING_NOW): Add generic implementation.
1222 (hp_timing_t): Change to uint64_t.
1223
1224 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1225 HP_TIMING_INLINE.
1226 * nptl/descr.h: Likewise.
1227 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1228 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1229 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1230 Abstract hp-timing usage with RTLD_* macros.
1231 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1232 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1233 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1234 HP_TIMING_NONAVAIL): Likewise.
1235 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1236 Likewise.
1237 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1238 HP_SMALL_TIMING_AVAIL): Likewise.
1239 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1240 HP_SMALL_TIMING_AVAIL): Likewise.
1241 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1242 HP_SMALL_TIMING_AVAIL): Likewise.
1243 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1244 HP_SMALL_TIMING_AVAIL): Likewise.
1245 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1246 Likewise.
1247 * sysdeps/generic/hp-timing-common.h: Update comment with
1248 HP_TIMING_AVAIL removal.
1249
1250 * include/random-bits.h: New file.
1251 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1252 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1253 random_bits.
1254 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1255 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1256 Likewise.
1257
1258 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1259 * rt/Makefile (clock-routines): Remove get_clockfreq.
1260 * rt/get_clockfreq.c: Remove file.
1261 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1262 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1263 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1264 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1265 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1266
1267 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1268 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1269 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1270 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1271 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1272
1273 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1274 pthread_clock_settime.
1275 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1276 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1277 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1278 * elf/rtld.c (_dl_start_final): Likewise.
1279 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1280 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1281 Remove.
1282 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1283 (_dl_cpuclock_offset): Remove.
1284 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1285 cpuclock_offset_ununsed.
1286 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1287 cpuclock_offset set.
1288 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1289 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1290 * nptl/pthread_clock_gettime.c: Remove file.
1291 * nptl/pthread_clock_settime.c: Likewise.
1292 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1293 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1294 and CLOCK_PROCESS_CPUTIME_ID support.
1295 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1296 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1297 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1298 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1299 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1300 Likewise.
1301 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1302
1303 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1304
1305 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1306 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1307 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1308 New defines.
1309 * sysdeps/s390/memmem-arch13.S: New file.
1310 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1311 if it is only used as fallback.
1312 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1313 * sysdeps/s390/multiarch/ifunc-impl-list.c
1314 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1315
1316 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1317
1318 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1319 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1320 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1321 New defines.
1322 * sysdeps/s390/multiarch/ifunc-impl-list.c
1323 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1324 * sysdeps/s390/strstr-arch13.S: New file.
1325 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1326 if it is only used as fallback.
1327 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1328
1329 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1330
1331 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1332 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1333 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1334 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1335 ifunc selector.
1336 * sysdeps/s390/multiarch/ifunc-impl-list.c
1337 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1338 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1339 S390_IS_ARCH13_MIE3): New defines.
1340
1341 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1342
1343 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1344 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1345 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1346 * sysdeps/s390/configure: Regenerated.
1347
1348 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1349
1350 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1351 Add vxe2, vxp, dflt, sort flags.
1352 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1353 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1354 capabilities.
1355 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1356 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1357 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1358 HWCAP_S390_DFLT): Define.
1359
1360 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1361
1362 [BZ #24372]
1363 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1364 of compiler warning.
1365 * locale/programs/ld-collate.c (collate_output): Likewise.
1366
1367 2019-03-21 DJ Delorie <dj@redhat.com>
1368
1369 [BZ #24372]
1370 * iconv/iconvconfig.c (write_output): Replace floating point math
1371 with integer math to avoid imprecise results.
1372 * locale/programs/ld-collate.c (collate_output): Likewise.
1373
1374 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1375
1376 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1377 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1378
1379 2019-03-20 mansayk <6688000@gmail.com>
1380
1381 [BZ #24296]
1382 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1383 (abday): Likewise, but remove the trailing dots.
1384
1385 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1386
1387 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1388 macro.
1389 (HWCAP_PACA): Likewise.
1390 (HWCAP_PACG): Likewise.
1391 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1392 Increase to 32.
1393 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1394
1395 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1396
1397 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1398 should be handled.
1399
1400 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1401
1402 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1403 version to 5.0.
1404 (old_getpagesize): New syscall.
1405
1406 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1407
1408 [BZ #24293]
1409 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1410 * localedata/locales/cmn_TW (era): Likewise.
1411 * localedata/locales/hak_TW (era): Likewise.
1412 * localedata/locales/lzh_TW (era): Likewise.
1413 * localedata/locales/nan_TW (era): Likewise.
1414
1415 2019-03-14 Adam Maris <amaris@redhat.com>
1416
1417 * malloc/malloc.c (_int_malloc): Check for large bin list
1418 corruption when inserting unsorted chunk.
1419
1420 2019-03-14 Florian Weimer <fweimer@redhat.com>
1421
1422 Remove obsolete, never-implemented XSI STREAMS declarations.
1423 * manual/terminal.texi (Allocation): Remove portability note and
1424 adjust example.
1425 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1426 _SC_STREAMS.
1427 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1428 * sysdeps/unix/inet/Subdirs (streams): Remove.
1429 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1430 (conformtest-headers-UNIX98): Likewise.
1431 (conformtest-headers-XOPEN2K): Likewise.
1432 (conformtest-headers-POSIX2008): Likewise.
1433 * posix/compat-streams.c: New file.
1434 * posix/Makefile (routines): Add it.
1435 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1436 getpmsg, isastream, putmsg, putpmsg.
1437 (GLIBC_2.30): New section.
1438 * bits/stropts.h: Remove file.
1439 * bits/xtitypes.h: Likewise.
1440 * conform/data/stropts.h-data: Likewise.
1441 * include/stropts.h: Likewise.
1442 * include/sys/stropts.h: Likewise.
1443 * include/xtitypes.h: Likewise.
1444 * streams/Makefile: Likewise.
1445 * streams/fattach.c: Likewise.
1446 * streams/fdetach.c: Likewise.
1447 * streams/getmsg.c: Likewise.
1448 * streams/getpmsg.c: Likewise.
1449 * streams/isastream.c: Likewise.
1450 * streams/putmsg.c: Likewise.
1451 * streams/putpmsg.c: Likewise.
1452 * streams/stropts.h: Likewise.
1453 * streams/sys/stropts.h: Likewise.
1454 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1455 * sysdeps/s390/bits/xtitypes.h: Likewise.
1456 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1457 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1458 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1459 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1460 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1461 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1462 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1464 * sysdeps/x86/bits/xtitypes.h: Likewise.
1465
1466 2019-03-14 Florian Weimer <fweimer@redhat.com>
1467
1468 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1469 libnss_files.
1470 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1471 but not with libnss_files.
1472 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1473
1474 2019-03-14 Zack Weinberg <zackw@panix.com>
1475
1476 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1477 Specify encoding="utf-8" when opening headers to check.
1478
1479 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1480
1481 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1482 version to 5.0.
1483 (Context.checkout_tar): Handle variable major version for Linux
1484 kernel.
1485
1486 2019-03-13 Florian Weimer <fweimer@redhat.com>
1487
1488 [BZ #24047]
1489 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1490
1491 2019-03-13 Zack Weinberg <zackw@panix.com>
1492
1493 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1494 Move to stdlib.
1495 * include/inttypes.h: Adjust to match.
1496 * include/stdint.h: New wrapper.
1497
1498 2019-03-13 Zack Weinberg <zackw@panix.com>
1499
1500 * scripts/check-obsolete-constructs.py: New test script.
1501 * scripts/check-installed-headers.sh: Remove tests for
1502 obsolete typedefs, superseded by check-obsolete-constructs.py.
1503 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1504 as a special test. Update commentary.
1505 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1506 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1507 Update commentary.
1508 * posix/sys/types.h (__u_intN_t): Remove.
1509 (u_int8_t): Typedef using __uint8_t.
1510 (u_int16_t): Typedef using __uint16_t.
1511 (u_int32_t): Typedef using __uint32_t.
1512 (u_int64_t): Typedef using __uint64_t.
1513
1514 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1515
1516 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1517 call _dl_procinfo.
1518 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1519 Ignore types other than AT_HWCAP.
1520 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1521 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1522 Likewise.
1523 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1524 in the case of falling back to generic output mechanism.
1525 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1526 Likewise.
1527
1528 2019-03-12 Florian Weimer <fweimer@redhat.com>
1529
1530 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1531
1532 2019-03-12 Florian Weimer <fweimer@redhat.com>
1533
1534 [BZ #24047]
1535 resolv: Enable full ICMP errors for UDP DNS sockets
1536 * resolv/res_enable_icmp.c: New file.
1537 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1538 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1539 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1540 socket.
1541
1542 2019-03-11 Mao Han <han_mao@c-sky.com>
1543
1544 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1545 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1546
1547 2019-03-11 Mao Han <han_mao@c-sky.com>
1548
1549 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1550 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1551 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1552
1553 2019-03-11 Mao Han <han_mao@c-sky.com>
1554
1555 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1556 directly.
1557 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1558 definition.
1559
1560 2019-03-11 Mao Han <han_mao@c-sky.com>
1561
1562 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1563 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1564 in mcontext_t
1565
1566 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1567
1568 [BZ #24307]
1569 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1570 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1571 Unicode 12.0.0.
1572 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1573 * localedata/unicode-gen/PropList.txt: Likewise.
1574 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1575 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1576 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1577 * localedata/charmaps/UTF-8: Regenerate.
1578 * localedata/locales/i18n_ctype: Likewise.
1579 * localedata/locales/tr_TR: Likewise.
1580 * localedata/locales/translit_circle: Likewise.
1581 * localedata/locales/translit_cjk_compat: Likewise.
1582 * localedata/locales/translit_combining: Likewise.
1583 * localedata/locales/translit_compat: Likewise.
1584 * localedata/locales/translit_font: Likewise.
1585 * localedata/locales/translit_fraction: Likewise.
1586
1587 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1588
1589 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1590 than after operators.
1591 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1592 (setitimer_locked): Likewise.
1593 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1594 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1595 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1596 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1597 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1598 (PPC_CPU_SUPPORTED): Likewise.
1599 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1600 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1601 (stat_overflow): Likewise.
1602 (statfs_overflow): Likewise.
1603 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1604 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1605 (eq_ttyname_r): Likewise.
1606 (run_chroot_tests): Likewise.
1607
1608 2019-03-07 Florian Weimer <fweimer@redhat.com>
1609
1610 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1611 header check.
1612
1613 2019-03-07 Martin Liska <mliska@suse.cz>
1614
1615 * math/Makefile: Change location where math-vector-fortran.h is
1616 installed.
1617 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1618 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1619 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1620 * scripts/check-installed-headers.sh: Skip Fortran header files.
1621 * scripts/check-wrapper-headers.py: Likewise.
1622
1623 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1624
1625 * nptl/nptl-init.c (__have_futex_clock_realtime,
1626 __have_futex_clock_realtime): Remove definition.
1627 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1628 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1629 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1630 __ASSUME_FUTEX_CLOCK_REALTIME support.
1631 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1632 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1633 * sysdeps/unix/sysv/linux/kernel-features.h
1634 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1635 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1636 Adjust comment.
1637
1638 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1639
1640 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1641 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1642 __GI___wcscpy and wcscpy.
1643
1644 2019-03-04 Florian Weimer <fweimer@redhat.com>
1645
1646 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1647 declaration.
1648 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1649 defined.
1650
1651 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1652
1653 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1654 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1655
1656 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1657
1658 [BZ #24162]
1659 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1660 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1661
1662 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1663
1664 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1665 tests.
1666 (do_test): Likewise.
1667 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1668 (do_test_call_varg): Likewise.
1669 (do_test_call_rarg): Likewise.
1670 * sysdeps/ieee754/ldbl-opt/Makefile
1671 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1672 tst-nldbl-error.
1673 ($(objpfx)tst-nldbl-warn.c): New rule.
1674 ($(objpfx)tst-nldbl-error.c): Likewise.
1675 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1676 New variables.
1677
1678 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1679
1680 [BZ #23984]
1681 * include/bits/error-ldbl.h: New file.
1682 * include/error.h: Include stdarg.h. Declare internal functions
1683 __error_internal and __error_at_line_internal.
1684 * misc/Makefile (headers): Add bits/error-ldbl.h.
1685 * misc/bits/error-ldbl.h: New file.
1686 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1687 avoid the inclusion of bits/error.h.
1688 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1689 and __nldbl_error_at_line.
1690 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1691 (__nldbl_error, __ndlbl_error_at_line): New functions.
1692 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1693 Redirect error and error_at_line.
1694 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1696 Likewise.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1698 Likewise.
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1700 Likewise.
1701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1702 Likewise.
1703 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1704 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1705 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1706
1707 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1708
1709 [BZ #23984]
1710 * include/bits/err-ldbl.h: New file.
1711 * include/err.h: Add prototypes for the internal functions:
1712 __vwarnx_internal and __vwarn_internal.
1713 * misc/Makefile (headers): Add bits/err-ldbl.h.
1714 * misc/bits/err-ldbl.h: New file.
1715 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1716 defined, i.e.: when -mlong-double-64 is in use.
1717 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1718 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1719 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1720 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1721 (VA_CALL): New macro.
1722 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1723 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1724 functions.
1725 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1726 declare prototypes for the new functions.
1727 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1729 Likewise.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1731 Likewise.
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1733 Likewise.
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1735 Likewise.
1736 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1737 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1738 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1739
1740 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1741
1742 * sysdeps/ieee754/ldbl-opt/Makefile
1743 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1744 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1745 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1746
1747 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1748
1749 [BZ #23983]
1750 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1751 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1752 * argp/bits/argp-ldbl.h: New file.
1753 * include/argp.h: Include stdarg.h. Add prototypes for internal
1754 functions: __argp_error_internal and __argp_failure_internal.
1755 * include/bits/argp-ldbl.h: New file.
1756 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1757 __nldbl_argp_error and __nldbl_argp_failure.
1758 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1759 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1760 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1761 Redirect argp_error and argp_failure calls.
1762 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1764 Likewise.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1766 Likewise.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1768 Likewise.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1770 Likewise.
1771 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1772 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1773 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1774
1775 2019-03-01 Florian Weimer <fweimer@redhat.com>
1776
1777 [BZ #20419]
1778 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1779 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1780 code, to avoid creating an ABI tag note.
1781 (modules-names-nobuild): Add tst-big-note-lib.
1782
1783 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1784
1785 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1786 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1787
1788 2019-03-01 Florian Weimer <fweimer@redhat.com>
1789
1790 [BZ #20271]
1791 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1792 (__netlink_assert_response): Add additional missing newlines.
1793
1794 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1795
1796 * sysdeps/powerpc/powerpc32/dl-machine.c
1797 (__elf_machine_fixup_plt): Use space before '('.
1798 (__process_machine_rela): Likewise.
1799 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1800 Likewise.
1801 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1802 Likewise.
1803 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1804 Likewise.
1805 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1806 (pattern): Likewise.
1807 (delta): Likewise.
1808 (check_result): Likewise.
1809 (check_excepts): Likewise.
1810 (check_op): Likewise.
1811 (fail_xr): Likewise.
1812 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1813 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1814 (SCNHSZ): Likewise.
1815 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1816 Likewise.
1817 (ARGS): Likewise.
1818 (__makecontext): Likewise.
1819 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1820 Likewise.
1821
1822 2019-02-28 Florian Weimer <fweimer@redhat.com>
1823
1824 [BZ #23937]
1825 elf: Add test with a local IFUNC resolver.
1826 * elf/ifuncmain9.c: New file.
1827 * elf/ifuncmain9pic.c: Likewise.
1828 * elf/ifuncmain9picstatic.c: Likewise.
1829 * elf/ifuncmain9pie.c: Likewise.
1830 * elf/ifuncmain9static.c: Likewise.
1831 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1832 ifuncmain9static, ifuncmain9picstatic.
1833 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1834 Add ifuncmain9, ifuncmain9pic.
1835 * elf/Makefile [multi-arch && build-shared && have-fpie]
1836 (ifunc-pie-tests): Add ifuncmain9pie.
1837 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1838 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1839 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1840
1841 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1842
1843 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1844 * configure: Regenerated.
1845 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1846
1847 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1848
1849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1850 symbol as __wcspcy instead of wcscpy.
1851
1852 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1853
1854 * include/stdio.h (__renameat2): New hidden prototype.
1855 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1856 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1857 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1858 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1859
1860 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1861
1862 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1863 if statement.
1864
1865 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1866 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1867 * benchtests/bench-strlen.c (do_test): Likewise.
1868 (test_main): Likewise.
1869 * catgets/gencat.c (read_old): Likewise.
1870 * elf/cache.c (load_aux_cache): Likewise.
1871 * iconvdata/bug-iconv8.c (do_test): Likewise.
1872 * math/test-tgmath-ret.c (do_test): Likewise.
1873 * nis/nis_call.c (rec_dirsearch): Likewise.
1874 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1875 * nptl/tst-audit-threads.c (do_test): Likewise.
1876 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1877 * nss/nss_test1.c (init): Likewise.
1878 * nss/test-netdb.c (test_hosts): Likewise.
1879 * posix/execvpe.c (maybe_script_execute): Likewise.
1880 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1881 * stdio-common/tst-printf.c (do_test): Likewise.
1882 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1883 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1884 * stdlib/qsort.c (STACK_SIZE): Likewise.
1885 * stdlib/test-canon.c (do_test): Likewise.
1886 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1887 * string/memcmp.c (OPSIZ): Likewise.
1888 * string/test-strcpy.c (do_test): Likewise.
1889 (do_random_tests): Likewise.
1890 * string/test-strlen.c (do_test): Likewise.
1891 (test_main): Likewise.
1892 * string/test-strrchr.c (do_test): Likewise.
1893 (do_random_tests): Likewise.
1894 * string/tester.c (test_memrchr): Likewise.
1895 (test_memchr): Likewise.
1896 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1897 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1898 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1899 (read_encoded_value_with_base): Likewise.
1900 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1901 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1902 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1903 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1904 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1905 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1906 Likewise.
1907 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1908 Likewise.
1909 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1910 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1911 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1912 Likewise.
1913 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1914 Likewise.
1915 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1916 Likewise.
1917 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1918 Likewise.
1919 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1920 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1921 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1922 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1923 * time/test_time.c (main): Likewise.
1924
1925 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1926
1927 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1928
1929 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1930 wmemcpy.
1931
1932 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1933 wmemcpy.
1934
1935 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1936
1937 * include/wchar.h (__wcscpy): New prototype.
1938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1939 (__wcscpy): Route internal symbol to generic implementation.
1940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1941 Add internal __wcscpy alias.
1942 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1943 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1944 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1945 * wcsmbs/wcscpy.c (wcscpy): Add
1946 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1947 use generic implementation.
1948 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1949
1950 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1951 wmemset.
1952
1953 * sysdeps/m68k/wcpcpy.c: Remove file.
1954 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1955
1956 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1957
1958 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1959 than after operators.
1960 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1961 * sysdeps/mach/hurd/getcwd.c
1962 (__hurd_canonicalize_directory_name_internal): Likewise.
1963 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1964 (pthread_mutex_consistent): Likewise.
1965 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1966 Likewise.
1967 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1968 (__pthread_mutex_transfer_np): Likewise.
1969 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1970 (__pthread_mutex_unlock): Likewise.
1971 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1972 (mtx_owned_p): Likewise.
1973 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1974 (pthread_mutexattr_getrobust): Likewise.
1975 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1976 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1977 Likewise.
1978 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1979 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1980 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1981 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1982 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1983 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1984 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1985 Likewise.
1986 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1987 Likewise.
1988 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1989 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1990 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1991 (____longjmp_chk): Likewise.
1992 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1993 Likewise.
1994 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1995 (INTERNAL_SYSCALL): Likewise.
1996 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1997 (INTERNAL_SYSCALL): Likewise.
1998 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1999 (__get_clockfreq_via_cpuinfo): Likewise.
2000
2001 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2002 comments.
2003 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2004 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2005 (WORD_COPY_BWD): Likewise.
2006 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2007 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2008 Likewise.
2009 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2010 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2011 comment.
2012 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2013
2014 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2015
2016 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2017 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2018 rather than after operators.
2019 * elf/cache.c (print_cache): Likewise.
2020 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2021 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2022 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2023 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2024 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2025 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2026 (reauth_proc): Likewise.
2027 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2028 (__file_name_split_at): Likewise.
2029 (__directory_name_split_at): Likewise.
2030 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2031 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2032 * iconv/gconv_dl.c (do_print): Likewise.
2033 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2034 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2035 * locale/setlocale.c (new_composite_name): Likewise.
2036 * malloc/memusagestat.c (main): Likewise.
2037 * misc/fstab.c (fstab_convert): Likewise.
2038 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2039 Likewise.
2040 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2041 (getgrent_next_file): Likewise.
2042 (internal_getgrnam_r): Likewise.
2043 (internal_getgrgid_r): Likewise.
2044 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2045 Likewise.
2046 (internal_getgrent_r): Likewise.
2047 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2048 (getpwent_next_nss): Likewise.
2049 (getpwent_next_file): Likewise.
2050 (internal_getpwnam_r): Likewise.
2051 (internal_getpwuid_r): Likewise.
2052 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2053 Likewise.
2054 (getspent_next_nss): Likewise.
2055 (internal_getspnam_r): Likewise.
2056 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2057 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2058 * string/strchr.c (STRCHR): Likewise.
2059 * string/strchrnul.c (STRCHRNUL): Likewise.
2060 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2061 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2062 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2063 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2064 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2065 Likewise.
2066 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2067 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2068 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2069 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2070 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2071 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2072 (open_file): Likewise.
2073 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2074 (pthread_mutexattr_setprotocol): Likewise.
2075 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2076 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2077 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2078 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2079 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2080 Likewise.
2081 (elf_machine_rela): Likewise.
2082 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2083 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2084 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2085 * sysdeps/posix/rename.c (rename): Likewise.
2086 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2087 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2088 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2089 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2090 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2091 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2092 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2093 Likewise.
2094 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2095 Likewise.
2096 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2097 * time/tzfile.c (__tzfile_compute): Likewise.
2098
2099 2019-02-22 Joseph Myers <joseph@codesourcery.com>
2100
2101 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2102 rather than after operators.
2103 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2104 * crypt/md5.c (md5_finish_ctx): Likewise.
2105 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2106 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2107 * elf/cache.c (load_aux_cache): Likewise.
2108 * elf/dl-load.c (open_verify): Likewise.
2109 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2110 * elf/readelflib.c (process_elf_file): Likewise.
2111 * elf/rtld.c (dl_main): Likewise.
2112 * elf/sprof.c (generate_call_graph): Likewise.
2113 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2114 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2115 * hurd/dtable.c (reauth_dtable): Likewise.
2116 * hurd/getdport.c (__getdport): Likewise.
2117 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2118 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2119 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2120 Likewise.
2121 * hurd/hurdioctl.c (fioctl): Likewise.
2122 * hurd/hurdselect.c (_hurd_select): Likewise.
2123 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2124 (STOPSIGS): Likewise.
2125 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2126 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2127 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2128 * hurd/msgportdemux.c (msgport_server): Likewise.
2129 * hurd/setauth.c (_hurd_setauth): Likewise.
2130 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2131 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2132 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2133 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2134 * login/tst-utmp.c (do_check): Likewise.
2135 (simulate_login): Likewise.
2136 * mach/lowlevellock.h (lll_lock): Likewise.
2137 (lll_trylock): Likewise.
2138 * math/test-fenv.c (ALL_EXC): Likewise.
2139 * math/test-fenvinline.c (ALL_EXC): Likewise.
2140 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2141 * nis/nis_call.c (__do_niscall3): Likewise.
2142 * nis/nis_callback.c (cb_prog_1): Likewise.
2143 * nis/nis_defaults.c (searchaccess): Likewise.
2144 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2145 * nis/nis_ismember.c (internal_ismember): Likewise.
2146 * nis/nis_local_names.c (nis_local_principal): Likewise.
2147 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2148 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2149 Likewise.
2150 * nis/ypclnt.c (yp_match): Likewise.
2151 (yp_first): Likewise.
2152 (yp_next): Likewise.
2153 (yp_master): Likewise.
2154 (yp_order): Likewise.
2155 * nscd/hstcache.c (cache_addhst): Likewise.
2156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2157 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2158 (internal_getpwuid_r): Likewise.
2159 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2160 * posix/glob.h (__GLOB_FLAGS): Likewise.
2161 * posix/regcomp.c (peek_token): Likewise.
2162 (peek_token_bracket): Likewise.
2163 (parse_expression): Likewise.
2164 * posix/regexec.c (sift_states_iter_mb): Likewise.
2165 (check_node_accept_bytes): Likewise.
2166 * posix/tst-spawn3.c (do_test): Likewise.
2167 * posix/wordexp-test.c (testit): Likewise.
2168 * posix/wordexp.c (parse_tilde): Likewise.
2169 (exec_comm): Likewise.
2170 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2171 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2172 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2173 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2174 * stdio-common/tst-fileno.c (do_test): Likewise.
2175 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2176 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2177 * stdlib/strtod_l.c (round_and_return): Likewise.
2178 (____STRTOF_INTERNAL): Likewise.
2179 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2180 * string/strcspn.c (STRCSPN): Likewise.
2181 * string/test-memmem.c (simple_memmem): Likewise.
2182 * termios/tcsetattr.c (tcsetattr): Likewise.
2183 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2184 * time/asctime.c (asctime_internal): Likewise.
2185 * time/strptime_l.c (__strptime_internal): Likewise.
2186 * time/sys/time.h (timercmp): Likewise.
2187 * time/tzfile.c (__tzfile_compute): Likewise.
2188
2189 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2190
2191 [BZ #21915]
2192 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2193
2194 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2195
2196 * argp/argp-help.c (__argp_error_internal): New function,
2197 renamed from __argp_error, but that takes a 'mode_flags'
2198 parameter to control the format of long double parameters.
2199 (__argp_error): Converted into a call __argp_error_internal.
2200 (__argp_failure_internal): New function, renamed from
2201 __argp_failure, but that takes a 'mode_flags' parameter.
2202 (__argp_failure): Converted into a call __argp_failure_internal.
2203 * misc/err.c (__vwarnx_internal): New function, renamed from
2204 vwarnx, but that takes a 'mode_flags' parameter.
2205 (vwarnx): Converted into a call to __vwarnx_internal.
2206 (__vwarn_internal): New function, renamed from vwarn, but that
2207 takes a 'mode_flags' parameter.
2208 (vwarn): Converted into a call to __vwarn_internal.
2209 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2210 call to __vfxprintf with 'mode_flags'.
2211 (__error_internal): New function, renamed from error, but that
2212 takes a 'mode_flags' parameter.
2213 (error): Converted into a call to __error_internal.
2214 (__error_at_line_internal): New function, renamed from
2215 error_at_line, but that takes a 'mode_flags' parameter.
2216 (error_at_line): Converted into a call to
2217 __error_at_line_internal.
2218 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2219 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2220 Likewise.
2221
2222 2019-02-20 Martin Liska <mliska@suse.cz>
2223
2224 * math/Makefile: Install math-vector-fortran.h.
2225 * bits/math-vector-fortran.h: New file.
2226 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2227
2228 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2229
2230 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2231 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2232
2233 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2234
2235 * nptl/pthread_mutex_trylock.c: Fix comment.
2236
2237 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2238
2239 * nptl/pthread_tryjoin.c: Fix comment.
2240
2241 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2242
2243 [BZ #24231]
2244 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2245 after R_SPARC_H34 case.
2246
2247 2019-02-18 Florian Weimer <fweimer@redhat.com>
2248
2249 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2250 (getanswer): Do not call Dprintf.
2251 (res_gethostbyname2_context): Likewise.
2252 (res_gethostbyaddr_context): Likewise.
2253
2254 2019-02-18 Florian Weimer <fweimer@redhat.com>
2255
2256 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2257 declaration.
2258 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2259 Remove definitions.
2260 * libio/stdfiles.c: Update comment.
2261 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2262 set _IO_stdin, _IO_stdout, _IO_stderr.
2263 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2264 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2265 inline function.
2266 (_IO_deallocate_file): New inline function.
2267 * libio/iolibio.h (_IO_vprintf): Remove definition.
2268 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2269 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2270 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2271 _IO_legacy_file.
2272 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2273 __builtin_expect. Use _IO_legacy_file.
2274
2275 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2276
2277 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2278 Initialize ctid with a known value and remove update of ctid
2279 after clone.
2280 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2281 as assumed current value of ctid_ptr.
2282
2283 2019-02-16 Florian Weimer <fweimer@redhat.com>
2284
2285 Check that non-sysdeps headers have wrapper headers.
2286 * scripts/check-wrapper-headers.py: New file.
2287 * Makefile (tests-special): Add check-wrapper-headers.out.
2288 (check-wrapper-headers.out): New target.
2289 * Rules (tests-special): Add check-wrapper-headers.out.
2290 (check-wrapper-headers.out): New target.
2291
2292 2019-02-16 Florian Weimer <fweimer@redhat.com>
2293
2294 Add missing header wrappers under include/.
2295 * include/ar.h: New file.
2296 * include/bits/mqueue2.h: Likewise.
2297 * include/bits/stdio.h: Likewise.
2298 * include/bits/stdio2.h: Likewise.
2299 * include/fstab.h: Likewise.
2300 * include/fts.h: Likewise.
2301 * include/lastlog.h: Likewise.
2302 * include/netinet/icmp6.h: Likewise.
2303 * include/netinet/igmp.h: Likewise.
2304 * include/netinet/ip6.h: Likewise.
2305 * include/re_comp.h: Likewise.
2306 * include/regexp.h: Likewise.
2307 * include/rpcsvc/bootparam.h: Likewise.
2308 * include/rpcsvc/yp_prot.h: Likewise.
2309 * include/sys/random.h: Likewise.
2310 * include/sys/stropts.h: Likewise.
2311 * include/sys/ttychars.h: Likewise.
2312 * include/sys/vfs.h: Likewise.
2313 * include/wait.h: Likewise.
2314
2315 2019-02-16 Florian Weimer <fweimer@redhat.com>
2316
2317 * nptl_db/proc_service.h: Move to ...
2318 * sysdeps/nptl/proc_service.h: ... here.
2319 * nptl_db/thread_db.h: Move to ...
2320 * sysdeps/nptl/thread_db.h: ... here.
2321 * nptl/descr.h: Include <thread_db.h>.
2322
2323 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2324
2325 * io/Makefile (tests): Add tst-lockf.
2326 * io/lockf.c (lockf): Use __fcntl and only define for
2327 !__OFF_T_MATCHES_OFF64_T.
2328 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2329 __OFF_T_MATCHES_OFF64_T case.
2330 * io/tst-lockf.c: New file.
2331 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2332 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2333 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2334 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2335 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2337 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2338 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2339 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2340
2341 2019-02-15 Florian Weimer <fweimer@redhat.com>
2342
2343 [BZ #24211]
2344 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2345 pd->result after the thread descriptor has been freed.
2346
2347 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2348
2349 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2350 from function return type.
2351
2352 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2353
2354 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2355
2356 * scripts/test_printers_common.py: Set TERM to a known harmless
2357 value.
2358
2359 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2360
2361 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2362 (xdr_u_int): Likewise.
2363 (xdr_enum): Likewise.
2364 (xdr_bytes): Reword fall-through comment.
2365 (xdr_string): Likewise.
2366
2367 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2368
2369 [BZ #2421]
2370 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2371 (tests): Add tst-join8 tst-join9.
2372 * nptl/lll_timedwait_tid.c: Remove file.
2373 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2374 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2375 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2376 * nptl/pthread_join_common.c (timedwait_tid): New function.
2377 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2378 is set.
2379 * nptl/tst-join5.c (thread_join): New function.
2380 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2381 check.
2382 * nptl/tst-join8.c: New file.
2383 * nptl/tst-join9.c: Likewise.
2384 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2385 lll_futex_timed_wait_cancel): Add generic macros.
2386 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2387 Remove definitions.
2388 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2389 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2390 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2391 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2392 Remove function.
2393 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2394 Likewise.
2395 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2396 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2397 (lll_futex_timed_wait_cancel): New macro.
2398
2399 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2400
2401 * benchtests/Makefile: Add malloc-simple benchmark.
2402 * benchtests/bench-malloc-simple.c: New benchmark.
2403
2404 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2405
2406 * benchtests/bench-memmove.c (do_one_test): Remove unused
2407 ORIG_SRC.
2408 (do_test): Adjust.
2409 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2410 ORIG_SRC.
2411 (do_test): Adjust.
2412
2413 2019-01-13 Jim Wilson <jimw@sifive.com>
2414
2415 [BZ #24040]
2416 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2417 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2418 (func): New.
2419 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2420 call func directly.
2421 * nptl/Makefile (tests): Add tst-unwind-thread.
2422 (CFLAGS-tst-unwind-thread.c): Define.
2423 * nptl/tst-unwind-thread.c: New file.
2424 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2425 as undefined.
2426
2427 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2428
2429 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2430 comment wording.
2431 * nis/nis_call.c (__do_niscall3): Likewise.
2432
2433 * catgets/gencat.c (normalize_line): Use braces around empty
2434 'else' body.
2435 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2436 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2437 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2438 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2439 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2440 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2441 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2442 definition.
2443
2444 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2445 execlp returns.
2446
2447 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2448
2449 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2450 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2451 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2452 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2453 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2454 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2455 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2456 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2457 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2458 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2459 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2460 * benchtests/bench-bcopy.c: Delete file.
2461 * benchtests/bench-bzero.c: Likewise.
2462 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2463 (simple_memccpy): Remove.
2464 (generic_memccpy): Add function.
2465 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2466 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2467 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2468 (generic_mempcpy): Add new function.
2469 * benchtests/bench-memset.c (simple_bzero): Remove.
2470 (builtin_bzero): Remove.
2471 (builtin_memset): Remove.
2472 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2473 (generic_rawmemchr): Add new function.
2474
2475 2019-02-12 Florian Weimer <fweimer@redhat.com>
2476
2477 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2478
2479 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2480
2481 [BZ #24122]
2482 * elf/Makefile (tests): Add tst-audit13.
2483 (modules-names): Add tst-audit13mod1.
2484 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2485 rule.
2486 * elf/tst-audit13.c: New file.
2487 * elf/tst-audit13mod1.c: Likewise.
2488
2489 2019-02-12 Florian Weimer <fweimer@redhat.com>
2490
2491 [BZ #24122]
2492 * elf/rtld.c (unload_audit_module): New function.
2493 (report_audit_module_load_error): Likewise.
2494 (load_audit_module): Likewise. Extracted from dl_main. Call
2495 _dl_close if the laversion symbol cannot be found. Use early
2496 returns for error handling. Add malloc error check. Check for a
2497 zero return value from la_version. Remove spurious comment about
2498 static TLS initialization. Remove useless casts.
2499 (notify_audit_modules_of_loaded_object): New function. Extracted
2500 from dl_main.
2501 (load_audit_module): Likewise.
2502 (dl_main): Call load_audit_modules.
2503
2504 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2505
2506 * elf/dl-exception.c (_dl_exception_create_format): Add
2507 fall-through comments.
2508 * elf/ldconfig.c (parse_conf_include): Likewise.
2509 * elf/rtld.c (print_statistics): Likewise.
2510 * locale/programs/charmap.c (parse_charmap): Likewise.
2511 * misc/mntent_r.c (__getmntent_r): Likewise.
2512 * posix/wordexp.c (parse_arith): Likewise.
2513 (parse_backtick): Likewise.
2514 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2515 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2516 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2517
2518 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2519
2520 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2521 Use float instead of double.
2522
2523 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2524
2525 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2526
2527 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2528
2529 * sysdeps/powerpc/bits/mathinline.h: Remove.
2530
2531 2019-02-08 Florian Weimer <fweimer@redhat.com>
2532
2533 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2534 * math/bits/math-finite.h: Move to ...
2535 * bits/math-finite.h: ... here.
2536
2537 2019-02-08 Florian Weimer <fweimer@redhat.com>
2538
2539 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2540 * bits/unistd_ext.h: here.
2541
2542 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2543
2544 [BZ #21915]
2545 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2546 * nss/tst-nss-files-hosts-long.c: New file.
2547 * nss/tst-nss-files-hosts-long.root: New directory.
2548 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2549 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2550
2551 2019-02-08 Florian Weimer <fweimer@redhat.com>
2552
2553 * include/bits/unistd_ext.h: Remove file.
2554 * posix/bits/unistd_ext.h: Move to ...
2555 * sysdeps/generic/bits/unistd_ext.h: ... here.
2556
2557 2019-02-08 Florian Weimer <fweimer@redhat.com>
2558
2559 * include/bits/unistd_ext.h: New file.
2560
2561 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2562
2563 * time/tst-strftime2.c: Use array_length macros instead of magic
2564 numbers.
2565
2566 2019-02-08 Florian Weimer <fweimer@redhat.com>
2567
2568 [BZ #24161]
2569 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2570 argument.
2571 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2572 locking if the new do_locking argument is true.
2573 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2574 __run_fork_handlers.
2575
2576 2019-02-08 Florian Weimer <fweimer@redhat.com>
2577
2578 [BZ #6399]
2579 Linux: Add gettid system call wrapper.
2580 * posix/Makefile (headers): Add bits/unistd_ext.h.
2581 * posix/bits/unistd_ext.h: New file.
2582 * posix/unistd.h: Include it.
2583 * manual/process.texi (Process Identification): Document gettid.
2584 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2585 tst-gettid, tst-gettid-kill.
2586 (tst-gettid): Link with $(shared-thread-library).
2587 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2588 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2589 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2590 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2591 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2592 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2593 Add gettid.
2594 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2595 Likewise.
2596 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2597 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2598 Likewise.
2599 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2600 Likewise.
2601 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2602 Likewise.
2603 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2604 Likewise.
2605 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2606 Likewise.
2607 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2608 Likewise.
2609 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2610 Likewise.
2611 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2612 (GLIBC_2.30): Likewise.
2613 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2614 (GLIBC_2.30): Likewise.
2615 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2616 (GLIBC_2.30): Likewise.
2617 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2618 (GLIBC_2.30): Likewise.
2619 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2620 Likewise.
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2622 (GLIBC_2.30): Likewise.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2624 (GLIBC_2.30): Likewise.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2626 (GLIBC_2.30): Likewise.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2628 (GLIBC_2.30): Likewise.
2629 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2630 Likewise.
2631 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2632 Likewise.
2633 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2634 Likewise.
2635 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2636 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2637 Likewise.
2638 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2639 Likewise.
2640 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2641 Likewise.
2642 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2643 Likewise.
2644 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2645
2646 2019-02-08 Florian Weimer <fweimer@redhat.com>
2647
2648 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2649 compatibility symbols.
2650
2651 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2652
2653 [BZ #24180]
2654 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2655 Add compiler barriers and comments.
2656
2657 2019-02-07 Florian Weimer <fweimer@redhat.com>
2658
2659 * include/array_length.h (array_length): Do not use a statement
2660 expression and _Static_assert, so that array_length can be used at
2661 file scope and as a constant expression.
2662
2663 2019-02-07 Florian Weimer <fweimer@redhat.com>
2664
2665 * support/xdlfcn.h (xdlmopen): Declare.
2666 * support/xdlmopen.c: New file.
2667 * support/Makefile (libsupport-routines): Add xdlmopen.
2668
2669 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2670
2671 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2672 before return type, without separate inline.
2673 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2674 * elf/dl-tunables.h (tunable_is_name): Likewise.
2675 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2676 (do_set_top_pad): Likewise.
2677 (do_set_mmap_threshold): Likewise.
2678 (do_set_mmaps_max): Likewise.
2679 (do_set_mallopt_check): Likewise.
2680 (do_set_perturb_byte): Likewise.
2681 (do_set_arena_test): Likewise.
2682 (do_set_arena_max): Likewise.
2683 (do_set_tcache_max): Likewise.
2684 (do_set_tcache_count): Likewise.
2685 (do_set_tcache_unsorted_limit): Likewise.
2686 * nis/nis_subr.c (count_dots): Likewise.
2687 * nptl/allocatestack.c (advise_stack_range): Likewise.
2688 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2689 (do_sin): Likewise.
2690 (reduce_sincos): Likewise.
2691 (do_sincos): Likewise.
2692 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2693 (do_set_elision_enable): Likewise.
2694 (TUNABLE_CALLBACK_FNDECL): Likewise.
2695
2696 2019-02-06 Florian Weimer <fweimer@redhat.com>
2697
2698 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2699 (xdlsym): Use dlerror to detect a NULL symbol.
2700
2701 2019-02-06 Florian Weimer <fweimer@redhat.com>
2702
2703 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2704 <stap-probe.h>.
2705 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2706
2707 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2708
2709 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2710
2711 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2712
2713 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2714 __wmemcmp and weak alias to wmemcmp.
2715
2716 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2717
2718 [BZ #23403]
2719 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2720 TLS_TCB_AT_TP tls variant.
2721 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2722 Add alignment checks.
2723 * support/Makefile (libsupport-routines): Add xposix_memalign and
2724 xpthread_setstack.
2725 * support/support.h: Add xposix_memalign.
2726 * support/xthread.h: Add xpthread_attr_setstack.
2727 * support/xposix_memalign.c: New File.
2728 * support/xpthread_attr_setstack.c: Likewise.
2729
2730 2019-02-05 Florian Weimer <fweimer@redhat.com>
2731
2732 [BZ #24164]
2733 arm: Use "nr" constraint for Systemtap probes, to avoid the
2734 compiler using memory operands for constants, due to the "o"
2735 alternative in the default "nor" constraint.
2736 * include/stap-probe.h [USE_STAP_PROBE]: Include
2737 <stap-probe-machine.h>
2738 * sysdeps/generic/stap-probe-machine.h: New file.
2739 * sysdeps/arm/stap-probe-machine.h: Likewise.
2740
2741 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2742
2743 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2744 with 0, not tcache->entries[tc_idx].
2745
2746 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2747 once.
2748
2749 2019-02-04 Andreas Schwab <schwab@suse.de>
2750
2751 [BZ #16976]
2752 [BZ #17396]
2753 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2754 looking up collating elements match against (wide) character
2755 sequence instead of name. Correct alignment adjustment.
2756 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2757 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2758 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2759 (LOCALES): Add cs_CZ.ISO-8859-2.
2760 * posix/tst-fnmatch4.c: New file.
2761 * posix/tst-fnmatch5.c: New file.
2762 * include/wchar.h (__wmemcmp): Declare.
2763 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2764 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2765 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2766 * sysdeps/s390/wmemcmp.c: Likewise.
2767
2768 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2769
2770 [BZ #24155]
2771 CVE-2019-7309
2772 * NEWS: Updated for CVE-2019-7309.
2773 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2774 upper 32 bits of RDX register for x32. Use unsigned Jcc
2775 instructions, instead of signed.
2776 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2777 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2778
2779 2019-02-04 Florian Weimer <fweimer@redhat.com>
2780
2781 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2782 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2783 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2784 Likewise.
2785 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2786 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2787 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2788 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2789 Likewise.
2790 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2791 Likewise.
2792 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2793 Likewise.
2794 (posix_spawn_file_actions_addopen): Likewise.
2795 (posix_spawn_file_actions_addclose): Likewise.
2796 (posix_spawn_file_actions_adddup2): Likewise.
2797 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2798 qualifiers.
2799 (posix_spawn_file_actions_addfchdir_np): Likewise.
2800
2801 2019-02-04 David Newall <glibc@davidnewall.com>
2802
2803 elf: Implement --preload option for the dynamic linker.
2804 * elf/rtld.c (preloadarg): New variable.
2805 (handle_preload_list): Pass through “where” argument to
2806 do_preload.
2807 (dl_main): Handle "--preload" and add second call to
2808 handle_preload_list.
2809 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2810 (tst-rtld-preload-OBJS): Set variable.
2811 (tst-rtld-preload.out): New target.
2812 * elf/tst-rtld-preload.sh: New file.
2813
2814 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2815
2816 * Makefile (testrun.sh): Exit in case of incorrect argument.
2817
2818 2019-02-04 Florian Weimer <fweimer@redhat.com>
2819
2820 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2821 alignment gaps.
2822
2823 2019-02-03 Florian Weimer <fweimer@redhat.com>
2824
2825 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2826 implicit overflow checks.
2827
2828 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2829
2830 * stdlib/isomac.c: Include <unistd.h>.
2831
2832 2019-02-03 Florian Weimer <fweimer@redhat.com>
2833
2834 * include/time.h (__tzfile_default): Use int, not long int, for
2835 the GMT offsets.
2836 * time/tzfile.c (struct ttinfo): Change type of the offset member
2837 to int.
2838 (__tzfile_read): Remove useless cast.
2839 (__tzfile_default): Adjust prototype.
2840 * time/tzset.c (tz_rule): Change type of the offset member to int.
2841 (parse_offset): Change the type of the sign variable to int.
2842
2843 2019-02-03 Florian Weimer <fweimer@redhat.com>
2844
2845 [BZ #24153]
2846 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2847 * libio/getchar.c (getchar): Likewise.
2848 * libio/getchar_u.c (getchar_unlocked): Likewise.
2849 * libio/getwchar.c (getwchar): Likewise.
2850 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2851 * libio/iogets.c (_IO_gets): Likewise.
2852 * libio/vscanf.c (_IO_vscanf): Likewise.
2853 * libio/vwscanf.c (__vwscanf): Likewise.
2854 * libio/tst-bz24153.c: New file.
2855 * libio/Makefile (tests): Add it.
2856
2857 2019-02-02 Florian Weimer <fweimer@redhat.com>
2858
2859 [BZ #14829]
2860 * manual/resource.texi (Basic Scheduling Functions): Add
2861 portability note. Change process to task throughout the section.
2862 Remove incorrect comment about sched_yield as it affects
2863 tasks/threads, not entire processes.
2864 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2865 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2866
2867 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2868
2869 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2870 * configure: Regenerated.
2871 * manual/install.texi (Tools for Compilation): Update minimum GCC
2872 version.
2873 * INSTALL: Regenerated.
2874
2875 2019-02-01 Florian Weimer <fweimer@redhat.com>
2876
2877 * support/support_test_compare_string.c
2878 (support_test_compare_string): Use "string" in error message.
2879 * support/tst-test_compare_string.c (do_test): Adjust.
2880
2881 2019-02-01 Florian Weimer <fweimer@redhat.com>
2882
2883 * support/support_format_address_family.c
2884 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2885
2886 2019-02-01 Florian Weimer <fweimer@redhat.com>
2887
2888 * manual/socket.texi (Internet Address Formats): Clarify the byte
2889 order of struct sockaddr_in, struct sockaddr_in6. Document
2890 sin6_flowinfo and sin6_scope_id.
2891
2892 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2893
2894 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2895 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2896 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2897 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2898 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2899 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2900
2901 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2902
2903 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2904 [!MEMCHR](MEMCHR): Set to __memchr.
2905 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2906 Add memchr_generic and memchr_nosimd.
2907 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2908 (__libc_ifunc_impl_list): Add memchr ifuncs.
2909 * sysdeps/aarch64/multiarch/memchr.c: New file.
2910 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2911 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2912
2913 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2914
2915 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2916 Add memset_emag.
2917 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2918 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2919 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2920 Add IS_EMAG check for ifunc dispatch.
2921 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2922 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2923
2924 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2925
2926 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2927 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2928 Add emag.
2929 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2930 New macro.
2931
2932 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2933
2934 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2935
2936 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2937
2938 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2939 syscall-template file.
2940
2941 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2942 Torvald Riegel <triegel@redhat.com>
2943 Rik Prohaska <prohaska7@gmail.com>
2944
2945 [BZ# 23844]
2946 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2947 tst-rwlock-trywrlock-stall.
2948 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2949 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2950 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2951 Set __wrphase_fute to 1 only if we started the write phase.
2952 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2953 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2954 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2955 * support/xpthread_rwlock_destroy.c: New file.
2956 * support/xthread.h: Declare xpthread_rwlock_destroy.
2957
2958 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2959
2960 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2961 version to 4.0.2.
2962
2963 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2964
2965 [BZ #24051]
2966 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2967 * libio/fileops.c (_IO_new_file_underflow): Likewise
2968 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2969 * libio/putchar.c (putchar): Likewise.
2970 * libio/putchar_u.c (putchar_unlocked): Likewise.
2971 * libio/putwchar.c (putchar): Likewise.
2972 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2973 * libio/tst-bz24051.c: New test.
2974 * libio/Makefile (tests): Add tst-bz24051
2975
2976 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2977
2978 CVE-2019-9169
2979 regex: fix read overrun [BZ #24114]
2980 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2981 https://debbugs.gnu.org/34140
2982 * posix/regexec.c (proceed_next_node):
2983 Do not read past end of input buffer.
2984
2985 2019-01-31 Florian Weimer <fweimer@redhat.com>
2986
2987 [BZ #24059]
2988 * nss/nss_files/files-alias.c (get_next_alias): Handle
2989 continuation line without newline at the end.
2990 * nss/tst-nss-files-alias-truncated.c: New file.
2991 * nss/Makefile [$(build-shared)] (tests): Add
2992 tst-nss-files-alias-truncated.
2993 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2994 * support/namespace.h (struct support_chroot_configuration): Add
2995 aliases member.
2996 (struct support_chroot): Add path_aliases member.
2997 * support/support_chroot.c (support_chroot_create): Handle
2998 aliases.
2999 (support_chroot_free): Free path_aliases.
3000
3001 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3002
3003 * version.h (RELEASE): Set to "development".
3004 (VERSION): Set to "2.29.9000".
3005 * NEWS: Add section for 2.30.
3006
3007 * version.h (RELEASE): Set to "stable".
3008 (VERSION): Set to "2.29".
3009 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3010
3011 * NEWS: Add the list of bugs fixed in 2.29.
3012 * manual/contrib.texi: Update contributors list with some more
3013 names.
3014 * manual/install.texi: Update latest versions of packages
3015 tested.
3016 * INSTALL: Regenerated.
3017
3018 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3019
3020 * po/be.po: Update translations.
3021 * po/bg.po: Likewise.
3022 * po/ca.po: Likewise.
3023 * po/cs.po: Likewise.
3024 * po/da.po: Likewise.
3025 * po/de.po: Likewise.
3026 * po/el.po: Likewise.
3027 * po/eo.po: Likewise.
3028 * po/es.po: Likewise.
3029 * po/fi.po: Likewise.
3030 * po/fr.po: Likewise.
3031 * po/gl.po: Likewise.
3032 * po/hr.po: Likewise.
3033 * po/hu.po: Likewise.
3034 * po/ia.po: Likewise.
3035 * po/id.po: Likewise.
3036 * po/it.po: Likewise.
3037 * po/ja.po: Likewise.
3038 * po/ko.po: Likewise.
3039 * po/lt.po: Likewise.
3040 * po/nb.po: Likewise.
3041 * po/nl.po: Likewise.
3042 * po/pl.po: Likewise.
3043 * po/pt_BR.po: Likewise.
3044 * po/ru.po: Likewise.
3045 * po/rw.po: Likewise.
3046 * po/sk.po: Likewise.
3047 * po/sl.po: Likewise.
3048 * po/sv.po: Likewise.
3049 * po/tr.po: Likewise.
3050 * po/uk.po: Likewise.
3051 * po/vi.po: Likewise.
3052 * po/zh_CN.po: Likewise.
3053 * po/zh_TW.po: Likewise.
3054
3055 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3056
3057 [BZ #24130]
3058 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3059 of $f3 register on $y_is_neg path.
3060
3061 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3062
3063 [BZ #24110]
3064 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3065 sigaltstack.ss_flags.
3066
3067 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3068
3069 [BZ #23758]
3070 * manual/time.texi (strftime): Document "%Ey".
3071 * time/strftime_l.c (__strftime_internal): Set the default width
3072 padding with zero of "%Ey" to 2.
3073
3074 [BZ #24096]
3075 * manual/time.texi (strftime): Document "%EC" and "%EY".
3076 * time/Makefile (tests): Add tst-strftime2.
3077 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3078 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3079 override padding for "%Ey".
3080 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3081 "%Ey" in the subformat as if decorated with that flag.
3082 * time/tst-strftime2.c: New file.
3083
3084 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3085
3086 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3087 are not defined.
3088
3089 [BZ #24122]
3090 * elf/Makefile (tests): Add tst-audit13.
3091 (modules-names): Add tst-audit13mod1.
3092 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3093 rule.
3094 * elf/rtld.c (dl_main): Handle invalid audit module version.
3095 * elf/tst-audit13.c: New file.
3096 * elf/tst-audit13mod1.c: Likewise.
3097
3098 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3099
3100 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3101 returned by __hurd_at_flags.
3102 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3103 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3104 directly instead of __hurd_file_name_lookup.
3105
3106 2019-01-21 Joseph Myers <joseph@codesourcery.com>
3107
3108 * scripts/build-many-glibcs.py (Context.checkout): Default
3109 binutils version to 2.32 branch.
3110
3111 2019-01-21 Florian Weimer <fweimer@redhat.com>
3112
3113 [BZ #20018]
3114 CVE-2016-10739
3115 resolv: Reject trailing characters in host names
3116 * include/arpa/inet.h (__inet_aton_exact): Declare.
3117 (inet_aton): Remove hidden prototype. No longer used internally.
3118 * nscd/gai.c (__inet_aton): Do not define.
3119 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3120 * nss/digits_dots.c (__inet_aton): Likewise.
3121 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3122 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3123 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3124 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3125 (tst-resolv-trailing): Likewise.
3126 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3127 libc.
3128 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3129 Make static. Add endp parameter.
3130 (__inet_aton_exact): New function.
3131 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3132 (__inet_addr): Call inet_aton_end.
3133 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3134 not just IPv6. Call __inet_aton_exact.
3135 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3136 (tests): Make const. Add additional test cases with trailing
3137 characters.
3138 (do_test): Use array_length.
3139 * resolv/tst-inet_aton_exact.c: New file.
3140 * resolv/tst-resolv-trailing.c: Likewise.
3141 * resolv/tst-resolv-nondecimal.c: Likewise.
3142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3143
3144 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3145
3146 [BZ# 24097]
3147 CVE-2019-6488
3148 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3149 Clear the upper 32 bits of RSI register.
3150 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3151 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3152 and tst-size_t-wcsnlen.
3153 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3154 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3155
3156 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3157
3158 [BZ# 24097]
3159 CVE-2019-6488
3160 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3161 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3162 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3163 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3164 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3165
3166 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3167
3168 [BZ# 24097]
3169 CVE-2019-6488
3170 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3171 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3172 * sysdeps/x86_64/strcmp.S: Likewise.
3173 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3174 tst-size_t-strncmp and tst-size_t-wcsncmp.
3175 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3176 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3177 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3178
3179 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3180
3181 [BZ# 24097]
3182 CVE-2019-6488
3183 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3184 RDX_LP for length. Clear the upper 32 bits of RDX register.
3185 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3186 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3187 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3188 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3189
3190 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3191
3192 [BZ# 24097]
3193 CVE-2019-6488
3194 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3195 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3196 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3197 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3198
3199 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3200
3201 [BZ# 24097]
3202 CVE-2019-6488
3203 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3204 length. Clear the upper 32 bits of RDX register.
3205 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3206 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3207 Likewise.
3208 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3209 Likewise.
3210 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3211 tst-size_t-wmemchr.
3212 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3213
3214 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3215
3216 [BZ# 24097]
3217 CVE-2019-6488
3218 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3219 length. Clear the upper 32 bits of RDX register.
3220 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3221 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3222 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3223 tst-size_t-wmemcmp.
3224 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3225 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3226
3227 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3228
3229 [BZ# 24097]
3230 CVE-2019-6488
3231 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3232 upper 32 bits of RDX register.
3233 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3234 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3235 tst-size_t-wmemchr.
3236 * sysdeps/x86_64/x32/test-size_t.h: New file.
3237 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3238 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3239
3240 2019-01-18 Florian Weimer <fweimer@redhat.com>
3241
3242 [BZ #24112]
3243 resolv: Do not send queries for non-host-names in nss_dns.
3244 * resolv/nss_dns/dns-host.c (check_name): New function.
3245 (_nss_dns_gethostbyname2_r): Use it.
3246 (_nss_dns_gethostbyname_r): Likewise.
3247 (_nss_dns_gethostbyname4_r): Likewise.
3248
3249 2019-01-21 Florian Weimer <fweimer@redhat.com>
3250
3251 * resolv/inet_addr.c: Reformat to GNU style.
3252 (__inet_addr, __inet_aton): Update comment.
3253
3254 2019-01-18 Florian Weimer <fweimer@redhat.com>
3255
3256 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3257 ("malloc: Use current (C11-style) atomics for fastbin access").
3258 This commit introduces a substantial performance regression on
3259 POWER and Aarch64.
3260 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3261 (REMOVE_FB): Define.
3262 (_int_malloc): Use it and reindent.
3263 (_int_free): Use CAS loop with
3264 catomic_compare_and_exchange_val_rel.
3265 (malloc_consolidate): Use atomic_exchange_acq.
3266
3267
3268 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3269
3270 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3271 -Wl,-z,now.
3272 (LDFLAGS-tst-minsigstksz-2): Likewise.
3273 (LDFLAGS-tst-minsigstksz-3): Likewise.
3274 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3275 (LDFLAGS-tst-minsigstksz-4): Likewise.
3276
3277 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3278
3279 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3280 than "alternate".
3281
3282 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3283
3284 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3285
3286 2019-01-16 Zack Weinberg <zackw@panix.com>
3287
3288 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3289 (xget_sigstack_location): New test support functions.
3290 * support/xsigstack.c: New file, implementing them.
3291 * support/tst-xsigstack.c: New test for them.
3292 * support/Makefile: Update.
3293
3294 * signal/tst-minsigstksz-1.c
3295 * signal/tst-minsigstksz-2.c
3296 * signal/tst-minsigstksz-3.c
3297 * signal/tst-minsigstksz-3a.c
3298 * signal/tst-minsigstksz-4.c: New tests.
3299 * signal/Makefile: Run them.
3300
3301 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3302
3303 * po/libc.pot: Regenerate.
3304
3305 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3306
3307 * math/libm-test-fma.inc (fma_test_data): Set
3308 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3309
3310 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3311
3312 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3313 (do_test): Changed __vector __int128_t to __vector unsigned int.
3314
3315 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3316
3317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3318 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3319 stpcpy-avx2 and stpncpy-avx2.
3320 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3321 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3322 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3323 and __stpncpy_avx2.
3324 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3325 ifunc-strcpy.h}: rename header for a more generic name.
3326 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3327 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3328 AVX unaligned load is fast and vzeroupper is preferred.
3329 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3330 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3331 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3332 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3333 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3334 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3335
3336 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3337
3338 * argp/argp-help.c: Fix typo in comment.
3339 * misc/sys/cdefs.h: Likewise.
3340 * posix/regexec.c (sift_states_iter_mb): Likewise.
3341 * socket/sockatmark.c: Likewise.
3342 * socket/sys/socket.h: Likewise.
3343 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3344 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3345 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3347 * sysdeps/unix/sockatmark.c: Likewise.
3348 * time/strptime_l.c: Likewise.
3349
3350 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3351
3352 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3353 missing space after the cast of "_NL_CURRENT".
3354
3355 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3356
3357 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3358 ifdef to fix read of VSCR.
3359 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3360 tst-ucontext-ppc64-vscr.c to test list.
3361 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3362
3363 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3364
3365 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3366 fall-through.
3367
3368 2019-01-09 Jim Wilson <jimw@sifive.com>
3369
3370 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3371
3372 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3373
3374 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3375 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3376 __memcpy_falkor for ares.
3377 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3378 Add new define.
3379 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3380 Add ares cpu.
3381
3382 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3383
3384 [BZ #24066]
3385 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3386 4_FP_W_TYPEs are used for IEEE quad precision.
3387 * soft-fp/extendhftf2.c: Likewise.
3388 * soft-fp/extendsftf2.c: Likewise.
3389 * soft-fp/extendxftf2.c: Likewise.
3390 * soft-fp/trunctfdf2.c: Likewise.
3391 * soft-fp/trunctfhf2.c: Likewise.
3392 * soft-fp/trunctfsf2.c: Likewise.
3393 * soft-fp/trunctfxf2.c: Likewise.
3394 * sysdeps/alpha/ots_cvttx.c: Likewise.
3395 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3396 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3397 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3398 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3399 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3400 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3401 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3402 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3403 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3404 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3405 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3406 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3407 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3408 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3409 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3410 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3411 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3412
3413 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3414
3415 [BZ #24024]
3416 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3417 code with -fmath-errno.
3418 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3419 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3420 * string/test-strerror-errno.c: New file.
3421
3422 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3423
3424 [BZ #24046]
3425 * localedata/locales/en_US (date_fmt): Add, set to
3426 "%a %d %b %Y %r %Z".
3427
3428 2019-01-07 Florian Weimer <fweimer@redhat.com>
3429
3430 [BZ #24063]
3431 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3432 instead of @var{errno}.
3433 (Parsing of Integers): Likewise.
3434 (Parsing of Floats): Likewise.
3435 * manual/filesys.texi (Working with Directory Trees): Likewise.
3436 (Temporary Files): Likewise.
3437 * manual/job.texi (Terminal Access Functions): Likewise.
3438 * manual/llio.texi (Synchronizing I/O): Likewise.
3439 * manual/math.texi (SVID Random): Likewise.
3440 * manual/message.texi (The catgets Functions): Likewise.
3441 (Translation with gettext): Likewise.
3442 (Locating gettext catalog): Likewise.
3443 (Charset conversion in gettext): Likewise.
3444 * manual/nss.texi (NSS Module Function Internals): Likewise.
3445 * manual/search.texi (Hash Search Function): Likewise.
3446 * manual/setjmp.texi (System V contexts): Likewise.
3447 * manual/time.texi (Sleeping): Likewise.
3448 * manual/users.texi (Lookup User): Likewise.
3449 (Lookup Group): Likewise.
3450
3451 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3452
3453 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3454 fix typo.
3455
3456 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3457
3458 [BZ #19444]
3459 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3460 __builtin_unreachable for default case in switch.
3461 (__ieee754_yn): Likewise.
3462 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3463 (__ieee754_ynl): Likewise.
3464 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3465 (__ieee754_ynl): Likewise.
3466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3467 (__ieee754_ynl): Likewise.
3468
3469 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3470
3471 * manual/maint.texi: Use @{ and @}.
3472
3473 2019-01-04 Florian Weimer <fweimer@redhat.com>
3474
3475 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3476 function.
3477 (do_in_chroot_1): Call it.
3478 (run_chroot_tests):
3479 Improve error reporting in case it is not possible to create a
3480 collision for the PTY name required by the test.
3481
3482 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3483
3484 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3485 lll_wait_tid with timeout.
3486 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3487 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3488 futex_reltimed_wait_cancelable for cancelabla mode.
3489 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3490 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3491 macros.
3492 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3493 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3494 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3495 SYSCALL_CANCEL_NCS): New macro.
3496 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3497 (lll_timedwait_tid): Remove macro.
3498 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3499 Likewise.
3500 (lll_timedwait_tid): Likewise.
3501 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3502 Likewise.
3503 (lll_timedwait_tid): Likewise.
3504 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3505 Likewise.
3506 (lll_timedwait_tid): Likewise.
3507 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3508 Use INTERNAL_SYSCALL_CANCEL.
3509 * sysdeps/unix/sysv/linux/futex-internal.h
3510 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3511 instead of __pthread_{enable,disable}_asynccancel.
3512 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3513 (lll_futex_wait_cancel): New macro.
3514
3515 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3516 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3517
3518 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3519 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3520
3521 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3522 in backtrace analysis.
3523 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3524 side-effects.
3525 (tf_send): Likewise.
3526
3527 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3528 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3529 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3530 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3531 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3532 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3533 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3534 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3535 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3536 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3537 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3538 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3539 Likewise.
3540 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3541 tst-cancel-wrappers.sh.
3542 (generated): Remove tst-cancel-wrappers.out.
3543 (tst-cancel-wrappers.out): Remove rule.
3544 * nptl/tst-cancel-wrappers.sh: Remove file.
3545
3546 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3547
3548 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3549 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3550 Update.
3551
3552 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3553
3554 [BZ #23640]
3555 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3556 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3557 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3558 close-on-exec reset for adddup2 file action.
3559 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3560
3561 2019-01-03 Zack Weinberg <zackw@panix.com>
3562
3563 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3564 parameter. Only use deprecated scanf when __USE_GNU is defined
3565 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3566 than 201103L, whichever is relevant for the language being compiled.
3567
3568 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3569 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3570 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3571 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3572 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3573
3574 * libio/iovsscanf.c
3575 * libio/fwscanf.c
3576 * libio/iovswscanf.c
3577 * libio/swscanf.c
3578 * libio/vscanf.c
3579 * libio/vwscanf.c
3580 * libio/wscanf.c
3581 * stdio-common/fscanf.c
3582 * stdio-common/scanf.c
3583 * stdio-common/vfscanf.c
3584 * stdio-common/vfwscanf.c
3585 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3586 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3587 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3588 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3589 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3590 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3591 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3592 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3593 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3594 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3595 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3596 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3597 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3598 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3599 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3600
3601 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3602 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3603 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3604 not sscanf.
3605 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3606 with a preprocessor macro.
3607
3608 * stdio-common/bug21.c, stdio-common/scanf14.c:
3609 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3610 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3611 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3612 to xscanf, xfscanf, xsscanf.
3613
3614 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3615 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3616 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3617 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3618 xfscanf, xsscanf.
3619 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3620 override feature selection macros or provide definitions of u_char etc.
3621 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3622 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3623 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3624 with -std=gnu89.
3625
3626 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3627
3628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3629 bits/termios-misc.h.
3630 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3631 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3632 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3633 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3634 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3635 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3636
3637 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3638 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3639 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3640 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3641 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3642 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3643 termios-misc.h.
3644 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3645 (sysdep_headers): Add termios-misc.h.
3646
3647 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3648 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3649 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3650
3651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3652 termios-tcflow.h.
3653 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3654 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3655 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3656 TCSAFLUSH): Move to termios-tcflow.h.
3657 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3658 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3659 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3660 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3661
3662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3663 termios-c_lflag.h.
3664 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3665 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3666 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3667 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3668 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3669 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3670 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3671 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3672 Likewise.
3673 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3674 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3675 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3677
3678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3679 termios-c_cflag.h.
3680 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3681 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3682 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3683 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3684 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3685 termios-c_cflag.h.
3686 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3687 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3688 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3689 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3690
3691 [BZ #23783]
3692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3693 termios-baud.h.
3694 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3695 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3696 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3697 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3698 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3699 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3700 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3701 __MAX_BAUD): Move to termios-baud.h.
3702 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3703 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3704 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3705 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3706 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3707
3708 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3709 termios-c_oflag.h.
3710 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3711 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3712 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3713 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3714 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3715 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3716 termios-c_oflag.h.
3717 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3718 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3719 FFR1): Likewise.
3720 [USE_MISC] (XTABS): Likewise.
3721 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3722 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3723 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3724 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3725
3726 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3727 termios-c_iflag.h.
3728 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3729 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3730 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3731 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3732 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3733 IUTF8): Move to termios-c_iflag.h.
3734 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3735 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3736 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3737 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3738
3739 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3740 termios-cc.h.
3741 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3742 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3743 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3744 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3745 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3746 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3747 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3748 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3749 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3750 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3751 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3752 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3753
3754 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3755 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3756 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3757 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3759 termios-struct.h.
3760 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3761 termios-struct.h.
3762 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3763 Likewise.
3764 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3765 Likewise.
3766 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3767 Likewise.
3768 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3769 Likewise.
3770 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3771 _HAVE_C_OSPEED): Define.
3772 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3773 _HAVE_C_OSPEED): Likewise.
3774 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3775 _HAVE_C_OSPEED): Likewise.
3776 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3777 (cfsetospeed): Check for define value instead of existence.
3778 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3779 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3780 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3781 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3782 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3783
3784 [BZ #17783]
3785 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3786 Define.
3787 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3788 (TIOCSER_TEMT): Likewise.
3789 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3790 (TEOCSER_TEMT): Likewise.
3791
3792 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3793
3794 [BZ #24011]
3795 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3796
3797 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3798
3799 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3800
3801 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3802
3803 * sysdeps/htl/pt-barrierattr-setpshared.c
3804 (pthread_barrierattr_setpshared): Add stub warning.
3805 * sysdeps/htl/pt-condattr-setpshared.c
3806 (pthread_condattr_setpshared): Likewise.
3807 * sysdeps/htl/pt-mutexattr-setpshared.c
3808 (pthread_mutexattr_setpshared): Likewise.
3809 * sysdeps/htl/pt-rwlockattr-setpshared.c
3810 (pthread_rwlockattr_setpshared): Likewise.
3811 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3812 (pthread_mutexattr_setpshared): Likewise.
3813
3814 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3815
3816 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3817 constants to match with Linux 4.20.
3818
3819 * sysdeps/mips/mips32/libm-test-ulps: Update.
3820 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3821
3822 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3823
3824 [BZ #24034]
3825 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3826 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3827 than __typeof (...) for the a_ptr variable.
3828
3829 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3830
3831 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3832 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3833 * libio/Makefile (tests): Add tst-sprintf-ub and
3834 tst-sprintf-chk-ub.
3835 (CFLAGS-tst-sprintf-ub.c): New variable.
3836 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3837 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3838 destination buffer and check for overflows in fortified mode.
3839 * libio/libioP.h (PRINTF_CHK): New macro.
3840 * libio/tst-sprintf-chk-ub.c: New file.
3841 * libio/tst-sprintf-ub.c: Likewise.
3842
3843 2019-01-02 Florian Weimer <fweimer@redhat.com>
3844
3845 [BZ #24018]
3846 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3847 failure.
3848
3849 2019-01-02 Florian Weimer <fweimer@redhat.com>
3850
3851 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3852
3853 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3854
3855 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3856 macro.
3857
3858 * sysdeps/unix/sysv/linux/netpacket/packet.h
3859 (PACKET_IGNORE_OUTGOING): New macro.
3860
3861 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3862 macro.
3863
3864 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3865 version to 4.20.
3866 (riscv_flush_icache): New syscall.
3867
3868 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3869 trailing whitespace removed.
3870 * scripts/config.guess: Update to version 2019-01-01.
3871 * scripts/config.sub: Update to version 2019-01-01.
3872 * scripts/move-if-change: Update from gnulib.
3873
3874 * NEWS: Update copyright dates.
3875 * catgets/gencat.c (print_version): Likewise.
3876 * csu/version.c (banner): Likewise.
3877 * debug/catchsegv.sh: Likewise.
3878 * debug/pcprofiledump.c (print_version): Likewise.
3879 * debug/xtrace.sh (do_version): Likewise.
3880 * elf/ldconfig.c (print_version): Likewise.
3881 * elf/ldd.bash.in: Likewise.
3882 * elf/pldd.c (print_version): Likewise.
3883 * elf/sotruss.sh: Likewise.
3884 * elf/sprof.c (print_version): Likewise.
3885 * iconv/iconv_prog.c (print_version): Likewise.
3886 * iconv/iconvconfig.c (print_version): Likewise.
3887 * locale/programs/locale.c (print_version): Likewise.
3888 * locale/programs/localedef.c (print_version): Likewise.
3889 * login/programs/pt_chown.c (print_version): Likewise.
3890 * malloc/memusage.sh (do_version): Likewise.
3891 * malloc/memusagestat.c (print_version): Likewise.
3892 * malloc/mtrace.pl: Likewise.
3893 * manual/libc.texinfo: Likewise.
3894 * nptl/version.c (banner): Likewise.
3895 * nscd/nscd.c (print_version): Likewise.
3896 * nss/getent.c (print_version): Likewise.
3897 * nss/makedb.c (print_version): Likewise.
3898 * posix/getconf.c (main): Likewise.
3899 * scripts/test-installation.pl: Likewise.
3900 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3901
3902 * All files with FSF copyright notices: Update copyright dates
3903 using scripts/update-copyrights.
3904 * locale/programs/charmap-kw.h: Regenerated.
3905 * locale/programs/locfile-kw.h: Likewise.
3906
3907 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3908
3909 * timezone/zdump.c: Update from tzcode 2018i.
3910 * timezone/zic.c: Likewise.
3911
3912 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3913
3914 regex: improve Gnulib port to AIX
3915 From the glibc point of view, this removes duplicate macro
3916 definitions and is obviously safe.
3917 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3918 * posix/regex_internal.h:
3919 (__attribute__, __attribute_warn_unused_result__):
3920 Remove; already defined elsewhere.
3921
3922 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3923
3924 [BZ #24027]
3925 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3926 copying operation. (ncopies had the wrong type, resulting in an
3927 integer wraparound and too few elements being copied.)
3928
3929 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3930
3931 [BZ #24022]
3932 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3933 <asm/syscalls.h> exists with __has_include__ before including it.
3934
3935 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3936
3937 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3938 version to 4.20.
3939
3940 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3941
3942 * hurd/lookup-retry: Include <unistd.h>.
3943 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3944 Release it on return. Handle "pid" magical lookup retry.
3945
3946 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3947
3948 [BZ #10496]
3949 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3950 (t_fmt_ampm): Likewise.
3951 * localedata/locales/aa_ER (t_fmt): Likewise.
3952 (t_fmt_ampm): Likewise.
3953 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3954 (t_fmt_ampm): Likewise.
3955 * localedata/locales/aa_ET (t_fmt): Likewise.
3956 (t_fmt_ampm): Likewise.
3957 * localedata/locales/am_ET (t_fmt): Likewise.
3958 (t_fmt_ampm): Likewise.
3959 * localedata/locales/byn_ER (t_fmt): Likewise.
3960 (t_fmt_ampm): Likewise.
3961 * localedata/locales/om_ET (t_fmt): Likewise.
3962 (t_fmt_ampm): Likewise.
3963 * localedata/locales/sid_ET (t_fmt): Likewise.
3964 (t_fmt_ampm): Likewise.
3965 * localedata/locales/so_DJ (t_fmt): Likewise.
3966 (t_fmt_ampm): Likewise.
3967 * localedata/locales/so_ET (t_fmt): Likewise.
3968 (t_fmt_ampm): Likewise.
3969 * localedata/locales/so_SO (t_fmt): Likewise.
3970 (t_fmt_ampm): Likewise.
3971 * localedata/locales/ti_ER (t_fmt): Likewise.
3972 (t_fmt_ampm): Likewise.
3973 * localedata/locales/ti_ET (t_fmt): Likewise.
3974 (t_fmt_ampm): Likewise.
3975 * localedata/locales/tig_ER (t_fmt): Likewise.
3976 (t_fmt_ampm): Likewise.
3977 * localedata/locales/wal_ET (t_fmt): Likewise.
3978 (t_fmt_ampm): Likewise.
3979
3980 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3981 * localedata/locales/ar_IN (t_fmt): Likewise.
3982 * localedata/locales/bhb_IN (t_fmt): Likewise.
3983 * localedata/locales/bho_IN (t_fmt): Likewise.
3984 * localedata/locales/bi_VU (t_fmt): Likewise.
3985 * localedata/locales/bn_BD (t_fmt): Likewise.
3986 * localedata/locales/bn_IN (t_fmt): Likewise.
3987 * localedata/locales/brx_IN (t_fmt): Likewise.
3988 * localedata/locales/doi_IN (t_fmt): Likewise.
3989 * localedata/locales/en_HK (t_fmt): Likewise.
3990 (t_fmt_ampm): Likewise.
3991 * localedata/locales/en_IN (t_fmt): Likewise.
3992 * localedata/locales/en_PH (t_fmt): Likewise.
3993 * localedata/locales/gu_IN (t_fmt): Likewise.
3994 * localedata/locales/hi_IN (t_fmt): Likewise.
3995 * localedata/locales/hif_FJ (t_fmt): Likewise.
3996 * localedata/locales/hne_IN (t_fmt): Likewise.
3997 * localedata/locales/kn_IN (t_fmt): Likewise.
3998 * localedata/locales/kok_IN (t_fmt): Likewise.
3999 * localedata/locales/ks_IN (t_fmt): Likewise.
4000 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4001 * localedata/locales/mag_IN (t_fmt): Likewise.
4002 * localedata/locales/mai_IN (t_fmt): Likewise.
4003 * localedata/locales/mjw_IN (t_fmt): Likewise.
4004 * localedata/locales/ml_IN (t_fmt): Likewise.
4005 * localedata/locales/mni_IN (t_fmt): Likewise.
4006 * localedata/locales/mr_IN (t_fmt): Likewise.
4007 * localedata/locales/ms_MY (t_fmt): Likewise.
4008 * localedata/locales/pa_IN (t_fmt): Likewise.
4009 * localedata/locales/raj_IN (t_fmt): Likewise.
4010 * localedata/locales/sa_IN (t_fmt): Likewise.
4011 * localedata/locales/sat_IN (t_fmt): Likewise.
4012 * localedata/locales/sd_IN (t_fmt): Likewise.
4013 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4014 * localedata/locales/tcy_IN (t_fmt): Likewise.
4015 * localedata/locales/the_NP (t_fmt): Likewise.
4016 * localedata/locales/to_TO (t_fmt): Likewise.
4017 * localedata/locales/ur_IN (t_fmt): Likewise.
4018
4019 * localedata/locales/hif_FJ (d_t_fmt): Set to
4020 "%A %d %b %Y %I:%M:%S %p".
4021 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4022
4023 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4024 * localedata/locales/ar_BH (t_fmt): Likewise.
4025 * localedata/locales/ar_DZ (t_fmt): Likewise.
4026 * localedata/locales/ar_EG (t_fmt): Likewise.
4027 * localedata/locales/ar_IQ (t_fmt): Likewise.
4028 * localedata/locales/ar_JO (t_fmt): Likewise.
4029 * localedata/locales/ar_KW (t_fmt): Likewise.
4030 * localedata/locales/ar_LB (t_fmt): Likewise.
4031 * localedata/locales/ar_LY (t_fmt): Likewise.
4032 * localedata/locales/ar_OM (t_fmt): Likewise.
4033 * localedata/locales/ar_QA (t_fmt): Likewise.
4034 * localedata/locales/ar_SD (t_fmt): Likewise.
4035 * localedata/locales/ar_SS (t_fmt): Likewise.
4036 * localedata/locales/ar_SY (t_fmt): Likewise.
4037 * localedata/locales/ar_TN (t_fmt): Likewise.
4038 * localedata/locales/ar_YE (t_fmt): Likewise.
4039
4040 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4041 (t_fmt_ampm): Likewise.
4042 * localedata/locales/gez_ET (t_fmt): Likewise.
4043 (t_fmt_ampm): Likewise.
4044
4045 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4046 (t_fmt_ampm): Likewise.
4047 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4048
4049 * localedata/locales/zh_HK (t_fmt):
4050 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4051
4052 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4053 because this locale does not use the 12-hour clock.
4054 (t_fmt): Set to "%Z %H:%M:%S".
4055 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4056
4057 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4058 because this locale does not use the 12-hour clock.
4059 (t_fmt): Set to "%H:%M:%S %Z".
4060 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4061
4062 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4063 because this locale does not use the 12-hour clock.
4064 (t_fmt): Set to "%T".
4065 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4066 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4067
4068 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4069 because this locale does not use the 12-hour clock.
4070 (t_fmt): Set to "%H:%M:%S %Z".
4071 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4072
4073 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4074 because this locale does not use the 12-hour clock.
4075 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4076 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4077
4078 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4079
4080 [BZ #10496]
4081 [BZ #23724]
4082 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4083 (t_fmt_ampm): Likewise.
4084 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4085 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4086 (d_fmt): Set to "%-d.%-m.%y".
4087
4088 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4089
4090 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4091 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4092 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4093 Likewise.
4094 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4095 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4096 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4097 function.
4098 * support/blob_repeat.c (check_mul_overflow_size_t,
4099 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4100
4101 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4102
4103 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4104
4105 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4106
4107 regex: simplify Gnulib port
4108 This simplifies the code, by removing stuff intended for porting
4109 to Gnulib but no longer needed there.
4110 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4111 uses of libc_hidden_def, weak_alias.
4112 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4113 _Restrict_ except for public-facing headers.
4114 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4115 Remove; already defined elsewhere.
4116 * posix/regex.c, posix/regex_internal.h:
4117 Use __GNUC_PREREQ instead of rolling our own.
4118 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4119
4120 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4121
4122 * benchtests/bench-strlen.c (generic_strlen): New function.
4123 (memchr_strlen): New function.
4124
4125 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4126
4127 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4128 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4129 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4130
4131 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4132
4133 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4134
4135 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4136
4137 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4138 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4139 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4140 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4141 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4142 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4143 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4144
4145 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4146
4147 [BZ #24023]
4148 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4149 PLT reference in libc.so.
4150 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4151 _Q_lltoq and _Q_qtod PLT references in libc.so.
4152
4153 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4154
4155 * benchtests/bench-memchr.c: Cleanup defines.
4156 * benchtests/bench-memcmp.c: Likewise.
4157 * benchtests/bench-memset.c: Likewise.
4158 * benchtests/bench-memset-large.c: Likewise.
4159 * benchtests/bench-memset-walk.c: Likewise.
4160 * benchtests/bench-stpcpy.c: Likewise.
4161 * benchtests/bench-stpncpy.c: Likewise.
4162 * benchtests/bench-strcat.c: Likewise.
4163 * benchtests/bench-strchr.c: Likewise.
4164 * benchtests/bench-strcmp.c: Likewise.
4165 * benchtests/bench-strcpy.c: Likewise.
4166 * benchtests/bench-strcspn.c: Likewise.
4167 * benchtests/bench-string.h: Likewise.
4168 * benchtests/bench-strlen.c: Likewise.
4169 * benchtests/bench-strncat.c: Likewise.
4170 * benchtests/bench-strncmp.c: Likewise.
4171 * benchtests/bench-strncpy.c: Likewise.
4172 * benchtests/bench-strnlen.c: Likewise.
4173 * benchtests/bench-strpbrk.c: Likewise.
4174 * benchtests/bench-strrchr.c: Likewise.
4175 * benchtests/bench-strspn.c: Likewise.
4176
4177 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4178
4179 * stdlib/longlong.h: Update from GCC.
4180
4181 [BZ #23993]
4182 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4183 * configure: Regenerated.
4184 * manual/install.texi (Tools for Compilation): Update minimum GCC
4185 version.
4186 * INSTALL: Regenerated.
4187
4188 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4189
4190 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4191
4192 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4193
4194 * malloc/malloc.c (mremap_chunk): Additional checks.
4195
4196 2018-12-21 Mao Han <han_mao@c-sky.com>
4197
4198 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4199 * scripts/build-many-glibcs.py: Add C-SKY targets.
4200 * sysdeps/csky/Implies: New file.
4201 * sysdeps/csky/Makefile: Likewise.
4202 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4203 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4204 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4205 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4206 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4207 * sysdeps/csky/abiv2/memmove.S: Likewise.
4208 * sysdeps/csky/abiv2/memset.S: Likewise.
4209 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4210 * sysdeps/csky/abiv2/start.S: Likewise.
4211 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4212 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4213 * sysdeps/csky/abiv2/strlen.S: Likewise.
4214 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4215 * sysdeps/csky/abort-instr.h: Likewise.
4216 * sysdeps/csky/atomic-machine.h: Likewise.
4217 * sysdeps/csky/bits/endian.h: Likewise.
4218 * sysdeps/csky/bits/fenv.h: Likewise.
4219 * sysdeps/csky/bits/link.h: Likewise.
4220 * sysdeps/csky/bits/setjmp.h: Likewise.
4221 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4222 * sysdeps/csky/bsd-setjmp.S: Likewise.
4223 * sysdeps/csky/configure: Likewise.
4224 * sysdeps/csky/configure.ac: Likewise.
4225 * sysdeps/csky/dl-machine.h: Likewise.
4226 * sysdeps/csky/dl-procinfo.c: Likewise.
4227 * sysdeps/csky/dl-procinfo.h: Likewise.
4228 * sysdeps/csky/dl-sysdep.h: Likewise.
4229 * sysdeps/csky/dl-tls.h: Likewise.
4230 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4231 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4232 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4233 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4234 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4235 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4236 * sysdeps/csky/fpu/fegetround.c: Likewise.
4237 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4238 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4239 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4240 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4241 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4242 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4243 * sysdeps/csky/fpu/fesetround.c: Likewise.
4244 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4245 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4246 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4247 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4248 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4249 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4250 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4251 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4252 * sysdeps/csky/fpu_control.h: Likewise.
4253 * sysdeps/csky/gccframe.h: Likewise.
4254 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4255 * sysdeps/csky/ldsodefs.h: Likewise.
4256 * sysdeps/csky/libc-tls.c: Likewise.
4257 * sysdeps/csky/linkmap.h: Likewise.
4258 * sysdeps/csky/machine-gmon.h: Likewise.
4259 * sysdeps/csky/memusage.h: Likewise.
4260 * sysdeps/csky/nofpu/Implies: Likewise.
4261 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4262 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4263 * sysdeps/csky/nptl/Makefile: Likewise.
4264 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4265 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4266 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4267 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4268 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4269 * sysdeps/csky/nptl/tls.h: Likewise.
4270 * sysdeps/csky/preconfigure: Likewise.
4271 * sysdeps/csky/sfp-machine.h: Likewise.
4272 * sysdeps/csky/sotruss-lib.c: Likewise.
4273 * sysdeps/csky/stackinfo.h: Likewise.
4274 * sysdeps/csky/sysdep.h: Likewise.
4275 * sysdeps/csky/tininess.h: Likewise.
4276 * sysdeps/csky/tst-audit.h: Likewise.
4277 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4278 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4279 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4280 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4281 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4282 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4283 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4284 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4285 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4286 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4287 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4288 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4289 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4290 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4291 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4292 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4293 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4294 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4295 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4296 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4297 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4298 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4299 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4300 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4301 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4302 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4303 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4304 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4305 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4306 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4307 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4308 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4309 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4310 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4311 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4312 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4313 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4314 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4315 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4316 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4317 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4318 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4319 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4320 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4321
4322 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4323
4324 * include/time.h (__difftime64): Add.
4325 * time/difftime.c (subtract): convert to 64-bit time.
4326 * time/difftime.c (__difftime64): Add.
4327 * time/difftime.c (__difftime): Wrap around __difftime64.
4328
4329 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4330
4331 * manual/examples/add.c: Remove redundant "if not".
4332 * manual/examples/argp-ex1.c: Likewise.
4333 * manual/examples/argp-ex2.c: Likewise.
4334 * manual/examples/argp-ex3.c: Likewise.
4335 * manual/examples/argp-ex4.c: Likewise.
4336 * manual/examples/atexit.c: Likewise.
4337 * manual/examples/db.c: Likewise.
4338 * manual/examples/dir.c: Likewise.
4339 * manual/examples/dir2.c: Likewise.
4340 * manual/examples/execinfo.c: Likewise.
4341 * manual/examples/filecli.c: Likewise.
4342 * manual/examples/filesrv.c: Likewise.
4343 * manual/examples/fmtmsgexpl.c: Likewise.
4344 * manual/examples/genpass.c: Likewise.
4345 * manual/examples/inetcli.c: Likewise.
4346 * manual/examples/inetsrv.c: Likewise.
4347 * manual/examples/isockad.c: Likewise.
4348 * manual/examples/longopt.c: Likewise.
4349 * manual/examples/memopen.c: Likewise.
4350 * manual/examples/memstrm.c: Likewise.
4351 * manual/examples/mkdirent.c: Likewise.
4352 * manual/examples/mkfsock.c: Likewise.
4353 * manual/examples/mkisock.c: Likewise.
4354 * manual/examples/mygetpass.c: Likewise.
4355 * manual/examples/pipe.c: Likewise.
4356 * manual/examples/popen.c: Likewise.
4357 * manual/examples/rprintf.c: Likewise.
4358 * manual/examples/search.c: Likewise.
4359 * manual/examples/select.c: Likewise.
4360 * manual/examples/setjmp.c: Likewise.
4361 * manual/examples/sigh1.c: Likewise.
4362 * manual/examples/sigusr.c: Likewise.
4363 * manual/examples/stpcpy.c: Likewise.
4364 * manual/examples/strdupa.c: Likewise.
4365 * manual/examples/strftim.c: Likewise.
4366 * manual/examples/subopt.c: Likewise.
4367 * manual/examples/swapcontext.c: Likewise.
4368 * manual/examples/termios.c: Likewise.
4369 * manual/examples/testopt.c: Likewise.
4370 * manual/examples/testpass.c: Likewise.
4371 * manual/examples/timeval_subtract.c: Likewise.
4372
4373 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4374
4375 * sysdeps/x86/fpu/math_private.h: New file.
4376 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4377
4378 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4379 definition.
4380 (cosh): Likewise.
4381 (tanh): Likewise.
4382
4383 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4384
4385 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4386 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4387 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4388 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4389 fields.
4390 (_dl_show_auxv): Give a special treatment to
4391 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4392 and AT_L3_CACHEGEOMETRY.
4393 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4394 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4395 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4396 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4397
4398 2018-12-19 Andreas Schwab <schwab@suse.de>
4399
4400 * nscd/connections.c (check_use): Don't abort on invalid len.
4401
4402 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4403
4404 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4405 values in the 64bit value cases.
4406
4407 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4408
4409 * include/time.h
4410 (__ctime64_r): Add.
4411 * time/ctime_r.c
4412 (__ctime64_r): Add.
4413 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4414
4415 * include/time.h
4416 (__ctime64): Add.
4417 * time/gmtime.c
4418 (__ctime64): Add.
4419 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4420
4421 * include/time.h
4422 (__gmtime64_r): Add.
4423 * time/gmtime.c
4424 (__gmtime64_r): Add.
4425 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4426
4427 * include/time.h
4428 (__gmtime64): Add.
4429 * time/gmtime.c
4430 (__gmtime64): Add.
4431 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4432
4433 * include/time.h
4434 (__localtime64_r): Add.
4435 * time/localtime.c
4436 (__localtime64_r): Add.
4437 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4438
4439 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4440
4441 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4442 kernel_sigction definition.
4443
4444 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4445
4446 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4447
4448 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4449 __syscall_rt_sigaction.
4450 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4451 (kernel_sigaction): Use Linux generic defintion.
4452 (STUB): Define.
4453 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4454 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4455 (__syscall_rt_sigaction): Remove implementation.
4456 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4457 hidden.
4458 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4459 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4460 INTERNAL_SYSCALL): Remove definitions.
4461 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4462 action and signal set size.
4463 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4464 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4465
4466 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4467 James Clarke <jrtc27@jrtc27.com>
4468
4469 [BZ #23967]
4470 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4471 Define if SA_RESTORER is defined.
4472 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4473 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4474 already defined.
4475 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4476 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4477 definitions.
4478 (HAS_SA_RESTORER): Define.
4479 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4480 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4481 (HAS_SA_RESTORER): Define.
4482 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4483 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4484 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4485 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4486 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4487
4488 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4489
4490 * sysdeps/unix/sysv/linux/kernel-features.h
4491 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4492 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4493 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4494 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4495 (__ASSUME_ST_INO_64_BIT): Likewise.
4496 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4497 <kernel-features.h>.
4498 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4499 Remove conditional code.
4500 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4501 <kernel-features.h>.
4502 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4503 Remove conditional code.
4504 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4505 <kernel-features.h>.
4506 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4507 Remove conditional code.
4508 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4509 <kernel-features.h>.
4510 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4511 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4512
4513 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4514
4515 * sysdeps/s390/multiarch/ifunc-resolve.h
4516 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4517 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4518 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4519 Delete macro definition.
4520 (s390_libc_ifunc_init): Rename to
4521 s390_libc_ifunc_expr_stfle_init.
4522 * sysdeps/s390/bzero: Use
4523 s390_libc_ifunc_expr_stfle_init instead of
4524 s390_libc_ifunc_init.
4525 * sysdeps/s390/memcmp.c: Likewise.
4526 * sysdeps/s390/memcpy.c: Likewise.
4527 * sysdeps/s390/mempcpy.c: Likewise.
4528 * sysdeps/s390/memset.c: Likewise.
4529
4530 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4531
4532 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4533 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4534
4535 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4536
4537 * sysdeps/s390/multiarch/Makefile
4538 (sysdep_routines): Remove wmemcmp variants.
4539 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4540 * sysdeps/s390/multiarch/ifunc-impl-list.c
4541 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4542 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4543 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4544 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4545 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4546 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4547 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4548 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4549
4550 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4551
4552 * sysdeps/s390/multiarch/Makefile
4553 (sysdep_routines): Remove wmemset variants.
4554 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4555 * sysdeps/s390/multiarch/ifunc-impl-list.c
4556 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4557 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4558 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4559 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4560 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4561 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4562 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4563 * sysdeps/s390/ifunc-wmemset.h: New file.
4564
4565 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4566
4567 * sysdeps/s390/multiarch/Makefile
4568 (sysdep_routines): Remove wmemchr variants.
4569 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4570 * sysdeps/s390/multiarch/ifunc-impl-list.c
4571 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4572 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4573 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4574 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4575 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4576 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4577 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4578 * sysdeps/s390/ifunc-wmemchr.h: New file.
4579
4580 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4581
4582 * sysdeps/s390/multiarch/Makefile
4583 (sysdep_routines): Remove wcscspn variants.
4584 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4585 * sysdeps/s390/multiarch/ifunc-impl-list.c
4586 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4587 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4588 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4589 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4590 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4591 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4592 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4593 * sysdeps/s390/ifunc-wcscspn.h: New file.
4594
4595 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4596
4597 * sysdeps/s390/multiarch/Makefile
4598 (sysdep_routines): Remove wcspbrk variants.
4599 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4600 * sysdeps/s390/multiarch/ifunc-impl-list.c
4601 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4602 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4603 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4604 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4605 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4606 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4607 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4608 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4609
4610 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4611
4612 * sysdeps/s390/multiarch/Makefile
4613 (sysdep_routines): Remove wcsspn variants.
4614 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4615 * sysdeps/s390/multiarch/ifunc-impl-list.c
4616 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4617 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4618 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4619 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4620 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4621 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4622 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4623 * sysdeps/s390/ifunc-wcsspn.h: New file.
4624
4625 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4626
4627 * sysdeps/s390/multiarch/Makefile
4628 (sysdep_routines): Remove wcsrchr variants.
4629 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4630 * sysdeps/s390/multiarch/ifunc-impl-list.c
4631 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4632 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4633 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4634 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4635 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4636 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4637 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4638 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4639
4640 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4641
4642 * sysdeps/s390/multiarch/Makefile
4643 (sysdep_routines): Remove wcschrnul variants.
4644 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4645 * sysdeps/s390/multiarch/ifunc-impl-list.c
4646 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4647 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4648 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4649 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4650 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4651 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4652 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4653 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4654
4655 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4656
4657 * sysdeps/s390/multiarch/Makefile
4658 (sysdep_routines): Remove wcschr variants.
4659 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4660 * sysdeps/s390/multiarch/ifunc-impl-list.c
4661 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4662 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4663 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4664 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4665 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4666 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4667 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4668 * sysdeps/s390/ifunc-wcschr.h: New file.
4669
4670 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4671
4672 * sysdeps/s390/multiarch/Makefile
4673 (sysdep_routines): Remove wcsncmp variants.
4674 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4675 * sysdeps/s390/multiarch/ifunc-impl-list.c
4676 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4677 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4678 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4679 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4680 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4681 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4682 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4683 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4684
4685 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4686
4687 * sysdeps/s390/multiarch/Makefile
4688 (sysdep_routines): Remove wcscmp variants.
4689 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4690 * sysdeps/s390/multiarch/ifunc-impl-list.c
4691 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4692 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4693 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4694 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4695 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4696 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4697 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4698 * sysdeps/s390/ifunc-wcscmp.h: New file.
4699
4700 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4701
4702 * sysdeps/s390/multiarch/Makefile
4703 (sysdep_routines): Remove wcsncat variants.
4704 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4705 * sysdeps/s390/multiarch/ifunc-impl-list.c
4706 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4707 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4708 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4709 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4710 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4711 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4712 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4713 * sysdeps/s390/ifunc-wcsncat.h: New file.
4714
4715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4716
4717 * sysdeps/s390/multiarch/Makefile
4718 (sysdep_routines): Remove wcscat variants.
4719 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4720 * sysdeps/s390/multiarch/ifunc-impl-list.c
4721 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4722 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4723 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4724 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4725 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4726 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4727 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4728 * sysdeps/s390/ifunc-wcscat.h: New file.
4729
4730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4731
4732 * sysdeps/s390/multiarch/Makefile
4733 (sysdep_routines): Remove wcpncpy variants.
4734 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4735 * sysdeps/s390/multiarch/ifunc-impl-list.c
4736 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4737 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4738 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4739 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4740 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4741 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4742 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4743 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4744
4745 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4746
4747 * sysdeps/s390/multiarch/Makefile
4748 (sysdep_routines): Remove wcsncpy variants.
4749 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4750 * sysdeps/s390/multiarch/ifunc-impl-list.c
4751 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4752 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4753 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4754 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4755 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4756 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4757 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4758 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4759
4760 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4761
4762 * sysdeps/s390/multiarch/Makefile
4763 (sysdep_routines): Remove wcpcpy variants.
4764 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4765 * sysdeps/s390/multiarch/ifunc-impl-list.c
4766 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4767 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4768 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4769 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4770 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4771 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4772 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4773 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4774
4775 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4776
4777 * sysdeps/s390/multiarch/Makefile
4778 (sysdep_routines): Remove wcscpy variants.
4779 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4780 * sysdeps/s390/multiarch/ifunc-impl-list.c
4781 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4782 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4783 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4784 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4785 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4786 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4787 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4788 * sysdeps/s390/ifunc-wcscpy.h: New file.
4789
4790 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4791
4792 * sysdeps/s390/multiarch/Makefile
4793 (sysdep_routines): Remove wcsnlen variants.
4794 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4795 * sysdeps/s390/multiarch/ifunc-impl-list.c
4796 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4797 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4798 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4799 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4800 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4801 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4802 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4803 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4804
4805 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4806
4807 * sysdeps/s390/multiarch/Makefile
4808 (sysdep_routines): Remove wcslen variants.
4809 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4810 * sysdeps/s390/multiarch/ifunc-impl-list.c
4811 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4812 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4813 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4814 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4815 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4816 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4817 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4818 * sysdeps/s390/ifunc-wcslen.h: New file.
4819
4820 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4821
4822 * sysdeps/s390/multiarch/Makefile
4823 (sysdep_routines): Remove memrchr variants.
4824 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4825 * sysdeps/s390/multiarch/ifunc-impl-list.c
4826 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4827 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4828 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4829 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4830 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4831 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4832 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4833 * sysdeps/s390/ifunc-memrchr.h: New file.
4834
4835 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4836
4837 * sysdeps/s390/multiarch/Makefile
4838 (sysdep_routines): Remove memccpy variants.
4839 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4840 * sysdeps/s390/multiarch/ifunc-impl-list.c
4841 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4842 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4843 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4844 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4845 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4846 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4847 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4848 * sysdeps/s390/ifunc-memccpy.h: New file.
4849
4850 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4851
4852 * sysdeps/s390/multiarch/Makefile
4853 (sysdep_routines): Remove rawmemchr variants.
4854 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4855 * sysdeps/s390/multiarch/ifunc-impl-list.c
4856 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4857 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4858 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4859 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4860 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4861 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4862 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4863 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4864
4865 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4866
4867 * sysdeps/s390/multiarch/Makefile
4868 (sysdep_routines): Remove memchr variants.
4869 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4870 * sysdeps/s390/multiarch/ifunc-impl-list.c
4871 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4872 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4873 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4874 * sysdeps/s390/multiarch/memchr.c: Move to ...
4875 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4876 * sysdeps/s390/ifunc-memchr.h: New file.
4877 * sysdeps/s390/s390-64/memchr.S: Move to ...
4878 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4879 for 31/64bit and ifunc handling.
4880 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4881 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4882 * sysdeps/s390/s390-32/memchr.S: Likewise.
4883
4884 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4885
4886 * sysdeps/s390/multiarch/Makefile
4887 (sysdep_routines): Remove strcspn variants.
4888 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4889 * sysdeps/s390/multiarch/ifunc-impl-list.c
4890 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4891 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4892 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4893 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4894 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4895 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4896 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4897 * sysdeps/s390/ifunc-strcspn.h: New file.
4898
4899 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4900
4901 * sysdeps/s390/multiarch/Makefile
4902 (sysdep_routines): Remove strpbrk variants.
4903 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4904 * sysdeps/s390/multiarch/ifunc-impl-list.c
4905 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4906 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4907 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4908 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4909 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4910 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4911 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4912 * sysdeps/s390/ifunc-strpbrk.h: New file.
4913
4914 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4915
4916 * sysdeps/s390/multiarch/Makefile
4917 (sysdep_routines): Remove strspn variants.
4918 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4919 * sysdeps/s390/multiarch/ifunc-impl-list.c
4920 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4921 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4922 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4923 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4924 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4925 * sysdeps/s390/multiarch/strspn.c: Move to ...
4926 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4927 * sysdeps/s390/ifunc-strspn.h: New file.
4928
4929 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4930
4931 * sysdeps/s390/multiarch/Makefile
4932 (sysdep_routines): Remove strrchr variants.
4933 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4934 * sysdeps/s390/multiarch/ifunc-impl-list.c
4935 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4936 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4937 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4938 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4939 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4940 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4941 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4942 * sysdeps/s390/ifunc-strrchr.h: New file.
4943
4944 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4945
4946 * sysdeps/s390/multiarch/Makefile
4947 (sysdep_routines): Remove strchrnul variants.
4948 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4949 * sysdeps/s390/multiarch/ifunc-impl-list.c
4950 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4951 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4952 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4953 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4954 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4955 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4956 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4957 * sysdeps/s390/ifunc-strchrnul.h: New file.
4958
4959 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4960
4961 * sysdeps/s390/multiarch/Makefile
4962 (sysdep_routines): Remove strchr variants.
4963 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4964 * sysdeps/s390/multiarch/ifunc-impl-list.c
4965 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4966 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4967 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4968 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4969 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4970 * sysdeps/s390/multiarch/strchr.c: Move to ...
4971 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4972 * sysdeps/s390/ifunc-strchr.h: New file.
4973
4974 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4975
4976 * sysdeps/s390/multiarch/Makefile
4977 (sysdep_routines): Remove strncmp variants.
4978 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4979 * sysdeps/s390/multiarch/ifunc-impl-list.c
4980 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4981 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4982 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4983 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4984 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4985 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4986 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4987 * sysdeps/s390/ifunc-strncmp.h: New file.
4988
4989 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4990
4991 * sysdeps/s390/multiarch/Makefile
4992 (sysdep_routines): Remove strcmp variants.
4993 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4994 * sysdeps/s390/multiarch/ifunc-impl-list.c
4995 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4996 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4997 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4998 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4999 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5000 * sysdeps/s390/ifunc-strcmp.h: New file.
5001 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5002 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5003 for 31/64bit and ifunc handling.
5004 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5005 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5006 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5007
5008 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5009
5010 * sysdeps/s390/multiarch/Makefile
5011 (sysdep_routines): Remove strncat variants.
5012 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5013 * sysdeps/s390/multiarch/ifunc-impl-list.c
5014 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5015 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5016 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5017 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5018 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5019 * sysdeps/s390/multiarch/strncat.c: Move to ...
5020 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5021 * sysdeps/s390/ifunc-strncat.h: New file.
5022
5023 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5024
5025 * sysdeps/s390/multiarch/Makefile
5026 (sysdep_routines): Remove strcat variants.
5027 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5028 * sysdeps/s390/multiarch/ifunc-impl-list.c
5029 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5030 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5031 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5032 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5033 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5034 * sysdeps/s390/multiarch/strcat.c: Move to ...
5035 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5036 * sysdeps/s390/ifunc-strcat.h: New file.
5037
5038 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5039
5040 * sysdeps/s390/multiarch/Makefile
5041 (sysdep_routines): Remove stpncpy variants.
5042 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5043 * sysdeps/s390/multiarch/ifunc-impl-list.c
5044 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5045 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5046 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5047 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5048 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5049 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5050 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5051 * sysdeps/s390/ifunc-stpncpy.h: New file.
5052
5053 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5054
5055 * sysdeps/s390/multiarch/Makefile
5056 (sysdep_routines): Remove strncpy variants.
5057 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5058 * sysdeps/s390/multiarch/ifunc-impl-list.c
5059 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5060 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5061 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5062 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5063 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5064 * sysdeps/s390/ifunc-strncpy.h: New file.
5065 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5066 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5067 and adjust ifunc handling.
5068 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5069 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5070 and adjust ifunc handling.
5071 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5072 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5073
5074 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5075
5076 * sysdeps/s390/multiarch/Makefile
5077 (sysdep_routines): Remove stpcpy variants.
5078 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5079 * sysdeps/s390/multiarch/ifunc-impl-list.c
5080 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5081 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5082 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5083 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5084 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5085 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5086 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5087 * sysdeps/s390/ifunc-stpcpy.h: New file.
5088
5089 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5090
5091 * sysdeps/s390/multiarch/Makefile
5092 (sysdep_routines): Remove strcpy variants.
5093 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5094 * sysdeps/s390/multiarch/ifunc-impl-list.c
5095 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5096 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5097 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5098 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5099 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5100 * sysdeps/s390/ifunc-strcpy.h: New file.
5101 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5102 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5103 for 31/64bit and ifunc handling.
5104 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5105 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5106 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5107
5108 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5109
5110 * sysdeps/s390/multiarch/Makefile
5111 (sysdep_routines): Remove strnlen variants.
5112 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5113 * sysdeps/s390/multiarch/ifunc-impl-list.c
5114 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5115 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5116 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5117 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5118 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5119 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5120 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5121 * sysdeps/s390/ifunc-strnlen.h: New file.
5122
5123 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5124
5125 * sysdeps/s390/multiarch/Makefile
5126 (sysdep_routines): Remove strlen variants.
5127 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5128 * sysdeps/s390/multiarch/ifunc-impl-list.c
5129 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5130 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5131 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5132 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5133 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5134 * sysdeps/s390/multiarch/strlen.c: Move to ...
5135 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5136 * sysdeps/s390/ifunc-strlen.h: New file.
5137
5138 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5139
5140 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5141 * sysdeps/s390/multiarch/ifunc-impl-list.c
5142 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5143 * sysdeps/s390/ifunc-memmem.h: New file.
5144 * sysdeps/s390/memmem.c: Likewise.
5145 * sysdeps/s390/memmem-c.c: Likewise.
5146 * sysdeps/s390/memmem-vx.c: Likewise.
5147
5148 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5149
5150 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5151 * sysdeps/s390/multiarch/ifunc-impl-list.c
5152 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5153 * sysdeps/s390/ifunc-strstr.h: New file.
5154 * sysdeps/s390/strstr.c: Likewise.
5155 * sysdeps/s390/strstr-c.c: Likewise.
5156 * sysdeps/s390/strstr-vx.c: Likewise.
5157
5158 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5159
5160 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5161 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5162 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5163 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5164 New defines.
5165 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5166 * sysdeps/s390/memmove-c.c: New file.
5167 * sysdeps/s390/memmove.c: Likewise.
5168 * sysdeps/s390/multiarch/ifunc-impl-list.c
5169 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5170
5171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5172
5173 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5174 * sysdeps/s390/configure.ac: Add check for z13 support.
5175 * sysdeps/s390/configure: Regenerated.
5176
5177 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5178
5179 * sysdeps/s390/memcopy.h: New file.
5180
5181 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5182
5183 * sysdeps/s390/s390-32/bcopy.S: Remove.
5184 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5185
5186 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5187
5188 * sysdeps/s390/ifunc-memcpy.h: New File.
5189 * sysdeps/s390/memcpy.S: Move to ...
5190 * sysdeps/s390/memcpy-z900.S ... here.
5191 Move implementations from memcpy-s390x.s to here.
5192 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5193 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5194 Remove memcpy/mempcpy variants.
5195 * sysdeps/s390/Makefile (sysdep_routines):
5196 Add memcpy/mempcpy variants.
5197 * sysdeps/s390/multiarch/ifunc-impl-list.c
5198 (__libc_ifunc_impl_list): Adjust ifunc variants for
5199 memcpy and mempcpy.
5200 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5201 to ...
5202 * sysdeps/s390/memcpy.c: ... here.
5203 Adjust ifunc variants for memcpy.
5204 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5205 * sysdeps/s390/mempcpy.c: ... here.
5206 Adjust ifunc variants for mempcpy.
5207 * sysdeps/s390/mempcpy.S: Delete file.
5208
5209 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5210
5211 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5212 * sysdeps/s390/memcpy.S: ... here.
5213 Adjust to be usable for 31/64bit.
5214 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5215 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5216 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5217 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5218 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5219 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5220 Adjust to be usable for 31/64bit.
5221 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5222 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5223 * sysdeps/s390/multiarch/memcpy.c: ... here.
5224 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5225
5226 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5227
5228 * sysdeps/s390/ifunc-memcmp.h: New File.
5229 * sysdeps/s390/memcmp.S: Move to ...
5230 * sysdeps/s390/memcmp-z900.S ... here.
5231 Move implementations from memcmp-s390x.s to here.
5232 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5233 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5234 Remove memcmp variants.
5235 * sysdeps/s390/Makefile (sysdep_routines):
5236 Add memcmp variants.
5237 * sysdeps/s390/multiarch/ifunc-impl-list.c
5238 (__libc_ifunc_impl_list): Adjust ifunc variants for
5239 memcmp.
5240 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5241 to ...
5242 * sysdeps/s390/memcmp.c: ... here.
5243 Adjust ifunc variants for memcmp.
5244
5245 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5246
5247 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5248 * sysdeps/s390/memcmp.S: ... here.
5249 Adjust to be usable for 31/64bit.
5250 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5251 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5252 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5253 Remove memcmp.
5254 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5255 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5256 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5257 Adjust to be usable for 31/64bit.
5258 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5259 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5260 * sysdeps/s390/multiarch/memcmp.c: ... here.
5261 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5262
5263 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5264
5265 * sysdeps/s390/s390-32/bzero.S: Delete file.
5266 * sysdeps/s390/s390-64/bzero.S: Likewise.
5267 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5268 * sysdeps/s390/bzero.c: New file.
5269 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5270 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5271 * sysdeps/s390/multiarch/ifunc-impl-list.c
5272 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5273
5274 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5275
5276 * sysdeps/s390/ifunc-memset.h: New File.
5277 * sysdeps/s390/memset.S: Move to ...
5278 * sysdeps/s390/memset-z900.S ... here.
5279 Move implementations from memset-s390x.s to here.
5280 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5281 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5282 Remove memset variants.
5283 * sysdeps/s390/Makefile (sysdep_routines):
5284 Add memset variants.
5285 * sysdeps/s390/multiarch/ifunc-impl-list.c
5286 (__libc_ifunc_impl_list): Adjust ifunc variants for
5287 memset.
5288 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5289 to ...
5290 * sysdeps/s390/memset.c: ... here.
5291 Adjust ifunc variants for memset.
5292
5293 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5294
5295 * sysdeps/s390/s390-64/memset.S: Move to ...
5296 * sysdeps/s390/memset.S: ... here.
5297 Adjust to be usable for 31/64bit.
5298 * sysdeps/s390/s390-32/memset.S: Delete File.
5299 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5300 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5301 Remove memset.
5302 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5303 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5304 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5305 Adjust to be usable for 31/64bit.
5306 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5307 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5308 * sysdeps/s390/multiarch/memset.c: ... here.
5309 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5310
5311 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5312
5313 * sysdeps/s390/multiarch/ifunc-resolve.h
5314 (s390_libc_ifunc_init, s390_libc_ifunc,
5315 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5316
5317 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5318
5319 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5320 * sysdeps/s390/configure.ac: Add check for z10 support.
5321 * sysdeps/s390/configure: Regenerated.
5322
5323 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5324
5325 * sysdeps/i386/atomic-machine.h: Merged with ...
5326 * sysdeps/x86_64/atomic-machine.h: To ...
5327 * sysdeps/x86/atomic-machine.h: This. New file.
5328
5329 2018-12-18 Florian Weimer <fweimer@redhat.com>
5330
5331 Rewrite locale/gen-translit.pl in Python.
5332 * locale/Makefile (generated): Add C-translit.h.
5333 (before-compile): Add $(objpfx)C-translit.h.
5334 (C-translit.h): Move to $(objpfx). Create target directory.
5335 Build using Python script.
5336 * locale/gen-translit.py: New file.
5337 * locale/gen-translit.pl: Remove file.
5338 * locale/C-translit.h.in: Change comment character to '#' for
5339 easier parsing without a C preprocessor.
5340 * locale/C-translit.h: Remove generated file.
5341 * manual/install.texi (Tools for Compilation): Do not mention
5342 C-translit.h.
5343 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5344 Remove locale/C-translit.h.
5345 * scripts/update-copyrights: Likewise.
5346 * INSTALL: Regenerate.
5347
5348 2018-12-18 Florian Weimer <fweimer@redhat.com>
5349
5350 [BZ #23995]
5351 * localedata/locales/bi_VU: Remove executable bit from file.
5352
5353 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5354
5355 * include/time.h
5356 (__localtime64): Add.
5357 * manual/maint.texi: Document Y2038 symbol handling.
5358 * time/localtime.c
5359 (__localtime64): Add.
5360 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5361
5362 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5363
5364 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5365 Do not clobber r12.
5366
5367 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5368 to allow extra macros from first or second sources.
5369 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5370 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5371 (tests-special): Add $(objpfx)tst-mman-consts.out.
5372 ($(objpfx)tst-mman-consts.out): New makefile target.
5373
5374 2018-12-17 Mao Han <han_mao@c-sky.com>
5375
5376 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5377 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5378 without stat64 system call support.
5379 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5380 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5381 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5382 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5383 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5384 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5385 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5386 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5387 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5388 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5389 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5390
5391 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5392
5393 regex: fix storage-exhaustion error
5394 [BZ #18040]
5395 * posix/regexec.c (get_subexp):
5396 Do not continue if storage is exhausted.
5397
5398 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5399
5400 regex: fix heap-use-after-free error
5401 [BZ #18040]
5402 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5403 https://debbugs.gnu.org/32592
5404 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5405 call extend_buffers which reallocates the re_string_t internal buffer.
5406 Local variable 'buf' was not updated in such case, resulting in
5407 use-after-free.
5408 * posix/regexec.c (get_subexp): Update 'buf' after call to
5409 get_subexp_sub.
5410
5411 2018-12-15 Florian Weimer <fweimer@redhat.com>
5412
5413 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5414 (minimum_stride_size): Use it.
5415 (support_blob_repeat_allocate): Likewise.
5416
5417 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5418
5419 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5420 definition.
5421 (acosh): Likewise.
5422 (atanh): Likewise.
5423
5424 2018-12-14 Florian Weimer <fweimer@redhat.com>
5425
5426 * manual/process.texi (Process Creation Concepts): Remove
5427 documentation of process (ID) lifetime. List more process
5428 creation functions. Reference Process Identification section.
5429 (Process Identification): Add information about process ID
5430 lifetime. Describe Linux thread/task IDs.
5431 * manual/signal.texi (Signaling Another Process): Mention that the
5432 signal is always sent to the process.
5433
5434 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5435
5436 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5437 and tst-ldbl-efgcvt.
5438 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5439 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5440 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5441 (fcvt_tests, output_error, output_r_error, do_test): Use the
5442 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5443 select the type of floating-point variables and arguments; to
5444 produce extra tests for double and conversion specifiers for
5445 printf; and to set the names of called functions.
5446 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5447 in tst-efgcvt-template.c.
5448 * misc/tst-ldbl-efgcvt.c: Likewise.
5449
5450 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5451
5452 * nss/Makefile (tst-nss-test3.out): New rule.
5453
5454 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5455
5456 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5457 clobber sp.
5458
5459 2018-12-13 fanjinke <fanjinke@hygon.cn>
5460
5461 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5462 "HygonGenuine".
5463
5464 2018-12-13 Andreas Schwab <schwab@suse.de>
5465
5466 [BZ #23861]
5467 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5468 (__pthread_rwlock_rdlock_full): Update expected value for
5469 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5470 * nptl/tst-rwlock-pwn.c: New file.
5471 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5472
5473 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5474
5475 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5476 definition.
5477
5478 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5479
5480 * benchtests/scripts/compare_bench.py (do_compare): write to
5481 stderr in casestat is not present.
5482 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5483 stderr in case timings field is not present. Also string showing
5484 the output filename goes into the stderr.
5485
5486 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5487
5488 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5489 and ZeroDivisorError exceptions.
5490 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5491 argument to loop through user provided statistics.
5492 * benchtests/scripts/compare_bench.py (main): Include the --stats
5493 argument.
5494
5495 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5496
5497 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5498 instead of return.
5499
5500 2018-12-12 Florian Weimer <fweimer@redhat.com>
5501
5502 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5503 clause to copyright header.
5504
5505 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5506
5507 [BZ #23614]
5508 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5509 registers saved in the stack frame.
5510 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5511 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5512
5513 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5514
5515 * include/bits/monetary-ldbl.h: New file.
5516 * include/bits/printf-ldbl.h: Likewise.
5517 * include/bits/stdio-ldbl.h: Likewise.
5518 * include/bits/stdlib-ldbl.h: Likewise.
5519 * include/bits/syslog-ldbl.h: Likewise.
5520 * include/bits/wchar-ldbl.h: Likewise.
5521
5522 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5523
5524 * libio/libio.h: Remove redirection for _IO_vfprintf.
5525
5526 2018-12-11 Andreas Schwab <schwab@suse.de>
5527
5528 * Makerules: Remove all references to abilist-pattern.
5529 (update-all-abi): Simplify find expression.
5530
5531 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5532
5533 [BZ #23961]
5534 * math/auto-libm-test-in: Add new test case.
5535 * math/auto-libm-test-out-pow: Regenerated.
5536 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5537
5538 2018-12-10 DJ Delorie <dj@redhat.com>
5539
5540 [BZ #23948]
5541 * support/test-container.c: Move postclean step to before we
5542 change namespaces.
5543
5544 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5545
5546 * scripts/gen-as-const.py (main): Handle --python option.
5547 * scripts/gen-py-const.awk: Remove.
5548 * Makerules (py-const-script): Use gen-as-const.py.
5549 ($(py-const)): Likewise.
5550 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5551 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5552 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5553 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5554 ~PTHREAD_MUTEX_NO_ELISION_NP.
5555 * manual/README.pretty-printers: Update reference to
5556 gen-py-const.awk.
5557
5558 * scripts/glibcextract.py: New file.
5559 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5560 or tempfile. Import glibcexctract.
5561 (compute_c_consts): Remove. Moved to glibcextract.py.
5562 (gen_test): Update reference to compute_c_consts.
5563 (main): Likewise.
5564 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5565 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5566 * sysdeps/unix/sysv/linux/Makefile
5567 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5568 Redirect stderr as well as stdout.
5569
5570 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5571
5572 [BZ #19767]
5573 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5574 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5575 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5576 ALWAYS_USE_VSYSCALL.
5577 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5578 ALWAYS_USE_VSYSCALL.
5579 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5580 ALWAYS_USE_VSYSCALL.
5581
5582 2018-12-10 Florian Weimer <fweimer@redhat.com>
5583
5584 [BZ #23972]
5585 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5586 offset instead of count for clarity. Fix typo in comment.
5587 (__old_getdents64): Keep track of previous offset. Use it to call
5588 handle_overflow.
5589 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5590 that d_off is never zero.
5591
5592 2018-12-10 Andreas Schwab <schwab@suse.de>
5593
5594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5595 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5597 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5598 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5599
5600 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5601
5602 * timezone/private.h: Update from tzcode 2018g.
5603 * timezone/tzfile.h: Likewise.
5604 * timezone/tzselect.ksh: Likewise.
5605 * timezone/zdump.c: Likewise.
5606 * timezone/zic.c: Likewise.
5607
5608 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5609
5610 [BZ #23490]
5611 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5612 (do_test): Adjust buffer size and fix format.
5613
5614 2018-12-07 DJ Delorie <dj@redhat.com>
5615
5616 [BZ #23907]
5617 * malloc/tst-tcfree3.c: New.
5618 * malloc/Makefile: Add it.
5619
5620 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5621
5622 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5623
5624 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5625
5626 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5627 used as a mask for the mode argument of __vfscanf_internal and
5628 __vfwscanf_internal.
5629 * stdio-common/vfscanf-internal.c
5630 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5631 (__strtof128_internal): Define to __wcstof128_internal.
5632 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5633 __strtof128_internal or __wcstof128_internal when the format of
5634 long double is the same as _Float128.
5635
5636 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5637
5638 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5639 * posix/confstr.c (confstr): Rename to __confstr.
5640 (__confstr): Add hidden def.
5641 (confstr): Add weak alias for __confstr.
5642 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5643 confstr.
5644
5645 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5646
5647 * NEWS: Mention getcpu.
5648 * include/sched.h (__getcpu): New libc_hidden_proto.
5649 * manual/resource.texi: Document getcpu.
5650 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5651 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5652 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5653 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5654 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5655 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5656 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5657 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5658 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5659 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5660 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5661 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5662 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5663 Likewise.
5664 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5665 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5666 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5668 Likewise.
5669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5670 Likewise.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5672 Likewise.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5674 Likewise.
5675 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5676 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5677 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5678 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5679 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5680 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5681 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5682 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5683 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5684 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5685 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5686 Also check getcpu.
5687
5688 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5689
5690 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5691 functions.
5692 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5693
5694 2018-12-07 Florian Weimer <fweimer@redhat.com>
5695
5696 [BZ #17405]
5697 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5698 * posix/Versions (GLIBC_2.29): Export
5699 posix_spawn_file_actions_addfchdir_np.
5700 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5701 * posix/spawn_faction_destroy.c
5702 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5703 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5704 and the field action.fchdir_action.
5705 * posix/tst-spawn-chdir.c (add_chdir): New function.
5706 (do_test): Add do_fchdir loop. Call add_chdir.
5707 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5708 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5709 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5710 posix_spawn_file_actions_addfchdir_np.
5711 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5712 Likewise.
5713 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5714 Likewise.
5715 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5716 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5717 Likewise.
5718 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5719 Likewise.
5720 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5721 Likewise.
5722 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5723 Likewise.
5724 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5725 Likewise.
5726 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5727 Likewise.
5728 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5729 (GLIBC_2.29): Likewise.
5730 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5731 (GLIBC_2.29): Likewise.
5732 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5733 (GLIBC_2.29): Likewise.
5734 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5735 (GLIBC_2.29): Likewise.
5736 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5737 Likewise.
5738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5739 (GLIBC_2.29): Likewise.
5740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5741 (GLIBC_2.29): Likewise.
5742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5743 (GLIBC_2.29): Likewise.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5745 (GLIBC_2.29): Likewise.
5746 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5747 Likewise.
5748 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5749 Likewise.
5750 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5751 Likewise.
5752 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5753 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5754 Likewise.
5755 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5756 Likewise.
5757 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5758 Likewise.
5759 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5760 Likewise.
5761
5762 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5763
5764 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5765 trailing whitespace removed.
5766 * scripts/config.guess: Update to version 2018-11-28.
5767 * scripts/config.sub: Update to version 2018-11-28.
5768 * scripts/install-sh: Update to version 2018-03-11.20.
5769 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5770 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5771
5772 2018-12-07 Florian Weimer <fweimer@redhat.com>
5773
5774 [BZ #23927]
5775 CVE-2018-19591
5776 * inet/tst-if_index-long.c: New file.
5777 * inet/Makefile (tests): Add tst-if_index-long.
5778
5779 2018-12-07 Florian Weimer <fweimer@redhat.com>
5780
5781 * support/check.h (support_record_failure_is_failed): Declare.
5782 * support/descriptors.h: New file.
5783 * support/support_descriptors.c: Likewise.
5784 * support/tst-support_descriptors.c: Likewise.
5785 * support/support_record_failure.c
5786 (support_record_failure_is_failed): New function.
5787 * support/Makefile (libsupport-routines): Add support_descriptors.
5788 (tests): Add tst-support_descriptors.
5789
5790 2018-12-05 Zack Weinberg <zackw@panix.com>
5791 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5792
5793 * stdio-common/vfprintf-internal.c
5794 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5795 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5796 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5797 and __no_long_double.
5798 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5799 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5800 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5801 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5802 and __nldbl_*syslog* functions.
5803 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5804 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5805 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5806 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5807 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5808 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5809 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5810 (__nldbl_vwprintf, __nldbl_wprintf):
5811 Directly call the appropriate __v*printf_internal routine, passing
5812 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5813 variable names.
5814 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5815 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5816 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5817 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5818 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5819 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5820 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5821 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5822 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5823 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5824 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5825 (__nldbl_syslog, __nldbl_vsyslog):
5826 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5827 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5828 appropriate.
5829 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5830 appropriate.
5831
5832 2018-12-05 Zack Weinberg <zackw@panix.com>
5833 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5834
5835 [BZ #11319]
5836 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5837 Moved here from debug/vsprintf_chk.c.
5838 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5839 and completion logic for the strfile to match exactly what
5840 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5841 _IO_str_init_static_internal instead of maxlen-1.
5842 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5843 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5844 __vsprintf_internal.
5845
5846 * debug/vsprintf_chk.c (__vsprintf_chk)
5847 * debug/sprintf_chk.c (__sprintf_chk):
5848 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5849 'flags' argument is positive, and slen as maxlen. No need to lock
5850 the FILE and/or construct a temporary FILE. Minimize and normalize
5851 header inclusions and variable names. Do not libc_hidden_def anything.
5852
5853 * debug/asprintf_chk.c (__asprintf_chk)
5854 * debug/dprintf_chk.c (__dprintf_chk)
5855 * debug/fprintf_chk.c (__fprintf_chk)
5856 * debug/fwprintf_chk.c (__fwprintf_chk)
5857 * debug/printf_chk.c (__printf_chk)
5858 * debug/snprintf_chk.c (__snprintf_chk)
5859 * debug/swprintf_chk.c (__swprintf_chk)
5860 * debug/vasprintf_chk.c (__vasprintf_chk)
5861 * debug/vdprintf_chk.c (__vdprintf_chk)
5862 * debug/vfprintf_chk.c (__vfprintf_chk)
5863 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5864 * debug/vprintf_chk.c (__vprintf_chk)
5865 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5866 * debug/vswprintf_chk.c (__vswprintf_chk)
5867 * debug/vwprintf_chk.c (__vwprintf_chk)
5868 * debug/wprintf_chk.c (__wprintf_chk):
5869 Directly call the corresponding vxxprintf_internal function, passing
5870 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5871 the FILE and/or construct a temporary FILE. Minimize and normalize
5872 header inclusions and variable names. Do not libc_hidden_def anything.
5873
5874 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5875 __obstack_vprintf_internal.
5876 (__obstack_vprintf_chk): Convert into a wrapper that calls
5877 __obstack_vprintf_internal (these two functions already had the
5878 same code) and move to new file...
5879 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5880 file.
5881 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5882 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5883 * debug/Makefile (routines): Add vobprintf_chk.
5884
5885 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5886 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5887 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5888 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5889 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5890 (__nldbl___obstack_vfprintf_chk):
5891 Directly call the corresponding vxxprintf_internal function,
5892 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5893 duplicate comparison of slen with 0 or maxlen from the corresponding
5894 non-__nldbl function.
5895
5896 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5897 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5898 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5899 Remove libc_hidden_proto.
5900
5901 * stdio-common/vfprintf-internal.c
5902 (__vfprintf_internal, __vfwprintf_internal):
5903 Do not check _IO_FLAGS2_FORTIFY.
5904 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5905 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5906 a comment explaining why it has the maxlen argument.
5907 (_IO_acquire_lock_clear_flags2_fct): Remove.
5908 (_IO_acquire_lock_clear_flags2): Remove.
5909 (_IO_release_lock): Remove conditional statement which will
5910 now never execute.
5911 (_IO_acquire_lock): Remove variable which is now unused.
5912 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5913 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5914
5915 * stdio-common/Makefile (tests): Add tst-bz11319 and
5916 tst-bz11319-fortify2.
5917 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5918 * stdio-common/tst-bz11319-fortify2.c: New file.
5919 * stdio-common/tst-bz11319.c: Likewise.
5920
5921 2018-12-05 Zack Weinberg <zackw@panix.com>
5922 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5923
5924 * misc/syslog.c: Include libioP.h, not iolibio.h.
5925 (__vsyslog_internal): New function with the former body of
5926 __vsyslog_chk; takes mode_flags argument same as
5927 __v*printf_internal. Call __vfprintf_internal directly.
5928
5929 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5930 Remove libc_hidden_def.
5931 (__syslog, __syslog_chk): Use __vsyslog_internal.
5932 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5933
5934 * include/sys/syslog.h: Add multiple inclusion guard.
5935 Add prototype for __vsyslog_internal.
5936 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5937
5938 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5939 Use __vsyslog_internal.
5940
5941 2018-12-05 Zack Weinberg <zackw@panix.com>
5942 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5943
5944 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5945 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5946 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5947 New functions.
5948 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5949 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5950
5951 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5952 Include wctype.h here if COMPILE_WPRINTF is defined.
5953 Define __vfprintf_internal or __vfwprintf_internal, depending
5954 on COMPILE_WPRINTF.
5955 Temporarily, on entry to this function, update mode_flags
5956 according to the environmental settings corresponding to
5957 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5958 Throughout, check mode_flags instead of __ldbl_is_dbl and
5959 _IO_FLAGS2_FORTIFY on the destination FILE.
5960 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5961 Include vfprintf-internal.c. Don't include wctype.h.
5962 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5963 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5964 and vfprintf.
5965 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5966 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5967 and vfwprintf.
5968 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5969
5970 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5971 and add mode_flags argument; use __vfprintf_internal.
5972 (__vdprintf): New function. Alias vdprintf to this.
5973 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5974 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5975 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5976 (__obstack_printf): Use __obstack_printf_internal.
5977 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5978 public aliases __vsnprintf and vsnprintf.
5979 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5980 called internally.
5981 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5982 public aliases _IO_vsprintf and vsprintf.
5983 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5984 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5985 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5986 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5987 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5988
5989 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5990 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5991 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5992 * stdio-common/printf.c: Use __vfprintf_internal.
5993
5994 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5995 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5996 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5997
5998 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5999 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6000 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6001 __vfwprintf_internal.
6002
6003 * libio/libio.h: Remove libc_hidden_proto and declaration for
6004 _IO_vfprintf.
6005 Remove declaration of _IO_vfwprintf.
6006 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6007 _IO_vsprintf.
6008 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6009 _IO_obstack_printf.
6010 * include/stdio.h: Add prototype for __vasprintf.
6011 (__vsnprintf): Remove declaration, because there are no more
6012 internal calls.
6013 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6014 declaration, because there are no more internal calls.
6015
6016 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6017 __vsnprintf_internal, instead of _IO_vsnprintf.
6018 * argp/argp-help.c (__argp_error, __argp_failure): Use
6019 __vasprintf_internal, instead of _IO_vasprintf.
6020 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6021 redefine, because there are no more internal calls.
6022
6023 2018-12-05 Zack Weinberg <zackw@panix.com>
6024 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6025
6026 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6027 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6028 Include libio/strfile.h instead of libioP.h.
6029 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6030 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6031 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6032 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6033 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6034 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6035 necessary. Do not set __no_long_double. Normalize variable names.
6036 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6037 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6038 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6039 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6040 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6041 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6042 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6043 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6044 Do not set __no_long_double. Normalize variable names.
6045
6046 2018-12-05 Zack Weinberg <zackw@panix.com>
6047 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6048
6049 * stdio-common/isoc99_scanf.c
6050 * stdio-common/isoc99_fscanf.c
6051 * stdio-common/isoc99_sscanf.c
6052 * stdio-common/isoc99_vscanf.c
6053 * stdio-common/isoc99_vfscanf.c
6054 * stdio-common/isoc99_vsscanf.c
6055 * wcsmbs/isoc99_wscanf.c
6056 * wcsmbs/isoc99_fwscanf.c
6057 * wcsmbs/isoc99_swscanf.c
6058 * wcsmbs/isoc99_vwscanf.c
6059 * wcsmbs/isoc99_vfwscanf.c
6060 * wcsmbs/isoc99_vswscanf.c:
6061 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6062 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6063 No need to lock and unlock the FILE passed to that function.
6064
6065 * stdio-common/vfscanf-internal.c
6066 (__vfscanf_internal, __vfwscanf_internal):
6067 Don't look at _IO_FLAGS2_SCANF_STD.
6068 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6069 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6070 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6071
6072 2018-12-05 Zack Weinberg <zackw@panix.com>
6073 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6074
6075 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6076 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6077 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6078 * libio/strfile.h: Add multiple inclusion guard.
6079 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6080
6081 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6082 consistency with the other version of this file.
6083 (ldbl_compat_symbol): New macro.
6084 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6085 New macro.
6086
6087 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6088 Define __vfscanf_internal or __vfwscanf_internal, depending on
6089 COMPILE_WSCANF; don't define any other public symbols.
6090 Remove errval and code to set errp.
6091 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6092 as the mode_flags argument.
6093 (encode_error, conv_error, input_error): Don't set errval.
6094 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6095 Include vfscanf-internal.c.
6096 * stdio-common/vfscanf.c: New file defining the public entry
6097 point vfscanf, which calls __vfscanf_internal.
6098 * stdio-common/vfwscanf.c: New file defining the public entry
6099 point vfwscanf, which calls __vfwscanf_internal.
6100
6101 * stdio-common/iovfscanf.c: New file.
6102 * stdio-common/iovfwscanf.c: Likewise.
6103
6104 * stdio-common/Makefile (routines): Add vfscanf-internal,
6105 vfwscanf-internal, iovfscanf, iovfwscanf.
6106 * stdio-common/Versions: Mention GLIBC_2.29, so that
6107 it can be used in SHLIB_COMPAT expressions.
6108 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6109 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6110 Call __vfscanf_internal, instead of _IO_vfscanf.
6111 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6112 _IO_vfscanf.
6113 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6114 _IO_vfwscanf.
6115
6116 * libio/iovsscanf.c: Clean up includes, when possible. Use
6117 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6118 __vfscanf_internal or __vfwscanf_internal directly.
6119 * libio/iovswscanf.c: Likewise.
6120 * libio/swscanf.c: Likewise.
6121 * libio/vscanf.c: Likewise.
6122 * libio/vwscanf.c: Likewise.
6123 * libio/wscanf.c: Likewise.
6124 * stdio-common/isoc99_fscanf.c: Likewise.
6125 * stdio-common/isoc99_scanf.c: Likewise.
6126 * stdio-common/isoc99_sscanf.c: Likewise.
6127 * stdio-common/isoc99_vfscanf.c: Likewise.
6128 * stdio-common/isoc99_vscanf.c: Likewise.
6129 * stdio-common/isoc99_vsscanf.c: Likewise.
6130 * stdio-common/scanf.c: Likewise.
6131 * stdio-common/sscanf.c: Likewise.
6132 * wcsmbs/isoc99_fwscanf.c: Likewise.
6133 * wcsmbs/isoc99_swscanf.c: Likewise.
6134 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6135 * wcsmbs/isoc99_vswscanf.c: Likewise.
6136 * wcsmbs/isoc99_vwscanf.c: Likewise.
6137 * wcsmbs/isoc99_wscanf.c: Likewise.
6138
6139 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6140
6141 * include/time.h
6142 (__tz_compute): Replace time_t with __time64_t.
6143 (__tz_convert): Replace time_t* with __time64_t.
6144 (__offtime): Replace time_t* with __time64_t.
6145 * time/gmtime.c
6146 (__gmtime_r): Adjust call to __tz_convert.
6147 (gmtime): Likewise.
6148 * time/localtime.c
6149 (__localtime_r): Likewise.
6150 (localtime): Likewise.
6151 * time/offtime.c: Replace time_t with __time64_t.
6152 * time/tzset.c: Likewise.
6153
6154 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6155
6156 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6157 dynamic linker unless [$(run-built-tests) = yes].
6158
6159 2018-12-03 DJ Delorie <dj@delorie.com>
6160
6161 * support/test-container.c (check_for_unshare_hints): New.
6162 (main): Call it if unshare fails. Add support for "su" scriptlet
6163 command.
6164
6165 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6166
6167 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6168 'START' to indicate that start text should be output.
6169 (gen_test): Likewise.
6170 (main): Generate 'START' for first symbol or '--' line, or at end
6171 of input if not previously generated.
6172
6173 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6174
6175 [BZ #19767]
6176 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6177 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6178 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6179 ALWAYS_USE_VSYSCALL.
6180
6181 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6182
6183 [BZ #23913]
6184 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6185 new_argv by one.
6186
6187 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6188
6189 [BZ #23923]
6190 * locale/programs/localedef.c: Declare boolean hard_links default true.
6191 (options): Add --no-hard-links option.
6192 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6193 * locale/programs/localedef.h: Declare prototype for hard_links.
6194 * locale/programs/locfile.c (write_locale_data): Don't use hard
6195 links if hard_links is false.
6196
6197 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6198
6199 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6200 cpu_features_basic.
6201 (__cache_sysconf): Likewise.
6202 (init_cacheinfo): Likewise.
6203 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6204 populate COMMON_CPUID_INDEX_80000007 and
6205 COMMON_CPUID_INDEX_80000008.
6206 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6207 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6208 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6209 (init_cpu_features): Use _Static_assert on
6210 index_arch_Fast_Unaligned_Load.
6211 __get_cpuid_registers and __get_arch_feature. Updated for
6212 cpu_features_basic. Set stepping in cpu_features.
6213 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6214 (FEATURE_INDEX_2): New.
6215 (FEATURE_INDEX_MAX): Changed to enum.
6216 (COMMON_CPUID_INDEX_D_ECX_1): New.
6217 (COMMON_CPUID_INDEX_80000007): Likewise.
6218 (COMMON_CPUID_INDEX_80000008): Likewise.
6219 (cpuid_registers): Likewise.
6220 (cpu_features_basic): Likewise.
6221 (CPU_FEATURE_USABLE): Likewise.
6222 (bit_arch_XXX_Usable): Likewise.
6223 (cpu_features): Use cpuid_registers and cpu_features_basic.
6224 (bit_arch_XXX): Reweritten.
6225 (bit_cpu_XXX): Likewise.
6226 (index_cpu_XXX): Likewise.
6227 (reg_XXX): Likewise.
6228 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6229 <support/check.h>.
6230 (CHECK_CPU_FEATURE): New.
6231 (CHECK_CPU_FEATURE_USABLE): Likewise.
6232 (cpu_kinds): Likewise.
6233 (do_test): Print vendor, family, model and stepping. Check
6234 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6235 (TEST_FUNCTION): Removed.
6236 Include <support/test-driver.c> instead of
6237 "../../test-skeleton.c".
6238 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6239 Check POPCNT instead of POPCOUNT.
6240 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6241
6242 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6243
6244 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6245 there is no element in `consts'.
6246
6247 2018-12-01 Florian Weimer <fweimer@redhat.com>
6248
6249 * support/support_capture_subprocess.c
6250 (support_capture_subprocess): Check that pipe descriptors have
6251 expected values. Close original pipe descriptors in subprocess.
6252
6253 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6254
6255 [BZ #23032]
6256 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6257 attr with __pthread_default_barrierattr.
6258 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6259 attr with __pthread_default_condattr.
6260 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6261 attr with __pthread_default_mutexattr.
6262 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6263 attr with __pthread_default_rwlockattr.
6264
6265 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6266
6267 * manual/tunables.texi (POSIX Thread Tunables): New node.
6268 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6269 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6270 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6271 __pthread_tunables_init.
6272 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6273 (max_adaptive_count): Define.
6274 * nptl/pthread_mutex_conf.c: New file.
6275 * nptl/pthread_mutex_conf.h: New file.
6276 * sysdeps/generic/adaptive_spin_count.h: New file.
6277 * sysdeps/nptl/dl-tunables.list: New file.
6278 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6279 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6280 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6281 Likewise.
6282
6283 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6284
6285 [BZ #20544]
6286 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6287 * stdlib/on_exit.c (__on_exit): Likewise.
6288 * stdlib/Makefile (tests): Add tst-bz20544.
6289 * stdlib/tst-bz20544.c: New test.
6290
6291 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6292
6293 [BZ #19767]
6294 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6295 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6296 New.
6297
6298 2018-11-30 Florian Weimer <fweimer@redhat.com>
6299
6300 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6301 Extend error logging.
6302 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6303 symbol.
6304
6305 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6306
6307 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6308 __sigismember instead of sigismember.
6309 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6310 cancel_handler): New definitions.
6311 (do_system): Use posix_spawn instead of fork and execl and remove
6312 reentracy code.
6313 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6314 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6315 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6316 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6317 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6318 * sysdeps/unix/sysv/linux/system.c: Likewise.
6319
6320 [BZ #22834]
6321 [BZ #17490]
6322 * NEWS: Add new semantic for atfork with popen and system.
6323 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6324 fork and execl.
6325
6326 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6327
6328 [BZ #23690]
6329 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6330 modification order when accessing reloc_result->addr.
6331 * include/link.h (reloc_result): Add field init.
6332 * nptl/Makefile (tests): Add tst-audit-threads.
6333 (modules-names): Add tst-audit-threads-mod1 and
6334 tst-audit-threads-mod2.
6335 Add rules to build tst-audit-threads.
6336 * nptl/tst-audit-threads-mod1.c: New file.
6337 * nptl/tst-audit-threads-mod2.c: Likewise.
6338 * nptl/tst-audit-threads.c: Likewise.
6339 * nptl/tst-audit-threads.h: Likewise.
6340
6341 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6342
6343 * scripts/gen-as-const.py: New file.
6344 * scripts/gen-as-const.awk: Remove.
6345 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6346 gen-as-const.py.
6347 ($(objpfx)test-as-const-%.c): Likewise.
6348
6349 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6350
6351 * elf/dl-exception.c: Include <_itoa.h>.
6352
6353 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6354
6355 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6356 returned by __f_setlk.
6357
6358 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6359 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6360
6361 * elf/Makefile (tests-internal): Add tst-create_format1.
6362 * elf/dl-exception.c (_dl_exception_create_format): Support
6363 %x, %lx and %zx.
6364 * elf/tst-create_format1.c: New file.
6365
6366 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6367
6368 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6369 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6370 gnulib.)
6371 * argp/argp-help.c (__argp_failure): Likewise.
6372
6373 2018-11-29 Mao Han <han_mao@c-sky.com>
6374
6375 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6376 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6377 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6378 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6379 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6380 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6381 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6382 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6383 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6384 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6385 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6386 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6387 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6388 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6389 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6390 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6391 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6392 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6393 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6394 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6395 (R_CKCORE_TLS_TPOFF32): New defines.
6396
6397 2018-11-29 Florian Weimer <fweimer@redhat.com>
6398
6399 * posix/Makefile (before-compile): Remove testcases.h and
6400 ptestcases.h.
6401 (generated): Add testcases.h and ptestcases.h.
6402 (testcases.h, ptestcases.h): Move to $(objpfx).
6403 (runtests.o): Add dependency on testcases.h.
6404 (runptests.o): Add dependency on ptestcases.h.
6405 * posix/testcases.h, posix/ptestcases.h: Remove files.
6406 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6407 not touch posix/testcases.h and posix/ptestcases.h.
6408
6409 2018-11-28 Florian Weimer <fweimer@redhat.com>
6410
6411 support: Add signal support to support_capture_subprocess_check.
6412 * support/capture_subprocess.h (support_capture_subprocess_check):
6413 Adjust comment and rename parameter.
6414 * support/support_capture_subprocess_check.c
6415 (print_actual_status): New function.
6416 (support_capture_subprocess_check): Support negative
6417 status_or_signal. Call print_actual_status.
6418 * support/tst-support_capture_subprocess.c (do_test): Call
6419 support_capture_subprocess_check.
6420 * libio/tst-vtables-common.c (termination_status)
6421 (init_termination_status): Remove.
6422 (check_for_termination): Adjust support_capture_subprocess_check
6423 call.
6424 (do_test): Remove call to init_termination_status.
6425
6426 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6427
6428 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6429 source directory instead of a copy.
6430 (CommandList.create_copy_dir): Remove.
6431
6432 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6433
6434 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6435
6436 2018-11-28 Florian Weimer <fweimer@redhat.com>
6437
6438 * support/support.h (support_quote_string): Do not use str
6439 parameter name.
6440
6441 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6442
6443 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6444 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6445
6446 2018-11-27 Florian Weimer <fweimer@redhat.com>
6447
6448 * support/support.h (support_quote_string): Declare.
6449 * support/support_quote_string.c: New file.
6450 * support/tst-support_quote_string.c: Likewise.
6451 * support/Makefile (libsupport-routines): Add
6452 support_quote_string.
6453 (tests): Add tst-support_quote_string.
6454
6455 2018-11-27 Florian Weimer <fweimer@redhat.com>
6456
6457 [BZ #23927]
6458 CVE-2018-19591
6459 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6460 descriptor leak in case of ENODEV error.
6461
6462 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6463
6464 [BZ #19767]
6465 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6466 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6468
6469 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6470
6471 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6472 Error for unknown lines.
6473
6474 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6475
6476 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6477 Touch additional files.
6478
6479 2018-11-26 Florian Weimer <fweimer@redhat.com>
6480
6481 [BZ #23907]
6482 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6483 double-frees.
6484
6485 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6486
6487 [BZ #19767]
6488 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6489 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6490 SHARED. Include sysdep.h.
6491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6492 ALWAYS_USE_VSYSCALL.
6493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6494 ALWAYS_USE_VSYSCALL.
6495
6496 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6497
6498 [BZ #19767]
6499 * nptl/Makefile (tests-static): Add tst-cond11-static.
6500 (tests): Likewise.
6501 * nptl/tst-cond11-static.c: New File.
6502 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6503 tst-affinity-static.
6504 (tests): Likewise.
6505 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6506 instead of SHARED.
6507 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6508 (USE_VSYSCALL): Likewise.
6509 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6510 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6511 instead of SHARED.
6512 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6513 SHARED.
6514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6515 New.
6516
6517 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6518
6519 [BZ #23915]
6520 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6521 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6522 Undefine.
6523
6524 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6525
6526 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6527 (tst-cet-legacy-1a-ARGS): New.
6528 ($(objpfx)tst-cet-legacy-1a): New target.
6529 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6530
6531 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6532
6533 * conform/conformtest.py (CompileSubTest.__init__): Set
6534 self.run_early to False.
6535 (ExecuteSubTest.__init__): Likewise.
6536 (HeaderTests.run): Try running all non-optional, non-XFAILed
6537 compilation tests in a single execution of the compiler.
6538
6539 * conform/conformtest.py (CompileSubTest): New class.
6540 (ExecuteSubTest): Likewise.
6541 (ElementTest.run): Rename to gen_subtests. Append tests to
6542 self.subtests instead of running them.
6543 (ConstantTest.run): Likewise.
6544 (SymbolTest.run): Likewise.
6545 (TypeTest.run): Likewise.
6546 (TagTest.run): Likewise.
6547 (FunctionTest.run): Likewise.
6548 (VariableTest.run): Likewise.
6549 (MacroFunctionTest.run): Likewise.
6550 (MacroStrTest.run): Likewise.
6551 (HeaderTests.handle_test_line): Generate subtests for tests.
6552 (HeaderTests.run): Run subtests for tests.
6553
6554 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6555
6556 * math/Versions (GLIBC_2.29): Add pow.
6557 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6558 symbol.
6559 * math/w_pow.c: New file.
6560 * sysdeps/i386/fpu/w_pow.c: New file.
6561 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6563 and add necessary aliases.
6564 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6565 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6566 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6567 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6568 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6569 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6570 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6571 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6572 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6573 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6574 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6575 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6576 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6577 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6578 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6583 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6584 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6585 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6586 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6587 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6588 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6589 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6590 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6591 __pow.
6592 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6593 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6594 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6595
6596 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6597
6598 * math/Versions (GLIBC_2.29): Add log2.
6599 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6600 symbol.
6601 * math/w_log2.c: New file.
6602 * sysdeps/i386/fpu/w_log2.c: New file.
6603 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6604 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6605 and add necessary aliases.
6606 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6607 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6608 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6609 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6610 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6611 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6612 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6613 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6614 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6615 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6616 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6617 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6618 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6619 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6620 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6625 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6626 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6627 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6628 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6629 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6630 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6631 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6632
6633 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6634
6635 * math/Versions (GLIBC_2.29): Add log.
6636 * math/w_log_compat.c (__log_compat): Change to versioned compat
6637 symbol.
6638 * math/w_log.c: New file.
6639 * sysdeps/i386/fpu/w_log.c: New file.
6640 * sysdeps/ia64/fpu/e_log.S: Update.
6641 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6642 and add necessary aliases.
6643 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6644 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6645 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6646 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6647 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6648 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6649 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6650 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6651 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6652 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6653 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6654 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6655 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6656 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6657 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6662 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6663 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6664 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6665 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6666 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6667 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6668 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6669 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6670 __log.
6671 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6672 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6673 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6674 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6675
6676 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6677
6678 * math/Versions (GLIBC_2.29): Add exp and exp2.
6679 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6680 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6681 * math/w_exp_compat.c (__exp_compat): Likewise.
6682 * math/w_exp.c: New file.
6683 * math/w_exp2.c: New file.
6684 * sysdeps/i386/fpu/w_exp.c: New file.
6685 * sysdeps/i386/fpu/w_exp2.c: New file.
6686 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6687 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6688 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6689 and add necessary aliases.
6690 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6691 and add necessary aliases.
6692 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6693 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6694 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6695 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6696 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6697 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6698 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6699 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6700 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6701 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6702 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6703 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6704 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6705 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6706 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6707 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6708 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6713 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6714 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6715 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6716 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6717 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6718 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6719 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6720 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6721 (__ieee754_exp): Rename to __exp.
6722 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6723 (__ieee754_exp): Rename to __exp.
6724 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6725 (__ieee754_exp): Rename to __exp.
6726 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6727 __exp.
6728 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6729
6730 2018-11-20 DJ Delorie <dj@redhat.com>
6731
6732 * malloc/malloc.c (tcache_entry): Add key field.
6733 (tcache_put): Set it.
6734 (tcache_get): Likewise.
6735 (_int_free): Check for double free in tcache.
6736 * malloc/tst-tcfree1.c: New.
6737 * malloc/tst-tcfree2.c: New.
6738 * malloc/Makefile: Run the new tests.
6739 * manual/probes.texi: Document memory_tcache_double_free probe.
6740
6741 * dlfcn/dlerror.c (check_free): Prevent double frees.
6742
6743 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6744
6745 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6746
6747 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6748
6749 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6750 in tests. Use names for format arguments.
6751 (ConstantTest.run): Likewise.
6752 (SymbolTest.run): Likewise.
6753 (TypeTest.run): Likewise.
6754 (TagTest.run): Likewise.
6755 (FunctionTest.run): Likewise.
6756 (VariableTest.run): Likewise.
6757 (MacroFunctionTest.run): Likewise.
6758 (MacroStrTest.run): Likewise.
6759 (HeaderTests.__init__): Set self.num_tests.
6760 (HeaderTests.handle_test_line): Set test.num. Increment
6761 self.num_tests.
6762
6763 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6764
6765 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6766 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6767 SEEK_SET.
6768
6769 2018-11-19 Mao Han <han_mao@c-sky.com>
6770
6771 * scripts/config.guess: Update to version 2018-08-29.
6772 * scripts/config.sub: Update to version 2018-08-29.
6773
6774 2018-11-19 Florian Weimer <fweimer@redhat.com>
6775
6776 support: Print timestamps in timeout handler.
6777 * support/support_test_main.c (print_timestamp): New function.
6778 (signal_handler): Use it to print the termination time and the
6779 time of the last write to standard output.
6780
6781 2018-11-16 Zack Weinberg <zackw@panix.com>
6782 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6783
6784 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6785 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6786 argument.
6787 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6788 and add flags argument. Check flags instead of __ldbl_is_dbl when
6789 deciding whether to set is_long_double.
6790 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6791 passing zero for flags argument.
6792 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6793
6794 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6795 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6796 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6797 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6798 variable names. Remove libc_hidden_def/libc_hidden_proto from
6799 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6800 longer called from within the library.
6801 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6802 for __nldbl___vstrfmon_l, declare it explicitly.
6803
6804 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6805
6806 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6807
6808 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6809 macros
6810 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6811 F_SETLK64, F_SETLKW64, respectively.
6812 * sysdeps/mach/hurd/f_setlk.c: New file.
6813 * sysdeps/mach/hurd/f_setlk.h: New file.
6814 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6815 f_setlk.
6816 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6817 (__libc_fcntl): Move non-flock operations to...
6818 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6819 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6820
6821 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6822
6823 mktime: DEBUG_MKTIME cleanup
6824 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6825 And it’s no longer needed now that glibc and Gnulib both have
6826 their own testing mechanisms for mktime.
6827 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6828
6829 mktime: fix non-EOVERFLOW errno handling
6830 [BZ#23789]
6831 mktime was not properly reporting failures when the underlying
6832 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6833 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6834 The problem could happen on non-glibc platforms, with Gnulib.
6835 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6836 (tm_diff): ... this simpler function, which does not change errno.
6837 All callers changed to deal with errno themselves.
6838 (ranged_convert, __mktime_internal): Return failure immediately if
6839 the underlying function reports any failure other than EOVERFLOW.
6840 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6841 gap code fails.
6842
6843 mktime: fix bug with Y2038 DST transition
6844 [BZ#23789]
6845 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6846 mishandle a DST transition that jumps over the Y2038 boundary.
6847 No such DST transitions are known so this is only a theoretical
6848 bug, but we might as well do things right.
6849
6850 mktime: make more room for overflow
6851 [BZ#23789]
6852 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6853 This is so that we can add tm_diff results to a previous guess,
6854 which will be useful in a later patch.
6855
6856 mktime: simplify offset guess
6857 [BZ#23789]
6858 * time/mktime.c (__mktime_internal): Omit excess precision.
6859
6860 mktime: new test for mktime failure
6861 [BZ#23789]
6862 Based on a test suggested by Albert Aribaud in:
6863 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6864 * time/Makefile (tests): Add bug-mktime4.
6865 * time/bug-mktime4.c: New file.
6866
6867 mktime: fix EOVERFLOW bug
6868 [BZ#23789]
6869 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6870 Include libc-config.h, not config.h, for __set_errno.
6871 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6872
6873 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6874
6875 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6876 __attribute_copy__ to copy attributes from name. Drop static qualifier
6877 to avoid warnings about leaf attribute not having effect on static
6878 functions.
6879
6880 2018-11-13 Florian Weimer <fweimer@redhat.com>
6881
6882 * malloc/malloc.c (fastbin_push_entry): New function.
6883 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6884 (REMOVE_FB): Remove macro.
6885 (_int_malloc): Use fastbin_pop_entry and reindent.
6886 (_int_free): Use fastbin_push_entry.
6887 (malloc_consolidate): Use atomic_exchange_acquire.
6888
6889 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6890
6891 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6892 alias attribute, not with strong_alias.
6893
6894 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6895 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6896 with additional parameter thread.
6897 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6898 in terms of __hidden_ver2.
6899 (hidden_tls_def): New macro.
6900 (libc_hidden_tls_def): Likewise.
6901 (rtld_hidden_tls_def): Likewise.
6902 (libm_hidden_tls_def): Likewise.
6903 (libmvec_hidden_tls_def): Likewise.
6904 (libresolv_hidden_tls_def): Likewise.
6905 (librt_hidden_tls_def): Likewise.
6906 (libdl_hidden_tls_def): Likewise.
6907 (libnss_files_hidden_tls_def): Likewise.
6908 (libnsl_hidden_tls_def): Likewise.
6909 (libnss_nisplus_hidden_tls_def): Likewise.
6910 (libutil_hidden_tls_def): Likewise.
6911 (libutil_hidden_tls_def): Likweise.
6912 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6913 libc_hidden_tls_def.
6914 (__sim_disabled_exceptions_thread): Likewise.
6915 (__sim_round_mode_thread): Likewise.
6916
6917 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6918 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6919 copy attributes from name.
6920
6921 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6922
6923 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6924 Use __attribute_copy__ to copy attributes from name.
6925
6926 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6927 with __hidden_ver1 call.
6928 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6929 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6930 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6931 (__cosf): Do not declare here.
6932 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6933 (__sincosf): Do not declare here.
6934 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6935 (__sinf): Do not declare here.
6936
6937 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6938 (__BIG_ENDIAN): Likewise.
6939 (__BYTE_ORDER): Likewise.
6940 (strong_alias): Likewise.
6941 (_strong_alias): Likewise.
6942
6943 2018-11-12 Florian Weimer <fweimer@redhat.com>
6944
6945 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6946 function. Move after the definition of in_smallbin_range. Do not
6947 use __builtin_expect for paths that lead to a noreturn function.
6948 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6949 because it is unclear whether this is in fact an unlikely
6950 condition.
6951 (_int_malloc, _int_free): Adjust.
6952 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6953 variables.
6954 * malloc/arena.c (heap_trim): Likewise.
6955
6956 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6957
6958 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6959 it, free it if needed.
6960 (reauthenticate): Test and use ccwdir.
6961 (child_init_port): In non-resetids case, test and use ccwdir.
6962 (child_chdir): New nested function to set ccwdir.
6963 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6964 * hurd/hurd/port.h (_hurd_port_move): New function.
6965 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6966 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6967 * hurd/Versions (_hurd_port_move): Export function.
6968 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6969 symbol.
6970 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6971 of dtablesize for allocating dtable_cloexec.
6972
6973 2018-11-09 Martin Sebor <msebor@redhat.com>
6974
6975 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6976 it's already defined.
6977 (_strong_alias): Use __attribute_copy__.
6978 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6979 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6980 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6981 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6982 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6983 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6984 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6985 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6986 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6987 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6988 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6989 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6990 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6991 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6992 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6993 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6994 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6995 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6996 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6997
6998 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6999
7000 * misc/tst-efgcvt.c: Include support/check.h and
7001 support/test-driver.c. Do not include test-skeleton.c.
7002 (error_count): Remove.
7003 (output_error): Replace increments to error_count with calls to
7004 support_record_failure.
7005 (output_r_error): Likewise.
7006 (special): Likewise.
7007 (do_test): Unconditionally return zero.
7008 (TEST_FUNCTION): Remove.
7009
7010 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7011
7012 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7013 not $(@D)/scratch.
7014 ($(linknamespace-header-tests)): Likewise.
7015
7016 * conform/conformtest.py: New file.
7017 * conform/conformtest.pl: Remove.
7018 * conform/GlibcConform.pm: Likewise.
7019 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7020 (KEYWORDS_C99): Likewise.
7021 (KEYWORDS): Likewise.
7022 * conform/Makefile ($(conformtest-header-tests)): Use
7023 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7024 option. Use --header instead of --headers.
7025 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7026 function entries.
7027 * conform/data/spawn.h-data: Likewise.
7028 * conform/data/fcntl.h-data (openat): Add space after function
7029 name.
7030 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7031 (wcscasecmp_l): Likewise.
7032 * conform/data/termios.h-data (c_cc): Add space after element
7033 name.
7034
7035 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7036
7037 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7038 instead of manually comparing and reporting mismatching strings.
7039 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7040 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7041
7042 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7043
7044 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7045 __ASSUME_SOCKETCALL.
7046 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7047 (__ASSUME_SOCKETCALL): Remove.
7048 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7049 (__ASSUME_SOCKETCALL): Likewise.
7050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7051 (__ASSUME_SOCKETCALL): Likewise.
7052 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7053 (__ASSUME_SOCKETCALL): Likewise.
7054 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7055 (__ASSUME_SOCKETCALL): Likewise.
7056 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7057 (__ASSUME_SOCKETCALL): Likewise.
7058 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7059 (__ASSUME_SOCKETCALL): Likewise.
7060
7061 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7062
7063 [BZ #23509]
7064 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7065 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7066 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7067 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7068 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7069 lc_unknown.
7070
7071 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7072
7073 [BZ #17630]
7074 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7075
7076 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7077
7078 [BZ #23867]
7079 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7080 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7081 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7082 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7083
7084 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7085
7086 * support/support_test_compare_string.c
7087 (support_test_compare_string): Fix printf format.
7088
7089 2018-11-07 Florian Weimer <fweimer@redhat.com>
7090
7091 Implement TEST_COMPARE_STRING.
7092 * support/check.h (TEST_COMPARE_STRING): Define.
7093 (support_test_compare_string): Declare.
7094 * support/Makefile (libsupport-routines): Add
7095 support_test_compare_string.
7096 (tests): Add tst-test_compare_string.
7097 * support/support_test_compare_string.c: New file.
7098 * support/tst-test_compare_string.c: Likewise.
7099
7100 2018-11-07 Andreas Schwab <schwab@suse.de>
7101
7102 [BZ #23864]
7103 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7104 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7105 Undef.
7106
7107 2018-11-06 Joseph Myers <joseph@codesourcery.com>
7108
7109 [BZ #23862]
7110 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7111 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7112 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7113 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7114 Likewise.
7115
7116 2018-11-06 Florian Weimer <fweimer@redhat.com>
7117
7118 [BZ #17405]
7119 * posix/Makefile (routines): Add spawn_faction_addchdir.
7120 (tests): Add tst-spawn-chdir.
7121 * posix/Versions (GLIBC_2.29): Add
7122 posix_spawn_file_actions_addchdir_np.
7123 * posix/spawn_faction_addchdir.c: New file.
7124 * posix/spawn_faction_destroy.c
7125 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7126 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7127 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7128 chdir_action.
7129 * posix/tst-spawn-chdir.c: New file.
7130 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7131 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7132 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7133 posix_spawn_file_actions_addchdir_np.
7134 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7135 Likewise.
7136 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7137 Likewise.
7138 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7139 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7140 Likewise.
7141 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7142 Likewise.
7143 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7144 Likewise.
7145 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7146 Likewise.
7147 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7148 Likewise.
7149 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7150 Likewise.
7151 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7152 (GLIBC_2.29): Likewise.
7153 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7154 (GLIBC_2.29): Likewise.
7155 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7156 (GLIBC_2.29): Likewise.
7157 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7158 (GLIBC_2.29): Likewise.
7159 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7160 Likewise.
7161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7162 (GLIBC_2.29): Likewise.
7163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7164 (GLIBC_2.29): Likewise.
7165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7166 (GLIBC_2.29): Likewise.
7167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7168 (GLIBC_2.29): Likewise.
7169 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7170 Likewise.
7171 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7172 Likewise.
7173 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7174 Likewise.
7175 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7176 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7177 Likewise.
7178 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7179 Likewise.
7180 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7181 Likewise.
7182 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7183 Likewise.
7184
7185 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7186
7187 * misc/Makefile (tests): Add tst-ldbl-error.
7188 * misc/tst-ldbl-error.c: New file.
7189
7190 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7191
7192 * misc/Makefile (tests): Add tst-ldbl-warn.
7193 * misc/tst-ldbl-warn.c: New file.
7194
7195 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7196
7197 * argp/Makefile (tests): Add tst-ldbl-argp.
7198 * argp/tst-ldbl-argp.c: New file.
7199
7200 2018-11-05 Arjun Shankar <arjun@redhat.com>
7201
7202 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7203 __gconv_path_elem and call __gconv_get_path unconditionally.
7204
7205 2018-11-05 Andreas Schwab <schwab@suse.de>
7206
7207 [BZ #22927]
7208 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7209 creating the first helper thread failed.
7210
7211 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7212
7213 * sysdeps/mach/hurd/msync.c: New file.
7214
7215 2018-11-02 Florian Weimer <fweimer@redhat.com>
7216
7217 * support/shell-container.c (copy_func): Call
7218 support_copy_file_range instead of copy_file_range to support
7219 cross-device copies.
7220
7221 2018-11-02 Florian Weimer <fweimer@redhat.com>
7222
7223 * support/test-container.c: Include <libc-pointer-arith.h> for
7224 ALIGN_UP.
7225
7226 2018-11-01 Zong Li <zong@andestech.com>
7227
7228 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7229 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7230 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7231 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7232
7233 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7234 variable to avoid overlap arguments.
7235
7236 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7237
7238 * posix/bug-regex22.c (main): Use puts with distinct error
7239 messages for unexpected success of re_compile_pattern, not printf
7240 with NULL argument to %s.
7241
7242 * stdio-common/bug22.c: Include <libc-diag.h>.
7243 (do_test): Disable -Wformat-overflow= warnings around fprintf
7244 calls outputting more than INT_MAX characters.
7245 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7246 around printf call with NULL %s argument.
7247
7248 [BZ #23848]
7249 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7250 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7251 Undefine.
7252 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7253 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7254 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7255 (__ASSUME_SENDTO_SYSCALL): Likewise.
7256 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7257 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7258 [!__arch64__].
7259 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7260 (__ASSUME_CONNECT_SYSCALL): Likewise.
7261 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7262 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7263 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7264 Define.
7265 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7266 Likewise.
7267 [__LINUX_KERNEL_VERSION >= 0x040400]
7268 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7269 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7270 Remove.
7271 (listen): Likewise.
7272 (setsockopt): Likewise.
7273
7274 2018-11-01 Fredrik Noring <noring@nocrew.org>
7275
7276 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7277 with the ISA override.
7278
7279 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7280
7281 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7282 #endif.
7283
7284 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7285
7286 * manual/errno.texi (EIEIO): Document how translators should
7287 translate the error message.
7288 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7289 printing trailing whitespaces refused by git.
7290 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7291 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7292 * hurd/Makefile (user-interfaces): Add pci.
7293
7294 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7295
7296 * conform/linknamespace.py: New file.
7297 * conform/linknamespace.pl: Remove file.
7298 * conform/Makefile ($(linknamespace-header-tests)): Use
7299 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7300 option.
7301
7302 2018-10-30 Florian Weimer <fweimer@redhat.com>
7303
7304 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7305 memory leaks.
7306
7307 2018-10-30 Florian Weimer <fweimer@redhat.com>
7308
7309 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7310
7311 2018-10-30 Florian Weimer <fweimer@redhat.com>
7312
7313 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7314 support_blob_repeat.
7315
7316 2018-10-30 Florian Weimer <fweimer@redhat.com>
7317
7318 Avoid spurious test failures in stdlib/test-bz22786.
7319 * support/Makefile (libsupport-routines): Add blob_repeat.
7320 (tests): Add tst-support_blob_repeat.
7321 * support/blob_repeat.h: New file.
7322 * support/blob_repeat.c: Likewise.
7323 * support/tst-support_blob_repeat.c: Likewise.
7324 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7325 support_blob_repeat_allocate.
7326
7327 2018-10-30 Andreas Schwab <schwab@suse.de>
7328
7329 [BZ #23125]
7330 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7331 Don't use tail call.
7332 * elf/tst-unwind-main.c: New file.
7333 * elf/Makefile (tests): Add tst-unwind-main.
7334 (CFLAGS-tst-unwind-main.c): Define.
7335
7336 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7337
7338 [BZ #23791]
7339 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7340 n_cs_precedes to 0.
7341 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7342
7343 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7344
7345 * conform/glibcconform.py: Do not import shutil.
7346 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7347 of mkdtemp.
7348
7349 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7350 critic_missing for versions before 3.4.
7351 * configure: Regenerated.
7352 * manual/install.texi (Tools for Compilation): Document
7353 requirement for Python to build glibc.
7354 * INSTALL: Regenerated.
7355 * Rules [PYTHON]: Make code unconditional.
7356 * benchtests/Makefile [PYTHON]: Likewise.
7357 * conform/Makefile [PYTHON]: Likewise.
7358 * manual/Makefile [PYTHON]: Likewise.
7359 * math/Makefile [PYTHON]: Likewise.
7360
7361 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7362
7363 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7364 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7365 answer to interrupt_operation, return EIEIO instead of EINTR.
7366 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7367 _hurd_intr_rpc_msg_about_to global point to start of controlled
7368 assembly snippet. Make it check canceled flag.
7369 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7370 the _hurd_intr_rpc_msg_about_to point.
7371 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7372 issue, remove cancel flag check.
7373
7374 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7375
7376 * scripts/build-many-glibcs.py: Remove compatibility for missing
7377 os.cpu_count and re.fullmatch.
7378
7379 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7380
7381 [BZ #23822]
7382 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7383 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7384 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7385
7386 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7387
7388 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7389 macro.
7390
7391 2018-10-25 Florian Weimer <fweimer@redhat.com>
7392
7393 [BZ #23562]
7394 [BZ #23821]
7395 XFAIL siginfo_t si_band conform test on sparc64.
7396 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7397 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7398 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7399 (conformtest-xfail-conds): Add sparc64-linux.
7400 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7401 sparc64.
7402 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7403
7404 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7405
7406 * elf/elf.h (NT_MIPS_DSP): New macro.
7407 (NT_MIPS_FP_MODE): Likewise.
7408
7409 2018-10-25 Zong Li <zong@andestech.com>
7410
7411 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7412 name by adding the file extension (.so).
7413
7414 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7415
7416 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7417 (test-xfail-ISO11/threads.h/linknamespace,
7418 test-xfail-ISO11/threads.h/conform): Add.
7419
7420 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7421
7422 * math/gen-libm-test.py: Import os.
7423 (ALL_FLOATS_MANUAL): New constant.
7424 (ALL_FLOATS_SUFFIX): Likewise.
7425 (Ulps.all_functions): New function.
7426 (real_all_ulps): Likewise.
7427 (generate_err_table_sub): Likewise.
7428 (generate_err_table): Likewise.
7429 (main): Handle -s and -m options.
7430 * manual/libm-err-tab.pl: Remove.
7431 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7432 instead of libm-err-tab.pl.
7433 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7434 != no].
7435 * manual/install.texi (Tools for Compilation): Document
7436 requirement for Python to build manual.
7437 * INSTALL: Regenerated.
7438
7439 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7440
7441 * bits/time64.h: New file.
7442 * include/time.h: Replace internal_time_t with __time64_t.
7443 * posix/bits/types (__time64_t): Add.
7444 * stdlib/Makefile: Add bits/time64.h to includes.
7445 * time/tzfile.c: Replace internal_time_t with __time64_t.
7446
7447 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7448
7449 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7450 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7451 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7452 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7453 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7454 prototype.
7455 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7456 * posix/spawn_faction_addclose.c
7457 (__posix_spawn_file_actions_addclose): Add hidden definition.
7458 * posix/spawn_faction_adddup2.c
7459 (__posix_spawn_file_actions_adddup2): Likewise.
7460 * posix/spawn_faction_destroy.c
7461 (__posix_spawn_file_actions_destroy): Likewise.
7462 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7463 Likewise.
7464 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7465 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7466 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7467 Likewise.
7468 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7469 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7470 Likewise.
7471
7472 2018-10-24 Andreas Schwab <schwab@suse.de>
7473
7474 [BZ #18093]
7475 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7476 format cache.
7477 * elf/cache.c (print_cache): Likewise.
7478
7479 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7480
7481 * bits/timesize.h: New file.
7482 * stdlib/Makefile (headers): Add bits/timesize.h.
7483 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7484 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7485 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7486 (__SEM_PAD_AFTER_TIME): Likewise.
7487 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7488 (__SHM_PAD_AFTER_TIME): Likewise.
7489 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7490 (__MSQ_PAD_BEFORE_TIME): Likewise.
7491 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7492 (__SEM_PAD_BEFORE_TIME): Likewise.
7493 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7494 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7495 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7496 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7497 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7498 (__MSQ_PAD_BEFORE_TIME): Likewise.
7499 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7500 (__SEM_PAD_BEFORE_TIME): Likewise.
7501 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7502 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7503 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7504 (__MSQ_PAD_BEFORE_TIME): Likewise.
7505 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7506 (__SEM_PAD_BEFORE_TIME): Likewise.
7507 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7508 (__SHM_PAD_BEFORE_TIME): Likewise.
7509 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7510 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7511 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7512
7513 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7514
7515 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7516 USE_RDTSCP is defined.
7517 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7518 USE_RDTSCP is defined.
7519
7520 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7521
7522 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7523 defined.
7524
7525 [BZ #23709]
7526 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7527 independently of other flags.
7528
7529 2018-10-23 Florian Weimer <fweimer@redhat.com>
7530
7531 * time/tst-mktime2.c (N_STRINGS): Remove.
7532 (set_timezone): New function.
7533 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7534 (mktime_test1): Report localtime failure and check errno value.
7535 Use TEST_COMPARE.
7536 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7537 (do_test): Remove alarm call. Use set_timezone and array_length.
7538
7539 2018-10-23 Andreas Schwab <schwab@suse.de>
7540
7541 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7542 (__start_context): Use END instead of PSEUDO_END.
7543
7544 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7545
7546 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7547 version to 4.19.
7548
7549 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7550 version to 4.19.
7551
7552 [BZ #23793]
7553 * wcsmbs/c32rtomb.c: New file.
7554 * wcsmbs/mbrtoc32.c: Likewise.
7555 * wcsmbs/tst-c32-state.c: Likewise.
7556 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7557 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7558 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7559 (tests): Add tst-c32-state.
7560 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7561 $(gen-locales).
7562
7563 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7564
7565 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7566 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7567
7568 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7569
7570 [BZ #23794]
7571 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7572 pair and return 0 in that case, and use saved character to
7573 interpret following character.
7574 * wcsmbs/tst-c16-surrogate.c: New file.
7575 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7576 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7577 Depend on $(gen-locales)
7578
7579 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7580
7581 [BZ #23562]
7582 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7583 (struct siginfo_t): Use correct type for si_band.
7584
7585 2018-10-19 Florian Weimer <fweimer@redhat.com>
7586
7587 [BZ #23689]
7588 * resource/bits/types/struct_rusage.h (struct rusage): Update
7589 comment on struct. Remove extraneous field comment.
7590
7591 2018-10-18 David S. Miller <davem@davemloft.net>
7592
7593 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7594 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7595 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7596 sysdep_routines in subdir elf.
7597 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7598 version for __vdso_clock_gettime.
7599 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7600 Define.
7601 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7602 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7603
7604 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7605
7606 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7607
7608 * sysdeps/i386/init-arch.h: Removed.
7609 * sysdeps/i386/i586/init-arch.h: Likewise.
7610 * sysdeps/i386/i686/init-arch.h: Likewise.
7611 * sysdeps/i386/i686/hp-timing.h: Likewise.
7612 * sysdeps/x86_64/hp-timing.h: Likewise.
7613 * sysdeps/i386/isa.h: New file.
7614 * sysdeps/i386/i586/isa.h: Likewise.
7615 * sysdeps/i386/i686/isa.h: Likewise.
7616 * sysdeps/x86_64/isa.h: Likewise.
7617 * sysdeps/x86/hp-timing.h: New file.
7618 * sysdeps/x86/init-arch.h: Include <isa.h>.
7619
7620 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7621
7622 * math/libm-test-pow.inc (pow_test_data): Do not allow
7623 divide-by-zero exception for pow(+/- 0, -Inf).
7624
7625 2018-10-17 Zack Weinberg <zackw@panix.com>
7626
7627 * manual/job.texi (Job Control is Optional): Remove node, as
7628 job control has not been optional in quite some time.
7629 (Job Control): Mention briefly that systems older than
7630 POSIX.1-2001 might not support job control.
7631 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7632 defined on systems conforming to POSIX.1-2001.
7633
7634 2018-10-17 Arjun Shankar <arjun@redhat.com>
7635
7636 [BZ #22062]
7637 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7638 indentation.
7639 * (__gconv_read_conf): Mark function static.
7640 * (once): New static variable.
7641 * (__gconv_load_conf): New function.
7642 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7643 * iconv/gconv_db.c (once): Remove static variable.
7644 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7645 __gconv_read_conf.
7646 * (__gconv_find_transform): Likewise.
7647 * iconv/tst-iconv-mt.c: New test.
7648 * iconv/Makefile: Add tst-iconv_mt.
7649
7650 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7651
7652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7653 bits/shm-pad.h.
7654 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7655 (shmatt_t): Define as __syscall_ulong_t.
7656 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7657 and [__SHM_PAD_AFTER_TIME].
7658 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7659 Define shm_segsz and associated padding based on
7660 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7661 Use __syscall_ulong_t instead of unsigned long int.
7662 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7663 unsigned long int.
7664 [__USE_MISC] (struct shm_info): Likewise.
7665 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7666 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7667 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7668 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7669 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7670 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7671 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7672 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7673 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7674 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7675 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7676
7677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7678 bits/shmlba.h.
7679 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7680 (SHMLBA): Remove macro.
7681 (__getpagesize): Remove function declaration.
7682 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7683 <bits/shmlba.h>.
7684 (SHMLBA): Remove macro.
7685 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7686 <bits/shmlba.h>.
7687 (SHMLBA): Remove macro.
7688 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7689 <bits/shmlba.h>.
7690 (SHMLBA): Remove macro.
7691 (__getpagesize): Remove function declaration.
7692 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7693 <bits/shmlba.h>.
7694 (SHMLBA): Remove macro.
7695 (__getshmlba): Remove function declaration.
7696 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7697 (SHMLBA): Remove macro.
7698 (__getpagesize): Remove function declaration.
7699 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7700 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7701 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7702 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7703 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7704 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7705 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7706 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7707 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7708 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7709
7710 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7711
7712 [BZ #23275]
7713 * nptl/tst-mutex10.c: New File.
7714 * nptl/Makefile (tests): Add tst-mutex10.
7715 (tst-mutex10-ENV): New variable.
7716 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7717 Ensure that elision path is used if elision is available.
7718 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7719 Likewise.
7720 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7721 Likewise.
7722 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7723 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7724 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7725 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7726 Likewise.
7727 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7728 (__pthread_mutex_cond_lock_adjust): Likewise.
7729 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7730 Likewise.
7731 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7732 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7733 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7734 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7735 Add comments.
7736 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7737 Use atomic_load_relaxed and atomic_store_relaxed.
7738 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7739 Use atomic_store_relaxed.
7740
7741 2018-10-17 Andreas Schwab <schwab@suse.de>
7742
7743 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7744 * crypt/badsalttest.c (TIMEOUT): Likewise.
7745 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7746 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7747 * io/test-lfs.c (TIMEOUT): Likewise.
7748 * libio/tst-atime.c (TIMEOUT): Likewise.
7749 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7750 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7751 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7752 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7753 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7754 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7755 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7756 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7757 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7758 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7759 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7760 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7761 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7762 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7763 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7764 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7765 * nptl/tst-once2.c (TIMEOUT): Likewise.
7766 * nptl/tst-once3.c (TIMEOUT): Likewise.
7767 * nptl/tst-once4.c (TIMEOUT): Likewise.
7768 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7769 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7770 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7771 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7772 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7773 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7774 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7775 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7776 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7777 * posix/tst-chmod.c (TIMEOUT): Likewise.
7778 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7779 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7780 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7781 * posix/tst-regex2.c (TIMEOUT): Likewise.
7782 * posix/tst-waitid.c (TIMEOUT): Likewise.
7783 * rt/tst-aio.c (TIMEOUT): Likewise.
7784 * rt/tst-aio10.c (TIMEOUT): Likewise.
7785 * rt/tst-aio4.c (TIMEOUT): Likewise.
7786 * rt/tst-aio5.c (TIMEOUT): Likewise.
7787 * rt/tst-aio6.c (TIMEOUT): Likewise.
7788 * rt/tst-aio64.c (TIMEOUT): Likewise.
7789 * rt/tst-aio7.c (TIMEOUT): Likewise.
7790 * rt/tst-aio9.c (TIMEOUT): Likewise.
7791 * rt/tst-clock.c (TIMEOUT): Likewise.
7792 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7793 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7794 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7795 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7796 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7797 * rt/tst-timer4.c (TIMEOUT): Likewise.
7798 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7799 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7800 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7801 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7802 * time/tst-ftime.c (TIMEOUT): Likewise.
7803 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7804
7805 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7806
7807 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7808 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7809 for thunderX2.
7810
7811 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7812
7813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7814 bits/sem-pad.h.
7815 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7816 instead of <bits/wordsize.h>.
7817 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7818 and [__SEM_PAD_AFTER_TIME].
7819 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7820 __syscall_ulong_t instead of unsigned long int.
7821 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7822 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7823 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7824 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7825 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7826 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7827 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7828 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7829 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7830 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7831 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7832
7833 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7834
7835 regex: simplify by using intprops.h
7836 [BZ#23744]
7837 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7838 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7839 intprops.h defines them.
7840
7841 regex: __builtin_expect → __glibc_unlikely
7842 [BZ#23744]
7843 This refactoring was prompted by a problem when the regex code is
7844 used as part of Gnulib and when the builder’s compiler does not grok
7845 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7846 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7847 Although this refactoring does not fix the problem directly,
7848 we might as well have Gawk use the now-preferred glibc style for when
7849 __builtin_expect is unavailable.
7850 * posix/regex_internal.h (BE): Remove.
7851 All uses replaced by __glibc_unlikely or __glibc_likely.
7852
7853 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7854
7855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7856 bits/msq-pad.h.
7857 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7858 instead of <bits/wordsize.h>.
7859 (msgqnum_t): Define as __syscall_ulong_t.
7860 (msglen_t): Likewise.
7861 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7862 and [__MSQ_PAD_AFTER_TIME].
7863 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7864 __syscall_ulong_t instead of unsigned long int.
7865 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7866 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7867 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7868 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7869 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7870 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7871 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7872 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7873 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7874 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7875 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7876
7877 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7878
7879 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7880 (struct shmid_ds): Condition padding after time fields on
7881 [__WORDSIZE == 32].
7882 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7883 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7884 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7885
7886 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7887 (struct semid_ds): Condition padding after time fields on
7888 [__WORDSIZE == 32].
7889 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7890 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7891 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7892 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7893
7894 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7895 (struct msqid_ds): Condition padding after time fields on
7896 [__WORDSIZE == 32].
7897 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7898 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7899 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7900 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7901
7902 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7903
7904 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7905
7906 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7907
7908 * libio/tst-readline.c (TIMEOUT): Define.
7909
7910 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7911
7912 mktime fix for Gnulib + coreutils
7913 [BZ#23745]
7914 This fix affects only Gnulib. Problem discovered when
7915 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7916 * time/mktime.c:
7917 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7918 Do not define since it is not used. Defining an unused static
7919 function prompts a warning from GCC when Coreutils is configured
7920 with --enable-gcc-warnings.
7921
7922 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7923
7924 * benchtests/scripts/compare_bench.py (main): set float type on
7925 threshold argument.
7926
7927 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7928
7929 [BZ #23740]
7930 * localedata/locales/kl_GL (mon): Update, the relative case.
7931 (alt_mon): Add, fill with month names in the nominative case.
7932 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7933 (d_fmt): Set to "%b %d %Y".
7934
7935 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7936
7937 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7938 <bits/mman-linux.h>.
7939 (PROT_READ): Don't define here.
7940 (PROT_WRITE): Likewise.
7941 (PROT_EXEC): Likewise.
7942 (PROT_NONE): Likewise.
7943 (PROT_GROWSDOWN): Likewise.
7944 (PROT_GROWSUP): Likewise.
7945 (MAP_SHARED): Likewise.
7946 (MAP_PRIVATE): Likewise.
7947 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7948 [__USE_MISC] (MAP_FILE): Likewise.
7949 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7950 [__USE_MISC] (MAP_ANON): Likewise.
7951 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7952 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7953 (MCL_CURRENT): Likewise.
7954 (MCL_FUTURE): Likewise.
7955 (MCL_ONFAULT): Likewise.
7956 [__USE_MISC] (MADV_NORMAL): Likewise.
7957 [__USE_MISC] (MADV_RANDOM): Likewise.
7958 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7959 [__USE_MISC] (MADV_WILLNEED): Likewise.
7960 [__USE_MISC] (MADV_DONTNEED): Likewise.
7961 [__USE_MISC] (MADV_FREE): Likewise.
7962 [__USE_MISC] (MADV_REMOVE): Likewise.
7963 [__USE_MISC] (MADV_DONTFORK): Likewise.
7964 [__USE_MISC] (MADV_DOFORK): Likewise.
7965 [__USE_MISC] (MADV_HWPOISON): Likewise.
7966 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7967 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7968 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7969 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7970 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7971 (__MAP_ANONYMOUS): New macro.
7972 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7973 <bits/mman-linux.h> inclusion.
7974 (MAP_FIXED): Likewise.
7975 (MS_SYNC): Likewise.
7976 (MS_ASYNC): Likewise.
7977 (MS_INVALIDATE): Likewise.
7978 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7979 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7980 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7981 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7982 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7983 [__USE_MISC] (MADV_DODUMP): Likewise.
7984 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7985 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7986
7987 [BZ #23735]
7988 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7989 Define.
7990 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7991 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7992 Add test-nldbl-redirect.
7993 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7994 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7995 $(objpfx)libnldbl_nonshared.a.
7996
7997 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7998
7999 * support/support.h (support_objdir_elf_ldso): New variable.
8000 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8001 * support/Makefile (CFLAGS-support_paths.c): Add definition
8002 for OBJDIR_ELF_LDSO_PATH.
8003 * support/test-container.c (main): Search for the ld.so
8004 which is also used by the testsuite.
8005
8006 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8007
8008 [BZ #20209]
8009 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8010 should be "sap" rather than "sab".
8011 (day): Fix spelling of Sunday, should be "sapaat" rather than
8012 "sabaat".
8013
8014 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8015
8016 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8017
8018 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8019
8020 [BZ #19444]
8021 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8022 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8023 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8024
8025 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8026
8027 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8028
8029 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8030
8031 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8032 Add -mrtm.
8033 (CFLAGS-elision-unlock.c): Likewise.
8034 (CFLAGS-elision-timed.c): Likewise.
8035 (CFLAGS-elision-trylock.c): Likewise.
8036 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8037
8038 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8039
8040 [BZ #21037]
8041 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8042 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8043 new fd_to_filename interface.
8044 * libio/freopen64.c (freopen64): Likewise.
8045 * libio/tst-memstream.h: New file.
8046 * libio/tst-memstream4.c: Likewise.
8047 * libio/tst-wmemstream4.c: Likewise.
8048 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8049 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8050 and remove internal dynamic allocation.
8051
8052 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8053
8054 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8055 (MREMAP_MAYMOVE): Do not define here.
8056 [__USE_GNU] (MREMAP_FIXED): Likewise.
8057 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8058 (MREMAP_MAYMOVE): Define here instead.
8059 [__USE_GNU] (MREMAP_FIXED): Likewise.
8060 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8061 (MREMAP_MAYMOVE): Remove.
8062 [__USE_GNU] (MREMAP_FIXED): Likewise.
8063
8064 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8065
8066 * math/fromfp.h: Do not include <math_private.h>.
8067 * math/s_cacosh_template.c: Likewise.
8068 * math/s_casin_template.c: Likewise.
8069 * math/s_casinh_template.c: Likewise.
8070 * math/s_ccos_template.c: Likewise.
8071 * math/s_cproj_template.c: Likewise.
8072 * math/s_fdim_template.c: Likewise.
8073 * math/s_fmaxmag_template.c: Likewise.
8074 * math/s_fminmag_template.c: Likewise.
8075 * math/s_iseqsig_template.c: Likewise.
8076 * math/s_ldexp_template.c: Likewise.
8077 * math/s_nextdown_template.c: Likewise.
8078 * math/w_log1p_template.c: Likewise.
8079 * math/w_scalbln_template.c: Likewise.
8080 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8081 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8082 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8083 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8084 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8085 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8086 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8087 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8088 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8089 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8090 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8091 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8092 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8093 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8094 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8095 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8096 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8101 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8102 * sysdeps/ieee754/k_standardf.c: Likewise.
8103 * sysdeps/ieee754/k_standardl.c: Likewise.
8104 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8105 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8106 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8107 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8108 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8109 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8110 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8111 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8112 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8113 * sysdeps/ieee754/s_signgam.c: Likewise.
8114 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8115 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8116 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8117 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8118 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8119 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8120 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8121 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8122 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8123 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8124 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8125 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8126 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8127 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8128 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8129 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8130 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8131 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8132 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8133 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8134 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8135 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8136 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8137 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8138 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8139 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8140 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8141 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8142 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8143 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8144 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8145 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8146 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8147 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8148 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8149 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8150 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8151 <math_private.h>.
8152 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8153
8154 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8155
8156 [BZ #23716]
8157 * sysdeps/i386/dl-cet.c: Removed.
8158 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8159 prototype.
8160 (_dl_runtime_profile_shstk): Likewise.
8161 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8162 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8163
8164 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8165
8166 [BZ #23579]
8167 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8168 do_test_with_invalid_iov): New tests.
8169 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8170 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8171 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8172 errno is ENOSYS.
8173 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8174 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8175 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8176
8177 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8178
8179 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8180 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8181 (MATH_REDIRECT_BINARY_ARGS): New macro.
8182 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8183 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8184 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8185 header inclusion.
8186 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8188 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8189 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8194 Likewise.
8195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8196 Likewise.
8197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8199 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8200 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8202 Likewise.
8203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8204 Likewise.
8205 * sysdeps/generic/math_private_calls.h
8206 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8207 Do not declare and define as an inline function.
8208 * math/divtc3.c (__divtc3): Use copysign functions instead of
8209 __copysign variants.
8210 * math/multc3.c (__multc3): Likewise.
8211 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8212 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8213 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8214 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8215 Likewise.
8216 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8217 (__ieee754_yn): Likewise.
8218 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8219 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8220 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8221 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8222 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8223 (__sin): Likewise.
8224 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8225 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8226 Likewise.
8227 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8228 Likewise.
8229 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8230 Likewise.
8231 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8232 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8233 Likewise.
8234 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8235 (__ieee754_ynf): Likewise.
8236 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8237 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8238 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8239 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8240 Likewise.
8241 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8242 (__ieee754_ynl): Likewise.
8243 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8244 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8246 Likewise.
8247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8248 (__ieee754_ynl): Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8251 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8252 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8253 Likewise.
8254 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8255 (__ieee754_ynl)
8256 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8257 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8258 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8259 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8260 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8261
8262 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8263 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8264 using MATH_REDIRECT.
8265 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8266 header inclusion.
8267 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8270 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8271 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8278 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8279 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8280 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8281 (round): Redirect to __round.
8282 (__roundl): Call round instead of __round.
8283 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8284 Remove macro.
8285 [_ARCH_PWR5X] (__roundf): Likewise.
8286 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8287 functions instead of __round variants.
8288 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8289 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8290 Likewise.
8291 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8292 Likewise.
8293 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8294 Likewise.
8295 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8296 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8297 __lroundl.
8298 (__ieee754_expl): Call roundl instead of __roundl.
8299
8300 2018-09-27 Andreas Schwab <schwab@suse.de>
8301
8302 [BZ #23717]
8303 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8304 (do_test): Make st1 static.
8305
8306 2018-09-26 Andreas Schwab <schwab@suse.de>
8307
8308 [BZ #23707]
8309 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8310 * elf/Makefile (tests): Add tst-unwind-ctor.
8311 (modules-names): Add tst-unwind-ctor-lib.
8312 ($(objpfx)tst-unwind-ctor): Depend on
8313 $(objpfx)tst-unwind-ctor-lib.so.
8314
8315 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8316
8317 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8318 file. Most contents moved from ....
8319 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8320 and include <bits/mman-map-flags-generic.h>.
8321 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8322 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8323 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8324 <bits/mman-map-flags-generic.h>.
8325 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8326 macros defined in <bits/mman-map-flags-generic.h>.
8327 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8328 <bits/mman-map-flags-generic.h>.
8329 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8330 defined in <bits/mman-map-flags-generic.h>.
8331
8332 2018-09-26 Andreas Schwab <schwab@suse.de>
8333
8334 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8335 output.
8336
8337 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8338 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8339 Fangrui Song <maskray@google.com>
8340
8341 [BZ #20480]
8342 * config.make.in (have-textrel_ifunc): New define.
8343 * configure.ac: Add check if linker supports textrel relocation with
8344 ifunc.
8345 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8346 tst-ifunc-textrel.
8347 (CFLAGS-tst-ifunc-textrel.c): New rule.
8348 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8349 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8350 * elf/tst-ifunc-textrel.c: New file.
8351
8352 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8353
8354 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8355 <bits/procfs-prregset.h>.
8356 (prgregset_t): Define using __prgregset_t.
8357 (prfpregset_t): Define using __prfpregset_t.
8358 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8359 (sysdep_headers): Add bits/procfs-prregset.h.
8360 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8361 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8362 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8363 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8364
8365 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8366 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8367 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8368 pr_uid and pr_gid.
8369 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8370 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8371 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8372 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8373 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8374 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8375 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8376 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8377 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8378 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8379 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8380 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8381 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8382 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8383 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8384 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8385 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8386 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8387 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8388 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8389 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8390 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8391 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8392 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8393
8394 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8395 AArch64 version. Include <bits/procfs.h>.
8396 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8397 (sysdep_headers): Add bits/procfs.h.
8398 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8399 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8400 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8401 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8402 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8403 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8404 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8405 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8406 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8407 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8408 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8409 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8410 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8411 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8412 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8413 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8414 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8415
8416 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8417
8418 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8419 Use libsupport.
8420
8421 2018-09-25 Arjun Shankar <arjun@redhat.com>
8422
8423 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8424 (__gconv_max_path_elem_len): Likewise.
8425 (__gconv_nmodules): Likewise.
8426 (__gconv_get_path): Likewise.
8427 (path_elem): Move to ...
8428 * iconv/gconv_conf.c: ... here.
8429 (__gconv_get_path): Mark function static.
8430 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8431 * iconv/gconv_open.c: ... here.
8432
8433 2018-09-24 Andreas Schwab <schwab@suse.de>
8434
8435 * scripts/haveversions.awk: New file.
8436 * Makerules ($(common-objpfx)Versions.def)
8437 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8438 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8439 Move rules ...
8440 * Makeconfig ($(common-objpfx)Versions.def)
8441 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8442 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8443 ... here.
8444 ($(common-objpfx)Versions.mk): New rule. Include it.
8445 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8446 Emit error if build-obsolete-nsl = yes.
8447 * manual/install.texi (Configuring and compiling): Describe
8448 --enable-obsolete-nsl as unavaiable after version 2.28.
8449 * INSTALL: Regenerate.
8450
8451 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8452
8453 * NEWS: Add note about new TLE support on powerpc64le.
8454 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8455 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8456 __ununsed1.
8457 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8458 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8459 * sysdeps/powerpc/powerpc32/sysdep.h,
8460 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8461 ABORT_TRANSACTION): Remove macros.
8462 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8463 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8464 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8466 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8467 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8468 usage.
8469 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8470
8471 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8472
8473 [BZ #10425]
8474 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8475 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8476 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8477 which is the same as in it_IT.
8478 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8479 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8480
8481 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8482
8483 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8484 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8485 using MATH_REDIRECT.
8486 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8487 header inclusion.
8488 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8490 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8492 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8493 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8498 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8499 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8500 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8501 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8502 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8503 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8504 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8505 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8506 (ceil): Redirect to __ceil.
8507 (floor): Redirect to __floor.
8508 (trunc): Redirect to __trunc.
8509 (__truncl): Call trunc instead of __trunc.
8510 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8511 Remove macro.
8512 [_ARCH_PWR5X] (__truncf): Likewise.
8513 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8514 trunc functions instead of __trunc variants.
8515 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8516 Likewise.
8517 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8518 Likewise.
8519 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8520 Likewise.
8521 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8522 Likewise.
8523
8524 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8525 [__i586__ || __pentium__].
8526 [__i486__]: Handle explicitly.
8527 (HAS_CPUID): Define to 1 if above macros are undefined.
8528 (HAS_I586): Likewise.
8529 (HAS_I686): Likewise.
8530
8531 2018-09-20 Florian Weimer <fweimer@redhat.com>
8532
8533 * misc/tst-gethostid.c: New file.
8534 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8535 (tst-gethostid): Link with -ldl.
8536
8537 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8538
8539 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8540 value from gethostbyname_r.
8541
8542 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8543
8544 * stdlib/tst-setcontext9.c (f1): Rename to...
8545 (f1a): ... this.
8546 (f1b): New function implementing lower half of f1 in alternate stack.
8547
8548 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8549
8550 Fix mktime localtime offset confusion
8551 [BZ #23603]
8552 * include/time.h (__mktime_internal): The localtime offset is now
8553 of type long int instead of time_t. This is the longstanding type
8554 in glibc, and it is more than enough to represent difference
8555 between localtime and gmtime even if it is 32 bits and time_t is
8556 64. Changing it now will let us avoid an unnecessary change when
8557 time_t is widened to 64 bits on 32-bit platforms.
8558 * time/mktime-internal.h (mktime_offset_t): Now long int.
8559
8560 Merge mktime, timegm from upstream Gnulib
8561 [BZ #23603][BZ #16346]
8562 This fixes some obscure problems with integer overflow.
8563 Although it looks scary, it is almost all a byte-for-byte copy
8564 from Gnulib, and the Gnulib code has been tested reasonably well.
8565 * include/intprops.h: New file, copied from Gnulib.
8566 * include/verify.h, time/mktime-internal.h:
8567 New tiny files, simplified from Gnulib.
8568 * time/mktime.c: Copy from Gnulib. This has the following changes:
8569 Do not include config.h if DEBUG_MKTIME is nonzero.
8570 Include stdbool.h, intprops.h, verify.h.
8571 Include string.h only if needed.
8572 Include stdlib.h on MS-Windows.
8573 Include mktime-internal.h.
8574 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8575 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8576 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8577 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8578 simplify later conditionals; default the others to zero. Use
8579 these conditionals to express only the code needed on the current
8580 platform. In uses of these conditionals, explicitly spell out how
8581 _LIBC affects things, so it’s easier to review from a glibc
8582 viewpoint.
8583 (WRAPV): Remove; no longer needed now that we have
8584 systematic overflow checking.
8585 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8586 compartmentalize tzset issues. Move system-dependent tzsettish
8587 code here from mktime.
8588 (verify): Remove; now done by verify.h. All uses changed.
8589 (long_int): Use a more-conservative definition, to avoid
8590 integer overflow.
8591 (SHR): Remove, replacing with ...
8592 (shr): New function, which means we needn’t worry about side
8593 effects in args, and conversion analysis is simpler.
8594 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8595 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8596 (time_t_avg, time_t_add_ok): Remove.
8597 (mktime_min, mktime_max): New constants.
8598 (leapyear, isdst_differ): Use bool for booleans.
8599 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8600 Use long_int, not time_t, for mktime differences.
8601 (long_int_avg): New function, replacing time_t_avg.
8602 INT_ADD_WRAPV replaces time_t_add_ok.
8603 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8604 All uses changed.
8605 (convert_time): New function.
8606 (ranged_convert): Use it.
8607 (__mktime_internal): Last arg now points to mktime_offset_t, not
8608 time_t. All uses changed. This is a no-op on glibc, where
8609 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8610 offset guess. Directly check for integer overflow instead of
8611 using a heuristic that works only 99.9...% of the time.
8612 Access *OFFSET only once, to avoid an unlikely race if the
8613 compiler delays a load and if this cascades into a signed integer
8614 overflow.
8615 (mktime): Move tzsettish code to my_tzset, and move
8616 localtime_offset to within mktime so that it doesn’t
8617 need a separate ifdef.
8618 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8619 instead of localtime.
8620 * time/timegm.c: Copy from Gnulib. This has the following changes:
8621 Include mktime-internal.h.
8622 [!_LIBC]: Include config.h and time.h. Do not include
8623 timegm.h or time_r.h. Make __mktime_internal a macro,
8624 and include mktime-internal.h to get its declaration.
8625 (timegm): Temporary is now mktime_offset_t, not time_t.
8626 This affects only Gnulib.
8627
8628 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8629
8630 [BZ #23637]
8631 * string/test-strstr.c (pr23637): New function.
8632 (test_main): Add tests with longer needles.
8633 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8634 * string/strstr.c (AVAILABLE): Likewise.
8635
8636 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8637
8638 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8639
8640 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8641
8642 * NEWS: Mention pow improvements.
8643 * math/Makefile (type-double-routines): Add e_pow_log_data.
8644 * sysdeps/generic/math_private.h (__exp1): Remove.
8645 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8646 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8647 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8648 contraction.
8649 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8650 (exp_inline): Remove.
8651 (__ieee754_exp): Only single double input is handled.
8652 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8653 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8654 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8655 (__pow_log_data): Define.
8656 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8657 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8658 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8659 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8660 contraction.
8661 (CFLAGS-e_pow-fma4.c): Likewise.
8662
8663 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8664
8665 Simplify tzfile fstat failure code
8666 [BZ #21716]
8667 * time/tzfile.c (__tzfile_read): Simplify slightly.
8668
8669 Fix tzfile low-memory assertion failure
8670 [BZ #21716]
8671 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8672 when registering time zone abbreviations.
8673
8674 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8675
8676 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8677 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8678 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8679 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8680 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8681 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8682 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8683 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8684 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8685
8686 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8687 __ceil.
8688 (__ceill): Call ceil instead of __ceil.
8689 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8690 __floor.
8691 (__floorl): Call floor instead of __floor.
8692
8693 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8694
8695 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8696 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8697 using MATH_REDIRECT.
8698 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8699 header inclusion.
8700 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8703 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8704 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8707 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8712 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8713 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8716 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8717 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8718 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8719 Remove macro.
8720 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8721 functions instead of __ceil variants.
8722 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8723 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8724 Likewise.
8725 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8726 Likewise.
8727 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8728 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8729 Likewise.
8730 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8731 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8732
8733 [BZ #21286]
8734 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8735 constant.
8736 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8737 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8738 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8739 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8740 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8741 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8742 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8743 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8744 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8745 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8746 (ILL_BADIADDR): Remove constant.
8747 (TRAP_BRANCH): Likewise.
8748 (TRAP_HWBKPT): Likewise.
8749
8750 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8751
8752 [BZ #23656]
8753 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8754 Remove [_MIPS_SIM = _ABIN32] conditional case.
8755 (struct elf_prpsinfo): Likewise.
8756
8757 [BZ #23649]
8758 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8759 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8760 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8761 Likewise.
8762 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8763 elf_prpsinfo): Likewise.
8764 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8765 elf_prpsinfo): Likewise.
8766 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8767 Likewise.
8768
8769 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8770 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8771 using MATH_REDIRECT.
8772 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8773 header inclusion.
8774 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8775 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8776 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8777 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8780 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8781 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8784 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8785 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8786 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8787 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8788 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8789 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8790 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8791 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8792 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8795 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8797 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8798 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8799 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8800 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8801 __rint variants.
8802 * math/e_scalbf.c (invalid_fn): Likewise.
8803 * math/e_scalbl.c (invalid_fn): Likewise.
8804 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8805 Likewise.
8806 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8807 Likewise.
8808 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8809 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8810 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8811 Likewise.
8812 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8813 Likewise.
8814 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8815 Likewise.
8816 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8817 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8818
8819 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8820 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8821 New macro.
8822 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8823 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8824 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8825 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8826 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8827 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8828 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8829 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8830 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8831 && !NO_MATH_REDIRECT] (floor): Likewise.
8832 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8833 header inclusion.
8834 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8837 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8838 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8841 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8846 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8847 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8850 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8851 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8852 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8853 Remove macro.
8854 [_ARCH_PWR5X] (__floorf): Likewise.
8855 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8856 inline function.
8857 [__SSE4_1__] (__floorf): Likewise.
8858 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8859 instead of __floor variants.
8860 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8861 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8862 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8863 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8864 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8865 * math/w_tgamma_compat.c (__tgamma): Likewise.
8866 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8867 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8868 * math/w_tgammal_compat.c (__tgammal): Likewise.
8869 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8871 Likewise.
8872 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8873 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8874 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8875 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8876 Likewise.
8877 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8878 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8879 Likewise.
8880 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8881 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8882 Likewise.
8883 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8884 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8885 Likewise.
8886 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8887 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8888 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8889 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8890 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8891 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8892
8893 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8894
8895 * elf/Makefile (modules-names-tests): New variable.
8896
8897 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8898
8899 * NEWS: Mention log2 improvements.
8900 * math/Makefile (type-double-routines): Add e_log2_data.
8901 * sysdeps/i386/fpu/e_log2_data.c: New file.
8902 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8903 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8904 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8905 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8906 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8907 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8908
8909 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8910
8911 * NEWS: Mention log improvement.
8912 * math/Makefile (type-double-routines): Add e_log_data.
8913 * sysdeps/i386/fpu/e_log_data.c: New file.
8914 * sysdeps/ia64/fpu/e_log_data.c: New file.
8915 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8916 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8917 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8918 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8919 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8920 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8921
8922 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8923 Xuepeng Guo <xuepeng.guo@intel.com>
8924
8925 [BZ #23606]
8926 * sysdeps/i386/start.S: Include <sysdep.h>
8927 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8928 enabled. Add cfi_undefined (eip).
8929
8930 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8931
8932 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8933 (MOVQ): Likewise.
8934 (EXTRACT_WORDS64): Likewise.
8935 (INSERT_WORDS64): Likewise.
8936 (GET_FLOAT_WORD): Likewise.
8937 (SET_FLOAT_WORD): Likewise.
8938
8939 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8940 argument.
8941 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8942 build, but not for second build if --full-gcc. Use
8943 --enable-languages=all for second build if --full-gcc.
8944 (get_parser): Add --full-gcc option.
8945 (main): Update call to Context.
8946
8947 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8948
8949 [BZ #10797]
8950 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8951 Single Quotation Mark).
8952 (thousands_sep): Likewise.
8953 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8954 * localedata/locales/it_IT (thousands_sep): Use ".".
8955 (grouping): Use "3;3".
8956
8957 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8958
8959 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8960 x86_64 and i686 configs using --enable-obsolete-rpc
8961 --enable-obsolete-nsl.
8962
8963 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8964
8965 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8966
8967 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8968
8969 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8970 Increment size of new_argv by one.
8971
8972 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8973
8974 [BZ #17426]
8975 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8976 * localedata/locales/ar_IN (d_fmt): Likewise.
8977 * localedata/locales/bhb_IN (d_fmt): Likewise.
8978 * localedata/locales/bho_IN (d_fmt): Likewise.
8979 * localedata/locales/bn_BD (d_fmt): Likewise.
8980 * localedata/locales/bn_IN (d_fmt): Likewise.
8981 * localedata/locales/doi_IN (d_fmt): Likewise.
8982 * localedata/locales/gu_IN (d_fmt): Likewise.
8983 * localedata/locales/hi_IN (d_fmt): Likewise.
8984 * localedata/locales/hne_IN (d_fmt): Likewise.
8985 * localedata/locales/kn_IN (d_fmt): Likewise.
8986 * localedata/locales/mag_IN (d_fmt): Likewise.
8987 * localedata/locales/mai_IN (d_fmt): Likewise.
8988 * localedata/locales/mjw_IN (d_fmt): Likewise.
8989 * localedata/locales/ml_IN (d_fmt): Likewise.
8990 * localedata/locales/mni_IN (d_fmt): Likewise.
8991 * localedata/locales/mr_IN (d_fmt): Likewise.
8992 * localedata/locales/pa_IN (d_fmt): Likewise.
8993 * localedata/locales/raj_IN (d_fmt): Likewise.
8994 * localedata/locales/sat_IN (d_fmt): Likewise.
8995 * localedata/locales/sd_IN (d_fmt): Likewise.
8996 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8997 * localedata/locales/ta_IN (d_fmt): Likewise.
8998 * localedata/locales/ta_LK (d_fmt): Likewise.
8999 * localedata/locales/tcy_IN (d_fmt): Likewise.
9000 * localedata/locales/ur_IN (d_fmt): Likewise.
9001
9002 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9003 * localedata/locales/ks_IN (d_fmt): Likewise.
9004 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9005
9006 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9007 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9008 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9009 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9010
9011 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9012
9013 * NEWS: Mention exp and exp2 improvements.
9014 * math/Makefile (libm-support): Remove t_exp.
9015 (type-double-routines): Add math_err and e_exp_data.
9016 * sysdeps/aarch64/libm-test-ulps: Update.
9017 * sysdeps/arm/libm-test-ulps: Update.
9018 * sysdeps/i386/fpu/e_exp_data.c: New file.
9019 * sysdeps/i386/fpu/math_err.c: New file.
9020 * sysdeps/i386/fpu/t_exp.c: Remove.
9021 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9022 * sysdeps/ia64/fpu/math_err.c: New file.
9023 * sysdeps/ia64/fpu/t_exp.c: Remove.
9024 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9025 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9026 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9028 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9029 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9030 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9031 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9032 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9033 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9034 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9035 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9036 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9037 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9040
9041 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9042
9043 * sysdeps/alpha/fpu/math_private.h: Remove.
9044
9045 * sysdeps/generic/math_private.h
9046 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9047 Move this inline function ....
9048 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9049 * include/math.h [!_ISOMAC]: To here....
9050
9051 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9052
9053 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9054 code ....
9055 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9056 * include/fenv.h [!_ISOMAC]: ... to here.
9057 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9058 (feraiseexcept): Likewise.
9059 * math/fromfp.h: Do not include <fenv_private.h>.
9060 * math/s_cexp_template.c: Likewise.
9061 * math/s_csin_template.c: Likewise.
9062 * math/s_csinh_template.c: Likewise.
9063 * math/s_ctan_template.c: Likewise.
9064 * math/s_ctanh_template.c: Likewise.
9065 * math/s_iseqsig_template.c: Likewise.
9066 * math/w_acos_compat.c: Likewise.
9067 * math/w_acosf_compat.c: Likewise.
9068 * math/w_acosl_compat.c: Likewise.
9069 * math/w_asin_compat.c: Likewise.
9070 * math/w_asinf_compat.c: Likewise.
9071 * math/w_asinl_compat.c: Likewise.
9072 * math/w_j0_compat.c: Likewise.
9073 * math/w_j0f_compat.c: Likewise.
9074 * math/w_j0l_compat.c: Likewise.
9075 * math/w_j1_compat.c: Likewise.
9076 * math/w_j1f_compat.c: Likewise.
9077 * math/w_j1l_compat.c: Likewise.
9078 * math/w_jn_compat.c: Likewise.
9079 * math/w_jnf_compat.c: Likewise.
9080 * math/w_log10_compat.c: Likewise.
9081 * math/w_log10f_compat.c: Likewise.
9082 * math/w_log10l_compat.c: Likewise.
9083 * math/w_log2_compat.c: Likewise.
9084 * math/w_log2f_compat.c: Likewise.
9085 * math/w_log2l_compat.c: Likewise.
9086 * math/w_log_compat.c: Likewise.
9087 * math/w_logf_compat.c: Likewise.
9088 * math/w_logl_compat.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9091 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9092 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9093 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9094 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9095 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9096 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9097 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9098 * sysdeps/ieee754/k_standardl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9111 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9112 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9116 * math/w_ilogb_template.c: Include <fenv.h> instead of
9117 <fenv_private.h>.
9118 * math/w_llogb_template.c: Likewise.
9119 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9120 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9121
9122 2018-09-03 Joseph Myers <joseph@codesourcery.com>
9123
9124 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9125 * math/fromfp.h: Include <fenv_private.h>.
9126 * math/math-narrow.h: Likewise.
9127 * math/s_cexp_template.c: Likewise.
9128 * math/s_csin_template.c: Likewise.
9129 * math/s_csinh_template.c: Likewise.
9130 * math/s_ctan_template.c: Likewise.
9131 * math/s_ctanh_template.c: Likewise.
9132 * math/s_iseqsig_template.c: Likewise.
9133 * math/w_acos_compat.c: Likewise.
9134 * math/w_acosf_compat.c: Likewise.
9135 * math/w_acosl_compat.c: Likewise.
9136 * math/w_asin_compat.c: Likewise.
9137 * math/w_asinf_compat.c: Likewise.
9138 * math/w_asinl_compat.c: Likewise.
9139 * math/w_ilogb_template.c: Likewise.
9140 * math/w_j0_compat.c: Likewise.
9141 * math/w_j0f_compat.c: Likewise.
9142 * math/w_j0l_compat.c: Likewise.
9143 * math/w_j1_compat.c: Likewise.
9144 * math/w_j1f_compat.c: Likewise.
9145 * math/w_j1l_compat.c: Likewise.
9146 * math/w_jn_compat.c: Likewise.
9147 * math/w_jnf_compat.c: Likewise.
9148 * math/w_llogb_template.c: Likewise.
9149 * math/w_log10_compat.c: Likewise.
9150 * math/w_log10f_compat.c: Likewise.
9151 * math/w_log10l_compat.c: Likewise.
9152 * math/w_log2_compat.c: Likewise.
9153 * math/w_log2f_compat.c: Likewise.
9154 * math/w_log2l_compat.c: Likewise.
9155 * math/w_log_compat.c: Likewise.
9156 * math/w_logf_compat.c: Likewise.
9157 * math/w_logl_compat.c: Likewise.
9158 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9159 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9160 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9161 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9186 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9187 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9188 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9189 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9190 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9191 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9192 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9193 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9194 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9195 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9196 * sysdeps/ieee754/k_standardl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9222 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9223 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9227 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9228 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9233 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9234 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9235 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9236 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9237 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9238 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9239 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9240 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9241 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9242 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9243 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9244 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9245 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9246 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9247 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9248 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9249 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9250 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9251 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9252 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9253 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9254 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9255 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9256 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9257 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9258 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9259 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9260 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9261 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9262 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9263 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9264 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9265 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9266 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9267 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9268
9269 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9270
9271 [BZ #20271]
9272 * include/stdio.h (__libc_fatal): Mention newline in comment.
9273 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9274 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9275 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9276 * nss/nsswitch.c (__nss_next2): Likewise.
9277 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9278 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9279 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9280 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9281 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9282 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9283 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9284 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9285 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9286 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9287 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9288 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9289 (__netlink_assert_response): Likewise.
9290
9291 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9292
9293 * conform/glibcconform.py: New file.
9294 * conform/list-header-symbols.py: Likewise.
9295 * conform/list-header-symbols.pl: Remove.
9296 * conform/Makefile (tests-special): Only add linknamespace tests
9297 if [PYTHON].
9298 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9299
9300 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9301
9302 [BZ #23597]
9303 * support/Makefile (libsupport-routines): Add
9304 support_copy_file_range and xcopy_file_range.
9305 * support/support.h: Include <sys/types.h>.
9306 (support_copy_file_range): New prototype.
9307 * support/support_copy_file_range.c: New file. Copied and
9308 modified from io/copy_file_range-compat.c.
9309 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9310 instead of copy_file_range.
9311 * support/xcopy_file_range.c: New file.
9312 * support/xunistd.h (xcopy_file_range): New prototype.
9313
9314 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9315
9316 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9317 xpthread_create and xpthread_join.
9318
9319 2018-08-30 Florian Weimer <fweimer@redhat.com>
9320
9321 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9322
9323 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9324
9325 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9326 if malloc fails.
9327
9328 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9329
9330 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9331 and minus_oflow as non-finite.
9332
9333 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9334
9335 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9336 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9337 moved to fenv_private.h except for ...
9338 (TOINT_INTRINSICS): Kept in math_private.h.
9339 (roundtoint): Likewise.
9340 (converttoint): Likewise.
9341 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9342 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9343 * sysdeps/arm/math_private.h: Remove.
9344 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9345 ....
9346 * sysdeps/generic/math_private.h: ... this file. Include
9347 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9348 Include <fenv_private.h>. Remove functions and macros moved to
9349 fenv_private.h.
9350 * sysdeps/i386/fpu/math_private.h: Remove.
9351 * sysdeps/mips/math_private.h: Move to ....
9352 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9353 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9354 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9355 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9356 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9357 * sysdeps/powerpc/fpu/math_private.h: Do not include
9358 <fenv_private.h>.
9359 * sysdeps/riscv/rvf/math_private.h: Move to ....
9360 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9361 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9362 <fenv_private.h>.
9363 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9364 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9365 * sysdeps/sparc/fpu/math_private.h: Remove.
9366 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9367 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9368 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9369 <fenv_private.h>.
9370 * sysdeps/x86_64/fpu/math_private.h: Do not include
9371 <sysdeps/i386/fpu/fenv_private.h>.
9372
9373 2018-08-28 Florian Weimer <fweimer@redhat.com>
9374
9375 [BZ #23578]
9376 * posix/tst-regcomp-truncated.c: New file.
9377 * posix/Makefile (tests): Add it.
9378 (tst-regcomp-truncated.out): Depend on generated locales.
9379
9380 2018-08-28 Florian Weimer <fweimer@redhat.com>
9381
9382 * support/test-container.c (main): Treat unshare failure with
9383 EPERM as an unsupported test.
9384
9385 2018-08-28 Florian Weimer <fweimer@redhat.com>
9386
9387 [BZ #23520]
9388 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9389 * nscd/netgroupcache.c
9390 (addgetnetgrentX): Add tofreep parameter. Do not free
9391 heap-allocated buffer.
9392 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9393 (addgetnetgrentX_ignore): New function.
9394 (addgetnetgrent): Call it.
9395 (readdgetnetgrent): Likewise.
9396
9397 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9398
9399 * string/memmem.c: Use memcmp for first match.
9400
9401 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9402
9403 [BZ #17426]
9404 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9405
9406 2018-08-27 DJ Delorie <dj@redhat.com>
9407
9408 * support/Makefile (others): Don't list programs explicitly as a
9409 dependency of "others".
9410
9411 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9412
9413 * sysdeps/generic/math-tests-trap-force.h: New file.
9414 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9415 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9416 * sysdeps/powerpc/math-tests.h: Remove file.
9417 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9418
9419 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9420 Torvald Riegel <triegel@redhat.com>
9421
9422 [BZ #23538]
9423 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9424 Update r to include the set wake-request flag if waiters are
9425 remaining after spinning.
9426
9427 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9428
9429 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9430
9431 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9432
9433 [BZ #23578]
9434 regex: fix uninitialized memory access
9435 I introduced this bug into gnulib in commit
9436 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9437 eventually it was merged into glibc. The bug was found by
9438 project-repo <bugs@feusi.co> and reported here:
9439 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9440 Diagnosis and draft fix reported by Assaf Gordon here:
9441 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9442 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9443 * posix/regex_internal.c (build_wcs_upper_buffer):
9444 Fix bug when mbrtowc returns 0.
9445
9446 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9447
9448 * po/be.po: Update translation.
9449
9450 2018-08-24 DJ Delorie <dj@delorie.com>
9451
9452 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9453 $(libunwind).
9454
9455 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9456
9457 [BZ #23400]
9458 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9459 create temporary files in source tree.
9460
9461 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9462
9463 * sysdeps/generic/math-tests-trap.h: New file.
9464 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9465 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9466 * sysdeps/aarch64/math-tests.h: Remove file.
9467 * sysdeps/arm/math-tests.h: Likewise.
9468 * sysdeps/riscv/math-tests.h: Likewise.
9469 * sysdeps/aarch64/math-tests-trap.h: New file.
9470 * sysdeps/arm/math-tests-trap.h: Likewise.
9471 * sysdeps/riscv/math-tests-trap.h: Likewise.
9472
9473 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9474
9475 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9476 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9477 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9478 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9479 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9480 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9484 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9485 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9486 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9487 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9488 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9489 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9490 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9491 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9492 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9493
9494 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9495
9496 * sysdeps/generic/math-tests-exceptions.h: New file.
9497 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9498 (EXCEPTION_TESTS_float): Do not define here.
9499 (EXCEPTION_TESTS_double): Likewise.
9500 (EXCEPTION_TESTS_long_double): Likewise.
9501 (EXCEPTION_TESTS_float128): Likewise.
9502 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9503 Likewise.
9504 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9505 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9506 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9507 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9508 * sysdeps/mips/math-tests.h: Likewise.
9509 * sysdeps/nios2/math-tests.h: Likewise.
9510 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9511 (EXCEPTION_TESTS_float): Do not define here.
9512 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9513 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9514 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9515
9516 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9517
9518 * NEWS: Move optimized sinf entry to 2.29.
9519
9520 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9521
9522 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9523
9524 2018-08-22 DJ Delorie <dj@redhat.com>
9525
9526 * Makefile (testroot.pristine): New rules to initialize the
9527 test-in-container "testroot".
9528 * Makerules (all-testsuite): Add tests-container.
9529 * Rules (tests-expected): Add tests-container.
9530 (binaries-all-tests): Likewise.
9531 (tests-container): New, run these tests in the testroot container.
9532 * support/Makefile (others): Add *-container, support_paths.c,
9533 xmkdirp, and links-dso-program.
9534 * support/links-dso-program-c.c: New.
9535 * support/links-dso-program.cc: New.
9536 * support/test-container.c: New.
9537 * support/shell-container.c: New.
9538 * support/echo-container.c: New.
9539 * support/true-container.c: New.
9540 * support/xmkdirp.c: New.
9541 * support/xsymlink.c: New.
9542 * support/support_paths.c: New.
9543 * support/support.h: Add support paths prototypes.
9544 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9545
9546 * nss/tst-nss-test3.c: Convert to test-in-container.
9547 * nss/tst-nss-test3.root/: New.
9548
9549 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9550
9551 regex: port Gnulib code to z/OS POSIX environment
9552 Problem reported by Arnold Robbins in:
9553 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9554 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9555 Undef.
9556
9557 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9558
9559 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9560 (ROUNDING_TESTS_double): Remove.
9561 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9562 (ROUNDING_TESTS_double): Remove.
9563 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9564 (ROUNDING_TESTS_double): Remove.
9565 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9566 (ROUNDING_TESTS_float): Remove.
9567 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9568 (ROUNDING_TESTS_float): Remove.
9569 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9570 (ROUNDING_TESTS_float): Remove.
9571 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9572 !TEST_MATHVEC here.
9573 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9574 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9575
9576 * sysdeps/generic/math-tests-rounding.h: New file.
9577 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9578 (ROUNDING_TESTS_float): Do not define here.
9579 (ROUNDING_TESTS_double): Likewise.
9580 (ROUNDING_TESTS_long_double): Likewise.
9581 (ROUNDING_TESTS_float128): Likewise.
9582 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9583 (ROUNDING_TESTS_double): Undefine before defining.
9584 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9585 (ROUNDING_TESTS_double): Undefine before defining.
9586 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9587 (ROUNDING_TESTS_double): Undefine before defining.
9588 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9589 (ROUNDING_TESTS_float): Undefine before defining.
9590 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9591 (ROUNDING_TESTS_float): Undefine before defining.
9592 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9593 (ROUNDING_TESTS_float): Undefine before defining.
9594 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9595 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9596 not define here.
9597 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9598 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9599 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9600 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9601 (ROUNDING_TESTS_float): Do not define here.
9602 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9603 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9604 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9605 (ROUNDING_TESTS_float): Likewise.
9606 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9607 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9608 * sysdeps/mips/math-tests.h [__mips_soft_float]
9609 (ROUNDING_TESTS_float): Likewise.
9610 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9611 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9612 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9613 (ROUNDING_TESTS_double): Likewise.
9614 (ROUNDING_TESTS_long_double): Likewise.
9615
9616 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9617
9618 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9619 (PF_XDP): New macro.
9620 (AF_XDP): New macro.
9621 (SOL_XDP): New macro.
9622
9623 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9624
9625 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9626 (TCP_INQ): Likewise.
9627 (TCP_CM_INQ): Likewise.
9628 (TCP_REPAIR_ON): Likewise.
9629 (TCP_REPAIR_OFF): Likewise.
9630 (TCP_REPAIR_OFF_NO_WP): Likewise.
9631 (struct tcp_zerocopy_receive): New type.
9632
9633 2018-08-21 Florian Weimer <fweimer@redhat.com>
9634
9635 * support/support.h (support_descriptor_supports_holes): Declare.
9636 * support/Makefile (libsupport-routines): Add
9637 support_descriptor_supports_holes.
9638 * support/support_descriptor_supports_holes.c: New file.
9639 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9640 and stop testing if holes are not supported.
9641 * io/test-lfs.c (do_prepare): Likewise.
9642 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9643 Likewise.
9644 * timezone/tst-tzset.c (create_tz_file): Likewise.
9645 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9646 variable.
9647 (do_prepare): Set it.
9648 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9649
9650 2018-08-21 Florian Weimer <fweimer@redhat.com>
9651
9652 [BZ #17248]
9653 * Makeconfig (+cflags): Do not sort (and deduplicate).
9654
9655 2018-08-21 Florian Weimer <fweimer@redhat.com>
9656
9657 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9658 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9659
9660 2018-08-20 Florian Weimer <fweimer@redhat.com>
9661
9662 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9663 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9664
9665 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9666
9667 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9668 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9669 and ssi_arch members.
9670
9671 * elf/elf.c (NT_VMCOREDD): New macro.
9672 (AT_MINSIGSTKSZ): Likewise.
9673
9674 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9675
9676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9677 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9678 s_cosf-ppc64 and s_cosf-power8.
9679 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9680 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9681 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9682 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9689 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9690 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9691
9692 2018-08-17 Florian Weimer <fweimer@redhat.com>
9693
9694 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9695
9696 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9697
9698 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9699
9700 2018-08-16 Florian Weimer <fweimer@redhat.com>
9701
9702 * configure.ac: Add --with-nonshared-cflags option.
9703 * config.make.in (extra-nonshared-cflags): Set variable.
9704 * Makeconfig (CFLAGS-.oS): Use it.
9705 * manual/install.texi (Configuring and compiling): Document
9706 --with-nonshared-cflags.
9707 * configure: Regenerate.
9708 * INSTALL: Likewise.
9709
9710 2018-08-16 Florian Weimer <fweimer@redhat.com>
9711
9712 * Makeconfig (ASFLAGS): Always append required assembler flags.
9713
9714 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9715
9716 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9717 (malloc_consolidate): Likewise.
9718
9719 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9720
9721 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9722
9723 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9724
9725 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9726 every strlen call.
9727
9728 * benchtests/bench-strlen.c: Print performance numbers in json.
9729
9730 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9731
9732 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9733 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9734 only for little endian.
9735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9736 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9737 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9738 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9739 Add check for little endian.
9740 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9741 (__strcmp_power9): Add check for little endian.
9742 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9743 Add check for little endian.
9744 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9745 (__strncmp_power9): Add check for little endian.
9746 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9747 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9748 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9749 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9750 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9751
9752 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9753
9754 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9755 [!STRLEN](STRLEN): Set to __strlen.
9756 * sysdeps/aarch64/multiarch/strlen.c: New file.
9757 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9758 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9759 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9760 (__libc_ifunc_impl_list): Add strlen.
9761 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9762 strlen_generic and strlen_asimd.
9763
9764 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9765
9766 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9767 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9768 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9769
9770 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9771
9772 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9773
9774 2018-08-14 Florian Weimer <fweimer@redhat.com>
9775
9776 [BZ #23519]
9777 * include/stdio.h (__vfxprintf): Declare.
9778 * stdio-common/fxprintf.c (__vfxprintf): New function.
9779 (__fxprintf): Call it.
9780 * misc/err.c (convert_and_print): Remove function.
9781 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9782 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9783 * misc/Makefile (tests): Add tst-warn-wide.
9784 * misc/tst-warn-wide.c: New file.
9785
9786 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9787 Szabolcs Nagy <szabolcs.nagy@arm.com>
9788
9789 * NEWS: Mention sinf, cosf, sincosf.
9790 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9791 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9792 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9793 constants rather than including generic sincosf.h.
9794 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9795 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9796 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9797 (reduced_cos): Remove.
9798 (sinf_poly): New function.
9799 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9800
9801 2018-08-14 Florian Weimer <fweimer@redhat.com>
9802
9803 [BZ #23521]
9804 [BZ #23522]
9805 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9806 processing, bail out if no room, and close the stream before
9807 returning ERANGE.
9808 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9809 (tst-nss-files-alias-leak): Link with libdl.
9810 (tst-nss-files-alias-leak.out): Depend on nss_files.
9811
9812 * nss/tst-nss-files-alias-leak.c: New file.
9813
9814 2018-08-14 Florian Weimer <fweimer@redhat.com>
9815
9816 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9817 server_user, stat_user.
9818
9819 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9820
9821 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9822 version to 4.18.
9823 (io_pgetevents): New syscall.
9824 (rseq): Likewise.
9825
9826 * manual/install.texi (Configuring and compiling): Do not list
9827 tools used for testing pretty printers here.
9828 (Tools for Compilation): List Python, PExpect and GDB here.
9829 Update descriptions of uses of Perl and Python.
9830 * INSTALL: Regenerate.
9831
9832 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9833 version to 4.18.
9834
9835 2018-08-13 Florian Weimer <fweimer@redhat.com>
9836
9837 * misc/error.c (error): Add missing va_end call.
9838 (error_at_line): Likewise.
9839
9840 2018-08-13 Florian Weimer <fweimer@redhat.com>
9841
9842 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9843
9844 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9845
9846 * benchtests/scripts/benchout.schema.json (properties): Add
9847 new properties.
9848
9849 * benchtests/bench-skeleton.c (main): Add duration and
9850 iterations attributes.
9851
9852 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9853
9854 regex: Gnulib unibyte RRI uses bytes not chars
9855 Adjust the non-glibc code to agree with what Gawk needs for
9856 rational range interpretation (RRI) for regular expression ranges.
9857 In unibyte locales, Gawk wants ranges to use the underlying byte
9858 rather than the character code point. This change does not affect
9859 glibc proper.
9860 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9861 In unibyte locales, use the byte value rather than
9862 running it through btowc.
9863
9864 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9865
9866 * sysdeps/generic/math-tests-snan.h: New file.
9867 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9868 (SNAN_TESTS_float): Do not define here.
9869 (SNAN_TESTS_double): Likewise.
9870 (SNAN_TESTS_long_double): Likewise.
9871 (SNAN_TESTS_float128): Likewise.
9872 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9873 * sysdeps/i386/fpu/math-tests.h: Remove file.
9874 * sysdeps/ia64/math-tests-snan.h: New file.
9875 * sysdeps/ia64/math-tests.h: Remove file.
9876 * sysdeps/x86/math-tests.h: Likewise.
9877 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9878
9879 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9880 Szabolcs Nagy <szabolcs.nagy@arm.com>
9881
9882 * math/Makefile: Add s_sincosf_data.c.
9883 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9884 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9885 (sincosf_poly): Likewise.
9886 (reduce_small): Likewise.
9887 (reduce_large): Likewise.
9888 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9889 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9890 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9891 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9892
9893 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9894 Szabolcs Nagy <szabolcs.nagy@arm.com>
9895
9896 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9897 (converttoint): Use lround.
9898 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9899 document the semantics when TOINT_INTRINSICS is set.
9900 (converttoint): Likewise.
9901 (TOINT_RINT): Remove.
9902 (TOINT_SHIFT): Remove.
9903 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9904 path.
9905
9906 2018-08-10 Florian Weimer <fweimer@redhat.com>
9907
9908 [BZ #23497]
9909 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9910 function.
9911 (__old_getdents64): Use getdents64. Convert entries without
9912 moving them.
9913 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9914 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9915 tst-readdir64-compat.
9916
9917 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9918
9919 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9920 Fix unwind.
9921
9922 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9923
9924 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9925 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9926 code to s390x-mcount.h and #include it.
9927 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9928 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9929 (__fentry__): Add.
9930
9931 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9932
9933 * stdlib/Versions: Remove __fentry__.
9934 * sysdeps/i386/Versions: Add __fentry__.
9935 * sysdeps/x86_64/Versions: Add __fentry__.
9936
9937 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9938
9939 * sysdeps/s390/Makefile: Register the new tests.
9940 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9941 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9942 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9943 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9944 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9945 * sysdeps/s390/tst-dl-runtime.c: New file.
9946
9947 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9948
9949 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9950 Do not clobber R0.
9951
9952 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9953
9954 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9955 Do not clobber R0.
9956
9957 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9958
9959 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9960 Do not clobber R0.
9961
9962 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9963
9964 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9965 Do not clobber R0.
9966
9967 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9968
9969 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9970 Use symbolic offsets for stack variables.
9971
9972 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9973
9974 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9975 Use symbolic offsets for stack variables.
9976
9977 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9978
9979 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9980 Use symbolic offsets for stack variables.
9981
9982 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9983
9984 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9985 Use symbolic offsets for stack variables.
9986
9987 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9988
9989 * math/gen-libm-test.py: New file.
9990 * math/gen-libm-test.pl: Remove.
9991 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9992 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9993 gen-libm-test.pl.
9994 ($(libm-test-c-noauto-obj)): Likewise.
9995 ($(libm-test-c-auto-obj)): Likewise.
9996 ($(libm-test-c-narrow-obj)): Likewise.
9997 (regen-ulps): Likewise.
9998 * math/README.libm-test: Update references to gen-libm-test.pl.
9999 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10000 referencing gen-libm-test.pl.
10001 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10002 * math/libm-test-support.c: Likewise.
10003 * math/libm-test-support.h: Likewise.
10004 * sysdeps/generic/libm-test-ulps: Likewise.
10005
10006 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10007
10008 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10009 Fix value.
10010
10011 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10012
10013 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10014 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10015
10016 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10017
10018 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10019 symbols.
10020 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10021 __pthread_setspecific): Add hidden proto.
10022 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10023 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10024
10025 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10026
10027 * benchtests/bench-string.h (buf1_size, buf2_size): New
10028 variables.
10029 (init_sizes): New function.
10030 (test_init): Use it.
10031 (alloc_buf, exit_error): New functions.
10032 (alloc_bufs): Use ALLOC_BUF.
10033 (realloc_bufs): Remove.
10034 * benchtests/bench-memcmp.c (do_test): Adjust.
10035 * benchtests/bench-memset-large.c (do_test): Likewise.
10036 * benchtests/bench-memset-walk.c (do_test): Likewise.
10037 * benchtests/bench-memset.c (do_test): Likewise.
10038 * benchtests/bench-strncmp.c (do_test): Likewise.
10039
10040 2018-08-06 Andreas Schwab <schwab@suse.de>
10041
10042 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10043 of CONST_THREAD_AREA.
10044
10045 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10046
10047 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10048 (STATE_SAVE_MASK): Likewise.
10049 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10050 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10051 (STATE_SAVE_MASK): Likewise.
10052 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10053 instead of <cpu-features.h>.
10054
10055 2018-08-03 DJ Delorie <dj@redhat.com>
10056
10057 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10058 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10059
10060 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10061
10062 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10063
10064 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10065 after TEST_* calls.
10066 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10067 * math/libm-test-logb.inc (logb_test_data): Likewise.
10068
10069 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10070
10071 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10072 * string/strstr.c (AVAILABLE): Likewise.
10073
10074 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10075
10076 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10077 <init-arch.h>.
10078 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10079 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10080 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10081
10082 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10083
10084 * po/be.po: Update translation.
10085
10086 * po/be.po: Update translation.
10087
10088 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10089
10090 * sysdeps/x86/cpu-features-offsets.sym
10091 (rtld_global_ro_offsetof): Removed.
10092 (CPU_FEATURES_SIZE): Likewise.
10093 (CPUID_OFFSET): Likewise.
10094 (CPUID_SIZE): Likewise.
10095 (CPUID_EAX_OFFSET): Likewise.
10096 (CPUID_EBX_OFFSET): Likewise.
10097 (CPUID_ECX_OFFSET): Likewise.
10098 (CPUID_EDX_OFFSET): Likewise.
10099 (FAMILY_OFFSET): Likewise.
10100 (MODEL_OFFSET): Likewise.
10101 (FEATURE_OFFSET): Likewise.
10102 (FEATURE_SIZ): Likewise.
10103 (COMMON_CPUID_INDEX_1): Likewise.
10104 (COMMON_CPUID_INDEX_7): Likewise.
10105 (FEATURE_INDEX_1): Likewise.
10106 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10107
10108 2018-08-02 Carlos O'Donell <carlos@redhat.com>
10109
10110 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10111 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10112 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10113 (install-locales): Depend on install-locale-archive.
10114 (install-locale-archive): Define.
10115 (install-locale-files): Define.
10116 (build-one-locale): Define macro.
10117 * manual/install.texi (Running make install): Document.
10118 * manual/INSTALL: Regenerate.
10119
10120 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10121
10122 * benchtests/scripts/compare_strings.py: Import traceback.
10123 (parse_file): Pretty-print error.
10124
10125 * NEWS: Mention the change.
10126 * elf/dl-tunables.list: Rename tune namespace to cpu.
10127 * sysdeps/powerpc/dl-tunables.list: Likewise.
10128 * sysdeps/x86/dl-tunables.list: Likewise.
10129 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10130 cpu.name.
10131 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10132 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10133 * manual/README.tunables: Likewise.
10134 * manual/tunables.texi: Likewise.
10135 * sysdeps/powerpc/cpu-features.c: Likewise.
10136 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10137 (init_cpu_features): Likewise.
10138 * sysdeps/x86/cpu-features.c: Likewise.
10139 * sysdeps/x86/cpu-features.h: Likewise.
10140 * sysdeps/x86/cpu-tunables.c: Likewise.
10141 * sysdeps/x86_64/Makefile: Likewise.
10142 * sysdeps/x86/dl-cet.c: Likewise.
10143
10144 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10145
10146 [BZ #23479]
10147 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10148 [__mips_hard_float].
10149 (FE_UNDERFLOW): Likewise.
10150 (FE_OVERFLOW): Likewise.
10151 (FE_DIVBYZERO): Likewise.
10152 (FE_INVALID): Likewise.
10153 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10154 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10155 (FE_UPWARD): Likewise.
10156 (FE_DOWNWARD): Likewise.
10157 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10158 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10159 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10160 [__mips_hard_float].
10161 (FP_ROUNDMODE): Likewise.
10162 (FP_RND_NEAREST): Likewise.
10163 (FP_RND_ZERO): Likewise.
10164 (FP_RND_PINF): Likewise.
10165 (FP_RND_MINF): Likewise.
10166 (FP_EX_INVALID): Likewise.
10167 (FP_EX_OVERFLOW): Likewise.
10168 (FP_EX_UNDERFLOW): Likewise.
10169 (FP_EX_DIVZERO): Likewise.
10170 (FP_EX_INEXACT): Likewise.
10171 (FP_INIT_ROUNDMODE): Likewise.
10172 * sysdeps/mips/nofpu/fesetenv.c: New file.
10173 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10174
10175 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10176
10177 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10178 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10179 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10180 conditional on [FE_UPWARD].
10181
10182 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10183
10184 regex: fix memory leak in Gnulib
10185 Problem and fix reported by Assaf Gordon in:
10186 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10187 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10188 range_ends members too, as they are defined in 'struct
10189 re_charset_t' even if not _LIBC. This affects only Gnulib.
10190
10191 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10192
10193 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10194 ...
10195 (get_common_indices): This.
10196 (init_cpu_features): Updated.
10197
10198 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10199
10200 * sysdeps/generic/math-tests-snan-payload.h: New file.
10201 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10202 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10203 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10204 * sysdeps/generic/math-tests.h: Include
10205 <math-tests-snan-payload.h>.
10206 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10207 * sysdeps/hppa/math-tests.h: Remove file.
10208 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10209 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10210 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10211 Likewise.
10212
10213 * sysdeps/generic/math-tests-snan-cast.h: New file.
10214 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10215 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10216 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10217 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10218
10219 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10220
10221 * version.h (RELEASE): Set to "development".
10222 (VERSION): Set to "2.28.9000".
10223 * NEWS (2.29): New section.
10224
10225 * version.h (RELEASE): Set to "stable".
10226 (VERSION): Set to "2.28".
10227 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10228 * NEWS: Add the list of bugs fixed in 2.28.
10229
10230 * po/ca.po: Update to latest version.
10231 * po/cs.po: Likewise
10232 * po/da.po: Likewise
10233 * po/el.po: Likewise
10234 * po/eo.po: Likewise
10235 * po/es.po: Likewise
10236 * po/fi.po: Likewise
10237 * po/fr.po: Likewise
10238 * po/gl.po: Likewise
10239 * po/hu.po: Likewise
10240 * po/ia.po: Likewise
10241 * po/id.po: Likewise
10242 * po/it.po: Likewise
10243 * po/ja.po: Likewise
10244 * po/ko.po: Likewise
10245 * po/lt.po: Likewise
10246 * po/nb.po: Likewise
10247 * po/nl.po: Likewise
10248 * po/pt_BR.po: Likewise
10249 * po/ru.po: Likewise
10250 * po/rw.po: Likewise
10251 * po/sk.po: Likewise
10252 * po/sl.po: Likewise
10253 * po/tr.po: Likewise
10254 * po/zh_CN.po: Likewise
10255 * po/zh_TW.po: Likewise
10256
10257 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10258
10259 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10260 initialization...
10261 (init): ... before initializing libpthread.
10262
10263 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10264 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10265 (__mach_setup_tls): ... new function.
10266 (mach_setup_tls): New alias.
10267 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10268 __mach_setup_thread.
10269 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10270 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10271 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10272 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10273
10274 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10275
10276 * manual/install.texi: Update versions.
10277 * INSTALL: Regenerate.
10278
10279 * manual/contrib.texi (Contributors): Update contributions.
10280
10281 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10282
10283 * po/be.po: Update translations.
10284
10285 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10286
10287 * sysdeps/sh/libm-test-ulps: Update.
10288
10289 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10290
10291 * po/bg.po: Update translations.
10292 * po/de.po: Likewise.
10293 * po/hr.po: Likewise.
10294 * po/pt_BR.po: Likewise.
10295 * po/sv.po: Likewise.
10296 * po/vi.po: Likewise.
10297
10298 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10299
10300 [BZ #23467]
10301 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10302 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10303 (CFLAGS-tst-cet-property-1.o): New.
10304 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10305 ($(objpfx)tst-cet-property-2): Likewise.
10306 ($(objpfx)tst-cet-property-2.out): Likewise.
10307 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10308 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10309 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10310 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10311 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10312
10313 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10314
10315 [BZ #23458]
10316 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10317
10318 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10319
10320 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10321 __sbrk): Do not set attribute_hidden.
10322 * sysdeps/mach/hurd/not-errno.h: New file.
10323 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10324 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10325
10326 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10327
10328 * po/uk.po: Update translations.
10329 * po/cs.po: Likewise.
10330 * po/pl.po: Likewise.
10331
10332 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10333
10334 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10335 parse beyond the note end.
10336
10337 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10338
10339 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10340 kernel does not support OFD locks.
10341 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10342
10343 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10344
10345 * sysdeps/mach/hurd/Versions (libc): Make __access and
10346 __access_noerrno external so they can override the ld symbols.
10347 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10348 __writev, __open64, __access_noerrno extern so they can be overrided.
10349 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10350 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10351
10352 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10353
10354 * po/libc.pot: Regenerate.
10355
10356 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10357
10358 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10359
10360 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10361
10362 [BZ #23459]
10363 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10364 function.
10365 (init_cpu_features): Call get_extended_indices for both Intel
10366 and AMD CPUs.
10367 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10368 Remove "for AMD" comment.
10369
10370 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10371
10372 [BZ # 23456]
10373 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10374 COMMON_CPUID_INDEX_80000001.
10375
10376 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10377
10378 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10379 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10380
10381 2018-07-26 Florian Weimer <fweimer@redhat.com>
10382
10383 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10384 aliases for symbols not in the implementation namespace.
10385
10386 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10387
10388 [BZ #23393]
10389 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10390 lowercase in LATIN script.
10391 * localedata/Makefile (test-input): Add en_US.UTF-8.
10392 * localedata/en_US.UTF-8.in: New file.
10393 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10394 and restore old tests.
10395 * posix/tst-regexloc.c (do_test): Add back range expression test.
10396
10397 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10398
10399 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10400
10401 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10402
10403 * nptl/threads.h: Move to ...
10404 * sysdeps/nptl/threads.h: ... here.
10405 * sysdeps/hurd/stdc-predef.h: New file.
10406
10407 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10408
10409 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10410 tst-cet-setcontext-1 if CET is enabled.
10411 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10412 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10413
10414 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10415
10416 * include/threads.h: Move to ...
10417 * sysdeps/nptl/threads.h: ... here.
10418 * sysdeps/htl/threads.h: New file.
10419 * conform/Makefile (linknamespace-libs-ISO11): Use
10420 static-thread-library instead of linking libpthread.
10421 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10422
10423 2018-07-25 Florian Weimer <fweimer@redhat.com>
10424
10425 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10426 nanoseconds into seconds.
10427 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10428 (do_test): Likewise.
10429 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10430 (do_test): Likewise. Avoid nanosecond overflow and spurious
10431 timeouts due to system load.
10432 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10433 (child_wait): Increment it.
10434 (do_test): Wait as long as necessary until all expected threads
10435 have arrived.
10436
10437 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10438 H.J. Lu <hongjiu.lu@intel.com>
10439
10440 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10441 __ssp.
10442 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10443 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10444 (__push___start_context): New.
10445 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10446 <asm/prctl.h>.
10447 (__getcontext): Record the current shadow stack base. Save the
10448 caller's shadow stack pointer and base.
10449 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10450 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10451 (__push___start_context): New prototype.
10452 (__makecontext): Call __push___start_context to allocate a new
10453 shadow stack, push __start_context onto the new stack as well
10454 as the new shadow stack.
10455 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10456 <asm/prctl.h>.
10457 (__setcontext): Restore the target shadow stack.
10458 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10459 <asm/prctl.h>.
10460 (__swapcontext): Record the current shadow stack base. Save
10461 the caller's shadow stack pointer and base. Restore the target
10462 shadow stack.
10463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10464 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10465 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10466
10467 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10468
10469 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10470 tst-setcontext8 and tst-setcontext9.
10471 * stdlib/tst-setcontext6.c: New file.
10472 * stdlib/tst-setcontext7.c: Likewise.
10473 * stdlib/tst-setcontext8.c: Likewise.
10474 * stdlib/tst-setcontext9.c: Likewise.
10475
10476 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10477
10478 * stdlib/Makefile ((tests): Add tst-setcontext5.
10479 * stdlib/tst-setcontext5.c: New file.
10480
10481 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10482
10483 * stdlib/Makefile (tests): Add tst-setcontext4.
10484 * stdlib/tst-setcontext4.c: New file.
10485
10486 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10487
10488 * stdlib/Makefile (tests): Add tst-swapcontext1.
10489 * stdlib/tst-swapcontext1.c: New test.
10490
10491 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10492
10493 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10494 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10495 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10496 and tst-cet-legacy-4c.
10497 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10498 and tst-cet-legacy-mod-4.
10499 (CFLAGS-tst-cet-legacy-2.c): New.
10500 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10501 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10502 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10503 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10504 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10505 ($(objpfx)tst-cet-legacy-1): Likewise.
10506 ($(objpfx)tst-cet-legacy-2): Likewise.
10507 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10508 ($(objpfx)tst-cet-legacy-2a): Likewise.
10509 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10510 ($(objpfx)tst-cet-legacy-4): Likewise.
10511 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10512 ($(objpfx)tst-cet-legacy-4a): Likewise.
10513 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10514 (tst-cet-legacy-4a-ENV): Likewise.
10515 ($(objpfx)tst-cet-legacy-4b): Likewise.
10516 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10517 (tst-cet-legacy-4b-ENV): Likewise.
10518 ($(objpfx)tst-cet-legacy-4c): Likewise.
10519 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10520 (tst-cet-legacy-4c-ENV): Likewise.
10521 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10522 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10523 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10524 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10525 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10526 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10527 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10528 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10529 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10530 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10531 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10532
10533 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10534
10535 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10536 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10537 with ssp_base.
10538 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10539 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10540 with ssp_base.
10541
10542 2018-07-25 Andreas Schwab <schwab@suse.de>
10543
10544 [BZ #23442]
10545 * locale/weightwc.h (findidx): Handle the case where usrc is a
10546 prefix of cp but one character too short.
10547
10548 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10549
10550 * NEWS: Add ISO C threads addition.
10551
10552 2018-07-24 Florian Weimer <fweimer@redhat.com>
10553
10554 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10555 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10556 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10557 4.13.
10558
10559 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10560
10561 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10562 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10563 <sys/prctl.h> and <asm/prctl.h>.
10564 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10565 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10566 and <asm/prctl.h>.
10567 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10568 ARCH_CET_LEGACY_BITMAP.
10569 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10570 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10571 * sysdeps/x86/libc-start.c: Include <startup.h>.
10572
10573 2018-07-24 Florian Weimer <fweimer@redhat.com>
10574
10575 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10576 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10577
10578 2018-07-24 Rical Jasan <rj@2c3t.io>
10579 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10580 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10581
10582 [BZ #14092]
10583 * manual/debug.texi: Update adjacent chapter name.
10584 * manual/probes.texi: Likewise.
10585 * manual/threads.texi (ISO C Threads): New section.
10586 (POSIX Threads): Convert to a section.
10587
10588 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10589 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10590
10591 [BZ# 14092]
10592 * nptl/Makefile (tests): Add new test files.
10593 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10594 * nptl/tst-cnd-basic.c: Likewise.
10595 * nptl/tst-cnd-broadcast.c: Likewise.
10596 * nptl/tst-cnd-timedwait.c: Likewise.
10597 * nptl/tst-mtx-basic.c: Likewise.
10598 * nptl/tst-mtx-recursive.c: Likewise.
10599 * nptl/tst-mtx-timedlock.c: Likewise.
10600 * nptl/tst-mtx-trylock.c: Likewise.
10601 * nptl/tst-thrd-basic.c: Likewise.
10602 * nptl/tst-thrd-detach.c: Likewise.
10603 * nptl/tst-thrd-sleep.c: Likewise.
10604 * nptl/tst-tss-basic.c: Likewise.
10605
10606 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10607
10608 [BZ #14092]
10609 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10610 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10611 symbols.
10612 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10613 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10614 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10615 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10616 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10617 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10618 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10619 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10620 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10621 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10622 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10623 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10625 Likewise.
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10627 Likewise.
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10629 Likewise.
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10631 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10632 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10633 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10634 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10635 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10636 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10637 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10638 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10639 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10640 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10641 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10642 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10643 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10644 Likewise.
10645 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10646 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10650 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10653 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10654 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10655 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10657 ikewise.
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10660 Likewise.
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10662 Likewise.
10663 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10664 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10665 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10666 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10667 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10668 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10669 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10670 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10671
10672 [BZ #14092]
10673 * conform/data/threads.h-data (thread_local): New macro.
10674 (TSS_DTOR_ITERATIONS): Likewise.
10675 (tss_t): New type.
10676 (tss_dtor_t): Likewise.
10677 (tss_create): New function.
10678 (tss_get): Likewise.
10679 (tss_set): Likewise.
10680 (tss_delete): Likewise.
10681 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10682 tss_get, and tss_set objects.
10683 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10684 * nptl/tss_create.c: New file.
10685 * nptl/tss_delete.c: Likewise.
10686 * nptl/tss_get.c: Likewise.
10687 * nptl/tss_set.c: Likewise.
10688 * sysdeps/nptl/threads.h (thread_local): New define.
10689 (TSS_DTOR_ITERATIONS): Likewise.
10690 (tss_t): New typedef.
10691 (tss_dtor_t): Likewise.
10692 (tss_create): New prototype.
10693 (tss_get): Likewise.
10694 (tss_set): Likewise.
10695 (tss_delete): Likewise.
10696
10697 [BZ #14092]
10698 * conform/data/threads.h-data (cnd_t): New type.
10699 (cnd_init): New function.
10700 (cnd_signal): Likewise.
10701 (cnd_broadcast): Likewise.
10702 (cnd_wait): Likewise.
10703 (cnd_timedwait): Likewise.
10704 (cnd_destroy): Likewise.
10705 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10706 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10707 object.
10708 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10709 * nptl/cnd_broadcast.c: New file.
10710 * nptl/cnd_destroy.c: Likewise.
10711 * nptl/cnd_init.c: Likewise.
10712 * nptl/cnd_signal.c: Likewise.
10713 * nptl/cnd_timedwait.c: Likewise.
10714 * nptl/cnd_wait.c: Likewise.
10715 * sysdeps/nptl/threads.h (cnd_t): New type.
10716 (cnd_init): New prototype.
10717 (cnd_signa): Likewise.
10718 (cnd_broadcast): Likewise.
10719 (cnd_wait): Likewise.
10720 (cnd_timedwait): Likewise.
10721 (cnd_destroy): Likewise.
10722
10723 [BZ #14092]
10724 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10725 (once_flag): New type.
10726 (call_once): New function.
10727 * nptl/Makefile (libpthread-routines): Add call_once object.
10728 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10729 * nptl/call_once.c: New file.
10730 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10731 (once_flag): New type.
10732 (call_once): New prototype.
10733
10734 [BZ #14092]
10735 * conform/data/threads.h-data (mtx_plain): New constant.
10736 (mtx_recursive): Likewise.
10737 (mtx_timed): Likewise.
10738 (mtx_t): New type.
10739 (mtx_init): New function.
10740 (mtx_lock): Likewise.
10741 (mtx_timedlock): Likewise.
10742 (mtx_trylock): Likewise.
10743 (mtx_unlock): Likewise.
10744 (mtx_destroy): Likewise.
10745 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10746 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10747 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10748 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10749 * nptl/mtx_destroy.c: New file.
10750 * nptl/mtx_init.c: Likewise.
10751 * nptl/mtx_lock.c: Likewise.
10752 * nptl/mtx_timedlock.c: Likewise.
10753 * nptl/mtx_trylock.c: Likewise.
10754 * nptl/mtx_unlock.c: Likewise.
10755 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10756 (mtx_recursive): Likewise.
10757 (mtx_timed): Likewise.
10758 (mtx_t): New type.
10759 (mtx_init): New prototype.
10760 (mtx_lock): Likewise.
10761 (mtx_timedlock): Likewise.
10762 (mtx_trylock): Likewise.
10763 (mtx_unlock): Likewise.
10764 (mtx_destroy): Likewise.
10765
10766 [BZ #14092]
10767 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10768 (linknamespace-libs-ISO11): Add libpthread.a.
10769 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10770 functions.
10771 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10772 * nptl/Makefile (headers): Add threads.h.
10773 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10774 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10775 thrd_yield.
10776 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10777 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10778 thrd_join, thrd_sleep, and thrd_yield symbols.
10779 * nptl/descr.h (struct pthread): Add c11 field.
10780 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10781 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10782 routine with expected function prototype.
10783 (__pthread_create_2_1): Add C11 threads check based on attribute
10784 value.
10785 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10786 * nptl/thrd_create.c: New file.
10787 * nptl/thrd_current.c: Likewise.
10788 * nptl/thrd_detach.c: Likewise.
10789 * nptl/thrd_equal.c: Likewise.
10790 * nptl/thrd_exit.c: Likewise.
10791 * nptl/thrd_join.c: Likewise.
10792 * nptl/thrd_priv.h: Likewise.
10793 * nptl/thrd_sleep.c: Likewise.
10794 * nptl/thrd_yield.c: Likewise.
10795 * include/threads.h: Likewise.
10796
10797 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10798
10799 * bits/indirect-return.h: New file.
10800 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10801 * sysdeps/x86/bits/indirect-return.h: Likewise.
10802 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10803 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10804 (swapcontext): Add __INDIRECT_RETURN.
10805 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10806 (prepare_test_buffer): Use it.
10807
10808 2018-07-24 Andreas Schwab <schwab@suse.de>
10809
10810 [BZ #23448]
10811 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10812 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10813
10814 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10815
10816 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10817 Redefine if shadow stack is enabled.
10818 (SYSCALL_ERROR_LABEL): Likewise.
10819 (__vfork): Pop shadow stack and jump back to to caller directly
10820 when shadow stack is in use.
10821 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10822 Redefine if shadow stack is enabled.
10823 (SYSCALL_ERROR_LABEL): Likewise.
10824 (__vfork): Pop shadow stack and jump back to to caller directly
10825 when shadow stack is in use.
10826
10827 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10828
10829 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10830 enabled.
10831 (foo): Likewise.
10832 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10833 (foo): Likewise.
10834
10835 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10836
10837 * scripts/build-many-glibcs.py (Context.checkout): Default
10838 binutils version to 2.31 branch.
10839
10840 2018-07-20 Zong Li <zong@andestech.com>
10841
10842 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10843 URL of gcc's tarball.
10844
10845 2018-07-20 Florian Weimer <fweimer@redhat.com>
10846
10847 [BZ #23396]
10848 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10849 not compare an extra byte after the end of the weights.
10850
10851 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10852
10853 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10854 to 1.
10855 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10856 hidden prototypes.
10857 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10858 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10859 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10860 list of libraries whose stack executability is expected.
10861 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10862 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10863 variable.
10864 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10865 libc.so libpthread.so.
10866
10867 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10868
10869 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10870 SOCK_NONBLOCK.
10871 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10872 and SOCK_NONBLOCK.
10873 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10874 implement __pipe2.
10875 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10876
10877 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10878
10879 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10880 library to improve command line parsing.
10881 (__main__): make schema file as optional parameter (--schema),
10882 defaulting to benchtests/scripts/benchout.schema.json.
10883 (main): move out of the parsing stuff to __main_  and leave it
10884 only as caller of main comparison functions.
10885
10886 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10887
10888 * NEWS: Add a note for Intel CET status.
10889 * manual/install.texi: Likewise.
10890 * INSTALL: Regenerated.
10891
10892 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10893
10894 [BZ #23140]
10895 * localedata/locales/oc_FR (mon): Rename to...
10896 (alt_mon): This, then update October (typo fix).
10897 (mon): New content (genitive case, month names preceded by
10898 "de" or "d’").
10899
10900 [BZ #23422]
10901 * localedata/locales/oc_FR (abday): Update all items.
10902 (day): Update Wednesday and Saturday (typo fixes).
10903 (abmon): Update all items, except May.
10904 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10905 (LC_IDENTIFICATION): Bump the revision number and date.
10906 Keep the "category" entries in alphabetic order.
10907 (LC_ADDRESS): Remove no longer needed comment.
10908 (LC_COLLATE): Use “copy "ca_ES"”.
10909 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10910 "name_mrs".
10911
10912 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10913
10914 * grp/tst_fgetgrent.c: Include <unistd.h>.
10915 (main): Use mkstemp instead of tmpnam.
10916 * io/test-utime.c (main): Likewise.
10917 * posix/annexc.c (macrofile): Change to modifiable array.
10918 (main): Remove macrofile here.
10919 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10920 macrofile here.
10921 (check_header): Do not remove macrofile here.
10922 * posix/bug-getopt1.c: Include <stdlib.h>.
10923 (do_test): Use mkstemp instead of tmpnam.
10924 * posix/bug-getopt2.c: Include <stdlib.h>.
10925 (do_test): Use mkstemp instead of tmpnam.
10926 * posix/bug-getopt3.c: Include <stdlib.h>.
10927 (do_test): Use mkstemp instead of tmpnam.
10928 * posix/bug-getopt4.c: Include <stdlib.h>.
10929 (do_test): Use mkstemp instead of tmpnam.
10930 * posix/bug-getopt5.c: Include <stdlib.h>.
10931 (do_test): Use mkstemp instead of tmpnam.
10932 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10933 (main): Use mkstemp instead of tmpnam.
10934 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10935 (main): Use mkstemp instead of tmpnam.
10936 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10937 (main): use mkstemp instead of tmpnam.
10938 * stdlib/isomac.c (macrofile): Change to modifiable array.
10939 (main): Remove macrofile here.
10940 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10941 macrofile here.
10942 (check_header): Do not remove macrofile here.
10943
10944 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10945
10946 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10947 glibc.tune.x86_shstk.
10948
10949 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10950
10951 * NEWS: Mention --enable-cet.
10952 * manual/install.texi: Document --enable-cet.
10953 * INSTALL: Regenerated.
10954
10955 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10956
10957 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10958 Add _CET_NOTRACK before indirect jump to jump table.
10959
10960 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10961
10962 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10963 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10964 to jump table.
10965
10966 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10967
10968 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10969 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10970 to jump table.
10971
10972 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10973
10974 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10975 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10976 to jump table.
10977
10978 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10979
10980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10981 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10982 to jump table.
10983
10984 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10985
10986 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10987 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10988 to jump table.
10989 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10990
10991 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10992
10993 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10994 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10995 to jump table.
10996
10997 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10998
10999 * sysdeps/i386/i686/multiarch/memset-sse2.S
11000 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11001 to jump table.
11002
11003 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11004
11005 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11006 indirect jump to jump table.
11007
11008 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11009
11010 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11011 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11012 to jump table.
11013 (MEMCPY): Likewise.
11014
11015 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11016
11017 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11018 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11019 to jump table.
11020 (MEMCPY): Likewise.
11021
11022 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11023
11024 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11025 _CET_NOTRACK before indirect jump to jump table.
11026
11027 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11028
11029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11030 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11031 to jump table.
11032
11033 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11034
11035 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11036 indirect jump to jump table.
11037
11038 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11039
11040 [BZ #22241]
11041 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11042 (LOCALES): Likewise.
11043 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11044 * localedata/locales/sah_RU: New file.
11045 * localedata/sah_RU.UTF-8.in: New file.
11046
11047 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11048
11049 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11050 "sysdep.h".
11051 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11052 _CET_ENDBR to indirect jump targets and adjust jump destination
11053 for _CET_ENDBR.
11054 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11055 "sysdep.h".
11056 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11057 _CET_ENDBR to indirect jump targets and adjust jump destination
11058 for _CET_ENDBR.
11059 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11060 "sysdep.h".
11061 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11062 _CET_ENDBR to indirect jump targets and adjust jump destination
11063 for _CET_ENDBR.
11064
11065 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11066
11067 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11068 _CET_ENDBR.
11069
11070 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11071
11072 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11073 _CET_ENDBR.
11074 (_dl_tlsdesc_undefweak): Likewise.
11075 (_dl_tlsdesc_dynamic): Likewise.
11076 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11077 (_dl_tlsdesc_resolve_rel): Likewise.
11078 (_dl_tlsdesc_resolve_rela): Likewise.
11079 (_dl_tlsdesc_resolve_hold): Likewise.
11080 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11081 (_dl_tlsdesc_undefweak): Likewise.
11082 (_dl_tlsdesc_dynamic): Likewise.
11083 (_dl_tlsdesc_resolve_rela): Likewise.
11084 (_dl_tlsdesc_resolve_hold): Likewise.
11085
11086 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11087
11088 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11089 (_fini): Likewise.
11090 * sysdeps/x86_64/crti.S (_init): Likewise.
11091 (_fini): Likewise.
11092
11093 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11094
11095 [BZ #23140]
11096 * localedata/locales/os_RU (mon): Rename to...
11097 (alt_mon): This.
11098 (mon): Import from CLDR (genitive case).
11099
11100 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11101
11102 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11103 cet-tunables.h> when CET is enabled.
11104
11105 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11106
11107 [BZ #21598]
11108 * configure.ac: Add --enable-cet.
11109 * configure: Regenerated.
11110 * elf/Makefille (all-built-dso): Add a comment.
11111 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11112 Include <dl-prop.h>.
11113 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11114 segment.
11115 * elf/dl-open.c: Include <dl-prop.h>.
11116 (dl_open_worker): Call _dl_open_check.
11117 * elf/rtld.c: Include <dl-prop.h>.
11118 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11119 _rtld_main_check.
11120 * sysdeps/generic/dl-prop.h: New file.
11121 * sysdeps/i386/dl-cet.c: Likewise.
11122 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11123 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11124 * sysdeps/x86/cet-tunables.h: Likewise.
11125 * sysdeps/x86/check-cet.awk: Likewise.
11126 * sysdeps/x86/configure: Likewise.
11127 * sysdeps/x86/configure.ac: Likewise.
11128 * sysdeps/x86/dl-cet.c: Likewise.
11129 * sysdeps/x86/dl-procruntime.c: Likewise.
11130 * sysdeps/x86/dl-prop.h: Likewise.
11131 * sysdeps/x86/libc-start.h: Likewise.
11132 * sysdeps/x86/link_map.h: Likewise.
11133 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11134 _CET_ENDBR.
11135 (_dl_runtime_profile): Likewise.
11136 (_dl_runtime_resolve_shstk): New.
11137 (_dl_runtime_profile_shstk): Likewise.
11138 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11139 if CET is enabled.
11140 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11141 (CFLAGS-.os): Likewise.
11142 (CFLAGS-.op): Likewise.
11143 (CFLAGS-.oS): Likewise.
11144 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11145 is enabled.
11146 (tests-special): Add $(objpfx)check-cet.out.
11147 (cet-built-dso): New.
11148 (+$(cet-built-dso:=.note)): Likewise.
11149 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11150 ($(objpfx)check-cet.out): New.
11151 (generated): Add check-cet.out.
11152 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11153 <cet-tunables.h>.
11154 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11155 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11156 (init_cpu_features): Call get_cet_status to check CET status
11157 and update dl_x86_feature_1 with CET status. Call
11158 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11159 (set_x86_shstk). Disable and lock CET in libc.a.
11160 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11161 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11162 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11163 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11164 (_CET_ENDBR): Define if not defined.
11165 (ENTRY): Add _CET_ENDBR.
11166 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11167 x86_shstk.
11168 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11169 _CET_ENDBR.
11170 (_dl_runtime_profile): Likewise.
11171
11172 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11173
11174 [BZ #21895]
11175 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11176 restore r2 on longjmp.
11177 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11178 test list.
11179 Added rules to build test tst-setjmp-bug21895-static.
11180 Added module setjmp-bug21895 and rules to build a shared object from it.
11181 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11182 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11183
11184 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11185
11186 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11187 * benchtests/bench-strstr.c: Likewise.
11188 * string/memmem.c (FASTSEARCH): Define.
11189 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11190 Add support for FASTSEARCH.
11191 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11192 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11193 (FASTSEARCH): Define.
11194 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11195 * string/test-strstr.c: Likewise.
11196
11197 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11198
11199 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11200 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11201
11202 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11203 H.J. Lu <hongjiu.lu@intel.com>
11204
11205 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11206 (__longjmp): Restore shadow stack pointer if shadow stack is
11207 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11208 isn't defined for __longjmp_cancel.
11209 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11210 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11211 and SHADOW_STACK_POINTER_OFFSET is defined.
11212 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11213 (setjmp): Save shadow stack pointer if shadow stack is enabled
11214 and SHADOW_STACK_POINTER_OFFSET is defined.
11215 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11216 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11217 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11218 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11219 <jmp_buf-ssp.h>.
11220 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11221 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11222 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11223 Remove jmp_buf-ssp.sym.
11224 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11225 <jmp_buf-ssp.h>.
11226 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11227 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11228 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11229 jmp_buf-ssp.sym.
11230 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11231 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11232 (__longjmp): Restore shadow stack pointer if shadow stack is
11233 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11234 isn't defined for __longjmp_cancel.
11235 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11236 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11237 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11238
11239 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11240
11241 [BZ #22563]
11242 * nptl/pthread_create.c: Include <tls-setup.h>.
11243 (__pthread_create_2_1): Call tls_setup_tcbhead.
11244 * sysdeps/generic/tls-setup.h: New file.
11245 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11246 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11247 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11248 Likewise.
11249 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11250 to feature_1.
11251 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11252 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11253 (X86_FEATURE_1_SHSTK): Likewise.
11254 (CET_ENABLED): Likewise.
11255 (IBT_ENABLED): Likewise.
11256 (SHSTK_ENABLED): Likewise.
11257
11258 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11259
11260 [BZ #23208]
11261 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11262 (LOCALES): Likewise.
11263 * localedata/dsb_DE.UTF-8.in: New file.
11264 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11265
11266 2018-07-12 Florian Weimer <fweimer@redhat.com>
11267
11268 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11269 __mprotect, not mprotect.
11270
11271 2018-07-11 Florian Weimer <fweimer@redhat.com>
11272
11273 * io/Makefile (headers): Add bits/statx.h.
11274
11275 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11276
11277 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11278 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11279 and headers.
11280 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11281 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11282 for utf8_gen.py
11283
11284 2018-07-10 Florian Weimer <fweimer@redhat.com>
11285
11286 * io/Makefile (routines): Add statx.
11287 (tests-internal): Add tst-statx.
11288 * io/Versions (GLIBC_2.28): Export statx.
11289 * io/bits/statx.h: New file.
11290 * io/sys/stat.h [__USE_GNU]: Include it.
11291 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11292 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11293 Define.
11294 * io/statx.c: New file.
11295 * io/statx_generic.: Likewise.
11296 * io/tst-statx.: Likewise.
11297 * include/bits/statx.h: Likewise.
11298 * sysdeps/unix/sysv/linux/kernel-features.h
11299 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11300 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11301 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11302 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11303 Undefine.
11304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11305 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11306 * sysdeps/unix/sysv/linux/statx.c: New file.
11307 * manual/filesys.texi: Note that statx is undocumented.
11308 * sysdeps/**/libc*.abilist: Update.
11309
11310 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11311
11312 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11313 a kernel issue which lead to test failure in some cases.
11314
11315 2018-07-10 Florian Weimer <fweimer@redhat.com>
11316
11317 [BZ #23036]
11318 * posix/regexec.c (check_node_accept_bytes): When comparing
11319 weights, do not compare an extra byte after the end of the
11320 weights.
11321
11322 2018-07-10 Florian Weimer <fweimer@redhat.com>
11323
11324 * libio/readline.c: Fix copyright year.
11325 * libio/tst-readline.c Likewise.
11326 * nss/tst-nss-files-hosts-getent.c: Likewise.
11327
11328 2018-07-06 Florian Weimer <fweimer@redhat.com>
11329
11330 [BZ #18991]
11331 * nss/nss_files/files-XXX.c (internal_getent): Use
11332 __libc_readline_unlocked. Seek back to the start of the line if
11333 parsing failes with ERANGE.
11334 (get_contents_ret, get_contents): Remove.
11335 * nss/tst-nss-files-hosts-getent.c: New file.
11336 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11337 (tst-nss-files-hosts-getent): Link with -ldl.
11338
11339 2018-07-06 Florian Weimer <fweimer@redhat.com>
11340
11341 * include/stdio.h (__libc_readline_unlocked): Declare.
11342 (__ftello64, __fseeko64): Declare aliases.
11343 * libio/readline.c: New file.
11344 * libio/tst-readline.c: Likewise.
11345 (routines): Add readline.
11346 (tests-internal): Add tst-readlime.
11347 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11348 __libc_readline_unlocked.
11349 * libio/fseeko.c (__fseeko): Rename from fseeko.
11350 (fseeko): Add alias.
11351 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11352 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11353 (fseeko64): Add alias.
11354 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11355 * libio/ftello64.c (__ftello64): Rename from ftello64.
11356 (ftello64): Add alias.
11357
11358 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11359
11360 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11361 HWCAP_ATOMICS.
11362
11363 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11364
11365 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11366 Use dl_hwcap without masking.
11367 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11368 Remove HWCAP_CPUID.
11369
11370 2018-07-06 Florian Weimer <fweimer@redhat.com>
11371
11372 * conform/conformtest.pl (checknamespace): Escape literal braces
11373 in regular expressions.
11374
11375 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11376
11377 * sysdeps/x86/cpu-features.c (get_common_indeces):
11378 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11379 * sysdeps/x86/cpu-features.c (init_cpu_features):
11380 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11381
11382 2018-07-05 Florian Weimer <fweimer@redhat.com>
11383
11384 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11385 protector.
11386 (CFLAGS-elf-init.oS): Likewise.
11387
11388 2018-07-05 Florian Weimer <fweimer@redhat.com>
11389 Carlos O'Donell <carlos@redhat.com>
11390
11391 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11392 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11393 with stack protector enabled because there is no risk of infinite
11394 recursion.
11395
11396 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11397
11398 [BZ #19818]
11399 [BZ #23307]
11400 * libc-abis (ABSOLUTE): New ABI.
11401 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11402 * NEWS: Mention the new ABI.
11403
11404 2018-07-05 Florian Weimer <fweimer@redhat.com>
11405
11406 [BZ # 17662]
11407 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11408 (RENAME_WHITEOUT): Define.
11409 [__USE_GNU] (renameat2): Declare.
11410 * stdio-common/Makefile (routines): Add renameat2.
11411 (tests): Add tst-renameat2.
11412 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11413 * stdio-common/renameat2.c: New file.
11414 * stdio-common/tst-renameat2.c: Likewise.
11415 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11416 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11417 undocumented.
11418 * sysdeps/unix/sysv/linux/kernel-features.h
11419 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11420 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11421 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11422 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11423 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11424 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11425 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11426 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11427 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11428 * include/stdio.h (__renameat): Add alias for renameat.
11429 * stdio-common/renameat.c (__renameat): Rename from renameat.
11430 Add hidden definition and alias.
11431 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11432 * sysdeps/mach/hurd/renameat.c: Likewise.
11433 * sysdeps/**/libc*.abilist: Add renameat2.
11434
11435 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11436
11437 * posix/bug-regex33.c: Fix build after regex sync.
11438
11439 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11440
11441 [BZ #23164]
11442 * localedata/tst-langinfo-setlocale.c: New file.
11443 * localedata/tst-langinfo-setlocale-static.c: New file.
11444 * localedata/tst-langinfo-newlocale.c: New file.
11445 * localedata/tst-langinfo-newlocale-static.c: New file.
11446 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11447 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11448 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11449 (tests-static): Remove tst-langinfo-static. Add
11450 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11451 (tests-special): Remove $(objpfx)tst-langinfo.out,
11452 $(objpfx)tst-langinfo-static.out. Add
11453 $(objpfx)tst-langinfo-setlocale.out,
11454 $(objpfx)tst-langinfo-newlocale.out,
11455 $(objpfx)tst-langinfo-setlocale-static.out,
11456 $(objpfx)tst-langinfo-newlocale-static.out.
11457 ($(objpfx)tst-langinfo.out): Remove.
11458 ($(objpfx)tst-langinfo-static.out): Remove.
11459 ($(objpfx)tst-langinfo-newlocale.out): New target.
11460 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11461 (test-xfail-tst-langinfo-newlocale-static): Add.
11462 ($(objpfx)tst-langinfo-setlocale.out): New target.
11463 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11464 * localedata/tst-langinfo.c: Call test_locale.
11465 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11466 data.
11467
11468 2018-07-04 Florian Weimer <fweimer@redhat.com>
11469
11470 testrun.sh: Implement --tool=strace, --tool=valgrind
11471 * Makefile (testrun-script): Define variable.
11472 (testrun.sh): Use variable.
11473 * manual/install.texi (Tools for Compilation): make 4.0 or later
11474 is required.
11475 * configure.ac: Check for make 4.0 or later.
11476 * INSTALL: Regenerate.
11477 * configure: Likewise.
11478
11479 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11480
11481 [BZ #23233]
11482 [BZ #21163]
11483 [BZ #18986]
11484 [BZ #13762]
11485 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11486 * posix/PCRE.tests: Remove invalid test.
11487 * posix/bug-regex28.c: Fix expected values for used syntax.
11488 * posix/bug-regex37.c: New file.
11489 * posix/bug-regex38.c: Likewise.
11490 * posix/regcomp.c: Sync with gnulib.
11491 * posix/regex.c: Likewise.
11492 * posix/regex.h: Likewise.
11493 * posix/regex_internal.c: Likewise.
11494 * posix/regex_internal.h: Likewise.
11495 * posix/regexec.c: Likewise.
11496
11497 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11498
11499 [BZ #23308]
11500 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11501 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11502 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11503 * localedata/unicode-gen/PropList.txt: likewise.
11504 * localedata/unicode-gen/UnicodeData.txt: likewise.
11505 * localedata/charmaps/UTF-8: Regenerate.
11506 * localedata/locales/i18n_ctype: likewise.
11507 * localedata/locales/tr_TR: likewise.
11508 * localedata/locales/translit_circle: likewise.
11509 * localedata/locales/translit_cjk_compat: likewise.
11510 * localedata/locales/translit_combining: likewise.
11511 * localedata/locales/translit_compat: likewise.
11512 * localedata/locales/translit_font: likewise.
11513 * localedata/locales/translit_fraction: likewise.
11514
11515 2018-07-03 Florian Weimer <fweimer@redhat.com>
11516
11517 [BZ #23363]
11518 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11519 * stdio-common/tst-printf.sh: Adjust expected output.
11520 * LICENSES: Update.
11521
11522 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11523
11524 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11525 symbol.
11526
11527 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11528
11529 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11530 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11531 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11532 * stdio-common/tst-printfsz-islongdouble.c: New file.
11533 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11534 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11535 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11536 [subdir == stdio-common] (tests-internal): Add
11537 test-printf-size-ieee128, and test-printf-size-ibm128.
11538 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11539 (CFLAGS-test-printf-size-ibm128.c): New variables.
11540 [subdir == stdio-common] (tests-special): Add
11541 $(objpfx)test-printf-size-ieee128.out and
11542 $(objpfx)test-printf-size-ibm128.out.
11543 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11544 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11545 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11546 __printf_sizeieee128.
11547 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11548 New file.
11549 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11550 Likewise.
11551 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11552 Likewise.
11553
11554 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11555
11556 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11557 (exp2f_inline): Likewise.
11558 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11559 (__math_uflowf): Likewise.
11560 (__math_may_uflowf): Likewise.
11561 (__math_divzerof): Likewise.
11562 (__math_invalidf): Likewise.
11563 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11564 (__math_oflowf): Likewise.
11565 (__math_uflowf): Likewise.
11566 (__math_may_uflowf): Likewise.
11567 (__math_divzerof): Likewise.
11568 (__math_invalidf): Likewise.
11569
11570 2018-06-29 DJ Delorie <dj@redhat.com>
11571 Carlos O'Donell <carlos@redhat.com>
11572
11573 [BZ #23329]
11574 * include/libc-symbols.h: Comment the freeres framework.
11575 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11576 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11577 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11578 * dlfcn/dlerror.c: Include libc-symbols.h
11579 (__dlerror_main_freeres): New function.
11580 * dlfcn/dlfreeres.c: New file.
11581 * dlfcn/sdlfreeres.c: New file.
11582 * include/dlfcn.h: Declare __dlerror_main_freeres.
11583 * malloc/set-freeres.c: Declare __libdl_freeres, and
11584 __libpthread_freeres.
11585 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11586 the releavant libraries are loaded.
11587 * malloc/thread-freeres.c: Add comments.
11588 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11589 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11590 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11591 (__free_stacks): Rename to...
11592 (free_stacks): ...this. Mark static.
11593 (queue_stack): Call free_stacks.
11594 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11595 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11596 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11597 ptr_freeres element from struct.
11598 (pthread_functions): Remove .ptr_freeres from struct initializer.
11599 [SHARED] (nptl_freeres): Remove.
11600 * nptl/nptlfreeres.c: New file.
11601 * nptl/pthreadP.h
11602 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11603 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11604 attribute_hidden.
11605 (__free_stacks): Rename to...
11606 (__nptl_stacks_freeres): ...this.
11607 (__shm_directory_freeres): Declare.
11608 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11609 (__nptl_unwind_freeres): ...this.
11610 * resolv/res-close.c: Add comment.
11611 * resolv/resolv_conf.c: Include libc-symbols.h.
11612 * string/strerror_l.c: Include libc-symbols.h.
11613 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11614 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11615 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11616 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11617
11618 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11619
11620 * stdlib/tst-strfmon_l.c: Add tests for long double.
11621
11622 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11623
11624 [BZ #23208]
11625 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11626 * localedata/locales/dsb_DE: New file.
11627
11628 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11629
11630 [BZ #23140]
11631 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11632 genitive case).
11633 (alt_mon): New entry, import from CLDR (nominative case).
11634
11635 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11636
11637 [BZ #22996]
11638 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11639
11640 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11641
11642 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11643 Use vector registers.
11644
11645 * sysdeps/aarch64/multiarch/memmove_falkor.S
11646 (__memcpy_falkor): Use vector registers.
11647
11648 2018-06-29 Martin Sebor <msebor@redhat.com>
11649
11650 * manual/stdio.texi (Customizing Printf): Mention interaction
11651 with GCC built-ins.
11652
11653 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11654
11655 [BZ #23307]
11656 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11657 `st_value' is 0 if `st_shndx' is SHN_ABS.
11658 * elf/tst-absolute-zero.c: New file.
11659 * elf/tst-absolute-zero-lib.c: New file.
11660 * elf/tst-absolute-zero-lib.lds: New file.
11661 * elf/Makefile (tests): Add `tst-absolute-zero'.
11662 (modules-names): Add `tst-absolute-zero-lib'.
11663 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11664 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11665 ($(objpfx)tst-absolute-zero: New dependency.
11666
11667 2018-06-29 Zack Weinberg <zackw@panix.com>
11668
11669 * configure.ac: New command-line option --disable-crypt.
11670 Force --disable-nss-crypt when --disable-crypt is given, with a
11671 warning if it was explicitly enabled.
11672 * configure: Regenerate.
11673 * config.make.in: New boolean substitution variable $(build-crypt).
11674 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11675 when $(build-crypt).
11676 * manual/install.texi: Document --disable-crypt.
11677 * INSTALL: Regenerate.
11678
11679 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11680 which is never set.
11681 * conform/Makefile: Only include libcrypt.a in
11682 linknamespace-libs-xsi and linknamespace-libs-XPG4
11683 when $(build-crypt).
11684 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11685 USE_CRYPT to 1 when $(build-crypt).
11686 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11687 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11688 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11689
11690 2018-06-29 Zack Weinberg <zackw@panix.com>
11691
11692 * crypt/crypt.h, posix/unistd.h: Update comments and
11693 prototypes for crypt and crypt_r.
11694
11695 * manual/crypt.texi (Cryptographic Functions): New initial
11696 exposition.
11697 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11698 (Unpredictable Bytes): Improve initial exposition. Clarify error
11699 behavior of getentropy and getrandom.
11700 * manual/examples/genpass.c: Generate a salt using getentropy
11701 instead of the current time. Use hash $5$ (SHA-2-256).
11702 * manual/examples/testpass.c: Demonstrate validation against
11703 hashes generated with three different one-way functions.
11704
11705 * manual/intro.texi: crypt.texi does not need an overview
11706 anymore.
11707
11708 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11709 * manual/terminal.texi: Consistently refer to "passphrases"
11710 * instead of "passwords", and to the "user database" instead
11711 * of the "password database".
11712 * manual/users.texi: Similarly. Add notes about how actual
11713 passphrase hashes are now stored in the shadow database.
11714 Remove 20-year-old junk todo note.
11715
11716 2018-06-29 Zack Weinberg <zackw@panix.com>
11717
11718 * manual/crypt.texi: Use a normal top-level @node declaration.
11719 Move most of the introductory text to the 'crypt' section.
11720 Move the example programs below the @deftypefun for 'crypt_r'.
11721 Move the 'getpass' section...
11722 * manual/terminal.texi: ...here.
11723
11724 2018-06-29 Zack Weinberg <zackw@panix.com>
11725 Florian Weimer <fweimer@redhat.com>
11726
11727 * posix/unistd.h: Do not declare encrypt.
11728 (_XOPEN_CRYPT): Remove macro definition.
11729 (crypt): Declare only for _USE_MISC.
11730 * stdlib/stdlib.h: Do not declare setkey.
11731 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11732 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11733
11734 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11735 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11736 into compat symbols. Don't define initial_perm if it's not
11737 going to be used.
11738 * crypt/cert.c: Link explicitly with the expected versions for
11739 setkey and encrypt. If they are not available at all, mark
11740 the test as unsupported.
11741
11742 * sunrpc/des_crypt.c: Unconditionally block linkage with
11743 cbc_crypt and ecb_crypt for new binaries.
11744 * sunrpc/des_soft.c: Unconditionally block linkage with
11745 des_setparity for new binaries.
11746
11747 * manual/crypt.texi: Remove the entire "DES Encryption"
11748 section. Also remove the paragraph talking about FIPS 140-2
11749 from the introduction.
11750 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11751 of libgcrypt for "real" encryption, not DES.
11752 * manual/conf.texi (Constants for Sysconf): Mention that
11753 _XOPEN_CRYPT is no longer impelemented.
11754
11755 * conform/data/unistd.h-data: Remove crypt function declaration.
11756
11757 2018-06-29 Florian Weimer <fweimer@redhat.com>
11758
11759 [BZ #23351]
11760 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11761 (disallow_malloc_check): Remove variable.
11762 (__malloc_check_init): Adjust.
11763 (malloc_set_state): Update comment.
11764 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11765 declarations.
11766
11767 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11768
11769 [BZ #23140]
11770 * localedata/locales/ast_ES (mon): Rename to...
11771 (alt_mon): This.
11772 (mon): Import from CLDR (genitive case).
11773
11774 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11775 Jakub Sitnicki <jkbs@redhat.com>
11776
11777 [BZ #21812]
11778 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11779 on NLM_F_DUMP_INTR.
11780
11781 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11782
11783 * manual/llio.texi: Remove spurious space.
11784
11785 2018-06-28 Florian Weimer <fweimer@redhat.com>
11786
11787 [BZ #23349]
11788 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11789 _STRUCT_TIMESPEC.
11790
11791 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11792
11793 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11794 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11795 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11796 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11797 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11798 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11799 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11800
11801 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11802
11803 [BZ #23266]
11804 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11805 Copy and null-terminate entries that are not terminated, in
11806 addition to empty ones.
11807
11808 2018-06-27 Florian Weimer <fweimer@redhat.com>
11809
11810 [BZ #18023]
11811 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11812 (extend_alloca_account): Remove.
11813 * manual/stdio.texi (Variable Arguments Output): Update comment.
11814
11815 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11816
11817 * nptl/sockperf.c: Remove file.
11818
11819 2018-06-27 Florian Weimer <fweimer@redhat.com>
11820
11821 [BZ #18023]
11822 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11823 scratch_buffer instead of extend_alloca.
11824
11825 2018-06-27 Florian Weimer <fweimer@redhat.com>
11826
11827 [BZ #18023]
11828 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11829 scratch_buffer instead of extend_alloca. Update comments.
11830
11831 2018-06-27 Florian Weimer <fweimer@redhat.com>
11832
11833 [BZ #18023]
11834 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11835 instead of extend_alloca.
11836
11837 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11838
11839 [BZ #13888]
11840 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11841 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11842 /tmp.
11843 * scripts/test-installation.pl: Put temporary files in build
11844 directory, not /tmp.
11845 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11846 (CFLAGS-bug4.c): Likewise.
11847 (CFLAGS-bug5.c): Likewise.
11848 (CFLAGS-test-fseek.c): Likewise.
11849 (CFLAGS-test-popen.c): Likewise.
11850 (CFLAGS-test_rdwr.c): Likewise.
11851 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11852 /tmp.
11853 * stdio-common/bug4.c (main): Likewise.
11854 * stdio-common/bug5.c (main): Likewise.
11855 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11856 * stdio-common/test-popen.c (do_test): Likewise.
11857 * stdio-common/test_rdwr.c (main): Likewise.
11858
11859 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11860
11861 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11862 (sem_open): Set sem.newsem.pad to zero for valgrind.
11863
11864 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11865
11866 [BZ #20251]
11867 * NEWS: Mention fcntl64 addition.
11868 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11869 * login/utmp_file.c: Likewise.
11870 * sysdeps/posix/fdopendir.c: Likewise.
11871 * sysdeps/posix/opendir.c: Likewise.
11872 * sysdeps/unix/pt-fcntl.c: Likewise.
11873 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11874 __fcntl64_nocancel_adjusted): New prototype.
11875 (__fcntl_nocancel_adjusted): Remove prototype.
11876 * io/Makefile (routines): Add fcntl64.
11877 (CFLAGS-fcntl64.c): New rule.
11878 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11879 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11880 * io/fcntl.h (fcntl64): Add prototype and redirect if
11881 __USE_FILE_OFFSET64 is defined.
11882 * io/fcntl64.c: New file.
11883 * manual/llio.text: Add a note for which commands fcntl acts a
11884 cancellation point.
11885 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11886 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11887 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11888 New symbols.
11889 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11890 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11891 non-LFS case.
11892 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11893 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11894 to __fcntl64_nocancel.
11895 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11896 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11897 to __fcntl64_nocancel.
11898 * sysdeps/generic/not-cancel.h: Likewise.
11899 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11900 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11901 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11902 (fcntl64): New symbol.
11903 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11904 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11905 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11908 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11909 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11910 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11911 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11912 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11913 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11914 fcntl64): Likewise.
11915 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11916 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11917 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11918 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11919 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11920 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11921 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11922 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11923 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11925 Likewise.
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11927 Likewise.
11928 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11929 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11930 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11931
11932 2018-06-26 Florian Weimer <fweimer@redhat.com>
11933
11934 Run thread shutdown functions in an explicit order.
11935 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11936 definition.
11937 (__libc_thread_freeres): Call thread shutdown functions
11938 explicitly.
11939 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11940 * include/string.h (__strerror_thread_freeres): Declare.
11941 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11942 arena_thread_freeres. No longer static. Remove thread shutdown
11943 hook registration.
11944 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11945 Declare.
11946 * resolv/res-close.c (__res_thread_freeres): Renamed from
11947 res_thread_freeres. No longer static. Remove thread shutdown
11948 hook registration.
11949 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11950 * resolv/resolv_conf.c (freeres): Remove incorrect section
11951 attribute and use libc_freeres_fn.
11952 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11953 strerror_thread_freeres. No longer static. Remove thread
11954 shutdown hook registration.
11955 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11956 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11957 shutdown hook registration.
11958 * Makerules (shlib.lds): Do not provide section boundary symbols
11959 for __libc_thread_subfreeres.
11960 * manual/memory.texi (Basic Allocation): Update comment.
11961
11962 2018-06-26 Florian Weimer <fweimer@redhat.com>
11963
11964 Remove always-defined _RPC_THREAD_SAFE_ macro.
11965 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11966 Do not define _RPC_THREAD_SAFE_.
11967 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11968 conditional.
11969 * sunrpc/clnt_perr.c: Likewise.
11970 * sunrpc/clnt_raw.c: Likewise.
11971 * sunrpc/clnt_simp.c: Likewise.
11972 * sunrpc/key_call.c: Likewise.
11973 * sunrpc/rpc_common.c: Likewise.
11974 * sunrpc/rpc_main.c: Likewise.
11975 * sunrpc/rpc_thread.c: Likewise.
11976 * sunrpc/svc.c: Likewise.
11977 * sunrpc/svc_raw.c: Likewise.
11978 * sunrpc/svc_simple.c: Likewise.
11979 * sumrpc/svcauth_des.c: Likewise.
11980
11981 2018-06-26 Florian Weimer <fweimer@redhat.com>
11982
11983 * libio/Makefile (tests-internal): Add tst-vtables,
11984 tst-vtables-interposed.
11985 * libio/tst-vtables.c: New file.
11986 * libio/tst-vtables-common.c: Likewise.
11987 * libio/tst-vtables-interposed.c: Likewise.
11988
11989 2018-06-26 Florian Weimer <fweimer@redhat.com>
11990
11991 * support/support_test_main.c (support_test_main): Only call
11992 setvbuf if not disables.
11993 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11994 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11995
11996 2018-06-26 Florian Weimer <fweimer@redhat.com>
11997
11998 [BZ #23313]
11999 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12000
12001 2018-06-25 Florian Weimer <fweimer@redhat.com>
12002
12003 [BZ #18023]
12004 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12005 Use struct scratch_buffer instead of extend_alloca.
12006
12007 2018-06-25 Florian Weimer <fweimer@redhat.com>
12008
12009 [BZ #18023]
12010 * nss/getent.c (initgroups_keys): Use dynarray instead of
12011 extend_alloca.
12012
12013 2018-06-25 Florian Weimer <fweimer@redhat.com>
12014
12015 [BZ #18023]
12016 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12017 Use struct scratch_buffer instead of extend_alloca.
12018
12019 2018-06-25 Florian Weimer <fweimer@redhat.com>
12020
12021 [BZ #18023]
12022 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12023 back to malloc directly, without stack allocations.
12024
12025 2018-06-25 Florian Weimer <fweimer@redhat.com>
12026
12027 [BZ #18023]
12028 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12029 of extend_alloca.
12030
12031 2018-06-25 Florian Weimer <fweimer@redhat.com>
12032
12033 [BZ #18023]
12034 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12035 of extend_alloca.
12036 * nscd/hstcache.c (addhstbyX): Likewise.
12037 * nscd/pwdcache.c (addpwbyX): Likewise.
12038 * nscd/servicescache.c (addservbyX): Likewise.
12039
12040 2018-06-25 Florian Weimer <fweimer@redhat.com>
12041
12042 [BZ #18023]
12043 * nscd/connections.c (read_cmdline): New function.
12044 (restart): Use it. Update comment.
12045
12046 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12047
12048 [BZ #23140]
12049 * localedata/locales/csb_PL (mon): Rename to...
12050 (alt_mon): This.
12051 (abmon): Rename to...
12052 (ab_alt_mon): This.
12053 (mon): Add with proper genitive forms, copy from Wikipedia.
12054 (abmon): Likewise.
12055
12056 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12057
12058 [BZ #19485]
12059 * localedata/locales/csb_PL (mon): Fix typos:
12060 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12061 (yesstr): Add, value is "jo".
12062 (nostr): Add, value is "nié".
12063
12064 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12065
12066 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12067 all log1p and significand functions on m680x0.
12068 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12069 of s_significand.c..
12070 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12071 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12072 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12073 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12074 s_log1p.c and include it..
12075
12076 2018-06-21 Vincent Chen <vincentc@andestech.com>
12077
12078 * elf/elf.h (R_NDS32_NONE): New define.
12079 (R_NDS32_32_RELA): Likewise.
12080 (R_NDS32_COPY): Likewise.
12081 (R_NDS32_GLOB_DAT): Likewise.
12082 (R_NDS32_JUMP_SLOT): Likewise.
12083 (R_NDS32_RELATIVE): Likewise.
12084 (R_NDS32_TLS_TPOFF): Likewise.
12085 (R_NDS32_TLS_DESC): Likewise.
12086
12087 2018-06-21 Mark Wielaard <mark@klomp.org>
12088
12089 * elf/elf.h (R_BPF_MAP_FD): Removed.
12090 (R_BPF_64_64, R_BPF_64_32): New.
12091
12092 2018-06-21 Florian Weimer <fweimer@redhat.com>
12093
12094 [BZ #23253]
12095 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12096 Renamed from libc_feholdsetround_ctx.
12097 (default_libc_feresetround_ctx): Renamed from
12098 libc_feresetround_ctx.
12099 (default_libc_feholdsetround_noex_ctx): Renamed from
12100 libc_feholdsetround_noex_ctx.
12101 (default_libc_feresetround_noex_ctx): Renamed from
12102 libc_feresetround_noex_ctx.
12103 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12104 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12105 forwardning to the old implementations under the new names.
12106 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12107 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12108 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12109 (libc_feresetround_ctx): Forward to default implements for i386
12110 and MATH_SET_BOTH_ROUNDING_MODES.
12111 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12112 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12113
12114 2018-06-20 Joseph Myers <joseph@codesourcery.com>
12115
12116 * string/tst-cmp.c: Include <libc-diag.h>.
12117 (strncmp_max): Disable -Wstringop-overflow= around call to
12118 strncmp.
12119 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12120 strncasecmp.
12121
12122 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12123 (main): Disable -Wunused-value around call to strpbrk.
12124 * string/bug-strspn1.c: Include <libc-diag.h>.
12125 (main): Disable -Wunused-value around call to strspn.
12126
12127 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12128 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12129
12130 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12131 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12132
12133 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12134
12135 * math/Makefile (libm-calls): Move s_significandF to...
12136 (gen-libm-calls): ... here.
12137 * math/s_significand_template.c: New file.
12138 * math/s_significand.c: Removed.
12139 * math/s_significandf.c: Removed.
12140 * math/s_significandl.c: Removed.
12141 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12142 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12143
12144 * math/e_exp2_template.c (declare_mgen_finite_alias,
12145 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12146 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12147 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12148
12149 2018-06-20 Florian Weimer <fweimer@redhat.com>
12150
12151 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12152
12153 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12154
12155 [BZ #23280]
12156 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12157 floating-point number to strtod functions rather than possibly
12158 negating result of those functions.
12159 * stdio-common/tst-scanf-round.c: New file.
12160 * stdio-common/Makefile (tests): Add tst-scanf-round.
12161 ($(objpfx)tst-scanf-round): Depend on $(libm).
12162
12163 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12164
12165 * sysdeps/mach/hurd/localplt.data: Move to...
12166 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12167 R_386_GLOB_DAT like on Linux i386.
12168
12169 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12170
12171 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12172 (SHM_STAT_ANY): New macro.
12173 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12174 (SHM_STAT_ANY): Likewise.
12175 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12176 (SHM_STAT_ANY): Likewise.
12177 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12178 (SHM_STAT_ANY): Likewise.
12179 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12180 (SHM_STAT_ANY): Likewise.
12181 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12182 (SHM_STAT_ANY): Likewise.
12183 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12184 (SHM_STAT_ANY): Likewise.
12185 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12186 (SHM_STAT_ANY): Likewise.
12187 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12188 (SHM_STAT_ANY): Likewise.
12189 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12190 (SHM_STAT_ANY): Likewise.
12191 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12192 (SHM_STAT_ANY): Likewise.
12193 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12194 (SHM_STAT_ANY): Likewise.
12195
12196 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12197 (SEM_STAT_ANY): New macro.
12198 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12199 (SEM_STAT_ANY): Likewise.
12200 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12201 (SEM_STAT_ANY): Likewise.
12202 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12203 (SEM_STAT_ANY): Likewise.
12204 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12205 (SEM_STAT_ANY): Likewise.
12206 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12207 (SEM_STAT_ANY): Likewise.
12208 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12209 (SEM_STAT_ANY): Likewise.
12210 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12211 (SEM_STAT_ANY): Likewise.
12212 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12213 (SEM_STAT_ANY): Likewise.
12214 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12215 (SEM_STAT_ANY): Likewise.
12216
12217 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12218 (MSG_STAT_ANY): New macro.
12219 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12220 (MSG_STAT_ANY): Likewise.
12221 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12222 (MSG_STAT_ANY): Likewise.
12223 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12224 (MSG_STAT_ANY): Likewise.
12225 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12226 (MSG_STAT_ANY): Likewise.
12227 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12228 (MSG_STAT_ANY): Likewise.
12229 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12230 (MSG_STAT_ANY): Likewise.
12231 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12232 (MSG_STAT_ANY): Likewise.
12233 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12234 (MSG_STAT_ANY): Likewise.
12235 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12236 (MSG_STAT_ANY): Likewise.
12237
12238 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12239 (MAP_TYPE): Change value to 0x2b.
12240
12241 2018-06-18 Florian Weimer <fweimer@redhat.com>
12242
12243 [BZ #15722]
12244 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12245 socket with SOCK_CLOEXEC.
12246
12247 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12248
12249 [BZ #23303]
12250 * sysdeps/powerpc/powerpc64/le/Makefile
12251 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12252 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12253 (gnulib-tests): Also add $(f128-loader-link) for
12254 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12255
12256 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12257
12258 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12259 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12260 of sendfile.
12261 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12262 (sendfile64): New strong alias.
12263 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12264 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12265 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12266 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12267 attribute.
12268 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12269 ___pthread_get_cleanup_stack.
12270 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12271 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12272 * mach/shortcut.awk: Make syscall stubs include
12273 <mach-shortcuts-hidden.h> and add hidden definition.
12274 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12275 (__mach_msg): Add hidden prototype.
12276 * mach/msg.c: Include <mach.h>.
12277 (__mach_msg): Add hidden definition.
12278 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12279 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12280 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12281 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12282 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12283 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12284 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12285 prototype and definition.
12286 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12287 hidden target for _hurd_self_sigstate.
12288
12289 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12290
12291 [BZ #23007]
12292 * stdlib/tst-strtod-nan-sign-main.c: New file.
12293 * stdlib/tst-strtod-nan-sign.c: Likewise.
12294 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12295 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12296 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12297 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12298 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12299
12300 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12301
12302 [BZ #23007]
12303 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12304 appropriate sign.
12305
12306 2018-06-14 Florian Weimer <fweimer@redhat.com>
12307
12308 [BZ #23290]
12309 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12310 that the result stays within the ISO-8859-1 range.
12311 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12312 characters are defined in IBM273.
12313
12314 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12315
12316 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12317 __mach_task_self): Remove attribute_hidden.
12318
12319 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12320
12321 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12322 ignore -Wrestrict for one test.
12323
12324 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12325 Szabolcs Nagy <szabolcs.nagy@arm.com>
12326
12327 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12328
12329 2018-06-14 Florian Weimer <fweimer@redhat.com>
12330
12331 * scripts/update-abilist.sh: Accept empty list of files to patch.
12332
12333 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12334
12335 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12336 test-xfail-check-abi-libmachuser): Add.
12337 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12338 __libc_read and __libc_write to __read and __write.
12339 * sysdeps/hurd/include/hurd/port.h: New file.
12340 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12341 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12342 __thread_switch, __evc_wait): Move declarations to...
12343 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12344 attribute_hidden.
12345 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12346 use PLT to call _hurd_self_sigstate.
12347
12348 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12349
12350 [BZ #23279]
12351 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12352 MAX_EXP as overflowing.
12353 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12354 overflow flag.
12355 (round_str): Output also whether result overflows in each rounding
12356 mode.
12357 * stdlib/tst-strtod-round-data: Add more tests.
12358 * stdlib/tst-strtod-round-data.h: Regenerated.
12359 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12360 (TEST): Handle extra arguments for overflow flags.
12361 (struct test_overflow): New type.
12362 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12363 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12364 (test_in_one_mode): Take argument with overflow information.
12365 (do_test): Update calls to test_in_one_mode.
12366
12367 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12368
12369 * elf/dl-load (_dl_dst_substitute): Correct comment.
12370 (_dl_dst_count): Likewise.
12371
12372 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12373 lll_futex_timed_wait.
12374
12375 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12376
12377 [BZ #23277]
12378 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12379 attribute.
12380 * math/test-nan-const.c: New file.
12381 * math/Makefile (tests): Add test-nan-const.
12382 (CFLAGS-test-nan-const.c): New variable.
12383
12384 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12385
12386 * benchtests/scripts/compare_strings.py (process_results): Add
12387 funcs argument. Compare only functions which are selected.
12388 (main): Check if base function is among selected functions.
12389 Pass selected functions to process_results.
12390 (__main__): Add -f/--functions argument.
12391
12392 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12393 Hongbo Zhang <hongbo.zhang@linaro.org>
12394
12395 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12396 __memcpy_falkor for phecda core.
12397 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12398 __memmove_falkor for phecda core.
12399 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12400 __memset_falkor for phecda core.
12401 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12402 for phecda core.
12403 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12404 macro to identify phecda core.
12405
12406 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12407 Andreas Schwab <schwab@suse.de>
12408 Dmitry V. Levin <ldv@altlinux.org>
12409 Florian Weimer <fweimer@redhat.com>
12410
12411 [BZ #23102]
12412 [BZ #21942]
12413 [BZ #18018]
12414 [BZ #23259]
12415 CVE-2011-0536
12416 * elf/dl-dst.h: Remove DL_DST_COUNT.
12417 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12418 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12419 (is_dst): Comment. Support ELF gABI.
12420 (_dl_dst_count): Comment. Simplify and count DSTs.
12421 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12422 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12423 locals.
12424
12425 2018-06-12 Zack Weinberg <zackw@panix.com>
12426
12427 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12428 * sysdeps/unix/sysv/linux/dl-sysdep.c
12429 Include not-cancel.h. Use __close_nocancel instead of __close,
12430 __open64_nocancel instead of __open, __read_nocancel instead of
12431 __libc_read, and __write_nocancel instead of __libc_write.
12432
12433 * csu/check_fds.c (check_one_fd)
12434 * sysdeps/posix/fdopendir.c (__fdopendir)
12435 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12436 instead of __fcntl and/or __libc_fcntl.
12437
12438 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12439 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12440 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12441 Use __open64_nocancel instead of __open_nocancel.
12442
12443 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12444 hidden_proto declarations to the end and issue them if either
12445 IS_IN(libc) or IS_IN(rtld).
12446 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12447 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12448 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12449 read_nocancel, waitpid_nocancel, write_nocancel.
12450
12451 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12452 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12453 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12454
12455 * nptl/pt-fcntl.c: New file.
12456 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12457 (libpthread-routines): Add pt-fcntl.
12458 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12459 (__libc_fcntl): Remove attribute_hidden.
12460 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12461 __fcntl_nocancel_adjusted, not fcntl_common.
12462 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12463 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12464 to fcntl_nocancel.c.
12465 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12468 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12469
12470 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12471 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12472 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12473 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12474 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12475 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12476 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12477 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12478 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12479 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12480 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12481 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12482 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12483 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12484 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12485 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12486 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12487 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12488 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12489 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12490
12491 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12492 libpthread-routines.
12493 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12494 defines nothing.
12495
12496 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12497 __libc_read, and __write instead of __libc_write. Define
12498 __open64 in addition to __open.
12499
12500 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12501
12502 [BZ #23250]
12503 [BZ #10686]
12504 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12505 to _private_tm[3] and add __glibc_reserved2.
12506 Add _Static_assert of offset of __private_ss == 0x30.
12507 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12508 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12509
12510 2018-06-12 Florian Weimer <fweimer@redhat.com>
12511
12512 x86: Make strncmp usable from rtld.
12513 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12514 __strncmp_ia32 if in libc (and not in rtld).
12515 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12516 strncmp if not in libc (and not to __strncmp_sse2).
12517
12518 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12519
12520 [BZ #23140]
12521 * localedata/locales/gd_GB (mon): Rename to...
12522 (alt_mon): This.
12523 (mon): Import from CLDR (genitive case).
12524 * localedata/locales/hsb_DE (mon): Rename to...
12525 (alt_mon): This.
12526 (mon): Import from CLDR (genitive case).
12527 * localedata/locales/wa_BE (mon): Rename to...
12528 (alt_mon): This.
12529 (mon): Add, fill with the proper genitive forms, but CLDR data
12530 is incomplete; completed according to the comments in this file.
12531 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12532
12533 * localedata/locales/wa_BE (country_name): Reword
12534 "Beljike" -> "Beldjike".
12535
12536 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12537
12538 [BZ #23272]
12539 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12540 cases of non-finite arguments.
12541 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12542
12543 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12544
12545 [BZ #23174]
12546 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12547
12548 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12549
12550 [BZ #23264]
12551 * include/unistd.h (__execvpex): New prototype.
12552 * posix/Makefile (tests): Add tst-spawn4.
12553 (tests-internal): Add tst-spawn4-compat.
12554 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12555 * posix/tst-spawn4-compat.c: New file.
12556 * posix/tst-spawn4.c: Likewise.
12557 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12558 binaries as shell scripts.
12559 * sysdeps/posix/spawni.c (__spawni): Likewise.
12560
12561 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12562
12563 [BZ #23145]
12564 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12565 ($(all-built-dso:=.dynsym): New target.
12566 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12567 ($(objpfx)check-initfini.out): New target.
12568 (generated): Add check-initfini.out.
12569 * scripts/check-initfini.awk: New file.
12570 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12571 (_fini): Likewise.
12572 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12573 (_fini): Likewise.
12574 * sysdeps/arm/crti.S (_init): Mark as hidden.
12575 (_fini): Likewise.
12576 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12577 (_fini): Likewise.
12578 * sysdeps/i386/crti.S (_init): Mark as hidden.
12579 (_fini): Likewise.
12580 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12581 (_fini): Likewise.
12582 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12583 (_fini): Likewise.
12584 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12585 (_fini): Likewise.
12586 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12587 (_fini): Likewise.
12588 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12589 (_fini): Likewise.
12590 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12591 (_fini): Likewise.
12592 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12593 (_fini): Likewise.
12594 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12595 (_fini): Likewise.
12596 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12597 (_fini): Likewise.
12598 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12599 (_fini): Likewise.
12600 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12601 (_fini): Likewise.
12602 * sysdeps/sh/crti.S (_init): Mark as hidden.
12603 (_fini): Likewise.
12604 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12605 (_fini): Likewise.
12606 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12607 (_fini): Likewise.
12608
12609 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12610
12611 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12612 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12613 and TF redirection to KFtype and KF only when the default
12614 long double type is not the IEEE 128-bit floating point type.
12615
12616 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12617
12618 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12619 macro.
12620 (HWCAP_USCAT): Likewise.
12621 (HWCAP_ILRCPC): Likewise.
12622 (HWCAP_FLAGM): Likewise.
12623 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12624 Increase to 28.
12625 (_dl_aarch64_cap_flags): Add new flag names.
12626
12627 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12628 (MAP_FIXED_NOREPLACE): New macro.
12629 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12630 (MAP_FIXED_NOREPLACE): Likewise.
12631 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12632 (MAP_FIXED_NOREPLACE): Likewise.
12633 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12634 (MAP_FIXED_NOREPLACE): Likewise.
12635 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12636 (MAP_FIXED_NOREPLACE): Likewise.
12637 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12638 (MAP_FIXED_NOREPLACE): Likewise.
12639 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12640 (MAP_FIXED_NOREPLACE): Likewise.
12641 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12642 (MAP_FIXED_NOREPLACE): Likewise.
12643 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12644 (MAP_FIXED_NOREPLACE): Likewise.
12645 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12646 (MAP_FIXED_NOREPLACE): Likewise.
12647 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12648 (MAP_FIXED_NOREPLACE): Likewise.
12649 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12650 (MAP_FIXED_NOREPLACE): Likewise.
12651 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12652 (MAP_FIXED_NOREPLACE): Likewise.
12653 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12654 (MAP_FIXED_NOREPLACE): Likewise.
12655 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12656 (MAP_FIXED_NOREPLACE): Likewise.
12657
12658 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12659 version to 4.17.
12660
12661 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12662
12663 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12664 version to 4.17
12665
12666 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12667
12668 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12669 int.
12670 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12671
12672 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12673
12674 * benchtests/scripts/compare_string.py: (process_results) Catch
12675 exception in non-existent base_func and catch exception in
12676 non-existent attribute.
12677 (parse_file) Catch exception if input file does not exist.
12678
12679 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12680
12681 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12682 options to avoid diff calculation and omit header, respectively.
12683 (main): process --no-diff and --no-header
12684
12685 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12686 H.J. Lu <hongjiu.lu@intel.com>
12687
12688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12689 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12690 wcsncmp-sse2.
12691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12692 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12693 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12694 and __wcsncmp_sse2.
12695 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12696 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12697 AVX unaligned load is fast and vzeroupper is preferred.
12698 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12699 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12700 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12701 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12702 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12703 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12704 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12705 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12706 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12707 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12708 is undefined.
12709
12710 2018-06-01 Florian Weimer <fweimer@redhat.com>
12711
12712 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12713 configuring with --disable-multi-arch, building with
12714 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12715 Haswell-era CPU.
12716
12717 2018-06-01 Florian Weimer <fweimer@redhat.com>
12718
12719 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12720 results from building with “-march=x86-64 -mtune=generic
12721 -mfpmath=sse” and running on a Haswell-era CPU.
12722
12723 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12724
12725 [BZ #18473]
12726 * soft-fp/sqrttf2.c: Remove file.
12727 * soft-fp/sqrtdf2.c: Move to ....
12728 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12729 <shlib-compat.h>.
12730 (__sqrtdf2): Make conditional on
12731 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12732 symbol.
12733 * soft-fp/sqrtsf2.c: Move to ....
12734 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12735 <shlib-compat.h>.
12736 (__sqrtsf2): Make conditional on
12737 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12738 symbol.
12739 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12740 (gcc-double-routines): Remove sqrtdf2.
12741 (gcc-quad-routines): Remove sqrttf2.
12742 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12743 Do not filter out sqrtsf2 and sqrtdf2.
12744 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12745 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12746
12747 2018-06-01 Florian Weimer <fweimer@redhat.com>
12748
12749 * sysdeps/generic/libcidn.abilist: Remove file.
12750
12751 2018-06-01 Florian Weimer <fweimer@redhat.com>
12752
12753 [BZ #23236]
12754 * libio/strfile.h (struct _IO_str_fields): Rename members to
12755 discourage their use and add comment.
12756 (_IO_STR_DYNAMIC): Remove unused macro.
12757 * libio/strops.c (_IO_str_init_static_internal): Do not use
12758 callback pointers. Call malloc and free.
12759 (_IO_str_overflow): Do not use callback pointers. Call malloc
12760 and free.
12761 (enlarge_userbuf): Likewise.
12762 (_IO_str_finish): Call free.
12763 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12764 _allocate_buffer_unused.
12765 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12766 and free.
12767 (enlarge_userbuf): Likewise.
12768 (_IO_wstr_finish): Call free.
12769 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12770 _allocate_buffer_unused, _free_buffer_unused.
12771 * libio/memstream.c (__open_memstream): Likewise.
12772 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12773 * libio/wmemstream.c (open_wmemstream): Likewise.
12774
12775 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12776
12777 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12778 AMD Ryzen 7 1800X.
12779
12780 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12781
12782 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12783 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12784 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12785 New file.
12786 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12787 Likewise.
12788 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12789
12790 2018-05-29 Florian Weimer <fweimer@redhat.com>
12791
12792 * support/Makefile (libsupport-routines): Add
12793 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12794 xpthread_barrierattr_setpshared.
12795 * support/xpthread_barrierattr_destroy.c: New file.
12796 * support/xpthread_barrierattr_init.c: Likewise.
12797 * support/xpthread_barrierattr_setpshared.c: Likewise.
12798
12799 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12800
12801 [BZ #23206]
12802 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12803 _r_debug and update DT_DEBUG for debugger.
12804
12805 2018-05-29 Florian Weimer <fweimer@redhat.com>
12806
12807 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12808 (tst-strtod5i.out): Likewise.
12809
12810 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12811
12812 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12813 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12814 (sparc64-quad-routines): New variable. Moved from ....
12815 [$(subdir) = soft-fp] (sysdep_routines): Add
12816 $(sparc64-quad-routines). Moved from ....
12817 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12818 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12819 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12820 moved from ....
12821 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12822 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12823 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12824 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12825 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12826 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12827 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12828 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12829 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12830 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12831 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12832 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12833 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12834 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12835 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12836 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12837 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12838 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12839 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12840 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12841 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12842 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12843 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12844 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12845 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12846 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12847 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12848 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12849 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12850 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12851 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12852 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12853 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12854 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12855 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12856 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12857 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12858 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12859 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12860 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12861 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12862 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12863 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12864 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12865 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12866 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12867 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12868 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12869 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12870 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12871 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12872 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12873 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12874 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12875 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12876 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12877 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12878 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12879
12880 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12881 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12882 (sparc32-quad-routines): New variable. Moved from ....
12883 [$(subdir) = soft-fp] (sysdep_routines): Add
12884 $(sparc32-quad-routines). Moved from ....
12885 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12886 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12887 moved from ....
12888 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12889 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12890 * sysdeps/sparc/sparc32/q_add.c: ... here.
12891 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12892 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12893 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12894 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12895 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12896 * sysdeps/sparc/sparc32/q_div.c: ... here.
12897 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12898 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12899 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12900 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12901 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12902 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12903 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12904 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12905 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12906 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12907 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12908 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12909 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12910 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12911 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12912 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12913 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12914 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12915 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12916 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12917 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12918 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12919 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12920 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12921 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12922 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12923 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12924 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12925 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12926 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12927 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12928 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12929 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12930 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12931 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12932 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12933 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12934 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12935 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12936 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12937 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12938 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12939 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12940 * sysdeps/sparc/sparc32/q_util.c: ... here.
12941 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12942 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12943 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12944 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12945
12946 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12947 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12948
12949 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12950 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12951 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12952 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12953
12954 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12955
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12957 powerpc/soft-fp.
12958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12959 Likewise.
12960 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12961 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12962
12963 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12964
12965 [BZ #23171]
12966 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12967 double version.
12968
12969 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12970
12971 * sysdeps/sh/Implies: Remove sh/soft-fp.
12972 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12973 * sysdeps/sh/sfp-machine.h: ... here.
12974
12975 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12976
12977 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12978 (__mempcpy_erms): Skip zero length.
12979 (__memmove_erms): Likewise.
12980 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12981 (__memset_erms): Likewise.
12982
12983 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12984
12985 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12986 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12987 Add functions moved from ....
12988 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12989 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12990 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12991 from ....
12992 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12993 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12994 * sysdeps/alpha/e_sqrtl.c: ... here.
12995 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12996 * sysdeps/alpha/local-soft-fp.h: ... here.
12997 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12998 * sysdeps/alpha/ots_add.c: ... here.
12999 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13000 * sysdeps/alpha/ots_cmp.c: ... here.
13001 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13002 * sysdeps/alpha/ots_cmpe.c: ... here.
13003 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13004 * sysdeps/alpha/ots_cvtqux.c: ... here.
13005 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13006 * sysdeps/alpha/ots_cvtqx.c: ... here.
13007 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13008 * sysdeps/alpha/ots_cvttx.c: ... here.
13009 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13010 * sysdeps/alpha/ots_cvtxq.c: ... here.
13011 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13012 * sysdeps/alpha/ots_cvtxt.c: ... here.
13013 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13014 * sysdeps/alpha/ots_div.c: ... here.
13015 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13016 * sysdeps/alpha/ots_mul.c: ... here.
13017 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13018 * sysdeps/alpha/ots_nintxq.c: ... here.
13019 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13020 * sysdeps/alpha/ots_sub.c: ... here.
13021 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13022 * sysdeps/alpha/sfp-machine.h: ... here.
13023
13024 2018-05-23 Florian Weimer <fweimer@redhat.com>
13025
13026 [BZ #19728]
13027 [BZ #19729]
13028 [BZ #22247]
13029 CVE-2016-6261
13030 CVE-2016-6263
13031 CVE-2017-14062
13032 Switch to extern IDNA implementation (libidn2).
13033 * libidn: Remove subdirectory.
13034 * LICENSES: Do not mention licensing conditions for the removed
13035 libidn code.
13036 * config.h.in (HAVE_LIBIDN): Remove.
13037 * include/dlfcn.h (__libc_dlopen): Update comment.
13038 * include/idna.h: Remove file.
13039 * inet/Makefile (routines): Add idna.
13040 (tests-static, tests-internal): Add tst-idna_name_classify.
13041 (LOCALES): Generate locales for tests.
13042 (tst-idna_name_classify.out): Depend on generated locales.
13043 * inet/idna_name_classify.c: New file.
13044 * inet/tst-idna_name_classify.c: Likewise.
13045 * inet/net-internal.h (__idna_to_dns_encoding)
13046 (__idna_from_dns_encoding): Declare.
13047 * inet/net-internal.h (enum idna_name_classification): Define.
13048 (__idna_name_classify): Declare.
13049 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13050 __idna_from_dns_encoding.
13051 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13052 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13053 name as a fallback in case of encoding errors.
13054 (getnameinfo): Use DEPRECATED_NI_IDN.
13055 * inet/idna.c: New file.
13056 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13057 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13058 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13059 (modules-names): Add tst-no-libidn2.
13060 (extra-test-objs): Add tst-no-libidn2.os.
13061 (LDFLAGS-tst-no-libidn2.so): Set soname.
13062 (LOCALES): Set, and generate locales.
13063 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13064 (tst-resolv-ai_idn-latin1): Likewise.
13065 (tst-resolv-ai_idn-nolibidn2): Likewise.
13066 (tst-resolv-ai_idn.out): Depend on locales.
13067 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13068 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13069 tst-no-libidn2.so.
13070 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13071 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13072 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13073 * resolv/tst-resolv-ai_idn.c: New file.
13074 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13075 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13076 * resolv/tst-no-libidn2.c: Likewise.
13077 * support/support_format_addrinfo.c (format_ai_flags): Do not
13078 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13079 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13080 (gaih_inet): Call __idna_to_dns_encoding and
13081 __idna_from_dns_encoding, and use the original (punycode) name if
13082 __idna_from_dns_encoding fails due to an encoding error.
13083 (getaddrinfo): Use DEPRECATED_AI_IDN.
13084 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13085 * sysdeps/unix/inet/configure: Remove file.
13086 * sysdeps/unix/inet/configure.ac: Likewise.
13087
13088 2018-05-23 Florian Weimer <fweimer@redhat.com>
13089
13090 Implement allocate_once.
13091 * include/allocate_once.h: New file.
13092 * misc/allocate_once.c: Likewise.
13093 * misc/tst-allocate_once.c: Likewise.
13094 * misc/Makefile (routines): Add allocate_once.
13095 (tests-internal): Add tst-allocate_once.
13096 (generated): Add tst-allocate_once.mtrace,
13097 tst-allocate_once-mem.out.
13098 (tests-special): Add tst-allocate_once-mem.out.
13099 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13100 (tst-allocate_once-mem.out): Call mtrace.
13101 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13102
13103 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13104
13105 [BZ #23196]
13106 * string/test-memcpy.c (do_test1): New function.
13107 (test_main): Call it.
13108
13109 2018-05-23 Andreas Schwab <schwab@suse.de>
13110
13111 [BZ #23196]
13112 CVE-2018-11237
13113 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13114 (L(preloop_large)): Save initial destination pointer in %r11 and
13115 use it instead of %rax after the loop.
13116 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13117
13118 2018-05-22 Joseph Myers <joseph@codesourcery.com>
13119
13120 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13121 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13122 -I../soft-fp. Moved from ....
13123 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13124 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13125 * sysdeps/aarch64/e_sqrtl.c: ... here.
13126 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13127 * sysdeps/aarch64/sfp-machine.h: ... here.
13128
13129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13130 -Wmaybe-uninitialized around access to fq[0].
13131 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13132 Likewise.
13133
13134 [BZ #18471]
13135 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13136 aliases for non-libc case of versioned symbols.
13137 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13138 (llseek): Define as compat symbol if
13139 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13140 with link warning.
13141 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13142 Make into a compat symbol, disabled for minimum symbol version
13143 GLIBC_2.28 and later.
13144 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13145
13146 2018-05-22 Florian Weimer <fweimer@redhat.com>
13147
13148 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13149 not add -mpreferred-stack-boundary=4.
13150 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13151 (stack-align-test-flags): Likewise.
13152 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13153 Likewise.
13154 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13155 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13156 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13157 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13158 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13159 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13160 (CFLAGS-tst-align2.c): Likewise.
13161
13162 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13163
13164 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13165 (index_arch_Prefer_FSRM): Likewise.
13166 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13167 Also check Prefer_FSRM.
13168 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13169 Also return OPTIMIZE (erms) for Prefer_FSRM.
13170
13171 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13172
13173 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13174 (index_cpu_FSRM): Likewise.
13175 (reg_FSRM): Likewise.
13176
13177 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13178
13179 * math/gen-tgmath-tests.py: Import sys.
13180 (Tests.__init__): Initialize macros_seen.
13181 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13182 if requested to do so for this macro.
13183 (Tests.add_all_tests): Take argument for macro for which to
13184 generate tests.
13185 (Tests.check_macro_list): New function.
13186 (main): Handle check-list argument and argument specifying macro
13187 for which to generate tests.
13188 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13189 [PYTHON] (tgmath3-macro-tests): Likewise.
13190 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13191 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13192 not test-tgmath3.c.
13193 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13194 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13195 to CFLAGS.
13196 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13197 [PYTHON] ($(foreach
13198 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13199 rule.
13200 [PYTHON] (tests-special): Add
13201 $(objpfx)test-tgmath3-macro-list.out.
13202 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13203
13204 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13205 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13206 later.
13207
13208 [BZ #22639]
13209 * time/tzset.c (SECSPERDAY): Cast to time_t.
13210 * time/tst-y2039.c: New file.
13211 * time/Makefile (tests): Add tst-y2039.
13212
13213 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13214
13215 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13216 (PREFETCH_ONE_SET): Remove duplicate line.
13217
13218 2018-05-17 Florian Weimer <fweimer@redhat.com>
13219
13220 * sysdeps/generic/math-type-macros-double.h: Include
13221 <math-nan-payload-double.h> after <libm-alias-double.h>.
13222 * sysdeps/generic/math-type-macros-float.h: Include
13223 <math-nan-payload-float.h> after <libm-alias-float.h>.
13224 * sysdeps/generic/math-type-macros-float128.h: Include
13225 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13226 * sysdeps/generic/math-type-macros-ldouble.h: Include
13227 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13228
13229 2018-05-17 Andreas Schwab <schwab@suse.de>
13230
13231 * resolv/res_send.c (__res_context_send): Don't set errno when
13232 returing error after malloc failure.
13233
13234 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13235
13236 * nptl/allocatestack.c (allocate_stack): Remove the
13237 !__ASSUME_PRIVATE_FUTEX paths.
13238 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13239 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13240 Likewise.
13241 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13242 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13243 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13244 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13245 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13246 !__ASSUME_PRIVATE_FUTEX path.
13247 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13248 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13249 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13250 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13251 !__ASSUME_PRIVATE_FUTEX macros.
13252 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13253 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13254 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13255 * sysdeps/unix/sysv/linux/kernel-features.h
13256 (__ASSUME_PRIVATE_FUTEX): Removed.
13257
13258 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13259
13260 * math/Makefile (libm-narrow-fns): Add div.
13261 (libm-test-funcs-narrow): Likewise.
13262 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13263 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13264 * math/gen-auto-libm-tests.c (test_functions): Add div.
13265 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13266 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13267 (NARROW_DIV_TRIVIAL): Likewise.
13268 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13269 macro.
13270 (__ddivl): Likewise.
13271 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13272 ddiv.
13273 (CFLAGS-nldbl-ddiv.c): New variable.
13274 (CFLAGS-nldbl-fdiv.c): Likewise.
13275 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13276 __nldbl_ddivl.
13277 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13278 prototype.
13279 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13280 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13281 * math/auto-libm-test-in: Add tests of div.
13282 * math/auto-libm-test-out-narrow-div: New generated file.
13283 * math/libm-test-narrow-div.inc: New file.
13284 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13286 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13287 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13288 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13289 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13298 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13299 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13300 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13301 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13303 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13320 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13326 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13328
13329 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13330
13331 [BZ #23178]
13332 * nscd/nscd-client.h (sendfileall): Remove prototype.
13333 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13334 (handle_request): Use writeall instead of sendfileall.
13335 * nscd/aicache.c (addhstaiX): Likewise.
13336 * nscd/grpcache.c (cache_addgr): Likewise.
13337 * nscd/hstcache.c (cache_addhst): Likewise.
13338 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13339 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13340 * nscd/pwdcache.c (cache_addpw): Likewise.
13341 * nscd/servicescache.c (cache_addserv): Likewise.
13342 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13343 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13344 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13345 Remove define.
13346
13347 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13348
13349 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13350 Include <string/strncat.c>.
13351 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13352 alias.
13353 (__GI___strncat): New hidden alias.
13354
13355 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13356
13357 * sysdeps/mips/mips32/libm-test-ulps: Update.
13358 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13359
13360 2018-05-16 Florian Weimer <fweimer@redhat.com>
13361
13362 * support/Makefile (libsupport-routines): Add support_quote_blob,
13363 support_test_compare_blob.
13364 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13365 * support/check.h (TEST_COMPARE_BLOB): Define.
13366 (support_test_compare_blob): Declare.
13367 * support/support.h (support_quote_blob): Declare.
13368 * support/support_quote_blob.c: New file.
13369 * support/support_test_compare_blob.c: Likewise.
13370 * support/tst-support_quote_blob.c: Likewise.
13371 * support/tst-test_compare_blob.c: Likewise.
13372
13373 2018-05-16 Florian Weimer <fweimer@redhat.com>
13374
13375 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13376 of <strtod_nan_double.h>.
13377 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13378 instead of SET_MANTISSA.
13379 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13380 of include <strtod_nan_float.h>.
13381 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13382 instead of <strtod_nan_ldouble.h>.
13383 * stdlib/strtod_nan_double.h: Move to ...
13384 * sysdeps/generic/math-nan-payload-double.h: ... here.
13385 (FLOAT): Remove definition.
13386 (SET_MANTISSA): Rename to ...
13387 (SET_NAN_PAYLOAD): ... this.
13388 * stdlib/strtod_nan_float.h: Move to ...
13389 * sysdeps/generic/math-nan-payload-float.h: ... here.
13390 (FLOAT): Remove definition.
13391 (SET_MANTISSA): Rename to ...
13392 (SET_NAN_PAYLOAD): ... this.
13393 * sysdeps/generic/math-type-macros-double.h: Include
13394 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13395 instead of <math-svid-compat.h>.
13396 * sysdeps/generic/math-type-macros-float.h: Include
13397 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13398 instead of <math-svid-compat.h>.
13399 * sysdeps/generic/math-type-macros-float128.h: Include
13400 <math-nan-payload-float128.h>.
13401 * sysdeps/generic/math-type-macros-ldouble.h: Include
13402 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13403 instead of <math-svid-compat.h>.
13404 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13405 check for definition.
13406 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13407 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13408 Include <ieee754_float128.h>.
13409 (FLOAT): Remove definition.
13410 (SET_MANTISSA): Rename to ...
13411 (SET_NAN_PAYLOAD): ... this.
13412 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13413 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13414 Do not include <float128_private.h>.
13415 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13417 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13418 (FLOAT): Remove definition.
13419 (SET_MANTISSA): Rename to ...
13420 (SET_NAN_PAYLOAD): ... this.
13421 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13422 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13423 (FLOAT): Remove definition.
13424 (SET_MANTISSA): Rename to ...
13425 (SET_NAN_PAYLOAD): ... this.
13426 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13427 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13428 (FLOAT): Remove definition.
13429 (SET_MANTISSA): Rename to ...
13430 (SET_NAN_PAYLOAD): ... this.
13431 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13432 of "../stdlib/strtod_nan_double.h".
13433 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13434 of "../stdlib/strtod_nan_float.h".
13435 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13436 instead of "../stdlib/strtod_nan_ldouble.h".
13437 * manual/arith.texi (Parsing of Floats): Adjust comment.
13438
13439 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13440
13441 * math/Makefile (libm-narrow-fns): Add mul.
13442 (libm-test-funcs-narrow): Likewise.
13443 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13444 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13445 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13446 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13447 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13448 (NARROW_MUL_TRIVIAL): Likewise.
13449 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13450 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13451 macro.
13452 (__dmull): Likewise.
13453 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13454 dmul.
13455 (CFLAGS-nldbl-dmul.c): New variable.
13456 (CFLAGS-nldbl-fmul.c): Likewise.
13457 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13458 __nldbl_dmull.
13459 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13460 prototype.
13461 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13462 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13463 * math/auto-libm-test-in: Add tests of mul.
13464 * math/auto-libm-test-out-narrow-mul: New generated file.
13465 * math/libm-test-narrow-mul.inc: New file.
13466 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13467 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13468 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13469 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13470 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13471 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13477 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13478 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13479 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13480 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13481 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13482 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13483 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13485 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13492 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13493 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13494 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13495 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13496 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13497 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13502 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13503 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13504 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13505 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13506 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13507 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13508 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13509 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13510
13511 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13512
13513 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13514 with *%eax in call.
13515
13516 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13517
13518 * sysdeps/i386/ldsodefs.h: Removed.
13519 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13520 * sysdeps/x86/ldsodefs.h: This.
13521 (La_i86_regs): New.
13522 (La_i86_retval): Likewise.
13523 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13524 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13525
13526 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13527
13528 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13529 unnecessary testl.
13530
13531 2018-05-13 Alan Modra <amodra@gmail.com>
13532
13533 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13534 R_PARISC_TLS_DTPOFF32 reloc addend.
13535
13536 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13537
13538 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13539 * math/math.h: Restrict the prototype definition for the functions
13540 issignaling(_Float128) and iszero(_Float128); and template
13541 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13542 __HAVE_FLOAT128_UNLIKE_LDBL.
13543 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13544 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13545 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13546 __f128() constants; define the type _Float128 as long double;
13547 and reuse long double in __CFLOAT128.
13548
13549 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13550
13551 * sysdeps/generic/math_private.h: Do not include
13552 <math-barriers.h>.
13553 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13554 <math_private.h>.
13555 * math/fromfp.h: Include <math-barriers.h>.
13556 * math/math-narrow.h: Likewise.
13557 * math/s_nextafter.c: Likewise.
13558 * math/s_nexttowardf.c: Likewise.
13559 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13560 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13561 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13562 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13563 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13564 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13565 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13578 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13579 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13580 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13581 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13582 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13583 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13584 * sysdeps/ieee754/k_standardl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13601 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13602 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13603 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13604 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13605 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13606 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13607
13608 2018-05-11 Florian Weimer <fweimer@redhat.com>
13609
13610 Use 64-bit epoch values in the time zone file parser.
13611 * include/time.h (internal_time_t): Define.
13612 (__tzfile_compute): Use it.
13613 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13614 member.
13615 (transitions): Switch to internal_time_t.
13616 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13617 types.
13618 (__tzfile_compute): Use internal_time_t for timer argument. Check
13619 for truncation before calling __offtime.
13620
13621 2018-05-11 Florian Weimer <fweimer@redhat.com>
13622
13623 [BZ #23166]
13624 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13625 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13626 Likewise.
13627 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13628 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13629 export without --enable-obsolete-rpc.
13630 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13631 symbol. This should not have been exported, ever.
13632
13633 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13634
13635 [BZ #23152]
13636 * localedata/locales/gd_GB (abmon): Fix typo in May:
13637 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13638
13639 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13640
13641 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13642 Use multiple registers to copy data in loop tail.
13643
13644 * sysdeps/aarch64/multiarch/memmove_falkor.S
13645 (__memmove_falkor): Use multiple registers to move data in
13646 loop tail.
13647
13648 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13649
13650 * math/math-underflow.h: New file.
13651 * sysdeps/generic/math_private.h: Do not include <float.h>.
13652 (fabs_tg): Remove macro. Moved to math-underflow.h.
13653 (min_of_type_f): Likewise.
13654 (min_of_type_): Likewise.
13655 (min_of_type_l): Likewise.
13656 (min_of_type_f128): Likewise.
13657 (min_of_type): Likewise.
13658 (math_check_force_underflow): Likewise.
13659 (math_check_force_underflow_nonneg): Likewise.
13660 (math_check_force_underflow_complex): Likewise.
13661 * math/e_exp2_template.c: Include <math-underflow.h>.
13662 * math/k_casinh_template.c: Likewise.
13663 * math/s_catan_template.c: Likewise.
13664 * math/s_catanh_template.c: Likewise.
13665 * math/s_ccosh_template.c: Likewise.
13666 * math/s_cexp_template.c: Likewise.
13667 * math/s_clog10_template.c: Likewise.
13668 * math/s_clog_template.c: Likewise.
13669 * math/s_csin_template.c: Likewise.
13670 * math/s_csinh_template.c: Likewise.
13671 * math/s_csqrt_template.c: Likewise.
13672 * math/s_ctan_template.c: Likewise.
13673 * math/s_ctanh_template.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13689 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13691 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13692 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13693 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13694 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13695 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13696 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13697 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13698 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13699 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13700 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13701 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13702 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13703 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13704 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13705 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13742 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13744 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13751 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13752 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13753 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13754 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13758
13759 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13760
13761 * sysdeps/generic/math-barriers.h: New file.
13762 * sysdeps/generic/math_private.h [!math_opt_barrier]
13763 (math_opt_barrier): Move to math-barriers.h.
13764 [!math_opt_barrier] (math_force_eval): Likewise.
13765 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13766 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13767 math-barriers.h.
13768 (math_force_eval): Likewise.
13769 * sysdeps/alpha/fpu/math-barriers.h: New file.
13770 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13771 math-barriers.h.
13772 (math_force_eval): Likewise.
13773 * sysdeps/x86/fpu/math-barriers.h: New file.
13774 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13775 math-barriers.h.
13776 (math_force_eval): Likewise.
13777 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13778 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13779 multiple-include guard for rename.
13780 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13781 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13782 math-barriers.h.
13783 (math_force_eval): Likewise.
13784
13785 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13786
13787 [BZ #22786]
13788 CVE-2018-11236
13789 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13790 computation.
13791 * stdlib/Makefile (test-bz22786): New test.
13792 * stdlib/test-bz22786.c: New test.
13793
13794 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13795
13796 * include/math-narrow-eval.h: New file. Contents moved from ....
13797 * sysdeps/generic/math_private.h: ... here.
13798 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13799 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13800 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13801 * stdlib/strtod_l.c: Likewise.
13802 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13803 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13804 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13805 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13806 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13807 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13808 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13809 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13810 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13811 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13814 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13816 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13817 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13818 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13819 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13820 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13821 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13822 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13823 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13824 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13825 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13826 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13827 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13828 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13829 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13830 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13831
13832 2018-05-08 Andreas Schwab <schwab@suse.de>
13833
13834 * sysdeps/nptl/internaltypes.h: Fix comment.
13835
13836 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13837
13838 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13839 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13840 hidden.
13841
13842 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13843
13844 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13845 of I into loop header.
13846 * benchtests/bench-memmove-walk.c
13847 (test_main): Likewise.
13848
13849 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13850
13851 Revert:
13852 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13853 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13854
13855 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13856
13857 [BZ #20419]
13858 * elf/dl-load.c (open_verify): Fix stack overflow.
13859 * elf/Makefile (tst-big-note): New test.
13860 * elf/tst-big-note-lib.S: New.
13861 * elf/tst-big-note.c: New.
13862
13863 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13864
13865 * scripts/abilist.awk: Ignore absolute symbols.
13866 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13867 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13868 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13869 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13870 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13871 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13872 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13873 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13874 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13875 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13876 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13877 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13881 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13885 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13886 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13895 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13929 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13930 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13942 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13943 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13944 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13958 Likewise.
13959 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13969 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13970 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13972 Likewise.
13973 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13983 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13984 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13986 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13995 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13996 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13997 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14000 Likewise.
14001 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14003 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14008 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14011 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14012 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14013 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14014 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14015 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14016 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14017 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14018 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14021 Likewise.
14022 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14024 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14025 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14030 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14031 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14032 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14033 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14034 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14035 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14036 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14037 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14038 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14039 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14040 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14041 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14042 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14043 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14044 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14045 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14047 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14048 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14049 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14054 Likewise.
14055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14060 Likewise.
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14062 Likewise.
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14065 Likewise.
14066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14068 Likewise.
14069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14070 Likewise.
14071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14074 Likewise.
14075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14076 Likewise.
14077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14078 Likewise.
14079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14083 Likewise.
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14090 Likewise.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14093 Likewise.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14095 Likewise.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14097 Likewise.
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14099 Likewise.
14100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14103 Likewise.
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14105 Likewise.
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14107 Likewise.
14108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14109 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14110 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14111 Likewise.
14112 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14113 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14114 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14115 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14116 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14117 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14118 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14119 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14120 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14121 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14122 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14123 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14124 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14125 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14126 Likewise.
14127 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14128 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14129 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14130 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14131 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14132 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14133 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14134 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14135 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14136 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14137 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14138 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14139 Likewise.
14140 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14141 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14142 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14143 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14144 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14147 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14151 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14155 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14156 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14157 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14162 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14164 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14165 Likewise.
14166 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14167 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14169 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14175 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14176 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14177 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14179 Likewise.
14180 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14218
14219 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14220
14221 [BZ #23137]
14222 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14223 Use atomic_load_acquire to load __tid.
14224
14225 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14226
14227 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14228 Restore the pointer into %rdx, after syscall and use %rdx,
14229 instead of %rsi, to restore context.
14230
14231 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14232
14233 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14234 Pop the pointer into %rdx after syscall and use %rdx, instead
14235 of %rsi, to restore context.
14236
14237 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14238
14239 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14240 handlers after setjmp.
14241 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14242 defined.
14243 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14244 <libc-pointer-arith.h>.
14245 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14246 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14247 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14248 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14249 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14250 * sysdeps/x86/__longjmp_cancel.S: New file.
14251 * sysdeps/x86/longjmp.c: Likewise.
14252 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14253
14254 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14255
14256 * NEWS: Add ustat.h deprecation entry.
14257 * bits/ustat.h: Remove file.
14258 * misc/sys/ustat.h: Likewise.
14259 * misc/ustat.h: Likewise.
14260 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14261 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14262 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14263 compatibility mode.
14264 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14265 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14266 generic Linux implementation.
14267
14268 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14269
14270 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14271 * math/w_expl_compat.c: Likewise.
14272 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14273
14274 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14275
14276 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14277
14278 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14279
14280 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14281 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14282 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14283 Remove.
14284 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14287 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14288 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14289 and SYSCALL_LL64.
14290
14291 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14292
14293 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14294
14295 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14296 * math/w_asin_template.c: Likewise.
14297 * math/w_atanh_template.c: Likewise.
14298
14299 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14300
14301 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14302 to powerpc/powerpc64/be for big-endian.
14303 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14304 little-endian.
14305
14306 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14307 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14308 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14309 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14310 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14311 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14312 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14313 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14314 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14316 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14317 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14318 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14319 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14320 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14321 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14322 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14323 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14324 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14325 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14326 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14327 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14328 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14329 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14330 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14331 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14332 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14333 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14334 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14335 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14336 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14337 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14338
14339 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14340 adjusted to imply powerpc64 and older processors on powerpc64/be.
14341 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14342 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14343 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14344 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14345 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14346 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14347 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14348 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14349 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14350 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14351 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14352 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14353 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14354 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14355 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14356 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14357 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14358 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14359 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14360 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14361 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14362 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14363 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14364 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14365 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14366 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14367 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14368 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14369 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14370 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14371 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14372
14373 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14374 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14375 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14376 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14377
14378 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14379 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14380 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14381 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14382
14383 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14384 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14385 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14386 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14387 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14388 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14389 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14390 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14391 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14392 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14393 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14394
14395 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14396 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14397 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14398 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14399 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14400 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14401 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14402 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14403 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14404 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14405 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14406
14407 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14408 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14409 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14410 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14411 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14412 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14413 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14414 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14415 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14416 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14417 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14418 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14419
14420 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14421 and adjusted to imply olders processors.
14422 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14423 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14424 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14425 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14426 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14427 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14428 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14429 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14430 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14431 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14432 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14433
14434 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14435 powerpc64/le.
14436 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14437 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14438
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14440 powerpc64le.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14443
14444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14445 powerpc64/be.
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14449
14450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14451 powerpc64 and adjusted.
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14455 Likewise.
14456
14457 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14458
14459 * sysdeps/tile: Remove.
14460 * sysdeps/unix/sysv/linux/tile: Likewise.
14461 * README (tilegx-*-linux-gnu): Remove from list of supported
14462 configurations.
14463 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14464 contribution of support for generic Linux kernel syscall
14465 interface.
14466 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14467 tilegx configurations.
14468 (Config.install_linux_headers): Do not handle tile.
14469 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14470 in comment.
14471 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14472 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14473 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14474 conditional undefine and redefine.
14475 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14476 in comment.
14477 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14478 conditional undefine and redefine.
14479
14480 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14481
14482 * signal/tst-sigaction.c: New file to test BZ #23069.
14483 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14484
14485 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14486
14487 [BZ #22766]
14488 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14489 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14490 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14491 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14492
14493 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14494
14495 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14496 _DIRENT_MATCHES_DIRENT64 is not defined.
14497 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14498 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14499 is defined.
14500 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14501 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14502
14503 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14504
14505 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14506 version to GCC 8 branch.
14507
14508 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14509
14510 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14511 (check_no_hidden): Use type of original function when declaring
14512 alias.
14513
14514 * sysdeps/unix/sysv/linux/sys/ptrace.h
14515 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14516 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14517 (struct __ptrace_seccomp_metadata): New type.
14518 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14519 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14520 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14521 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14522 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14523 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14525 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14526 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14527 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14529 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14530 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14531 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14532 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14533 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14534
14535 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14536
14537 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14538 defined.
14539 * dirent/versionsort.c (versionsort): Likewise.
14540 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14541 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14542 * dirent/versionsort64.c (versionsort64): Likewise.
14543 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14544 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14545 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14546 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14547 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14548 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14549 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14550 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14551 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14552 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14555 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14556 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14557
14558 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14559
14560 * elf/elf.h (NT_PPC_PKEY): New macro.
14561
14562 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14563
14564 [BZ #23094]
14565 * localedata/locales/hr_HR: fix thousands_sep and
14566 mon_thousands_sep
14567
14568 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14569
14570 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14571 (XTABS): Define to TAB3.
14572
14573 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14574
14575 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14576
14577 * dirent/scandir-tail-common.c: New file.
14578 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14579 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14580 * dirent/scandir.c: Use scandir-tail-common.c.
14581 * dirent/scandirat.c: Likewise.
14582 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14583 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14584 if _DIRENT_MATCHES_DIRENT64 is defined.
14585 * dirent/scandirat64.c (scandirat64): Likewise.
14586 * include/dirent.h (__scandir_tail): Only define iff
14587 _DIRENT_MATCHES_DIRENT64 is not defined.
14588 (__scandir64_tail): Define regardless.
14589 (__scandirat, scandirat64): Remove libc_hidden_proto.
14590 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14591 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14593 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14594 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14595 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14596 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14597
14598 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14599
14600 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14601 New macro.
14602 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14603 Increase to 24.
14604 (_dl_aarch64_cap_flags): Add asimdfhm.
14605
14606 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14607
14608 * sysdeps/nios2/libm-test-ulps: Update.
14609
14610 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14611
14612 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14613 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14614
14615 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14616 requirements.
14617 (_DIRENT_MATCHES_DIRENT64): Undef
14618 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14619 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14620 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14621 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14622 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14623 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14624 use getdents64 syscalls as base.
14625 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14626 symbol if required.
14627 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14628 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14629 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14630 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14631 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14632 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14633 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14634 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14635 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14636 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14637 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14638
14639 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14640
14641 * scripts/test_printers_common.py (init_test): Disable lock elision.
14642
14643 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14644
14645 * math/test-tgmath.c (count_double, count_float,
14646 count_ldouble, count_cdouble, count_cfloat,
14647 count_cldouble): Use volatile int.
14648
14649 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14650
14651 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14652 (conformtest-xfail-conds): Add i386-gnu.
14653 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14654 i386-gnu.
14655 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14656 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14657 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14658 msqid_ds.msg_lrpid): Likewise.
14659 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14660 Likewise.
14661 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14662 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14663 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14664 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14665 unsigned int.
14666 (struct statvfs64): Likewise.
14667 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14668 Likewise.
14669 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14670 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14671 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14672 instead of wait_queue.
14673 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14674 instead of vm_area_struct.
14675 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14676 struct sched_param definition to it.
14677 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14678 * bits/types/struct_sched_param.h: New file.
14679 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14680 <bits/types/struct_sched_param.h> instead of <sched.h>.
14681 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14682 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14683 generic version but include <bits/pthreadtypes.h> to make struct
14684 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14685 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14686 non-compliant.
14687 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14688 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14689 [__USE_XOPEN] (OFDEL): New macro.
14690 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14691 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14692 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14693 prototypes.
14694 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14695 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14696 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14697 non-compliant.
14698 * sysdeps/i386/sys/ucontext.h: Likewise.
14699 * sysdeps/m68k/sys/ucontext.h: Likewise.
14700 * sysdeps/mips/sys/ucontext.h: Likewise.
14701 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14702 * sysdeps/mach/hurd/i386/Makefile
14703 (test-xfail-POSIX/fcntl.h/conform): Add.
14704 (test-xfail-POSIX/signal.h/conform): Add.
14705 (test-xfail-POSIX/semaphore.h/conform): Add.
14706 (test-xfail-POSIX/regex.h/conform): Add.
14707 (test-xfail-POSIX/aio.h/conform): Add.
14708 (test-xfail-POSIX/mqueue.h/conform): Add.
14709 (test-xfail-POSIX/sys/types.h/conform): Add.
14710 (test-xfail-UNIX98/fcntl.h/conform): Add.
14711 (test-xfail-UNIX98/netdb.h/conform): Add.
14712 (test-xfail-UNIX98/signal.h/conform): Add.
14713 (test-xfail-UNIX98/semaphore.h/conform): Add.
14714 (test-xfail-UNIX98/regex.h/conform): Add.
14715 (test-xfail-UNIX98/aio.h/conform): Add.
14716 (test-xfail-UNIX98/ftw.h/conform): Add.
14717 (test-xfail-UNIX98/mqueue.h/conform): Add.
14718 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14719 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14720 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14721 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14722 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14723 (test-xfail-UNIX98/sys/types.h/conform): Add.
14724 (test-xfail-UNIX98/stdlib.h/conform): Add.
14725 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14726 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14727 (test-xfail-POSIX2008/netdb.h/conform): Add.
14728 (test-xfail-POSIX2008/signal.h/conform): Add.
14729 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14730 (test-xfail-POSIX2008/regex.h/conform): Add.
14731 (test-xfail-POSIX2008/aio.h/conform): Add.
14732 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14733 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14734 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14735 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14736 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14737 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14738 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14739 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14740 (test-xfail-XOPEN2K/signal.h/conform): Add.
14741 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14742 (test-xfail-XOPEN2K/regex.h/conform): Add.
14743 (test-xfail-XOPEN2K/aio.h/conform): Add.
14744 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14745 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14746 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14747 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14748 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14749 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14750 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14751 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14752 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14753 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14754 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14755 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14756 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14757 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14758 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14759 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14760 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14761 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14762 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14763 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14764 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14765 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14766 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14767 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14768 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14769 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14770 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14771 i386-gnu.
14772 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14773 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14774
14775 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14776
14777 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14778 --enable-obsolete for powerpc-linux-gnuspe.
14779
14780 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14781
14782 * conform/data/sys/un.h-data: Allow sun_ prefix.
14783 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14784 prototypes.
14785 * sysdeps/mach/include/mach.h: Likewise.
14786 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14787 * sysdeps/mach/include/mach_error.h: Likewise.
14788
14789 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14790
14791 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14792 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14793 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14794 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14795
14796 2018-04-16 Andreas Schwab <schwab@suse.de>
14797
14798 [BZ #19527]
14799 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14800
14801 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14802
14803 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14804 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14805
14806 2018-04-12 DJ Delorie <dj@redhat.com>
14807
14808 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14809 version to 4.16.
14810
14811 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14812
14813 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14814 (struct kernel_sigaction): Use the same definition on 31bit as is used
14815 on 64bit.
14816
14817 2018-04-09 Florian Weimer <fweimer@redhat.com>
14818
14819 [BZ #23037]
14820 * resolv/res_send.c (send_dg): Use designated initializers instead
14821 of assignment to zero-initialize other fields of struct mmsghdr.
14822
14823 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14824
14825 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14826 __READDIR_ALIAS): Undefine after usage.
14827 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14828 __READDIR_R_ALIAS): Likewise.
14829 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14830 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14831 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14832 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14833 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14834 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14835 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14836 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14837 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14838 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14839 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14840 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14841 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14842 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14843 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14844 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14845 * sysdeps/unix/sysv/linux/readdir.c: New file.
14846 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14847 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14848 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14849
14850 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14851
14852 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14853
14854 * manual/charset.texi (Converting a Character): Fix typo.
14855
14856 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14857
14858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14859
14860 * sysdeps/arm/libm-test-ulps: Update.
14861
14862 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14863 as base implementation.
14864 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14865 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14866 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14867 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14868 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14869 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14870 remove unrequired definitions and update comments.
14871 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14872 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14873 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14874 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14875 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14876 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14877 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14878 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14879 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14880 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14881 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14882 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14883 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14884 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14885 and RESET_SA_RESTORER hooks.
14886
14887 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14888
14889 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14890
14891 2018-04-05 Florian Weimer <fweimer@redhat.com>
14892
14893 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14894 integer overflow, memory leak on error, and indeterminate errno
14895 value. Add a null wide character to terminate the result string.
14896 * manual/charset.texi (Converting a Character): Mention embedded
14897 null bytes in the mbrtowc input string. Explain what happens in
14898 the -2 result case. Do not claim that mbrtowc is simple or
14899 obvious to use. Adjust the description of the code example. Use
14900 @code, not @var, for concrete variables.
14901
14902 2018-04-05 Florian Weimer <fweimer@redhat.com>
14903
14904 * manual/examples/mbstouwcs.c: New file.
14905 * manual/charset.texi (Converting a Character): Include it.
14906
14907 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14908
14909 * include/dirent.h (dirfd): Add hidden proto.
14910 * dirent/dirfd.c (dirfd): Add hidden def.
14911 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14912 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14913
14914 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14915
14916 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14917 sin, cos and sincos to 1 ULP.
14918
14919 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14920
14921 [BZ #19818]
14922 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14923 symbols.
14924 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14925 * elf/tst-absolute-sym.c: New file.
14926 * elf/tst-absolute-sym-lib.c: New file.
14927 * elf/tst-absolute-sym-lib.lds: New file.
14928 * elf/Makefile (tests): Add `tst-absolute-sym'.
14929 (modules-names): Add `tst-absolute-sym-lib'.
14930 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14931 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14932 ($(objpfx)tst-absolute-sym): New dependency.
14933
14934 [BZ #19818]
14935 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14936 parameter.
14937 (SYMBOL_ADDRESS): New macro.
14938 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14939 SYMBOL_ADDRESS for symbol address calculation.
14940 * elf/dl-runtime.c (_dl_fixup): Likewise.
14941 (_dl_profile_fixup): Likewise.
14942 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14943 * elf/rtld.c (dl_main): Likewise.
14944 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14945 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14946 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14947 (elf_machine_rela): Likewise.
14948 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14949 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14950 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14951 (elf_machine_rela): Likewise.
14952 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14953 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14954 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14955 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14956 Likewise.
14957 (elf_machine_reloc): Likewise.
14958 (elf_machine_got_rel): Likewise.
14959 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14960 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14961 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14962 Likewise.
14963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14964 Likewise.
14965 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14966 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14967 Likewise.
14968 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14969 Likewise.
14970 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14972 Likewise.
14973 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14974 Likewise.
14975 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14976 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14977
14978 2018-04-04 Zack Weinberg <zackw@panix.com>
14979
14980 * sysdeps/generic/internal-signals.h: Include signal.h,
14981 sigsetops.h, and stdbool.h.
14982 (__libc_signal_block_all): Actually block all signals.
14983 (__libc_signal_block_app): Likewise.
14984 (__libc_signal_restore_set): Actually restore the signal mask.
14985
14986 2018-04-04 Florian Weimer <fweimer@redhat.com>
14987
14988 inet: Actually build and run tst-deadline.
14989 * inet/Makefile (tests-internal): Add tst-deadline and do not
14990 overwrite the variable.
14991 (tests-static-internal): Remove variable.
14992
14993 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14994
14995 [BZ #22947]
14996 * bits/uio-ext.h (RWF_APPEND): New.
14997 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14998 * manual/llio.texi: Document RWF_APPEND.
14999 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15000 (RWF_SUPPORTED): Add RWF_APPEND.
15001
15002 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15003
15004 [BZ #22391]
15005 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15006 check for internal nptl signals.
15007 * nptl/sigaction.c (__sigaction): Likewise.
15008 * signal/sigaddset.c (sigaddset): Likewise.
15009 * signal/sigdelset.c (sigdelset): Likewise.
15010 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15011 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15012 value.
15013 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15014 to filter out internal nptl signals.
15015 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15016 also check realtime signals using standard macros.
15017 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15018 __is_internal_signal, __libc_signal_block_all,
15019 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15020 * sysdeps/nptl/sigfillset.c: Remove file.
15021 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15022 Change return to bool.
15023 (__clear_internal_signals): Remove SIGTIMER clean since it is
15024 equal to SIGCANEL on Linux.
15025 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15026 signal set was constructed using standard functions.
15027
15028 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15029
15030 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15031 ifname is too long.
15032 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15033 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15034 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15035 hidden def.
15036 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15037 * signal/sigaddset.c: Include <sigsetopts.h>.
15038 * signal/sigdelset.c: Likewise.
15039
15040 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15041
15042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15043 (__cos): Likewise.
15044 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15045 logic as sin and cos.
15046
15047 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15048
15049 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15050 inputs. Return correct sign.
15051 (do_sincos): Remove small input check before do_sin, let do_sin set
15052 the sign.
15053 (__sin): Likewise.
15054 (__cos): Likewise.
15055
15056 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15057
15058 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15059 (do_cos_slow): Likewise.
15060 (do_sin_slow): Likewise.
15061 (reduce_and_compute): Likewise.
15062 (slow): Likewise.
15063 (slow1): Likewise.
15064 (slow2): Likewise.
15065 (sloww): Likewise.
15066 (sloww1): Likewise.
15067 (sloww2): Likewise.
15068 (bslow): Likewise.
15069 (bslow1): Likewise.
15070 (bslow2): Likewise.
15071 (cslow2): Likewise.
15072
15073 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15074
15075 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15076 (do_cos): Remove corp parameter and calculations.
15077 (do_sin): Likewise.
15078 (do_sincos): Remove cor variable.
15079 (__sin): Use do_sincos for huge inputs.
15080 (__cos): Likewise.
15081 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15082 (reduce_and_compute_sincos): Remove unused function.
15083
15084 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15085
15086 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15087 reduce_sincos, improve accuracy to 136 bits.
15088 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15089 (__sin): Use improved reduction and simplified do_sincos calculation.
15090 (__cos): Likewise.
15091 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15092
15093 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15094
15095 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15096 (do_sincos_2): Likewise.
15097 (__sin): Remove middle range reduction case.
15098 (__cos): Likewise.
15099 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15100 reduction case.
15101
15102 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15103
15104 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15105 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15106 inputs.
15107 (__cos): Likewise.
15108 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15109
15110 2018-04-03 Joseph Myers <joseph@codesourcery.com>
15111
15112 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15113 version to 4.16
15114
15115 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15116
15117 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15118 Remove definitions.
15119 (opendir_oflags): Use O_DIRECTORY regardless.
15120 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15121 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15122
15123 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15124
15125 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15126 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15127 macros.
15128 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15129 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15130 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15131 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15132 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15133 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15134
15135 * htl/Makefile: Bump licence to LGPL 2.1+.
15136 * htl/alloca_cutoff.c: Likewise.
15137 * htl/cthreads-compat.c: Likewise.
15138 * htl/lockfile.c: Likewise.
15139 * htl/pt-alloc.c: Likewise.
15140 * htl/pt-cancel.c: Likewise.
15141 * htl/pt-cleanup.c: Likewise.
15142 * htl/pt-create.c: Likewise.
15143 * htl/pt-dealloc.c: Likewise.
15144 * htl/pt-detach.c: Likewise.
15145 * htl/pt-exit.c: Likewise.
15146 * htl/pt-getattr.c: Likewise.
15147 * htl/pt-initialize.c: Likewise.
15148 * htl/pt-internal.h: Likewise.
15149 * htl/pt-join.c: Likewise.
15150 * htl/pt-self.c: Likewise.
15151 * htl/pt-setcancelstate.c: Likewise.
15152 * htl/pt-setcanceltype.c: Likewise.
15153 * htl/pt-sigmask.c: Likewise.
15154 * htl/pt-spin-inlines.c: Likewise.
15155 * htl/pt-testcancel.c: Likewise.
15156 * htl/pt-yield.c: Likewise.
15157 * htl/tests/test-1.c: Likewise.
15158 * htl/tests/test-10.c: Likewise.
15159 * htl/tests/test-11.c: Likewise.
15160 * htl/tests/test-12.c: Likewise.
15161 * htl/tests/test-13.c: Likewise.
15162 * htl/tests/test-14.c: Likewise.
15163 * htl/tests/test-15.c: Likewise.
15164 * htl/tests/test-16.c: Likewise.
15165 * htl/tests/test-17.c: Likewise.
15166 * htl/tests/test-2.c: Likewise.
15167 * htl/tests/test-3.c: Likewise.
15168 * htl/tests/test-4.c: Likewise.
15169 * htl/tests/test-5.c: Likewise.
15170 * htl/tests/test-6.c: Likewise.
15171 * htl/tests/test-7.c: Likewise.
15172 * htl/tests/test-8.c: Likewise.
15173 * htl/tests/test-9.c: Likewise.
15174 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15175 * sysdeps/htl/bits/cancelation.h: Likewise.
15176 * sysdeps/htl/bits/pthread-np.h: Likewise.
15177 * sysdeps/htl/bits/pthread.h: Likewise.
15178 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15179 * sysdeps/htl/bits/semaphore.h: Likewise.
15180 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15181 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15182 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15183 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15184 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15185 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15186 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15187 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15188 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15189 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15190 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15191 * sysdeps/htl/old_pt-atfork.c: Likewise.
15192 * sysdeps/htl/pt-atfork.c: Likewise.
15193 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15194 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15195 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15196 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15197 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15198 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15199 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15200 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15201 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15202 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15203 * sysdeps/htl/pt-attr-init.c: Likewise.
15204 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15205 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15206 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15207 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15208 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15209 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15210 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15211 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15212 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15213 * sysdeps/htl/pt-attr.c: Likewise.
15214 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15215 * sysdeps/htl/pt-barrier-init.c: Likewise.
15216 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15217 * sysdeps/htl/pt-barrier.c: Likewise.
15218 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15219 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15220 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15221 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15222 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15223 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15224 * sysdeps/htl/pt-cond-init.c: Likewise.
15225 * sysdeps/htl/pt-cond-signal.c: Likewise.
15226 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15227 * sysdeps/htl/pt-cond-wait.c: Likewise.
15228 * sysdeps/htl/pt-cond.c: Likewise.
15229 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15230 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15231 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15232 * sysdeps/htl/pt-condattr-init.c: Likewise.
15233 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15234 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15235 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15236 * sysdeps/htl/pt-equal.c: Likewise.
15237 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15238 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15239 * sysdeps/htl/pt-getschedparam.c: Likewise.
15240 * sysdeps/htl/pt-getspecific.c: Likewise.
15241 * sysdeps/htl/pt-init-specific.c: Likewise.
15242 * sysdeps/htl/pt-key-create.c: Likewise.
15243 * sysdeps/htl/pt-key-delete.c: Likewise.
15244 * sysdeps/htl/pt-key.h: Likewise.
15245 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15246 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15247 * sysdeps/htl/pt-mutex-init.c: Likewise.
15248 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15249 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15250 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15251 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15252 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15253 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15254 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15255 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15256 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15257 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15258 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15259 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15260 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15261 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15262 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15263 * sysdeps/htl/pt-mutexattr.c: Likewise.
15264 * sysdeps/htl/pt-once.c: Likewise.
15265 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15266 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15267 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15268 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15269 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15270 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15271 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15272 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15273 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15274 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15275 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15276 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15277 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15278 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15279 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15280 * sysdeps/htl/pt-setschedparam.c: Likewise.
15281 * sysdeps/htl/pt-setschedprio.c: Likewise.
15282 * sysdeps/htl/pt-setspecific.c: Likewise.
15283 * sysdeps/htl/pt-spin.c: Likewise.
15284 * sysdeps/htl/pt-startup.c: Likewise.
15285 * sysdeps/htl/pthread.h: Likewise.
15286 * sysdeps/htl/sem-close.c: Likewise.
15287 * sysdeps/htl/sem-destroy.c: Likewise.
15288 * sysdeps/htl/sem-getvalue.c: Likewise.
15289 * sysdeps/htl/sem-init.c: Likewise.
15290 * sysdeps/htl/sem-open.c: Likewise.
15291 * sysdeps/htl/sem-post.c: Likewise.
15292 * sysdeps/htl/sem-timedwait.c: Likewise.
15293 * sysdeps/htl/sem-trywait.c: Likewise.
15294 * sysdeps/htl/sem-unlink.c: Likewise.
15295 * sysdeps/htl/sem-wait.c: Likewise.
15296 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15297 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15298 * sysdeps/mach/htl/pt-block.c: Likewise.
15299 * sysdeps/mach/htl/pt-spin.c: Likewise.
15300 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15301 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15302 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15303 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15304 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15305 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15306 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15307 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15308 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15309 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15310 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15311 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15312 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15313 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15314 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15315 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15316 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15317 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15318 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15319 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15320 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15321 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15322 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15323 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15324 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15325 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15326 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15327 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15328 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15329 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15330 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15331 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15332 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15333 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15334 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15335 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15336 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15337 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15338 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15339 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15340 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15341 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15342 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15343
15344 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15345 * README: Remove the mention of out-of-tree patches needed for
15346 GNU/Hurd.
15347
15348 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15349 (UTIME_NOW, UTIME_OMIT): Define macros.
15350
15351 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15352 instead of pthread_detach.
15353 (__cthread_fork): Call __pthread_create instead of pthread_create.
15354 (__cthread_keycreate): Call __pthread_key_create instead of
15355 pthread_key_create.
15356 (__cthread_getspecific): Call __pthread_getspecific instead of
15357 pthread_getspecific.
15358 (__cthread_setspecific): Call __pthread_setspecific instead of
15359 pthread_setspecific.
15360 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15361 __pthread_mutex_unlock instead of pthread_mutex_lock and
15362 pthread_mutex_unlock.
15363 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15364 ___pthread_get_cleanup_stack.
15365 (__pthread_get_cleanup_stack): New strong alias.
15366 * htl/pt-create.c: Include <pthreadP.h>.
15367 (entry_point): Call __pthread_exit instead of pthread_exit.
15368 (pthread_create): Rename to __pthread_create.
15369 (pthread_create): New strong alias.
15370 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15371 (pthread_detach): New strong alias.
15372 (__pthread_detach): Call __pthread_cond_broadcast instead of
15373 pthread_cond_broadcast.
15374 * htl/pt-exit.c: Include <pthreadP.h>.
15375 (__pthread_exit): Call __pthread_setcancelstate and
15376 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15377 __pthread_get_cleanup_stack.
15378 * htl/pt-testcancel.c: Include <pthreadP.h>.
15379 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15380 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15381 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15382 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15383 pthread_attr_getstacksize.
15384 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15385 Rename to __pthread_attr_getstackaddr.
15386 (pthread_attr_getstackaddr): New strong alias.
15387 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15388 Rename to __pthread_attr_getstacksize.
15389 (pthread_attr_getstacksize): New strong alias.
15390 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15391 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15392 (pthread_attr_setstack): New strong alias.
15393 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15394 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15395 pthread_attr_getstacksize, pthread_attr_setstacksize and
15396 pthread_attr_setstackaddr.
15397 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15398 Rename to __pthread_attr_setstackaddr.
15399 (pthread_attr_setstackaddr): New strong alias.
15400 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15401 Rename to __pthread_attr_setstacksize.
15402 (pthread_attr_setstacksize): New strong alias.
15403 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15404 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15405 pthread_exit.
15406 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15407 (__pthread_key_create): New hidden def.
15408 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15409 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15410 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15411 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15412 __pthread_setspecific, __pthread_setcancelstate,
15413 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15414 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15415 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15416 declarations.
15417 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15418 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15419 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15420 (pthread_attr_setstackaddr): New strong alias.
15421 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15422 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15423 (pthread_attr_setstacksize): New strong alias.
15424 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15425 (call_exit): Call __pthread_exit instead of pthread_exit.
15426 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15427 (_pthread_mutex_init): New hidden definition.
15428 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15429 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15430 instead of pthread_attr_init and pthread_attr_setstack.
15431
15432 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15433 __vm_deallocate instead of vm_allocate and vm_deallocate.
15434 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15435 setenv.
15436 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15437 of geteuid.
15438 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15439 strdup.
15440 * hurd/siginfo.c: Include <libioP.h>.
15441 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15442 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15443 munmap.
15444 * mach/devstream.c: Include <libioP.h>.
15445 (dealloc_ref): Call __mach_port_deallocate instead of
15446 mach_port_deallocate.
15447 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15448 Call __mach_port_deallocate instead of mach_port_deallocate.
15449 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15450 pathconf.
15451 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15452 munmap.
15453 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15454 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15455 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15456 of munmap.
15457 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15458 of close.
15459 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15460 instead of sysconf.
15461 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15462 __clock_gettime instead of clock_gettime.
15463 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15464 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15465 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15466 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15467 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15468 tcgetattr.
15469 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15470 __clock_gettime and __nanosleep instead of clock_gettime and
15471 nanosleep.
15472 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15473 __hurd_catch_signal.
15474 (hurd_catch_signal): New strong alias.
15475 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15476 __hurd_catch_signal instead of hurd_catch_signal.
15477 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15478 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15479 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15480 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15481 (_hurd_thread_sigstate): Add hidden def.
15482 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15483 mutex_unlock.
15484 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15485 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15486 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15487 __hurd_file_name_path_lookup.
15488 (hurd_file_name_path_lookup): New strong alias.
15489 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15490 hurd_file_name_path_lookup.
15491 * mach/errstring.c (mach_error_type): Add hidden def.
15492 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15493 * mach/mutex-init.c (__mutex_init): Add hidden def.
15494 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15495 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15496 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15497 * sysdeps/mach/hurd/getcwd.c
15498 (_hurd_canonicalize_directory_name_internal): Rename to
15499 __hurd_canonicalize_directory_name_internal.
15500 (_hurd_canonicalize_directory_name_internal): New strong alias.
15501 (__canonicalize_directory_name_internal, __getcwd): Call
15502 __hurd_canonicalize_directory_name_internal instead of
15503 _hurd_canonicalize_directory_name_internal.
15504 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15505 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15506 hidden defs.
15507 * sysdeps/hurd/include/hurd.h: New file.
15508 * sysdeps/hurd/include/hurd/fd.h: New file.
15509 * sysdeps/hurd/include/hurd/signal.h: New file.
15510 * sysdeps/mach/include/lock-intern.h: New file.
15511 * sysdeps/mach/include/mach.h: New file.
15512 * sysdeps/mach/include/mach/mig_support.h: New file.
15513 * sysdeps/mach/include/mach_error.h: New file.
15514 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15515 prototype.
15516 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15517 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15518 _HEADER_H_HIDDEN_DEF macro.
15519 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15520 _hurd_fd_error_signal): Add hidden prototype.
15521 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15522 hidden def.
15523 * libio/iolibio.h (_IO_puts): New hidden prototype.
15524 * libio/ioputs.c (_IO_puts): New hidden def.
15525 * sysdeps/mach/hurd/localplt.data: New file.
15526
15527 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15528 Amos Jeffries <squid3@treenet.co.nz>
15529 David Michael <fedora.dm0@gmail.com>
15530 Marco Gerards <marco@gnu.org>
15531 Marcus Brinkmann <marcus@gnu.org>
15532 Neal H. Walfield <neal@gnu.org>
15533 Pino Toscano <toscano.pino@tiscali.it>
15534 Richard Braun <rbraun@sceen.net>
15535 Roland McGrath <roland@gnu.org>
15536 Samuel Thibault <samuel.thibault@ens-lyon.org>
15537 Thomas DiModica <ricinwich@yahoo.com>
15538 Thomas Schwinge <tschwinge@gnu.org>
15539
15540 * htl: New directory.
15541 * sysdeps/htl: New directory.
15542 * sysdeps/hurd/htl: New directory.
15543 * sysdeps/i386/htl: New directory.
15544 * sysdeps/mach/htl: New directory.
15545 * sysdeps/mach/hurd/htl: New directory.
15546 * sysdeps/mach/hurd/i386/htl: New directory.
15547 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15548 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15549 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15550
15551 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15552
15553 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15554 signals in thread created for runing timers.
15555
15556 2018-04-01 Florian Weimer <fweimer@redhat.com>
15557
15558 * support/support_format_addrinfo.c (support_format_addrinfo):
15559 Include unknown error number in formatted result.
15560
15561 2018-03-29 Florian Weimer <fweimer@redhat.com>
15562
15563 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15564 capture SIGBUS.
15565
15566 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15567
15568 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15569 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15570 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15571 (__ASSUME_CLONE_BACKWARDS): Define.
15572
15573 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15574
15575 [BZ #23024]
15576 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15577 early when linux sentinel value is set.
15578
15579 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15580
15581 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15582
15583 2018-03-27 Andreas Schwab <schwab@suse.de>
15584
15585 [BZ #23005]
15586 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15587 allocation of private copy of nsaddr_list fails.
15588
15589 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15590
15591 [BZ #16552]
15592 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15593 * sysdeps/unix/sysv/linux/umount.c: ... here.
15594 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15595 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15596 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15597 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15599 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15600 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15601
15602 2018-03-26 Andreas Schwab <schwab@suse.de>
15603
15604 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15605 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15606 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15607 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15608 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15609 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15610 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15611 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15612 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15613 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15614 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15615 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15616 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15617 (R_RISCV_NUM): Define.
15618
15619 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15620
15621 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15622 TLS declaration of errno.
15623 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15624 __libc_setup_tls.
15625 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15626 (ARCH_SETUP_TLS): Likewise.
15627 * sysdeps/mach/hurd/libc-start.h: New file copied from
15628 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15629 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15630 instead of __libc_setup_tls.
15631 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15632 __libc_setup_tls before initializing libpthread and running _hurd_init
15633 which starts the signal thread.
15634 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15635 Declare function.
15636 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15637
15638 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15639
15640 [BZ #22998]
15641 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15642 after it is defined.
15643
15644 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15645 Max Horn <max@quendi.de>
15646
15647 [BZ #22644]
15648 CVE-2017-18269
15649 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15650 branch conditions.
15651 * string/test-memmove.c (do_test2): New testcase.
15652
15653 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15654
15655 * sysdeps/generic/frame.h: Remove file.
15656 * sysdeps/arm/frame.h: Likewise.
15657 * sysdeps/hppa/frame.h: Likewise.
15658 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15659 macro.
15660 (GET_FRAME): Likewise.
15661 (GET_STACK): Likewise.
15662 (CALL_SIGHANDLER): Likewise.
15663 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15664 Likewise.
15665 (GET_FRAME): Likewise.
15666 (GET_STACK): Likewise.
15667 (CALL_SIGHANDLER): Likewise.
15668 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15669 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15670 (GET_FRAME): Likewise.
15671 (GET_STACK): Likewise.
15672 (CALL_SIGHANDLER): Likewise.
15673 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15674 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15675 (GET_FRAME): Likewise.
15676 (GET_STACK): Likewise.
15677 (ADVANCE_STACK_FRAME): Likewise.
15678 (CALL_SIGHANDLER): Likewise.
15679 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15680 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15681 (GET_FRAME): Likewise.
15682 (GET_STACK): Likewise.
15683 (CALL_SIGHANDLER): Likewise.
15684 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15685 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15686 (GET_FRAME): Likewise.
15687 (GET_STACK): Likewise.
15688 (CALL_SIGHANDLER): Likewise.
15689 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15690 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15691 (GET_FRAME): Likewise.
15692 (GET_STACK): Likewise.
15693 (CALL_SIGHANDLER): Likewise.
15694 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15695 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15696 (GET_FRAME): Likewise.
15697 (GET_STACK): Likewise.
15698 (CALL_SIGHANDLER): Likewise.
15699 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15700 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15701 (GET_FRAME): Likewise.
15702 (GET_STACK): Likewise.
15703 (CALL_SIGHANDLER): Likewise.
15704 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15705 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15706 (GET_FRAME): Likewise.
15707 (GET_STACK): Likewise.
15708 (CALL_SIGHANDLER): Likewise.
15709 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15710 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15711 (GET_FRAME): Likewise.
15712 (GET_STACK): Likewise.
15713 (CALL_SIGHANDLER): Likewise.
15714 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15715 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15716 (GET_FRAME): Likewise.
15717 (GET_STACK): Likewise.
15718 (CALL_SIGHANDLER): Likewise.
15719 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15720 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15721 (GET_FRAME): Likewise.
15722 (GET_STACK): Likewise.
15723 (CALL_SIGHANDLER): Likewise.
15724 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15725 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15726 (FIRST_FRAME_POINTER): Likewise.
15727 (ADVANCE_STACK_FRAME): Likewise.
15728 (GET_STACK): Likewise.
15729 (GET_FRAME): Likewise.
15730 (CALL_SIGHANDLER): Likewise.
15731 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15732 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15733 (ADVANCE_STACK_FRAME): Likewise.
15734 (GET_STACK): Likewise.
15735 (GET_FRAME): Likewise.
15736 (CALL_SIGHANDLER): Likewise.
15737 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15738 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15739 (GET_FRAME): Likewise.
15740 (GET_STACK): Likewise.
15741 (CALL_SIGHANDLER): Likewise.
15742 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15743 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15744 (GET_FRAME): Likewise.
15745 (GET_STACK): Likewise.
15746 (CALL_SIGHANDLER): Likewise.
15747
15748 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15749
15750 * sysdeps/x86_64/backtrace.c: Move to ....
15751 * debug/backtrace.c: ... here.
15752 * sysdeps/aarch64/backtrace.c: Remove file.
15753 * sysdeps/alpha/backtrace.c: Likewise.
15754 * sysdeps/hppa/backtrace.c: Likewise.
15755 * sysdeps/ia64/backtrace.c: Likewise.
15756 * sysdeps/mips/backtrace.c: Likewise.
15757 * sysdeps/nios2/backtrace.c: Likewise.
15758 * sysdeps/riscv/backtrace.c: Likewise.
15759 * sysdeps/sh/backtrace.c: Likewise.
15760 * sysdeps/tile/backtrace.c: Likewise.
15761
15762 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15763
15764 [BZ #22987]
15765 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15766 function.
15767 (fdimf): Likewise.
15768 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15769
15770 [BZ #17343]
15771 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15772 possibly overflowing computations.
15773
15774 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15775
15776 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15777 values from Linux-specific section now that it is in the GNU section.
15778 * sysdeps/gnu/errlist.c: Regenerate.
15779
15780 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15781
15782 * math/Makefile (libm-narrow-fns): Add sub.
15783 (libm-test-funcs-narrow): Likewise.
15784 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15785 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15786 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15787 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15788 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15789 (NARROW_SUB_TRIVIAL): Likewise.
15790 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15791 macro.
15792 (__dsubl): Likewise.
15793 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15794 dsub.
15795 (CFLAGS-nldbl-dsub.c): New variable.
15796 (CFLAGS-nldbl-fsub.c): Likewise.
15797 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15798 __nldbl_dsubl.
15799 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15800 prototype.
15801 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15802 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15803 * math/auto-libm-test-in: Add tests of sub.
15804 * math/auto-libm-test-out-narrow-sub: New generated file.
15805 * math/libm-test-narrow-sub.inc: New file.
15806 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15807 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15808 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15809 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15810 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15811 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15812 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15814 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15820 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15821 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15822 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15823 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15825 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15826 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15827 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15828 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15829 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15830 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15831 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15832 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15833 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15834 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15835 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15836 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15837 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15842 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15843 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15844 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15845 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15846 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15847 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15848 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15852
15853 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15854
15855 [BZ #20079]
15856 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15857
15858 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15859
15860 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15861
15862 2018-03-18 Richard Braun <rbraun@sceen.net>
15863
15864 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15865 thread reference.
15866
15867 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15868
15869 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15870 (__libc_cleanup_fct): Define function.
15871 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15872 __libc_cleanup_end): Rewrite implementation using
15873 __attribute__ ((__cleanup__)).
15874 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15875 * hurd/Makefile (routines): Add hurdlock.
15876 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15877 interface.
15878 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15879 * hurd/hurdpid.c: Include <lowlevellock.h>
15880 (_S_msg_proc_newids): Use lll_wait to synchronize.
15881 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15882 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15883 * mach/Makefile (lock-headers): Remove machine-lock.h.
15884 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15885 <machine-lock.h>.
15886 (__spin_lock_t): New type.
15887 (__SPIN_LOCK_INITIALIZER): New macro.
15888 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15889 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15890 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15891 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15892 (__mutex_init): Initialize with lll.
15893 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15894 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15895 needing lll.
15896 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15897 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15898 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15899 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15900 (__setpgid): Use lll for synchronization.
15901 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15902 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15903 instead of <cthreads.h>.
15904 (_IO_lock_inexpensive): New macro
15905 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15906 (__libc_lock_self0): New declaration.
15907 (__libc_lock_owner_self): New macro.
15908 (__libc_key_t): Remove type.
15909 (_LIBC_LOCK_INITIALIZER): New macro.
15910 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15911 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15912 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15913 __libc_lock_define_initialized_recursive,
15914 __rtld_lock_define_initialized_recursive,
15915 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15916 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15917 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15918 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15919 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15920 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15921 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15922 New macros.
15923 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15924 * hurd/hurdlock.c: New file.
15925 * hurd/hurdlock.h: New file.
15926 * mach/lowlevellock.h: New file
15927
15928 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15929
15930 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15931 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15932 when opening a symlink with O_NOFOLLOW.
15933 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15934 path when flags contains O_NOFOLLOW.
15935 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15936 if flags contains O_DIRECTORY and the result is a directory.
15937 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15938 oneself when the pointer given in D is nul (as set by ext2fs).
15939 * sysdeps/mach/hurd/mlockall.c: New file.
15940 * sysdeps/mach/hurd/munlockall.c: New file.
15941
15942 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15943
15944 * hurd/hurdsig.c: Include <pthread.h>.
15945 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15946 get the signal thread stack layout.
15947 * hurd/Makefile (headers): Remove threadvar.h.
15948 (inline-headers): Remove threadvar.h.
15949 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15950 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15951 __hurd_threadvar_max, __hurd_errno_location.
15952 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15953 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15954 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15955 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15956 unless TLS is not initialized yet, in which case we do not need a
15957 critical section yet anyway.
15958 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15959 <machine-sp.h>.
15960 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15961 declarations.
15962 (__hurd_threadvar_index): Remove enum.
15963 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15964 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15965 inlines.
15966 (__hurd_reply_port0): New variable declaration.
15967 (__hurd_local_reply_port): New macro.
15968 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15969 (interrupted_reply_port_location): Add thread_t parameter. Use it
15970 with THREAD_TCB to access thread-local variables.
15971 (_hurdsig_abort_rpcs): Pass ss->thread to
15972 interrupted_reply_port_location.
15973 (_hurd_internal_post_signal): Likewise.
15974 (_hurdsig_init): Use presence of cthread_fork instead of
15975 __hurd_threadvar_stack_mask to start signal thread by hand.
15976 Remove signal thread threadvar initialization.
15977 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15978 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15979 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15980 of threadvar.
15981 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15982 __libc_lock_self0.
15983 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15984 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15985 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15986 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15987 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15988 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15989 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15990 define variables.
15991 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15992 <hurd/threadvar.h>.
15993 [IS_IN(rtld)] (rtld_errno): New variable.
15994 [IS_IN(rtld)] (__errno_location): New weak function.
15995 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15996 * sysdeps/mach/hurd/errno.c: Remove file.
15997 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15998 (__fork): Remove THREADVAR_SPACE macro and its use.
15999 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16000 variable.
16001 (init): Do not initialize threadvar.
16002 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16003 symbol.
16004 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16005 __hurd_local_reply_port instead of threadvar.
16006 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16007 _hurd_sigstate fields.
16008 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16009 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16010 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16011 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16012 instead of threadvar.
16013 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16014 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16015 (use_threadvar, global_reply_port): Remove variables.
16016 (__hurd_reply_port0): New variable.
16017 (__mig_get_reply_port): Use __hurd_local_reply_port and
16018 __hurd_reply_port0 instead of threadvar.
16019 (__mig_dealloc_reply_port): Likewise.
16020 (__mig_init): Do not initialize threadvar.
16021 * sysdeps/mach/hurd/profil.c: Fix comment.
16022 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16023 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16024 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16025 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16026 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16027 __cthread_setspecific.
16028 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16029 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16030 __cthread_t instead of cthread_fork, cthread_detach,
16031 pthread_getattr_np, pthread_attr_getstack.
16032 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16033 __cthread_keycreate.
16034 (cthread_getspecific): Rename to __cthread_getspecific.
16035 (cthread_setspecific): Rename to __cthread_setspecific.
16036 (__libc_getspecific): Use __cthread_getspecific instead of
16037 cthread_getspecific.
16038 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16039 __cthread_keycreate instead of cthread_keycreate.
16040 (__libc_setspecific): Use __cthread_setspecific instead of
16041 cthread_setspecific.
16042 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16043 Likewise.
16044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16045 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16046 testing whether it is defined.
16047
16048 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16049
16050 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16051 Define macro.
16052 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16053 * sysdeps/mach/i386/thread_state.h
16054 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16055 i386_THREAD_STATE.
16056 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16057 i386_THREAD_STATE.
16058 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16059
16060 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16061 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16062
16063 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16064 macros.
16065 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16066 descriptor instead of creating a new one.
16067 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16068
16069 * mach/setup-thread.c: Include <ldsodefs.h>.
16070 (__mach_setup_thread): Call _dl_allocate_tls, pass
16071 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16072 MACHINE_THREAD_STATE_FLAVOR, before getting
16073 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16074 MACHINE_THREAD_STATE_FLAVOR with the result.
16075 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16076 MACHINE_THREAD_STATE_FIX_NEW.
16077 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16078 too. Add original thread parameter.
16079
16080 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16081
16082 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16083 Remove inline function.
16084
16085 * sysdeps/i386/fpu/libm-test-ulps: Update.
16086 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16087
16088 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16089
16090 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16091 commit.
16092
16093 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16094
16095 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16096 (__sincos_code): Remove define and undefine.
16097 [__FAST_MATH__] (__sincos): Remove inline function.
16098 [__FAST_MATH__] (__sincosf): Remove inline function.
16099 [__FAST_MATH__] (__sincosl): Remove inline function.
16100 (__atan2l): Remove inline functions.
16101 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16102 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16103 function.
16104 (floor): Remove inline function.
16105 (ceil): Likewise.
16106 [__FAST_MATH__] (__ldexp_code): Remove macro.
16107 [__FAST_MATH__] (ldexp): Remove inline function.
16108 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16109 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16110 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16111 [__USE_ISOC99] (__lrint_code): Remove macro.
16112 [__USE_ISOC99] (__llrint_code): Likewise.
16113 [__USE_ISOC99] (lrintf): Remove inline function.
16114 [__USE_ISOC99] (lrint): Likewise.
16115 [__USE_ISOC99] (lrintl): Likewise.
16116 [__USE_ISOC99] (llrint): Likewise.
16117 [__USE_ISOC99] (llrintf): Likewise.
16118 [__USE_ISOC99] (llrintl): Likewise.
16119
16120 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16121
16122 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16123 (__ieee754_sqrtf): Remove.
16124 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16125 (__ieee754_sqrtf): Remove.
16126 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16127 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16128 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16129 (__ieee754_sqrtf): Remove.
16130 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16131 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16132 (sqrtf): Remove.
16133 (sqrtl): Remove.
16134 (__ieee754_sqrt): Remove.
16135 (__ieee754_sqrtf): Remove.
16136 (__ieee754_sqrtl): Remove.
16137 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16138 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16139 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16140 (__ieee754_sqrtf): Remove.
16141 (__ieee754_sqrtl): Remove.
16142
16143 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16144
16145 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16146 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16147 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16148 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16149 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16150 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16151 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16152 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16153 Likewise.
16154 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16155 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16156 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16157 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16158 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16159 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16160 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16161 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16162 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16163 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16164 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16165 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16166 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16167 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16168 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16169 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16170 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16171 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16172 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16174 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16176 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16177 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16178 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16179 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16180 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16182 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16183 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16184 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16185 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16186 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16187 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16188 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16189 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16190 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16191 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16192 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16193 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16194
16195 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16196
16197 * include/math.h (sqrt): Declare with asm redirect.
16198 (sqrtf): Likewise.
16199 (sqrtl): Likewise.
16200 (sqrtf128): Likewise.
16201 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16202 nonlib and libnldbl with -fmath-errno.
16203 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16204 * math/w_sqrt_template.c: Likewise.
16205 * math/w_sqrtf_compat.c: Likewise.
16206 * math/w_sqrtl_compat.c: Likewise.
16207 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16208 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16209 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16210 complex.h.
16211
16212 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16213
16214 * benchtests/Makefile: Define _ISOMAC.
16215 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16216 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16217 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16218 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16219 * benchtests/bench-timing.h: Define attribute_hidden.
16220
16221 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16222
16223 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16224 mov + lsr.
16225
16226 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16227
16228 [BZ #22963]
16229 * localedata/locales/cs_CZ (mon): Rename to...
16230 (alt_mon): This.
16231 (mon): Import from CLDR (genitive case).
16232
16233 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16234
16235 [BZ #22937]
16236 * localedata/locales/el_CY (abmon): Rename to...
16237 (ab_alt_mon): This.
16238 (abmon): Import from CLDR (abbreviated genitive case).
16239 * localedata/locales/el_GR (abmon): Rename to...
16240 (ab_alt_mon): This.
16241 (abmon): Import from CLDR (abbreviated genitive case).
16242
16243 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16244
16245 [BZ #22932]
16246 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16247
16248 2018-03-15 Robert Buj <robert.buj@gmail.com>
16249
16250 [BZ #22848]
16251 * localedata/locales/ca_ES (abmon): Rename to...
16252 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16253 (mon): Rename to...
16254 (alt_mon): This.
16255 (abmon): Import from CLDR (genitive case, month names preceded by
16256 "de" or "d’").
16257 (mon): Likewise.
16258 (abday): Synchronize with CLDR.
16259 (d_t_fmt): Likewise.
16260 (d_fmt): Likewise.
16261 (am_pm): Likewise.
16262
16263 (LC_TIME): Improve indentation.
16264 (LC_TELEPHONE): Likewise.
16265 (LC_NAME): Likewise.
16266 (LC_ADDRESS): Likewise.
16267
16268 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16269
16270 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16271 (lrintf): Remove definitions used only with old GCC.
16272 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16273 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16274 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16275 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16276 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16277 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16278 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16279 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16280 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16281 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16282 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16283 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16284 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16285 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16286 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16287 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16288 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16289 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16290 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16291 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16292 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16293 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16294 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16295 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16296 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16297 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16298 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16299 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16300
16301 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16302
16303 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16304 instruction to unbreak builds with binutils 2.26 and older.
16305
16306 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16307
16308 * sysdeps/aarch64/strncmp.S (count): New macro.
16309 (strncmp): Store misaligned length in SRC1 in COUNT.
16310 (mutual_align): Adjust.
16311 (misaligned8): Load dword at a time when it is safe.
16312
16313 2018-03-12 Zack Weinberg <zackw@panix.com>
16314
16315 [BZ #1190]
16316 [BZ #19476]
16317 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16318 if the _IO_EOF_SEEN bit is already set; update commentary.
16319 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16320 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16321
16322 * support/support_openpty.c, support/tty.h: New files.
16323 * support/Makefile (libsupport-routines): Add support_openpty.
16324
16325 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16326 New test cases.
16327 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16328 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16329
16330 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16331
16332 * po/pt_BR.po: Update translations.
16333
16334 2018-03-12 David Michael <fedora.dm0@gmail.com>
16335
16336 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16337 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16338 get a port to the startup server.
16339
16340 2018-03-11 Zack Weinberg <zackw@panix.com>
16341
16342 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16343 before nldbl-compat.h.
16344
16345 2018-03-10 Zack Weinberg <zackw@panix.com>
16346
16347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16348 math.h or math_private.h.
16349
16350 * sysdeps/alpha/fpu/s_isnan.c
16351 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16352 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16353 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16354 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16355 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16356 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16357 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16358 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16359 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16362 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16363 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16364 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16365 Include math_private.h.
16366
16367 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16368 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16369 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16370 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16371 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16372 * sysdeps/powerpc/power7/fpu/s_logb.c:
16373 Include math.h and math_private.h.
16374
16375 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16376 uses of $at in .set noat / .set at.
16377
16378 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16379
16380 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16381 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16382 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16383 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16384 Likewise.
16385
16386 2018-03-09 Florian Weimer <fweimer@redhat.com>
16387
16388 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16389 in comment.
16390
16391 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16392
16393 [BZ #22919]
16394 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16395 Add nop before __startcontext, add explaining comments.
16396
16397 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16398
16399 [BZ #22926]
16400 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16401 empty for __SPE__.
16402 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16403 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16404 Do not build hardware transactional code for __SPE__.
16405 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16406 (__lll_trylock_elision): Likewise.
16407 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16408 (__lll_unlock_elision): Likewise.
16409
16410 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16411 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16412 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16413 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16414 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16415 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16416 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16417 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16418 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16419 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16420 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16421 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16422 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16423 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16424 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16425 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16426 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16427 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16428 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16429 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16430 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16431 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16432 (__ASSUME_CLONE_BACKWARDS): Define.
16433 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16434 __clone2 if __NR_clone2 is defined.
16435 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16436 (__ASSUME_CLONE_BACKWARDS): Likewise.
16437 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16438 (__ASSUME_CLONE_BACKWARDS): Likewise.
16439 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16440 (__ASSUME_CLONE2): Likewise.
16441 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16442 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16443 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16444 variants and the define architecture can use.
16445 (__ASSUME_CLONE_DEFAULT): Define as default.
16446 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16447 (__ASSUME_CLONE_BACKWARDS): Likewise.
16448 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16449 (__ASSUME_CLONE_BACKWARDS): Likewise.
16450 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16451 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16452
16453 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16454
16455 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16456
16457 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16458 time.
16459
16460 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16461 (do_test_limit): Likewise.
16462
16463 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16464 for every implementation.
16465 (do_test): Likewise.
16466
16467 * benchtests/bench-strncmp.c: Convert output to json.
16468
16469 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16470
16471 * io/futimens.c: Add missing start-of-file descriptive comment.
16472 * io/utime.c: Likewise.
16473 * misc/futimesat.c: Likewise.
16474 * misc/utimes.c: Likewise.
16475 * sysdeps/mach/hurd/futimesat.c: Likewise.
16476 * sysdeps/mach/hurd/utimes.c: Likewise.
16477 * sysdeps/posix/utime.c: Likewise.
16478 * sysdeps/posix/utimes.c: Likewise.
16479 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16480 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16481 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16482 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16483
16484 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16485
16486 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16487 hurd_futimes.
16488 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16489 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16490 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16491 (__futimens): Move implementation to...
16492 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16493 utime_tvalue_from_tspec): ... new helper functions.
16494 (hurd_futimens): New function.
16495 * sysdeps/mach/hurd/futimesat.c: New file.
16496 * sysdeps/mach/hurd/utimensat.c: New file.
16497
16498 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16499
16500 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16501 UTIME_OMIT): New macros.
16502 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16503 before reverting to converting time spec to time value and calling
16504 __file_utimes.
16505 * sysdeps/mach/hurd/utime-helper.c: New file.
16506 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16507 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16508 reverting to utime_tvalue_from_tval and __file_utimes.
16509 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16510 (__lutimes): Just call hurd_futimens after lookup.
16511 * sysdeps/mach/hurd/utimes.c: Likewise.
16512
16513 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16514
16515 * bits/sigaction.h: Add include guard.
16516 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16517 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16518 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16519 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16520 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16521 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16522 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16523 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16524 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16525
16526 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16527
16528 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16529 -Wmaybe-uninitialized for -Os.
16530 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16531 this disabling.
16532
16533 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16534
16535 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16536 __INO_T_MATCHES_INO64_T is defined.
16537 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16538 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16539 of definition.
16540 * dirent/alphasort64.c: Likewise.
16541 * dirent/scandir.c: Likewise.
16542 * dirent/scandir64-tail.c: Likewise.
16543 * dirent/scandir64.c: Likewise.
16544 * dirent/scandirat.c: Likewise.
16545 * dirent/scandirat64.c: Likewise.
16546 * dirent/versionsort.c: Likewise.
16547 * dirent/versionsort64.c: Likewise.
16548 * include/dirent.h: Likewise.
16549
16550 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16551 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16552 for socketpair endpoint.
16553 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16554 WRITE_BUFFER_SIZE as buffer size for sending socket.
16555 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16556 issue on system where send is implemented with sendto syscall.
16557 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16558 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16559 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16560 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16561
16562 [BZ #21269]
16563 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16564 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16565 sa_restorer for vDSO case.
16566 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16567
16568 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16569
16570 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16571 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16572 * hurd/hurd/ioctl.h: Include <mach/port.h>
16573 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16574 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16575 <mach/mach_types.h> and <mach/message.h>.
16576 (headers): Move mach/param.h to bits/mach/param.h.
16577 * sysdeps/mach/i386/mach/param.h: Move file to ...
16578 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16579 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16580 of <mach/param.h>.
16581 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16582 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16583 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16584 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16585 trivial, for C++ conformity.
16586 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16587 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16588 Process mig output through $(migheadersed).
16589 * hurd/Makefile (migheadersed): Define variable.
16590 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16591 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16592 headers.
16593 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16594 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16595 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16596 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16597 <bits/types/sigset_t.h>.
16598 [!defined __USE_GNU]: Do not #error out.
16599 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16600 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16601 Include <stddef.h> and <bits/types/sigset_t.h>
16602 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16603 instead of sighandler_t.
16604 * stdlib/errno.h (error_t): Move definition to...
16605 * bits/types/error_t.h: ... new header.
16606 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16607 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16608 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16609 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16610 * hurd/hurd.h: Include <bits/types/error_t.h>
16611 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16612 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16613 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16614 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16615 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16616 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16617 * sysdeps/mach/hurd/futimens.c: New file.
16618
16619 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16620
16621 [BZ #22918]
16622 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16623 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16624 * nscd/gai.c (__nss_hosts_database): Readd definition.
16625 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16626 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16627 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16628
16629 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16630
16631 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16632 (ifunc_one): Likewise.
16633
16634 2018-03-01 DJ Delorie <dj@delorie.com>
16635
16636 [BZ #22342]
16637 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16638 key value.
16639
16640 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16641
16642 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16643 `match_pid' parameter.
16644 (td_ta_thr_iter): Update accordingly.
16645
16646 2018-03-01 Florian Weimer <fweimer@redhat.com>
16647
16648 * nptl/Makefile (install-lib-ldscripts): Remove.
16649 (install): Remove rule.
16650 ($(inst_libdir)/libpthread.so): Likewise.
16651
16652 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16653
16654 [BZ #22896]
16655 * localedata/locales/an_ES: update month and day names,
16656 improve d_fmt, improve postal_fmt, add country_post,
16657 add country_isbn
16658
16659 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16660
16661 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16662 Ukrainian instead of Bulgarian.
16663
16664 2018-03-01 Florian Weimer <fweimer@redhat.com>
16665
16666 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16667 reference.
16668
16669 2018-03-01 Florian Weimer <fweimer@redhat.com>
16670
16671 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16672 * nptl/Makefile (routines): Add pthread_atfork.
16673 (static-only-routines): Set to pthread_atfork.
16674 (libpthread-routines): Remove pthread_atfork.
16675 (libpthread-static-only-routines): Remove.
16676 (install): Update comment.
16677 (libpthread.so): Do not install libpthread_nonshared.a.
16678 (tests): Do not link with libpthread_nonshared.a.
16679 (generated): Remove libpthread_nonshared.a.
16680 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16681 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16682 with libpthread_nonshared.a.
16683
16684 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16685
16686 [BZ #22902]
16687 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16688 (libc_feholdexcept_setroundf128): New macro.
16689 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16690
16691 [BZ #15105]
16692 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16693 libc_hidden_def.
16694 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16695 * include/inttypes.h: New file.
16696
16697 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16698
16699 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16700 -Os in two more places.
16701
16702 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16703
16704 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16705 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16706 be sorted correctly at the moment because of a bug.
16707
16708 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16709
16710 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16711 treat ñ as a primary different character, sync the collation
16712 for Spanish with CLDR.
16713 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16714 * localedata/Makefile: Add new test files.
16715 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16716 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16717 collation order.
16718 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16719 * localedata/am_ET.UTF-8.in: New test file.
16720 * localedata/az_AZ.UTF-8.in: Likewise.
16721 * localedata/be_BY.UTF-8.in: Likewise.
16722 * localedata/ber_DZ.UTF-8.in: Likewise.
16723 * localedata/ber_MA.UTF-8.in: Likewise.
16724 * localedata/bg_BG.UTF-8.in: Likewise.
16725 * localedata/br_FR.UTF-8.in: Likewise.
16726 * localedata/cmn_TW.UTF-8.in: Likewise.
16727 * localedata/crh_UA.UTF-8.in: Likewise.
16728 * localedata/csb_PL.UTF-8.in: Likewise.
16729 * localedata/cv_RU.UTF-8.in: Likewise.
16730 * localedata/cy_GB.UTF-8.in: Likewise.
16731 * localedata/dz_BT.UTF-8.in: Likewise.
16732 * localedata/eo.UTF-8.in: Likewise.
16733 * localedata/es_ES.UTF-8.in: Likewise.
16734 * localedata/fa_IR.UTF-8.in: Likewise.
16735 * localedata/fi_FI.UTF-8.in: Likewise.
16736 * localedata/fil_PH.UTF-8.in: Likewise.
16737 * localedata/fur_IT.UTF-8.in: Likewise.
16738 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16739 * localedata/ha_NG.UTF-8.in: Likewise.
16740 * localedata/ig_NG.UTF-8.in: Likewise.
16741 * localedata/ik_CA.UTF-8.in: Likewise.
16742 * localedata/kk_KZ.UTF-8.in: Likewise.
16743 * localedata/ku_TR.UTF-8.in: Likewise.
16744 * localedata/ky_KG.UTF-8.in: Likewise.
16745 * localedata/ln_CD.UTF-8.in: Likewise.
16746 * localedata/mi_NZ.UTF-8.in: Likewise.
16747 * localedata/ml_IN.UTF-8.in: Likewise.
16748 * localedata/mn_MN.UTF-8.in: Likewise.
16749 * localedata/mr_IN.UTF-8.in: Likewise.
16750 * localedata/mt_MT.UTF-8.in: Likewise.
16751 * localedata/nb_NO.UTF-8.in: Likewise.
16752 * localedata/om_KE.UTF-8.in: Likewise.
16753 * localedata/os_RU.UTF-8.in: Likewise.
16754 * localedata/ps_AF.UTF-8.in: Likewise.
16755 * localedata/ro_RO.UTF-8.in: Likewise.
16756 * localedata/ru_RU.UTF-8.in: Likewise.
16757 * localedata/sc_IT.UTF-8.in: Likewise.
16758 * localedata/se_NO.UTF-8.in: Likewise.
16759 * localedata/sq_AL.UTF-8.in: Likewise.
16760 * localedata/sv_SE.UTF-8.in: Likewise.
16761 * localedata/szl_PL.UTF-8.in: Likewise.
16762 * localedata/tg_TJ.UTF-8.in: Likewise.
16763 * localedata/tk_TM.UTF-8.in: Likewise.
16764 * localedata/tt_RU.UTF-8.in: Likewise.
16765 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16766 * localedata/ug_CN.UTF-8.in: Likewise.
16767 * localedata/uz_UZ.UTF-8.in: Likewise.
16768 * localedata/vi_VN.UTF-8.in: Likewise.
16769 * localedata/yi_US.UTF-8.in: Likewise.
16770 * localedata/yo_NG.UTF-8.in: Likewise.
16771 * localedata/zh_CN.UTF-8.in: Likewise.
16772 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16773 file and fix bugs in the collation.
16774 * localedata/locales/az_AZ: Likewise.
16775 * localedata/locales/be_BY: Likewise.
16776 * localedata/locales/ber_DZ: Likewise.
16777 * localedata/locales/ber_MA: Likewise.
16778 * localedata/locales/bg_BG: Likewise.
16779 * localedata/locales/br_FR: Likewise.
16780 * localedata/locales/br_FR@euro: Likewise.
16781 * localedata/locales/ca_ES: Likewise.
16782 * localedata/locales/cns11643_stroke: Likewise.
16783 * localedata/locales/crh_UA: Likewise.
16784 * localedata/locales/cs_CZ: Likewise.
16785 * localedata/locales/csb_PL: Likewise.
16786 * localedata/locales/cv_RU: Likewise.
16787 * localedata/locales/cy_GB: Likewise.
16788 * localedata/locales/da_DK: Likewise.
16789 * localedata/locales/dz_BT: Likewise.
16790 * localedata/locales/en_CA: Likewise.
16791 * localedata/locales/eo: Likewise.
16792 * localedata/locales/es_CU: Likewise.
16793 * localedata/locales/es_EC: Likewise.
16794 * localedata/locales/es_ES: Likewise.
16795 * localedata/locales/es_US: Likewise.
16796 * localedata/locales/et_EE: Likewise.
16797 * localedata/locales/fa_IR: Likewise.
16798 * localedata/locales/fi_FI: Likewise.
16799 * localedata/locales/fil_PH: Likewise.
16800 * localedata/locales/fur_IT: Likewise.
16801 * localedata/locales/gez_ER@abegede: Likewise.
16802 * localedata/locales/ha_NG: Likewise.
16803 * localedata/locales/hr_HR: Likewise.
16804 * localedata/locales/hsb_DE: Likewise.
16805 * localedata/locales/hu_HU: Likewise.
16806 * localedata/locales/ig_NG: Likewise.
16807 * localedata/locales/ik_CA: Likewise.
16808 * localedata/locales/is_IS: Likewise.
16809 * localedata/locales/iso14651_t1_pinyin: Likewise.
16810 * localedata/locales/kk_KZ: Likewise.
16811 * localedata/locales/ku_TR: Likewise.
16812 * localedata/locales/ky_KG: Likewise.
16813 * localedata/locales/ln_CD: Likewise.
16814 * localedata/locales/lt_LT: Likewise.
16815 * localedata/locales/lv_LV: Likewise.
16816 * localedata/locales/mi_NZ: Likewise.
16817 * localedata/locales/ml_IN: Likewise.
16818 * localedata/locales/mn_MN: Likewise.
16819 * localedata/locales/mr_IN: Likewise.
16820 * localedata/locales/mt_MT: Likewise.
16821 * localedata/locales/nb_NO: Likewise.
16822 * localedata/locales/om_KE: Likewise.
16823 * localedata/locales/os_RU: Likewise.
16824 * localedata/locales/pl_PL: Likewise.
16825 * localedata/locales/ps_AF: Likewise.
16826 * localedata/locales/ro_RO: Likewise.
16827 * localedata/locales/ru_RU: Likewise.
16828 * localedata/locales/ru_UA: Likewise.
16829 * localedata/locales/sc_IT: Likewise.
16830 * localedata/locales/se_NO: Likewise.
16831 * localedata/locales/si_LK: Likewise.
16832 * localedata/locales/sq_AL: Likewise.
16833 * localedata/locales/sv_FI: Likewise.
16834 * localedata/locales/sv_FI@euro: Likewise.
16835 * localedata/locales/sv_SE: Likewise.
16836 * localedata/locales/szl_PL: Likewise.
16837 * localedata/locales/tg_TJ: Likewise.
16838 * localedata/locales/ti_ER: Likewise.
16839 * localedata/locales/tk_TM: Likewise.
16840 * localedata/locales/tl_PH: Likewise.
16841 * localedata/locales/tr_TR: Likewise.
16842 * localedata/locales/tt_RU: Likewise.
16843 * localedata/locales/tt_RU@iqtelif: Likewise.
16844 * localedata/locales/ug_CN: Likewise.
16845 * localedata/locales/uk_UA: Likewise.
16846 * localedata/locales/uz_UZ: Likewise.
16847 * localedata/locales/uz_UZ@cyrillic: Likewise.
16848 * localedata/locales/vi_VN: Likewise.
16849 * localedata/locales/yi_US: Likewise.
16850 * localedata/locales/yo_NG: Likewise.
16851
16852 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16853
16854 * gen-locales.mk: Make test files which contain @ modifiers in their
16855 name work.
16856 * localedata/gen-locale.sh: Likewise.
16857
16858 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16859
16860 * posix/tst-fnmatch.input: Fix results for range expressions
16861 for non C locales.
16862 * posix/tst-regexloc.c: Do not use a range expression for
16863 de_DE.ISO-8859-1 locale.
16864
16865 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16866
16867 * posix/bug-regex5.c: Fix test case because with the new
16868 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16869 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16870 file.
16871
16872 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16873
16874 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16875 downloaded from ISO, the collation order of @-. and space has changed.
16876 Therefore, this test file needed to be adapted.
16877 * localedata/fr_CA.UTF-8.in: Likewise.
16878 * localedata/fr_FR.UTF-8.in: Likewise.
16879 * localedata/uk_UA.UTF-8.in: Likewise.
16880
16881 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16882
16883 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16884 order of ȥ in the new iso14651_t1_common file.
16885 * localedata/pl_PL.UTF-8.in: Likewise.
16886
16887 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16888
16889 * localedata/locales/iso14651_t1_common: Add sections for various
16890 scripts to the iso14651_t1_common file.
16891
16892 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16893
16894 * localedata/locales/iso14651_t1_common: Use the code point of a
16895 character in the fourth collation level instead of IGNORE for all
16896 entries which have IGNORE on all 4 levels.
16897
16898 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16899
16900 * localedata/locales/iso14651_t1_common: Add some convenient collation
16901 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16902 rules similar to those in CLDR.
16903
16904 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16905
16906 * localedata/locales/iso14651_t1_common: The new version of this
16907 file downloaded from ISO contained several syntax errors which
16908 are fixed by this patch.
16909
16910 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16911
16912 * localedata/locales/iso14651_t1_common: replace all <U.....>
16913 with <U000.....> because glibc understands only 4 digit or 8 digit
16914
16915 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16916
16917 * localedata/locales/iso14651_t1_common: Necessary changes
16918 to make the file downloaded from ISO usable by glibc.
16919
16920 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16921
16922 [BZ #14095]
16923 * localedata/locales/iso14651_t1_common: Update file to
16924 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16925
16926 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16927
16928 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16929 of <nptl/pthreadP.h>
16930 (thread_attr_compare): Move function to...
16931 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16932 * sysdeps/nptl/timer_routines.h: ... new header.
16933 * sysdeps/mach/hurd/gai_misc.h: New file.
16934
16935 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16936
16937 * string/strcoll_l.c: Include <libc-diag.h>.
16938 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16939 declarations of seq1 and seq2.
16940
16941 [BZ #15105]
16942 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16943 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16944
16945 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16946
16947 [BZ #22433]
16948 [BZ #22807]
16949 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16950 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16951 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16952 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16953 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16954 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16955
16956 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16957
16958 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16959 macros used in __ptrace_request.
16960
16961 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16962
16963 [BZ #22792]
16964 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16965 to $(CC).
16966 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16967 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16968 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16969 <tcb-offsets.h>.
16970
16971 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16972
16973 [BZ #15105]
16974 * ctype/ctype.c (tolower): Use libc_hidden_def.
16975 (toupper): Likewise.
16976 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16977 [!_ISOMAC] (toupper): Likewise.
16978
16979 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16980
16981 * localedata/Makefile: Remove --quiet argument when
16982 installing locales
16983
16984 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16985
16986 [BZ #17438]
16987 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16988 in d_fmt.
16989 * localedata/locales/pt_PT (LC_TIME): likewise
16990
16991 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16992
16993 [BZ #22646]
16994 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16995 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16996 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16997
16998 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16999
17000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17001
17002 * nptl/Makefile (routines): Remove unregister-atfork.
17003 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17004 (fork_handler_alloc): Remove function.
17005 (fork_handlers, fork_handler_init): New variables.
17006 (__fork_lock): Rename to atfork_lock.
17007 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17008 to use a dynamic array to add/remove atfork handlers.
17009 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17010 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17011 Remove declaration.
17012 (fork_handler): Remove next, refcntr, and need_signal member.
17013 (__run_fork_handler_type): New enum.
17014 (__run_fork_handlers): New prototype.
17015 * nptl/register-atfork.c: Remove file.
17016 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17017
17018 * sysdeps/nptl/nptl-signals.h: Move to ...
17019 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17020 comments.
17021 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17022 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17023 unnecessary check for SIGTIMER.
17024 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17025 remove unnecessary removal of SIGTIMER.
17026 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17027 include-signals.h rename.
17028 * nptl/pthreadP.h: Likewise.
17029 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17030 __is_internal_signal instead of __nptl_is_internal_signal.
17031
17032 2018-02-22 Andrew Waterman <andrew@sifive.com>
17033
17034 [BZ # 22884]
17035 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17036 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17037 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17038 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17039
17040 2018-02-22 DJ Delorie <dj@delorie.com>
17041
17042 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17043
17044 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17045
17046 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17047 do_misaligned, not misaligned8.
17048
17049 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17050
17051 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17052 Add memcpy_thunderx2.
17053 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17054 Increment to 4.
17055 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17056 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17057 and IS_THUNDERX2PA checks.
17058 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17059 Use macro to set name appropriately.
17060 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17061 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17062 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17063 New macro.
17064 (IS_THUNDERX2): New macro.
17065
17066 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17067
17068 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17069
17070 2018-02-21 Zack Weinberg <zackw@panix.com>
17071
17072 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17073 Define here, unconditionally.
17074 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17075 * libio/libioP.h: Remove #if 0 blocks.
17076 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17077 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17078 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17079
17080 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17081 Assume weak_alias is always defined.
17082
17083 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17084 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17085 Remove #if 0 and #ifdef TODO blocks.
17086 Assume text_set_element is always defined.
17087
17088 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17089 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17090 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17091
17092 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17093 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17094 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17095 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17096 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17097 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17098 Reformat bit flags for _flags field to make occupancy clearer.
17099 Update commentary.
17100 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17101 Keep definitions consistent with those in libio/libio.h.
17102
17103 * libio/libio.h (_IO_file_flags): Remove macro.
17104 All uses changed to _flags.
17105
17106 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17107 (__HAVE_COLUMN, _IO_BE): Don't define.
17108 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17109 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17110 * libio/libioP.h (EOF): Don't define.
17111 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17112 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17113 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17114 testing _IO_UNIFIED_JUMPTABLES.
17115
17116 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17117 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17118 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17119 (_IO_size_t): Delete; all uses changed to size_t.
17120 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17121 (_IO_off_t): Delete; all uses changed to off_t.
17122 (_IO_off64_t): Delete; all uses changed to off64_t.
17123 (_IO_pid_t): Delete; all uses changed to pid_t.
17124 (_IO_uid_t): Delete; all uses changed to uid_t.
17125 (_IO_wint_t): Delete; all uses changed to wint_t.
17126 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17127 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17128 (_IO_cookie_io_functions_t): Delete; all uses changed to
17129 cookie_io_functions_t.
17130 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17131 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17132 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17133 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17134
17135 * libio/iofopncook.c: Remove unnecessary forward declarations.
17136 * libio/iolibio.h: Correct outdated commentary.
17137 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17138 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17139 Remove unnecessary casts.
17140 * stdio-common/getline.c: Use _IO_getdelim directly.
17141 Don't redefine ssize_t.
17142 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17143 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17144 Remove outdated comments.
17145 * stdio-common/vfscanf.c: Don't redefine va_list.
17146
17147 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17148 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17149 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17150 which are always true, and __cplusplus, which is always false.
17151
17152 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17153
17154 [BZ #15105]
17155 [BZ #19463]
17156 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17157 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17158 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17159 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17160 libc_hidden_proto.
17161 [!_ISOMAC] (putc_unlocked): Likewise.
17162 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17163 define inline if [__USE_EXTERN_INLINES].
17164 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17165 putc_unlocked.
17166
17167 [BZ #15105]
17168 [BZ #19463]
17169 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17170 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17171 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17172 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17173 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17174 getc_unlocked.
17175 * time/tzfile.c (__tzfile_read): Likewise.
17176
17177 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17178
17179 [BZ #22517]
17180 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17181
17182 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17183
17184 * io/fcntl.h: Fix a typo in a comment.
17185
17186 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17187
17188 [BZ #22862]
17189 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17190 define _DEFAULT_SOURCE.
17191 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17192
17193 2018-02-21 Florian Weimer <fweimer@redhat.com>
17194
17195 [BZ #20890]
17196 * elf/cache.c (save_cache): Call fsync on temporary file before
17197 renaming it.
17198 (save_aux_cache): Call fdatasync on temporary file before renaming
17199 it.
17200
17201 2018-02-21 Florian Weimer <fweimer@redhat.com>
17202
17203 [BZ #22787]
17204 * include/caller.h: Remove file.
17205 * elf/dl-caller.c: Likewise.
17206 * elf/Makefile (dl-routines): Remove dl-caller.
17207 (shared-only-routines): Do not add dl-caller.
17208 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17209 __check_caller.
17210 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17211 member.
17212 (dl_open_worker): Do not call __check_caller.
17213 (_dl_open): Do not set caller_dl_open member.
17214 * elf/rtld.c (_rtld_global_ro): Do not initialize
17215 _dl_check_caller member.
17216 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17217 _dl_check_caller member.
17218 (_dl_check_caller): Remove declaration.
17219 * sysdeps/unix/sysv/linux/dl-execstack.c
17220 (_dl_make_stack_executable): Do not call __check_caller.
17221
17222 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17223
17224 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17225 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17226
17227 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17228
17229 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17230 description.
17231
17232 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17233
17234 [BZ #16335]
17235 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17236 of 199606L, 200112L, and 200809L.
17237 (_XOPEN_SOURCE): Document special values of 600 and 700.
17238 (_ISOC11_SOURCE): Document macro.
17239 (_ATFILE_SOURCE): Likewise.
17240 (_FORTIFY_SOURCE): Likewise.
17241
17242 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17243
17244 [BZ #15105]
17245 [BZ #19463]
17246 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17247 and define as weak alias of __ferror_unlocked. Use
17248 libc_hidden_weak.
17249 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17250 libc_hidden_proto.
17251 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17252 function if [__USE_EXTERN_INLINES].
17253 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17254 ferror_unlocked.
17255
17256 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17257
17258 [BZ #6889]
17259 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17260
17261 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17262
17263 [BZ #22818]
17264 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17265 the GLIBC_2.1 version.
17266
17267 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17268
17269 [BZ #21508]
17270 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17271 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17272 intl/tst-gettext-de.po from po/de.po by removing the
17273 POT-Creation-Date line.
17274 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17275 ../po/de.po.
17276 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17277 ../po/de.po.
17278
17279 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17280
17281 * mach/Makefile (headers): Add mach/param.h.
17282 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17283 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17284 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17285 (__ptsname_r): Move implementation to...
17286 (__ptsname_internal): ... new function. Add filling the STP
17287 structure.
17288
17289 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17290
17291 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17292 idouble to 1 ULP.
17293
17294 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17295
17296 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17297 syntax.
17298
17299 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17300
17301 * nptl/Makefile (tst-mutex8-ENV): Delete.
17302 * nptl/tst-mutex8.c (check_type):
17303 Add runtime check if mutex will be elided.
17304
17305 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17306
17307 [BZ #20980]
17308 [BZ #21234]
17309 * manual/install.texi (Configuring and compiling): Describe
17310 passing CC and CFLAGS on configure command line, not as
17311 environment variables. Use @code markup on those variables.
17312 Specify what options go in CC and what go in CFLAGS. Note the
17313 requirement to compile with optimization.
17314 * INSTALL: Regenerated.
17315
17316 [BZ #18124]
17317 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17318 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17319 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17320 __sigprocmask instead of sigprocmask.
17321 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17322 Likewise.
17323 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17324 __sigsetjmp and sigprocmask.
17325
17326 [BZ #15105]
17327 * include/argz.h (argz_next): Use libc_hidden_proto.
17328 (__argz_next): Likewise.
17329 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17330 (argz_next): Use libc_hidden_weak.
17331
17332 [BZ #15105]
17333 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17334 libc_hidden_proto.
17335 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17336 libc_hidden_def.
17337
17338 [BZ #15105]
17339 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17340 libc_hidden_proto.
17341 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17342
17343 [BZ #15105]
17344 [BZ #19463]
17345 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17346 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17347 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17348 (__feof_unlocked): New declaration, and inline function if
17349 [__USE_EXTERN_INLINES].
17350 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17351 instead of feof_unlocked.
17352 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17353 * nss/nsswitch.c (nss_parse_file): Likewise.
17354 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17355 Likewise.
17356 * time/getdate.c (__getdate_r): Likewise.
17357 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17358 Define as macro to call __feof_unlocked.
17359
17360 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17361
17362 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17363
17364 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17365
17366 * math/Makefile: Remove mpexp.c and mplog.c
17367 * sysdeps/i386/fpu/mpexp.c: Delete file.
17368 * sysdeps/i386/fpu/mplog.c: Likewise.
17369 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17370 * sysdeps/ia64/fpu/mplog.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17372 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17373 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17374 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17375 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17376 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17377 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17378 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17379 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17380 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17381 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17382 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17383 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17384 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17385 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17386 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17387
17388 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17389
17390 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17391
17392 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17393
17394 * sysdeps/sh/libm-test-ulps: Update.
17395
17396 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17397
17398 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17399 idouble to 1 ULP.
17400
17401 2018-02-12 Zack Weinberg <zackw@panix.com>
17402
17403 [BZ #19239]
17404 * posix/sys/types.h: Don't include sys/sysmacros.h.
17405 * misc/sys/sysmacros.h: Remove the conditional deprecation
17406 warnings for the macros defined by this header.
17407
17408 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17409
17410 * manual/probes.texi: Remove slowexp probes.
17411 * math/Makefile: Remove slowexp.
17412 * sysdeps/generic/math_private.h (__slowexp): Remove.
17413 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17414 document error bounds.
17415 * sysdeps/i386/fpu/slowexp.c: Remove.
17416 * sysdeps/ia64/fpu/slowexp.c: Remove.
17417 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17418 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17419 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17420 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17421 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17422 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17423 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17425 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17426 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17427 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17428
17429 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17430
17431 [BZ #13932]
17432 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17433 * benchtests/pow-inputs: Update comment for slow path cases.
17434 * manual/probes.texi (slowpow_p10): Delete removed probe.
17435 (slowpow_p10): Likewise.
17436 * math/Makefile: Remove halfulp.c and slowpow.c.
17437 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17438 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17439 (__halfulp): Remove.
17440 (__slowpow): Remove.
17441 * sysdeps/i386/fpu/halfulp.c: Delete file.
17442 * sysdeps/i386/fpu/slowpow.c: Likewise.
17443 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17444 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17445 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17446 improve comments and add error analysis.
17447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17448 (power1): Remove function:
17449 (log1): Remove error argument, add error analysis.
17450 (my_log2): Remove function.
17451 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17452 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17453 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17454 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17455 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17456 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17457 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17458 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17459 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17460 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17461 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17462 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17463 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17464 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17465
17466 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17467
17468 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17469 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17470
17471 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17472
17473 [BZ #22433]
17474 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17475 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17476 and PTRACE_SETHBPREGS.
17477
17478 2018-02-10 Zack Weinberg <zackw@panix.com>
17479
17480 [BZ #22830]
17481 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17482 correctly.
17483 * malloc/tst-malloc-stats-cancellation.c: New test case.
17484 * malloc/Makefile: Add new test case.
17485
17486 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17487
17488 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17489
17490 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17491
17492 * math/Makefile (libm-narrow-fns): Add add.
17493 (libm-test-funcs-narrow): Likewise.
17494 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17495 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17496 * math/gen-auto-libm-tests.c (test_functions): Add add.
17497 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17498 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17499 (NARROW_ADD_TRIVIAL): Likewise.
17500 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17501 macro.
17502 (__daddl): Likewise.
17503 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17504 dadd.
17505 (CFLAGS-nldbl-dadd.c): New variable.
17506 (CFLAGS-nldbl-fadd.c): Likewise.
17507 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17508 __nldbl_daddl.
17509 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17510 prototype.
17511 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17512 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17513 * math/auto-libm-test-in: Add tests of add.
17514 * math/auto-libm-test-out-narrow-add: New generated file.
17515 * math/libm-test-narrow-add.inc: New file.
17516 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17519 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17520 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17521 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17530 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17531 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17532 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17533 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17535 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17538 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17539 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17544 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17545 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17546 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17547 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17552 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17553 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17554 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17555 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17556 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17557 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17558 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17559 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17560 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17561 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17562
17563 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17564 (f128-pairs): New variable.
17565 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17566 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17567 to CFLAGS.
17568 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17569 Also make tests add $(f128-loader-link) to gnulib-tests.
17570
17571 2018-02-09 DJ Delorie <dj@redhat.com>
17572
17573 [BZ #22827]
17574 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17575 64-bit ELF type for 64-bit ELF objects.
17576
17577 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17578
17579 * math/libm-test-driver.c (snan_tests_arg): New variable.
17580 * math/libm-test-support.h (snan_tests_arg): New declaration.
17581 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17582
17583 * math/Makefile (test-type-pairs): New variable.
17584 (test-type-pairs-f64xf128-yes): Likewise.
17585 (tests): Add test-narrow-macros.
17586 (libm-test-funcs-narrow): New variable.
17587 (libm-test-c-narrow): Likewise.
17588 (generated): Add $(libm-test-c-narrow).
17589 (libm-tests-base-narrow): New variable.
17590 (libm-tests-narrow): Likewise.
17591 (libm-tests): Add $(libm-tests-narrow).
17592 (libm-tests-for-type): Handle $(libm-tests-narrow).
17593 (libm-test-c-narrow-obj): New variable.
17594 ($(libm-test-c-narrow-obj)): New rule.
17595 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17596 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17597 $(o-iterator) to set dependencies and CFLAGS.
17598 * math/gen-auto-libm-tests.c: Document use for narrowing
17599 functions.
17600 (output_for_one_input_case): Take argument NARROW.
17601 (generate_output): Likewise. Update call to
17602 output_for_one_input_case.
17603 (main): Take --narrow option. Update call to generate_output.
17604 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17605 (apply_lit): Update call to _apply_lit.
17606 (apply_arglit): New function.
17607 (parse_args): Handle "a" arguments.
17608 (parse_auto_input): Handle format names using ":".
17609 * math/README.libm-test: Document "a" parameter type.
17610 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17611 (ARG_TYPE_TRUE_MIN): Likewise.
17612 (ARG_TYPE_MAX): Likwise.
17613 (ARG_MIN_EXP): Likewise.
17614 (ARG_MAX_EXP): Likewise.
17615 (ARG_MANT_DIG): Likewise.
17616 (TEST_COND_arg_ibm128): Likewise.
17617 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17618 (TEST_COND_arg_fmt): New macro.
17619 (init_max_error): Update prototype.
17620 * math/libm-test-support.c (test_ibm128): New variable.
17621 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17622 instead of using [TEST_COND_ibm128] conditional.
17623 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17624 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17625 [TEST_NARROW] (TEST_MSG): New definition.
17626 (arg_plus_zero): New macro.
17627 (arg_minus_zero): Likewise.
17628 (arg_plus_infty): Likewise.
17629 (arg_minus_infty): Likewise.
17630 (arg_qnan_value_pl): Likewise.
17631 (arg_qnan_value): Likewise.
17632 (arg_snan_value_pl): Likewise.
17633 (arg_snan_value): Likewise.
17634 (arg_max_value): Likewise.
17635 (arg_min_value): Likewise.
17636 (arg_min_subnorm_value): Likewise.
17637 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17638 (RUN_TEST_LOOP_aa_f): New macro.
17639 (TEST_SUFF): New macro.
17640 (TEST_SUFF_STR): Likewise.
17641 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17642 (TEST_COND_any_ibm128): New macro.
17643 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17644 this_func. Update call to init_max_error.
17645 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17646 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17647 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17648 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17649 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17650 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17651 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17652 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17653 * math/test-math-vector.h (TEST_NARROW): Likewise.
17654 * math/test-arg-double.h: New file.
17655 * math/test-arg-float128.h: Likewise.
17656 * math/test-arg-float32x.h: Likewise.
17657 * math/test-arg-float64.h: Likewise.
17658 * math/test-arg-float64x.h: Likewise.
17659 * math/test-arg-ldouble.h: Likewise.
17660 * math/test-math-narrow.h: Likewise.
17661 * math/test-narrow-macros.c: Likewise.
17662 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17663 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17664 test-narrow-macros-ldbl-64.
17665 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17666
17667 * math/bits/mathcalls-narrow.h: New file.
17668 * include/bits/mathcalls-narrow.h: Likewise.
17669 * math/math-narrow.h: Likewise.
17670 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17671 (__MATHCALL_NARROW_ARGS_2): Likewise.
17672 (__MATHCALL_NARROW_ARGS_3): Likewise.
17673 (__MATHCALL_NARROW_NORMAL): Likewise.
17674 (__MATHCALL_NARROW_REDIR): Likewise.
17675 (__MATHCALL_NARROW): Likewise.
17676 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17677 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17678 defined.
17679 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17680 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17681 (libm-narrow-fns): New variable.
17682 (libm-narrow-types-basic): Likewise.
17683 (libm-narrow-types-ldouble-yes): Likewise.
17684 (libm-narrow-types-float128-yes): Likewise.
17685 (libm-narrow-types-float128-alias-yes): Likewise.
17686 (libm-narrow-types): Likewise.
17687 (libm-routines): Add narrowing functions.
17688 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17689 (libc_feholdexcept_setroundf128): New macro.
17690 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17691 * sysdeps/ieee754/float128/float128_private.h: Include
17692 <math/math-narrow.h>.
17693 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17694 Undefine and redefine.
17695 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17696 (libm_alias_float_ldouble): Undefine and redefine.
17697 (libm_alias_double_ldouble): Likewise.
17698
17699 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17700
17701 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17702
17703 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17704 FPCR/FPSR.
17705
17706 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17707
17708 * manual/creature.texi: Convert references to gcc.info to gcc.
17709 * manual/stdio.texi: Likewise.
17710 * manual/string.texi: Likewise.
17711
17712 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17713
17714 [BZ #17979]
17715 * posix/bits/types.h (__int_least8_t): New typedef.
17716 (__uint_least8_t): Likewise.
17717 (__int_least16_t): Likewise.
17718 (__uint_least16_t): Likewise.
17719 (__int_least32_t): Likewise.
17720 (__uint_least32_t): Likewise.
17721 (__int_least64_t): Likewise.
17722 (__uint_least64_t): Likewise.
17723 * sysdeps/generic/stdint.h (int_least8_t): Define using
17724 __int_least8_t.
17725 (int_least16_t): Define using __int_least16_t.
17726 (int_least32_t): Define using __int_least32_t.
17727 (int_least64_t): Define using __int_least64_t.
17728 (uint_least8_t): Define using __uint_least8_t.
17729 (uint_least16_t): Define using __uint_least16_t.
17730 (uint_least32_t): Define using __uint_least32_t.
17731 (uint_least64_t): Define using __uint_least64_t.
17732 * wcsmbs/uchar.h: Include <bits/types.h>.
17733 (char16_t): Define using __uint_least16_t conditional only on
17734 [!__USE_ISOCXX11].
17735 (char32_t): Define using __uint_least32_t conditional only on
17736 [!__USE_ISOCXX11].
17737 * wcsmbs/test-char-types.c: New file.
17738 * wcsmbs/Makefile (tests): Add test-char-types.
17739
17740 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17741 version to 4.0.1.
17742
17743 2018-02-07 Zack Weinberg <zackw@panix.com>
17744
17745 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17746 Delete all contents except for definitions of _G_HAVE_MMAP and
17747 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17748 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17749 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17750 change as above.
17751
17752 * libio/libio.h: Don't include bits/_G_config.h here.
17753 Include stddef.h with __need_wchar_t defined. Include
17754 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17755 Define _IO_iconv_t here, directly.
17756 Don't define _IO_HAVE_ST_BLKSIZE.
17757 * libio/libioP.h: Include _G_config.h here. Move include of
17758 shlib-compat.h up with rest of includes. Simplify conditionals
17759 controlling definition of _IO_JUMPS_OFFSET.
17760
17761 * csu/init.c: Remove always-true #if around entire file.
17762 Don't include stdio.h. Set _IO_stdin_used to hardwired
17763 constant 0x20001, and update commentary.
17764 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17765 Replace all uses of _G_va_list with __gnuc_va_list.
17766 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17767 instead of #if _IO_HAVE_ST_BLKSIZE.
17768 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17769 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17770 not #ifdef.
17771
17772 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17773 multiple-include guard to match.
17774 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17775 into this file.
17776 Remove preprocessor conditionals that are always true and/or
17777 redundant to other preprocessor conditionals in the same nest.
17778 Include shlib-compat.h unconditionally.
17779 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17780 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17781 defined after including stdio.h.
17782 Use __BEGIN_DECLS/__END_DECLS.
17783
17784 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17785 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17786 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17787
17788 2018-02-07 Zack Weinberg <zackw@panix.com>
17789
17790 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17791 New single-type headers split from _G_config.h.
17792 * libio/bits/types/cookie_io_functions_t.h
17793 * libio/bits/types/struct_FILE.h
17794 New single-type headers split from libio.h.
17795
17796 * libio/Makefile: Install the above new headers. Don't install
17797 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17798 bits/libio-ldbl.h.
17799 * libio/_G_config.h, libio/libio.h: Delete file.
17800
17801 * libio/bits/libio.h: Remove improper-inclusion guard.
17802 Include stdio.h and don't repeat anything that it does.
17803 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17804 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17805 __io_read_fn as cookie_read_function_t,
17806 __io_write_fn as cookie_write_function_t,
17807 __io_seek_fn as cookie_seek_function_t,
17808 __io_close_fn as cookie_close_function_t,
17809 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17810 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17811 here, in the "compatibility defines" section. Remove an #if 0
17812 block. Use the "body" macros from bits/types/struct_FILE.h to
17813 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17814 and _IO_ferror_unlocked.
17815 Move prototypes of __uflow and __overflow...
17816
17817 * libio/stdio.h: ...here. Don't include bits/libio.h.
17818 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17819 directly from stdarg.h. Include bits/types/__fpos_t.h,
17820 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17821 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17822 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17823 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17824 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17825 __ssize_t, not _IO_ssize_t. Unconditionally define
17826 BUFSIZ as 8192 and EOF as (-1).
17827
17828 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17829 macros from bits/types/struct_FILE.h instead of _IO_* macros
17830 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17831 instead of _IO_ssize_t.
17832 * libio/bits/stdio2.h: Similarly.
17833
17834 * libio/iolibio.h: Add multiple-include guard.
17835 Include bits/libio.h after stdio.h.
17836 * libio/libioP.h: Add multiple-include guard.
17837 Include stdio.h and bits/libio.h before iolibio.h.
17838
17839 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17840 * include/bits/types/cookie_io_functions_t.h
17841 * include/bits/types/struct_FILE.h: New wrappers.
17842
17843 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17844 Get definitions of _G_fpos_t and _G_fpos64_t from
17845 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17846 respectively. Remove improper-inclusion guards.
17847
17848 * conform/data/stdio.h-data: Update expectations of va_list.
17849 * scripts/check-installed-headers.sh: Remove special case for
17850 libio.h and _G_config.h.
17851
17852 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17853
17854 [BZ #15105]
17855 [BZ #19463]
17856 * include/sys/sysmacros.h [!_ISOMAC]
17857 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17858 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17859 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17860 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17861 libc_hidden_proto.
17862 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17863 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17864 Likewise.
17865 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17866 Undefine and redefine to add use __gnu_dev_ prefix.
17867 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17868 Likewise.
17869 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17870 and define as hidden inline function.
17871 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17872 Likewise.
17873 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17874 Likewise.
17875 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17876 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17877 (gnu_dev_minor): Likewise.
17878 (gnu_dev_makedev): Likewise.
17879 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17880 makedev.
17881 * posix/wordexp.c (exec_comm_child): Likewise.
17882 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17883 instead of minor and __gnu_dev_major instead of major.
17884 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17885 __gnu_dev_major instead of major.
17886 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17887 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17888 instead of gnu_dev_minor.
17889 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17890 (SLAVE_P): Likewise.
17891 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17892 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17893 instead of major.
17894
17895 [BZ #21313]
17896 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17897 in another place.
17898 * locale/weightwc.h (findidx): Likewise.
17899
17900 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17901
17902 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17903 (slowlog_inexact): Likewise
17904 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17905 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17906
17907 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17908
17909 [BZ #22797]
17910 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17911 missing second underscore to parameter name.
17912
17913 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17914
17915 [BZ #14508]
17916 [BZ #15512]
17917 [BZ #17082]
17918 [BZ #20530]
17919 * bits/byteswap.h: Update file comment. Do not include
17920 <bits/byteswap-16.h>.
17921 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17922 constant.
17923 (__bswap_16): Define as inline function.
17924 (__bswap_constant_32): Reformat definition.
17925 (__bswap_32): Always define as inline function, not macro, using
17926 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17927 otherwise __bswap_constant_32.
17928 (__bswap_constant_64): Reformat definition. Do not use
17929 __extension__ here.
17930 (__bswap_64): Always define as inline function, not macro. Use
17931 __extension__ on function definition. Use __builtin_bswap64 if
17932 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17933 * string/test-endian-file-scope.c: New file.
17934 * string/test-endian-sign-conversion.c: Likewise.
17935 * string/Makefile (headers): Remove bits/byteswap-16.h.
17936 (tests): Add test-endian-file-scope and
17937 test-endian-sign-conversion.
17938 (CFLAGS-test-endian-sign-conversion.c): New variable.
17939 * bits/byteswap-16.h: Remove file.
17940 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17941 * sysdeps/ia64/bits/byteswap.h: Likewise.
17942 * sysdeps/m68k/bits/byteswap.h: Likewise.
17943 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17944 * sysdeps/s390/bits/byteswap.h: Likewise.
17945 * sysdeps/tile/bits/byteswap.h: Likewise.
17946 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17947 * sysdeps/x86/bits/byteswap.h: Likewise.
17948
17949 [BZ #17721]
17950 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17951 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17952 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17953 199901L] (__restrict): Define to restrict.
17954
17955 [BZ #19667]
17956 * string/testcopy.c: Include <support/support.h>. Do not include
17957 <malloc.h>. Use <support/test-driver.c>.
17958 (main): Rename to do_test. Make static. Use xmalloc instead of
17959 malloc.
17960
17961 [BZ #13575]
17962 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17963 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17964 (SSIZE_MAX): Define to INT_MAX.
17965 * posix/test-ssize-max.c: New file.
17966 * posix/Makefile (tests): Add test-ssize-max.
17967
17968 [BZ #19668]
17969 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17970 <support/support.h>. Do not include <malloc.h>.
17971 (query_auxv): Use xmalloc instead of malloc.
17972
17973 [BZ #14553]
17974 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17975 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17976 instead of loff_t.
17977
17978 2018-02-06 Florian Weimer <fweimer@redhat.com>
17979
17980 [BZ #18023]
17981 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17982 Use scratch_buffer instead of extend_alloca.
17983
17984 2018-02-06 Zack Weinberg <zackw@panix.com>
17985
17986 * libio/stdio.h: Don't define getc or putc as macros.
17987 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17988 not _IO_getc and _IO_putc.
17989
17990 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17991 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17992
17993 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17994
17995 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17996 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17997
17998 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17999
18000 [BZ #14890]
18001 * elf/elf.h (NT_PRFPREG): New macro.
18002 (NT_S390_VXRS_LOW): Likewise.
18003 (NT_S390_VXRS_HIGH): Likewise.
18004 (NT_S390_GS_CB): Likewise.
18005 (NT_S390_GS_BC): Likewise.
18006 (NT_S390_RI_CB): Likewise.
18007
18008 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18009 (MAP_SYNC): New macro.
18010 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18011 Likewise.
18012 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18013 (MAP_SYNC): Likewise.
18014 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18015 (MAP_SYNC): Likewise.
18016 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18017 (MAP_SYNC): Likewise.
18018 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18019 (MAP_SYNC): Likewise.
18020 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18021 (MAP_SYNC): Likewise.
18022 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18023 (MAP_SYNC): Likewise.
18024 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18025 Likewise.
18026 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18027 Likewise.
18028
18029 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18030 (MAP_SHARED_VALIDATE): New macro.
18031 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18032 (MAP_SHARED_VALIDATE): Likewise.
18033
18034 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18035
18036 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18037 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18038 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18039
18040 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18041
18042 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18043 (DT_NUM): Updated to 35.
18044
18045 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18046
18047 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18048 __builtin_expect with __glibc_likely and __glibc_unlikely.
18049 (elf_machine_rela): Likewise.
18050 (elf_machine_lazy_rel): Likewise.
18051
18052 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18053
18054 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18055 __builtin_expect with __glibc_likely and __glibc_unlikely.
18056 (elf_machine_lazy_rel): Likewise.
18057
18058 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18059
18060 [BZ #22638]
18061 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18062 SHARED.
18063 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18064
18065 2018-02-05 Andreas Schwab <schwab@suse.de>
18066
18067 [BZ #22761]
18068 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18069 string.
18070
18071 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18072
18073 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18074 not check against PTHREAD_STACK_MIN.
18075
18076 2018-02-02 Sean McKean <smckean83@gmail.com>
18077
18078 [BZ #22735]
18079 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18080
18081 2018-02-02 Florian Weimer <fweimer@redhat.com>
18082
18083 [BZ #22753]
18084 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18085 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18086 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18087 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18088 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18089 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18090 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18091 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18092 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18093 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18094 * misc/tst-preadvwritev2.c (do_test): Call it.
18095 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18096
18097 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18098
18099 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18100
18101 * benchtests/bench-memcmp.c: Print json instead of plain text.
18102
18103 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18104 every test run.
18105
18106 2018-02-01 Joseph Myers <joseph@codesourcery.com>
18107
18108 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18109 version to 4.15.
18110 (s390_sthyi): New syscall.
18111
18112 * sysdeps/generic/ldbl-classify-compat.h: New file.
18113 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18114 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18115 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18116 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18117 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18118 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18119 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18120 <ldbl-classify-compat.h>.
18121 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18122 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18123 <ldbl-classify-compat.h>.
18124 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18125 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18126 <ldbl-classify-compat.h>.
18127 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18128 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18129 <ldbl-classify-compat.h>.
18130 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18132 <ldbl-classify-compat.h>.
18133 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18134 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18135 <ldbl-classify-compat.h>.
18136 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18137 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18138 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18139 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18140 * sysdeps/microblaze/math_private.h: Likewise.
18141 * sysdeps/nios2/math_private.h: Likewise.
18142 * sysdeps/sh/math_private.h: Likewise.
18143
18144 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18145 * sysdeps/m68k/coldfire/math_private.h: ... here.
18146 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18147 * sysdeps/tile/math_private.h: Likewise.
18148 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18149 Remove macro.
18150 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18151 Likewise.
18152
18153 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18154 Remove macro.
18155 (libc_fetestexcept): Likewise.
18156 (libc_feupdateenv_test): Likewise.
18157 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18158 (libc_fetestexcept): Likewise.
18159 (libc_feupdateenv_test): Likewise.
18160 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18161 (libc_fetestexcept): Likewise.
18162 (libc_feupdateenv_test): Likewise.
18163 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18164 (libc_fetestexcept): Likewise.
18165 (libc_feupdateenv_test): Likewise.
18166
18167 * sysdeps/generic/math_private.h
18168 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18169 New inline function.
18170 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18171 Likewise.
18172
18173 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18174 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18175 * sysdeps/generic/math_private.h
18176 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18177 inline function.
18178 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18179 Likewise.
18180 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18181 Likewise.
18182 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18183 Likewise.
18184 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18185 Likewise.
18186 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18187 Likewise.
18188 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18189 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18190 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18191 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18192 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18193 (__fegetenv): Likewise.
18194 (fesetenv): Likewise.
18195 (__fesetenv): Likewise.
18196 (feupdateenv): Likewise.
18197 (__feupdateenv): Likewise.
18198 (fegetround): Likewise.
18199 (__fegetround): Likewise.
18200 (fesetround): Likewise.
18201 (__fesetround): Likewise.
18202
18203 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18204 (feraiseexcept): New macro.
18205 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18206 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18207 Remove macro.
18208 (__feraiseexcept): Likewise.
18209 (feclearexcept): Likewise.
18210 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18211 (__feraiseexcept): Likewise.
18212 (feclearexcept): Likewise.
18213 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18214 (__feraiseexcept): Likewise.
18215 (feclearexcept): Likewise.
18216 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18217 (__feraiseexcept): Likewise.
18218 (feclearexcept): Likewise.
18219 (fetestexcept): Likewise.
18220
18221 * sysdeps/m68k/coldfire/math-tests.h: New file.
18222
18223 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18224 * sysdeps/m68k/bits/fenv.h: ... here.
18225 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18226 not define.
18227 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18228 Likewise.
18229 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18230 Likewise.
18231 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18232 Likewise.
18233 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18234 Likewise.
18235 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18236 Define to 0.
18237 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18238 (__FE_UNDEFINED): New enum constant.
18239 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18240 Do not define.
18241 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18242 Likewise.
18243 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18244 Likewise.
18245 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18246 to match generic bits/fenv.h.
18247 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18248 Do not define.
18249
18250 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18251 packed on bits.
18252 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18253 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18254 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18255 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18256
18257 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18258 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18259 Joseph Myers <joseph@codesourcery.com>
18260
18261 [BZ #21314]
18262 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18263 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18264 computation using c.
18265 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18266 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18267 computation using c.
18268
18269 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18270
18271 * version.h (RELEASE): Set to "development".
18272 (VERSION): Set to "2.27.9000".
18273 * NEWS (2.28): New section.
18274
18275 * version.h (RELEASE): Set to "stable".
18276 (VERSION): Set to "2.27".
18277 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18278
18279 * NEWS: Add the list of bugs fixed in 2.27.
18280
18281 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18282
18283 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18284 against PTHREAD_STACK_MIN.
18285
18286 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18287
18288 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18289 New entries.
18290 (Rafal Luzynski, Andreas Schwab): Update.
18291
18292 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18293
18294 [BZ #10871]
18295 * NEWS: List the languages which actually use the alternative
18296 months feature in this release. Also explain that "alt_mon" and
18297 "ab_alt_mon" are optional.
18298
18299 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18300
18301 [BZ #22765]
18302 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18303
18304 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18305
18306 * manual/install.texi (Tools for Compilation): Update the newest
18307 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18308 * INSTALL: Regenerated.
18309
18310 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18311
18312 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18313 instead of __builtin_expect.
18314
18315 2018-01-30 Florian Weimer <fweimer@redhat.com>
18316
18317 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18318 data.
18319 * nss/tst-nss-getpwent.c (do_test): Likewise.
18320
18321 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18322
18323 [BZ #10871]
18324 * localedata/locales/hr_HR (mon): Rename to...
18325 (alt_mon): This.
18326 (mon): Import from CLDR (genitive case).
18327 (d_t_fmt): Update the comment.
18328
18329 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18330
18331 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18332 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18333 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18334
18335 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18336
18337 * mach/Versions: Fix version when __mach_host_self_ was added.
18338 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18339 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18340 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18341 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18342 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18343 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18344 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18345 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18346 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18347 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18348 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18349 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18350 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18351 || to respect codestyle.
18352 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18353 (do_test_bz20181): Rename accordingly.
18354 * malloc/malloc.c: Include <assert.h>.
18355 (assert): Do not define.
18356 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18357 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18358 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18359 * sysdeps/mach/hurd/hp-timing.h: New file.
18360 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18361
18362 2018-01-29 Darius Rad <darius@bluespec.com>
18363
18364 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18365
18366 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18367
18368 * sysdeps/init_array/crti.S (.section .init_array): Add
18369 PREINIT_FUNCTION when defined.
18370 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18371 * config.h.in: Regenerate.
18372 * manual/platform.texi: Add RISC-V documenation for
18373 __riscv_flush_icache.
18374 * sysdeps/riscv/__longjmp.S: New file.
18375 * sysdeps/riscv/backtrace.c: Likewise.
18376 * sysdeps/riscv/bits/endian.h: Likewise.
18377 * sysdeps/riscv/bits/setjmp.h: Likewise.
18378 * sysdeps/riscv/bits/wordsize.h: Likewise.
18379 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18380 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18381 * sysdeps/riscv/dl-trampoline.S: Likewise.
18382 * sysdeps/riscv/gccframe.h: Likewise.
18383 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18384 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18385 * sysdeps/riscv/machine-gmon.h: Likewise.
18386 * sysdeps/riscv/memusage.h: Likewise.
18387 * sysdeps/riscv/setjmp.S: Likewise.
18388 * sysdeps/riscv/sys/asm.h: Likewise.
18389 * sysdeps/riscv/tls-macros.h: Likewise.
18390 * sysdeps/riscv/dl-tls.h: New file.
18391 * sysdeps/riscv/libc-tls.c: Likewise.
18392 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18393 * sysdeps/riscv/nptl/tls.h: Likewise.
18394 * sysdeps/riscv/stackinfo.h: Likewise.
18395 * sysdeps/riscv/bits/fenv.h: New file.
18396 * sysdeps/riscv/e_sqrtl.c: Likewise.
18397 * sysdeps/riscv/fpu_control.h: Likewise.
18398 * sysdeps/riscv/math-tests.h: Likewise.
18399 * sysdeps/riscv/nofpu/Implies: Likewise.
18400 * sysdeps/riscv/sfp-machine.h: Likewise.
18401 * sysdeps/riscv/tininess.h: Likewise.
18402 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18403 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18404 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18405 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18406 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18407 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18408 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18409 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18410 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18411 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18412 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18413 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18414 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18415 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18416 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18417 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18418 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18419 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18420 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18421 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18422 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18423 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18424 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18425 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18426 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18427 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18428 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18429 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18430 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18431 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18432 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18433 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18434 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18435 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18436 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18437 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18438 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18439 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18440 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18441 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18442 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18443 * sysdeps/riscv/rvf/math_private.h: Likewise.
18444 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18445 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18446 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18447 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18448 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18449 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18450 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18451 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18452 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18453 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18454 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18455 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18456 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18457 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18458 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18459 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18460 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18461 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18462 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18463 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18464 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18465 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18466 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18467 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18468 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18469 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18470 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18471 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18472 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18473 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18474 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18475 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18476 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18477 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18478 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18479 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18480 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18481 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18482 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18483 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18484 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18485 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18486 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18487 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18488 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18489 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18490 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18491 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18492 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18493 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18494 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18495 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18496 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18497 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18498 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18499 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18500 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18501 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18502 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18503 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18504 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18505 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18506 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18507 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18508 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18509 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18510 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18511 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18512 * sysdeps/riscv/Implies: New file.
18513 * sysdeps/riscv/Makefile: Likewise.
18514 * sysdeps/riscv/configure: Likewise.
18515 * sysdeps/riscv/configure.ac: Likewise.
18516 * sysdeps/riscv/nptl/Makefile: Likewise.
18517 * sysdeps/riscv/preconfigure: Likewise.
18518 * sysdeps/riscv/rv64/Implies-after: Likewise.
18519 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18520 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18521 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18522 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18523 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18524 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18525 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18526 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18527 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18528 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18529 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18530 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18531 (Config): Likewise.
18532
18533 2018-01-29 Florian Weimer <fweimer@redhat.com>
18534
18535 [BZ #22701]
18536 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18537 libnsl_hidden_proto.
18538 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18539 libnsl_hidden_proto.
18540 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18541 * nis/Makefile (libnsl-routines): Add nss-default only for
18542 build-obsolete-nsl.
18543 * nis/nis_defaults.c (__nis_default_ttl): Add
18544 libnsl_hidden_nolink_def.
18545 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18546 declaration.
18547 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18548 * nis/ypclnt.c (yp_maplist): Likewise.
18549
18550 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18551
18552 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18553 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18554
18555 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18556
18557 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18558 clean -dxfq for git updates when replacing sources.
18559
18560 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18561 --disable-libcilkrts unconditionally, not just for the final GCC
18562 build for Hurd.
18563
18564 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18565 version to 4.15.
18566
18567 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18568
18569 [BZ #10871]
18570 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18571 case).
18572
18573 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18574
18575 [BZ #10871]
18576 * localedata/locales/be_BY (mon): Rename to...
18577 (alt_mon): This, then synchronize with CLDR (nominative case).
18578 (abmon): Rename to...
18579 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18580 (mon): Import from CLDR (genitive case).
18581 (abmon): Likewise.
18582 * localedata/locales/be_BY@latin (mon): Rename to...
18583 (alt_mon): This.
18584 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18585
18586 * localedata/locales/be_BY@latin (lang_name): Reworded to
18587 "biełaruskaja mova".
18588
18589 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18590
18591 [BZ #10871]
18592 * localedata/locales/el_CY (mon): Renamed to...
18593 (alt_mon): This.
18594 (mon): Import from CLDR (genitive case).
18595 * localedata/locales/el_GR: Likewise.
18596
18597 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18598
18599 [BZ #10871]
18600 * localedata/locales/ru_RU (mon): Rename to...
18601 (alt_mon): This.
18602 (abmon): Rename to...
18603 (ab_alt_mon): This.
18604 (mon): Import from CLDR (genitive case).
18605 (abmon): Copy from the old content except the 5th month which is
18606 now in the genitive case, even when abbreviated.
18607 * localedata/locales/ru_UA: Likewise.
18608 * time/tst-strptime.c (day_tests): Add an actual example of
18609 a difference between %b and %Ob in Russian.
18610
18611 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18612
18613 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18614 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18615 a `c' variable.
18616 * resolv/res-close.c: Include <stdlib.h>.
18617 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18618 <sys/wait.h>, <time.h>, <sys/uio.h>.
18619 (NOT_CANCEL_H): Add inclusion guard.
18620 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18621 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18622 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18623 return 0.
18624 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18625 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18626 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18627 instead of void *.
18628 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18629 timer_ptr2id to cast struct timer_node * to void *.
18630 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18631 --disable-libcilkrts to gcc configure.
18632 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18633 and make them the default for now.
18634 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18635 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18636 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18637 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18638 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18639 MACH_IPC_COMPAT.
18640 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18641 __task_terminate would ever return successfully.
18642 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18643 to global scope.
18644 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18645 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18646 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18647 critical section to make code simpler and avoid warning.
18648 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18649 critical section to make code simpler and avoid warning.
18650 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18651 const char * instead of char *.
18652 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18653 __hurd_file_name_split, hurd_file_name_split,
18654 __hurd_directory_name_split, hurd_directory_name_split,
18655 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18656 hurd_file_name_path_lookup): Make lookup function parameter take a
18657 const char *name instead of char *name.
18658 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18659 __hurd_directory_name_split): Likewise.
18660 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18661 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18662 * sysdeps/mach/hurd/check_native.c: New file.
18663 * sysdeps/mach/hurd/check_pf.c: New file.
18664 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18665 (__freeifaddrs): Define macro to freeifaddrs.
18666 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18667 * sysdeps/mach/libmachuser.abilist: New file.
18668 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18669 (do_test_bz20181): Rename accordingly.
18670 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18671 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18672 <sys/mount.h>.
18673 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18674 version only if __USE_EXTERN_INLINES is defined.
18675 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18676 __hurd_sockfail): Likewise.
18677 (_hurd_fd_get): Always declare functions, and provide inline versions
18678 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18679 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18680 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18681 _hurd_port_set): Always declare functions, and provide inline versions
18682 only if __USE_EXTERN_INLINES and _LIBC are defined and
18683 IS_IN(libc).
18684 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18685 _hurd_critical_section_unlock): Likewise.
18686 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18687 * __hurd_threadvar_location): Likewise.
18688 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18689 _hurd_userlink_clear): Likewise.
18690 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18691 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18692 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18693 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18694 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18695 __spin_lock_locked): Likewise.
18696 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18697 __spin_lock_locked): Likewise.
18698 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18699 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18700 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18701 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18702 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18703 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18704 _POSIX_NO_TRUNC): Define to 0.
18705 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18706 check size against PTHREAD_STACK_MIN.
18707 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18708 IS_IN(libpthread)]: Include <sigsetops.h>.
18709 * mach/Makefile (user-interfaces): Add mach/gnumach.
18710 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18711 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18712 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18713 instead of invalid -1.
18714 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18715 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18716 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18717 <net/ppp_defs.h>.
18718
18719 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18720
18721 * hurd/fcntl-internal.h: New file.
18722
18723 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18724
18725 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18726
18727 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18728
18729 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18730
18731 [BZ #22701]
18732 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18733 Build only shared objects.
18734
18735 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18736
18737 * README: Update for hppa.
18738
18739 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18740
18741 * sysdeps/sparc/fpu/libm-test-ulps: Update
18742 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18743
18744 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18745
18746 Revert:
18747
18748 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18749
18750 [BZ #22563]
18751 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18752 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18753 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18754 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18755 to feature_1.
18756
18757 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18758
18759 [BZ #22563]
18760 * bits/types/__cancel_jmp_buf_tag.h: New file.
18761 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18762 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18763 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18764 * nptl/Makefile (headers): Add
18765 bits/types/__cancel_jmp_buf_tag.h.
18766 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18767 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18768 * sysdeps/nptl/pthread.h: Include
18769 <bits/types/__cancel_jmp_buf_tag.h>.
18770 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18771 __cancel_jmp_buf.
18772 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18773
18774 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18775
18776 [BZ #10871]
18777 * localedata/locales/uk_UA (mon): Renamed to...
18778 (alt_mon): This.
18779 (alt_digits): "0" removed and then renamed to...
18780 (mon): This.
18781 (date_fmt): Definition changed not to use the alternative
18782 digits hack.
18783
18784 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18785
18786 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18787 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18788 * elf/elf.h (EF_RISCV_RVC): New define.
18789 (EF_RISCV_FLOAT_ABI): Likewise.
18790 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18791 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18792 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18793 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18794 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18795 define.
18796 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18797
18798 2018-01-25 Andreas Schwab <schwab@suse.de>
18799
18800 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18801 single quotes.
18802 * sysdeps/gnu/configure: Regenerate.
18803 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18804 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18806 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18807 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18808 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18809 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18810 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18811
18812 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18813
18814 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18815 URL, and run autoconf, make it the default for now.
18816
18817 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18818
18819 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18820 soft-float ColdFire configuration.
18821
18822 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18823 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18824 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18825
18826 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18827 MicroBlaze file.
18828
18829 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18830 ....
18831 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18832 ... here.
18833 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18834 New file.
18835
18836 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18837 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18838 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18839 file.
18840
18841 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18842
18843 [BZ #22742]
18844 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18845 Rename to __reserved and add comment.
18846 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18847 Rename to __reserved.
18848
18849 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18850
18851 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18852 i686-gnu configurations.
18853 (Context.run_builds): Include mig, gnumach and hurd in components
18854 considered.
18855 (Context.checkout): Add mig, gnumach and hurd to components.
18856 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18857 hurd.
18858 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18859 (Config.build): Install gnumach headers, build mig and install
18860 hurd headers for 'gnu' OS.
18861 (Config.install_gnumach_headers): New function.
18862 (Config.install_hurd_headers): Likewise.
18863 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18864 when building for 'gnu' OS.
18865
18866 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18867
18868 * manual/tunables.texi (Hardware Capability Tunables): Fix
18869 spelling.
18870
18871 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18872
18873 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18874 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18875 (ALTMON_11, ALTMON_12): Improve documentation.
18876 * manual/time.texi (strftime): Likewise.
18877
18878 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18879
18880 [BZ #10871]
18881 * localedata/locales/pl_PL: Alternative month names added,
18882 primary month names are genitive now.
18883 * time/tst-strptime.c (day_tests): Actually use a genitive case
18884 of a month name in Polish language.
18885
18886 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18887
18888 [BZ #10871]
18889 * manual/locale.texi: Document ALTMON_1..12 constants for
18890 nl_langinfo. Specify when to use ALTMON instead of MON.
18891 * manual/time.texi (strftime, strptime): Document GNU extension
18892 permitting O modifier with %B and %b. Specify when to use
18893 %OB instead of %B.
18894
18895 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18896
18897 [BZ #10871]
18898 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18899 names, define them as the same as abbreviated month names explicitly.
18900 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18901 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18902 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18903 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18904 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18905 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18906 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18907 _NL_WABALTMON_12): New enum constants.
18908 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18909 wab_alt_mon, and ab_alt_mon_defined members.
18910 (time_output): Output ab_alt_mon and wab_alt_mon members.
18911 (time_read): Read them, initialize them as copies of abmon and wabmon
18912 respectively if they are missing, initialize ab_alt_mon_defined.
18913 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18914 * locale/programs/locfile-kw.h: Regenerate.
18915 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18916 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18917 and ru_RU.UTF-8.
18918 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18919 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18920 (__strftime_internal): Handle %Ob and %Oh formats.
18921 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18922 (__strptime_internal): Handle %Ob and %Oh formats.
18923 * time/tst-strptime.c (day_tests): Add more tests to parse different
18924 forms of month names including the new %Ob format specifier.
18925
18926 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18927
18928 [BZ #10871]
18929 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18930 define them as the same as primary full month names explicitly.
18931 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18932 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18933 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18934 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18935 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18936 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18937 _NL_WALTMON_12): New enum constants.
18938 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18939 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18940 macros.
18941 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18942 walt_mon, and alt_mon_defined members.
18943 (time_output): Output alt_mon and walt_mon members.
18944 (time_read): Read them, initialize them as copies of mon and wmon
18945 respectively if they are missing, initialize alt_mon_defined.
18946 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18947 * locale/programs/locfile-kw.h: Regenerate.
18948 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18949 * localedata/tst-langinfo.c (map): Add tests for the new constants
18950 ALTMON_1 .. ALTMON_12.
18951 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18952 and pl_PL.UTF-8.
18953 * time/strftime_l.c (f_altmonth): New macro.
18954 (__strftime_internal): Handle %OB format.
18955 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18956 (__strptime_internal): Handle %OB format.
18957 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18958 of month names including the new %OB format specifier.
18959
18960 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18961
18962 [BZ #22685]
18963 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18964 from ABORT_TRANSACTION.
18965 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18966 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18967 ABORT_TRANSACTION_IMPL): Likewise.
18968 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18969 Linux code, but remove the code that aborts transactions.
18970
18971 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18972
18973 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18974
18975 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18976
18977 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18978 in date: "2004-14-09" should be "2004-09-14".
18979 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18980 "2003-15-09" should be "2003-09-15".
18981
18982 2018-01-18 Arjun Shankar <arjun@redhat.com>
18983
18984 [BZ #22343]
18985 [BZ #22774]
18986 CVE-2018-6485
18987 CVE-2018-6551
18988 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18989 after padding.
18990 (_int_memalign): check for integer overflow before calling
18991 _int_malloc.
18992 * malloc/tst-malloc-too-large.c: New test.
18993 * malloc/Makefile: Add tst-malloc-too-large.
18994
18995 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18996
18997 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18998 in date: "2017-24-07" should be "2017-07-24".
18999 * localedata/locales/mai_IN: Likewise.
19000 * localedata/locales/mai_NP: Likewise.
19001
19002 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19003
19004 * po/ru.po: Update translations.
19005
19006 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19007
19008 [BZ #22719]
19009 * sysdeps/hppa/backtrace.c: New file.
19010
19011 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19012
19013 [BZ #22715]
19014 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19015 align La_x86_64_retval to VEC_SIZE.
19016
19017 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19018
19019 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19020 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19021
19022 2018-01-16 Florian Weimer <fweimer@redhat.com>
19023
19024 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19025 Move tst-thread-exit-clobber ...
19026 [$(CXX)] (tests-unsupported): ... to here.
19027
19028 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19029
19030 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19031 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19032 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19033 (_dl_aarch64_cap_flags): Update.
19034 (_DL_HWCAP_COUNT): Update.
19035
19036 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19037
19038 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19039 (_DL_HWCAP_LAST): Remove.
19040 (_DL_HWCAP_COUNT): Move to ...
19041 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19042 (_DL_HWCAP_COUNT): ... here.
19043
19044 2018-01-16 Florian Weimer <fweimer@redhat.com>
19045
19046 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19047 mode with GNU extensions.
19048
19049 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19050
19051 * elf/elf.h (NT_ARM_SVE): Define.
19052
19053 2018-01-15 Florian Weimer <fweimer@redhat.com>
19054
19055 [BZ #22636]
19056 * nptl/tst-minstack-throw.cc: New file.
19057 * nptl/Makefile (tests): Add tst-minstack-throw.
19058 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19059 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19060
19061 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19062
19063 * scripts/build-many-glibcs.py (Context.checkout): Default
19064 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19065 version to 1.1.0.
19066
19067 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19068
19069 [BZ #22707]
19070 * elf/elf.h (DF_1_STUB): Define.
19071 (DF_1_PIE): Define.
19072
19073 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19074
19075 [BZ #22697]
19076 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19077 Do not add 0.5 to integer or out-of-range arguments.
19078
19079 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19080
19081 * po/bg.po: Update translations.
19082 * po/cs.po: Likewise.
19083 * po/de.po: Likewise.
19084 * po/ko.po: Likewise.
19085 * po/pl.po: Likewise.
19086 * po/sv.po: Likewise.
19087 * po/uk.po: Likewise.
19088 * po/vi.po: Likewise.
19089
19090 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19091
19092 * aarch64/start.S (_start): Use __wrap_main.
19093 (__wrap_main): New local symbol.
19094
19095 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19096
19097 [BZ #22679]
19098 CVE-2018-1000001
19099 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19100 generic_getcwd if the path returned by getcwd syscall is not absolute.
19101 * io/tst-getcwd-abspath.c: New test.
19102 * io/Makefile (tests): Add tst-getcwd-abspath.
19103
19104 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19105
19106 * malloc/malloc.c (malloc_consolidate): Add size check.
19107
19108 2018-01-12 Florian Weimer <fweimer@redhat.com>
19109
19110 * support/write_message.c (write_message): Preserve errno.
19111 * support/check.c (print_failure): Likewise.
19112 * support/support_test_verify_impl.c (support_test_verify_impl):
19113 Likewise.
19114 * support/support_test_compare_failure.c
19115 (support_test_compare_failure): Likewise.
19116
19117 2018-01-12 Florian Weimer <fweimer@redhat.com>
19118
19119 [BZ #22701]
19120 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19121 Prevent installation of libnsl.so.
19122 (libnsl-inhibit-o): Do not build (or install) static libraries.
19123
19124 2018-01-12 Egmont Koblinger <egmont@gmail.com>
19125
19126 [BZ #22657]
19127 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19128 before the day number which may produce a double space.
19129 (date_fmt): Likewise.
19130
19131 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19132
19133 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19134 instead of fegetenv.
19135
19136 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19137
19138 [BZ #22702]
19139 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19140 comment to say exceptions are discarded.
19141 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19142 __fegetenv.
19143 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19144 be enabled.
19145
19146 2018-01-11 Florian Weimer <fweimer@redhat.com>
19147
19148 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19149 and error message.
19150
19151 2018-01-11 Florian Weimer <fweimer@redhat.com>
19152
19153 [BZ #22636]
19154 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19155 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19156
19157 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19158
19159 [BZ #22693]
19160 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19161 negative arguments in test for NaN or infinity argument.
19162
19163 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19164
19165 * po/libc.pot: Regenerate.
19166
19167 2018-01-10 Florian Weimer <fweimer@redhat.com>
19168
19169 [BZ #22636]
19170 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19171 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19172
19173 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19174
19175 * hurd/hurd/fd.h: Include <fcntl.h>
19176 (__hurd_at_flags): New function.
19177 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19178 with call to __hurd_at_flags.
19179 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19180 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19181 __faccessat
19182 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19183 (__access_noerrno): Use __faccessat_common instead of access_common.
19184 (__access): Likewise.
19185 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19186 with a call to __faccessat.
19187 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19188 (__faccessat_common): ... this. Move implementation of __access into it when
19189 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19190 reauthenticate_cwdir_at helper to implement AT mechanism.
19191 (__faccessat_noerrno): New function, just calls __faccessat_common.
19192 (__faccessat): New function, just calls __faccessat_common.
19193 (faccessat): Define weak alias.
19194
19195 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19196
19197 [BZ #22691]
19198 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19199 (CFLAGS-s_fmaxmagl.c): New variable.
19200 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19201
19202 [BZ #22690]
19203 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19204 long int for arguments of possibly overflowing addition or
19205 subtraction.
19206 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19207
19208 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19209
19210 [BZ #22688]
19211 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19212 (CFLAGS-e_remainderl.c): New variable.
19213
19214 [BZ #22687]
19215 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19216 variable.
19217 (CFLAGS-s_cacoshl.c): Likewise.
19218 (CFLAGS-s_casinhl.c): Likewise.
19219 (CFLAGS-s_catanl.c): Likewise.
19220 (CFLAGS-s_catanhl.c): Likewise.
19221 (CFLAGS-s_cexpl.c): Likewise.
19222 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19223 (CFLAGS-s_csinhl.c): Likewise.
19224 (CFLAGS-s_clogl.c): Likewise.
19225 (CFLAGS-s_clog10l.c): Likewise.
19226 (CFLAGS-s_csinl.c): Likewise.
19227 (CFLAGS-s_csqrtl.c): Likewise.
19228
19229 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19230 2017-01-09 Svante Signell <svante.signell@gmail.com>
19231
19232 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19233 (_hurd_exec_paths): New function.
19234 * hurd/hurd.h (_hurd_exec): Deprecate function.
19235 (_hurd_exec_paths): Declare function.
19236 * hurd/Versions: Export _hurd_exec_paths.
19237 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19238 (__execve): Use __getcwd to build absolute path, and use
19239 _hurd_exec_paths instead of _hurd_exec.
19240 * sysdeps/mach/hurd/spawni.c: Likewise.
19241 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19242 _hurd_exec.
19243
19244 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19245
19246 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19247 test instead of failing in case of ENOENT returned by posix_openpt.
19248
19249 2018-01-08 Florian Weimer <fweimer@redhat.com>
19250
19251 resolv: Support binary labels in test framework.
19252 * support/resolv_test.c (struct to_be_freed): Remove.
19253 (struct compressed_name): New.
19254 (allocate_compressed_name, ascii_tolower)
19255 (compare_compressed_name): New functions.
19256 (struct resolv_response_builder): Update type of
19257 compression_offsets for use with tsearch. Rempve to_be_freed.
19258 (response_push_pointer_to_free): Remove function.
19259 (resolv_response_add_name): Rewrite using struct compressed_name
19260 and tsearch instead of hsearch_r.
19261 (response_builder_allocate): Remove initialization of
19262 compression_offsets.
19263 (response_builder_free): Update for removal of to_be_freed. Use
19264 tdestroy instead of hdestroy_r.
19265 * resolv/Makefile (tests): Add tst-resolv-binary.
19266 (tst-resolv-binary): Link with -lresolv -lpthread.
19267
19268 2018-01-08 Florian Weimer <fweimer@redhat.com>
19269
19270 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19271 time. Pass positive flag instead of negative flag to
19272 support_test_compare_failure.
19273 (support_test_compare_failure): Change negative parameter to
19274 positive.
19275 * support/support_test_compare_failure.c (report)
19276 (support_test_compare_failure): Likewise.
19277 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19278 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19279
19280 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19281
19282 [BZ #22637]
19283 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19284 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19285 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19286 stacksize.
19287 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19288
19289 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19290
19291 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19292 Add s_sincosf-sse2 and s_sincosf-fma.
19293 (CFLAGS-s_sincosf-fma.c): New.
19294 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19295 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19296 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19297 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19298 __sincosf is defined.
19299
19300 2018-01-08 Florian Weimer <fweimer@redhat.com>
19301
19302 * nptl/tst-thread-exit-clobber.cc: New file.
19303 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19304 C++11 mode.
19305 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19306 (tests): Add tst-thread-exit-clobber.
19307 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19308
19309 2018-01-08 Florian Weimer <fweimer@redhat.com>
19310
19311 * support/check.h (support_static_assert): Define.
19312 (TEST_COMPARE): Use it.
19313
19314 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19315
19316 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19317 [!__RLIM_T_MATCHES_RLIM64_T]
19318 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19319 __getrlimit64. Add libc_hidden_weak.
19320
19321 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19322
19323 * elf/elf.h (R_RISCV_NONE): New define.
19324 (R_RISCV_32): Likewise.
19325 (R_RISCV_64): Likewise.
19326 (R_RISCV_RELATIVE): Likewise.
19327 (R_RISCV_COPY): Likewise.
19328 (R_RISCV_JUMP_SLOT): Likewise.
19329 (R_RISCV_TLS_DTPMOD32): Likewise.
19330 (R_RISCV_TLS_DTPMOD64): Likewise.
19331 (R_RISCV_TLS_DTPREL32): Likewise.
19332 (R_RISCV_TLS_DTPREL64): Likewise.
19333 (R_RISCV_TLS_TPREL32): Likewise.
19334 (R_RISCV_TLS_TPREL64): Likewise.
19335 * Makerules (make-link-multidir): Make directories before linking into
19336 them.
19337 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19338 define.
19339 (VDSO_HASH_LINUX_4_15): Likewise.
19340 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19341 in subdirectories of lib.
19342 * nptl/Makefile (/librt.so): Always depend on
19343 "$(shared-thread-library)".
19344
19345 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19346
19347 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19348 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19349 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19350 (___tls_get_addr).
19351 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19352 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19353 "-O2 -march=i686".
19354 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19355 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19356 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19357 * sysdeps/gnu/glob-lstat-compat.c: New file.
19358 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19359 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19360
19361 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19362
19363 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19364 Reserve 16 chars to reloc_addr before calling _itoa_word.
19365
19366 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19367
19368 [BZ #22678]
19369 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19370 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19371
19372 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19373 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19374
19375 * resource/tst-getrlimit.c: Add copyright header.
19376
19377 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19378 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19379
19380 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19381 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19382 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19383 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19384 instead.
19385 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19386 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19387 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19388 RLIM64_INFINITY): Fix values to match the kernel ones.
19389 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19390 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19391 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19392 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19393 getrlimit64@@GLIBC_2_27.
19394 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19395 and setrlimit64.
19396 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19397 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19398 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19399 setrlimit, getrlimit64 and setrlimit64.
19400
19401 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19402
19403 [BZ #22648]
19404 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19405 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19406
19407 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19408
19409 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19410 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19411 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19412
19413 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19414
19415 [BZ #15479]
19416 [BZ #22666]
19417 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19418 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19419
19420 [BZ #15479]
19421 [BZ #22665]
19422 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19423 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19424 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19425 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19426
19427 2018-01-04 Florian Weimer <fweimer@redhat.com>
19428
19429 [BZ #22667]
19430 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19431 Align the stack before calling exit.
19432 * stdlib/tst-makecontext-align.c: New file.
19433 * stdlib/Makefile (tests): Add tst-makecontext-align.
19434
19435 2018-01-04 Florian Weimer <fweimer@redhat.com>
19436
19437 Add support for calling dlvsym from libc.so.
19438 * include/dlfcn.h (__libc_dlvsym): Declare.
19439 * elf/Makefile (tests-static-internal): Add
19440 tst-libc_dlvsym-static.
19441 (tests-internal): Add tst-libc_dlvsym.
19442 (modules-names): Add tst-libc_dlvsym-dso.
19443 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19444 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19445 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19446 object tst-libc_dlvsym-dso.so needs to be built before running
19447 these tests.
19448 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19449 * elf/Versions: Export __libc_dlvsym.
19450 * elf/dl-libc.c (struct do_dlvsym_args): New.
19451 (do_dlvsym, __libc_dlvsym): New functions.
19452 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19453 (_dl_open_hook2): New variable.
19454 (__libc_register_dl_open_hook): Set it.
19455 * elf/tst-libc_dlvsym-dso.c: New file.
19456 * elf/tst-libc_dlvsym-static.c: Likewise.
19457 * elf/tst-libc_dlvsym.c: Likewise.
19458 * elf/tst-libc_dlvsym.h: Likewise.
19459
19460 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19461
19462 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19463 include <sys/mount.h>.
19464
19465 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19466
19467 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19468 Add __NO_MATH_ERRNO__ check.
19469
19470 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19471
19472 * sysdeps/mips/mips32/libm-test-ulps: Update.
19473 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19474
19475 2018-01-02 Florian Weimer <fweimer@redhat.com>
19476
19477 * misc/tst-pselect.c: Add copyright header.
19478
19479 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19480
19481 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19482 comment.
19483 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19484 comment.
19485 (settrlimit): Rename into setrlimit.
19486 (__sttrlimit): Rename into __setrlimit.
19487
19488 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19489 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19490 never defined in that case.
19491
19492 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19493
19494 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19495
19496 * sysdeps/arm/libm-test-ulps: Update.
19497
19498 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19499 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19500
19501 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19502
19503 * NEWS: Add cosf and sincosf to list of optimized functions.
19504
19505 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19506
19507 [BZ #22660]
19508 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19509 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19510 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19511 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19512
19513 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19514
19515 [BZ #22433]
19516 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19517
19518 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19519 making a copy of it.
19520
19521 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19522
19523 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19524 trailing whitespace removed.
19525 * scripts/config.guess: Update to version 2018-01-01.
19526 * scripts/config.sub: Update to version 2018-01-01.
19527 * scripts/move-if-change: Update from gnulib.
19528
19529 * NEWS: Update copyright dates.
19530 * catgets/gencat.c (print_version): Likewise.
19531 * csu/version.c (banner): Likewise.
19532 * debug/catchsegv.sh: Likewise.
19533 * debug/pcprofiledump.c (print_version): Likewise.
19534 * debug/xtrace.sh (do_version): Likewise.
19535 * elf/ldconfig.c (print_version): Likewise.
19536 * elf/ldd.bash.in: Likewise.
19537 * elf/pldd.c (print_version): Likewise.
19538 * elf/sotruss.sh: Likewise.
19539 * elf/sprof.c (print_version): Likewise.
19540 * iconv/iconv_prog.c (print_version): Likewise.
19541 * iconv/iconvconfig.c (print_version): Likewise.
19542 * locale/programs/locale.c (print_version): Likewise.
19543 * locale/programs/localedef.c (print_version): Likewise.
19544 * login/programs/pt_chown.c (print_version): Likewise.
19545 * malloc/memusage.sh (do_version): Likewise.
19546 * malloc/memusagestat.c (print_version): Likewise.
19547 * malloc/mtrace.pl: Likewise.
19548 * manual/libc.texinfo: Likewise.
19549 * nptl/version.c (banner): Likewise.
19550 * nscd/nscd.c (print_version): Likewise.
19551 * nss/getent.c (print_version): Likewise.
19552 * nss/makedb.c (print_version): Likewise.
19553 * posix/getconf.c (main): Likewise.
19554 * scripts/test-installation.pl: Likewise.
19555 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19556
19557 * All files with FSF copyright notices: Update copyright dates
19558 using scripts/update-copyrights.
19559 * locale/programs/charmap-kw.h: Regenerated.
19560 * locale/programs/locfile-kw.h: Likewise.
19561
19562 2017-12-31 Zack Weinberg <zackw@panix.com>
19563
19564 * libio/bits/libio-ldbl.h: Correct check for improper
19565 inclusion. Add own multiple include guard.
19566
19567 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19568 Dmitry V. Levin <ldv@altlinux.org>
19569
19570 [BZ #22625]
19571 CVE-2017-16997
19572 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19573 string token expansion. Check for NULL pointer or empty string possibly
19574 returned by expand_dynamic_string_token.
19575 (decompose_rpath): Check for empty path after dynamic string
19576 token expansion.
19577
19578 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19579
19580 [BZ #22433]
19581 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19582
19583 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19584 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19585 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19586 and PTRACE_SYSCALL.
19587 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19588 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19589 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19591 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19592 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19593
19594 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19595 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19596 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19597 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19599 bits/ptrace-shared.h.
19600 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19601 <bits/ptrace-shared.h>.
19602 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19603 __ptrace_peeksiginfo_flags, ptrace): Remove.
19604 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19605 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19606 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19608 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19609
19610 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19611
19612 [BZ #17804]
19613 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19614 end of the loop. Improve comments.
19615
19616 2017-12-29 Zack Weinberg <zackw@panix.com>
19617
19618 [BZ #22615]
19619 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19620 might be set on success.
19621
19622 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19623
19624 [BZ #22611]
19625 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19626 is unchanged on success.
19627
19628 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19629
19630 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19631 updated.
19632 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19633 expand_dynamic_string_token): Likewise.
19634 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19635 is_path argument.
19636
19637 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19638 contains ':'.
19639
19640 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19641 is set and name contains ':', and all code depending on these checks.
19642
19643 2017-12-24 Zack Weinberg <zackw@panix.com>
19644
19645 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19646 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19647 respectively.
19648 * libio/libio.h: Rename the original version of this file to
19649 libio/bits/libio.h. Error out if not included by stdio.h or the
19650 stub libio.h.
19651 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19652 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19653 if not included by bits/libio.h or the stub _G_config.h.
19654 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19655 sysdeps/unix/sysv/linux/bits. Error out if not included by
19656 bits/libio.h or the stub _G_config.h.
19657 * libio/stdio.h: Include bits/libio.h, not libio.h.
19658 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19659 well as libio.h and _G_config.h.
19660
19661 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19662 * libio/strfile.h, stdio-common/vfscanf.c
19663 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19664 Include stdio.h, not _G_config.h nor libio.h.
19665 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19666 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19667
19668 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19669
19670 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19671
19672 [BZ #22347]
19673 * stdlib/getrandom.c (getrandom): Fix comment.
19674 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19675
19676 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19677
19678 [BZ #21161]
19679 * manual/arith.texi (strtoul): Fix a typo.
19680
19681 [BZ #22596]
19682 * manual/arith.texi (finite): Fix the description of the return
19683 value.
19684
19685 2017-12-22 Eric Blake <ebb9@byu.net>
19686
19687 Avoid gcc warnings on cygwin
19688 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19689 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19690 Avoid unused variable.
19691
19692 2017-12-22 Florian Weimer <fweimer@redhat.com>
19693
19694 * io/Makefile (routines): Add copy_file_range.
19695 (tests): Add tst-copy_file_range.
19696 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19697 * io/Versions (GLIBC_2.27): Export copy_file_range.
19698 * io/copy_file_range-compat.c: New file.
19699 * io/copy_file_range.c: Likewise.
19700 * io/tst-copy_file_range-compat.c: Likewise.
19701 * io/tst-copy_file_range.c: Likewise.
19702 * manual/llio.texi (Copying File Data): New section.
19703 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19704 * support/Makefile (libsupport-routines): Add support-xfstat,
19705 xftruncate, xlseek.
19706 * support/support-xfstat.c: New file.
19707 * support/xftruncate.c: Likewise.
19708 * support/xlseek.c: Likewise.
19709 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19710 * sysdeps/unix/sysv/linux/**.abilist: Update.
19711 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19712
19713 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19714
19715 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19716 disable-multi-arch variant to aarch64-linux-gnu.
19717
19718 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19719
19720 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19721 trailing whitespace removed.
19722 * scripts/config.guess: Update to version 2017-12-17.
19723 * scripts/config.sub: Update to version 2017-11-23.
19724 * scripts/install-sh: Update to version 2017-09-23.17.
19725 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19726
19727 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19728
19729 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19730 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19731 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19732 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19733 * sysdeps/tile/crtn.S: Likewise.
19734 * sysdeps/tile/dl-start.S (_start): Likewise.
19735 * sysdeps/tile/dl-trampoline.S: Likewise.
19736 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19737 * sysdeps/tile/start.S (_start): Likewise.
19738 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19739 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19740 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19741 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19742 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19743 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19744 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19745
19746 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19747 comment.
19748 * sysdeps/tile/preconfigure: Remove tilegx folder.
19749 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19750 * sysdeps/tile/Implies: ... here.
19751 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19752 * sysdeps/tile/Makefile: ... here.
19753 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19754 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19755 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19756 * sysdeps/tile/bits/wordsize.h: ... here.
19757 * sysdeps/tile/tilegx/*: Move to ...
19758 * sysdeps/tile/*: ... here.
19759 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19760 * sysdeps/tile/tilegx32/Implies: ... here.
19761 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19762 * sysdeps/tile/tilegx64/Implies: ... here.
19763 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19764 to ...
19765 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19766 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19767 * sysdeps/unix/sysv/linux/tile/*: ... here.
19768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19769 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19771 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19772
19773 * README: Remove tilepro-*-linux-gnu from supported architecture.
19774 * scripts/build-many-glibcs.py: Likewise.
19775 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19776 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19777 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19778 elf_machine_matches_host, elf_machine_dynamic,
19779 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19780 howto, elf_machine_rela): Likewise.
19781 * sysdeps/tile/dl-start.S (_start): Likewise.
19782 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19783 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19784 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19785 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19786 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19787 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19788 Likewise.
19789 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19790 * sysdeps/tile/preconfigure: Likewise.
19791 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19792 POINTER_CHK_GUARD): Likewise.
19793 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19794 * sysdeps/tile/start.S (_start): Likewise.
19795 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19796 Likewise.
19797 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19798 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19799 CMOVNEZ): Remove.
19800 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19801 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19802 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19803 Likewise.
19804 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19805 * sysdeps/tile/tilepro/Implies: Remove file.
19806 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19807 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19808 * sysdeps/tile/tilepro/memchr.c: Likewise.
19809 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19810 * sysdeps/tile/tilepro/memset.c: Likewise.
19811 * sysdeps/tile/tilepro/memusage.h: Likewise.
19812 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19813 * sysdeps/tile/tilepro/strchr.c: Likewise.
19814 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19815 * sysdeps/tile/tilepro/strlen.c: Likewise.
19816 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19817 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19818 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19819 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19820 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19821 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19822 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19823 Likewise.
19824 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19825 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19826 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19827 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19828 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19829 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19830 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19831 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19832 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19833 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19834 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19835 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19836 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19837 tilepro mention in comment.
19838
19839 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19840 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19841 * nptl/pthread_join_common.c: New file: common function used on
19842 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19843 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19844 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19845 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19846 (cleanup): Move definition to pthread_join_common.c.
19847 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19848 Remove superflous checks.
19849 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19850 Likewise.
19851
19852 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19853
19854 * sysdeps/aarch64/libm-test-ulps: Update.
19855
19856 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19857
19858 * sysdeps/aarch64/memset.S (MEMSET): Define.
19859
19860 2017-12-20 Florian Weimer <fweimer@redhat.com>
19861
19862 [BZ #22635]
19863 nptl: Provide full implementation of pthread_self in libc.so.
19864 * nptl/Makefile (routines): Add pthread_self.
19865 (libpthread-routines): Replace pthread_self with
19866 compat-pthread_self.
19867 * nptl/forward.c (pthread_self): Remove.
19868 * nptl/nptl-init.c (pthread_functions): Do not initialize
19869 ptr_pthread_self.
19870 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19871 * nptl/compat-pthread_self.c: New file.
19872 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19873 Remove ptr_pthread_self.
19874
19875 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19876
19877 * posix/regcomp.c: Fix spelling in comments.
19878 * posix/regex.h: Likewise.
19879 * posix/regex_internal.c: Likewise.
19880 * posix/regexec.c: Likewise.
19881
19882 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19883
19884 [BZ #22377]
19885 * math/Makefile [C++] (tests): Add test for iseqsig.
19886 * math/math.h [C++] (iseqsig): New implementation, which does
19887 not rely on __MATH_TG/__builtin_types_compatible_p.
19888 * math/test-math-iseqsig.cc: New file.
19889 * sysdeps/powerpc/powerpc64le/Makefile
19890 (CFLAGS-test-math-iseqsig.cc): New variable.
19891
19892 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19893
19894 * elf/dl-load.c (is_trusted_path): Remove.
19895 (fillin_rpath): Remove check_trusted argument and its use,
19896 all callers changed.
19897
19898 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19899
19900 [BZ #22630]
19901 * Makeconfig (link-pie-before-libc): Replace -pie with
19902 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19903 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19904 (tst-dlopen-aout-no-pie): New.
19905 (LDFLAGS-tst-prelink): Removed.
19906 (tst-prelink-no-pie): New.
19907 (LDFLAGS-tst-main1): Removed.
19908 (tst-main1-no-pie): New.
19909 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19910 (tst-gmon-no-pie): New.
19911
19912 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19913
19914 * manual/install.texi: Document that --enable-static-pie
19915 implies PIE.
19916 * INSTALL: Regenerated.
19917
19918 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19919
19920 [BZ #21309]
19921 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19922 unsigned.
19923
19924 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19925
19926 Revert:
19927
19928 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19929
19930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19931
19932 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19933
19934 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19935 <errno.h>. Include "eexp.tbl".
19936 (half): New constant.
19937 (one): Likewise.
19938 (__ieee754_exp): Rewrite.
19939 (__slowexp): Remove prototype.
19940 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19941 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19942 * sysdeps/i386/fpu/slowexp.c: Likewise.
19943 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19944 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19945 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19946 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19947 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19948 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19949 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19950 comment.
19951 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19952 (CPPFLAGS-slowexp.c): Remove variable.
19953 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19954 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19955 (CFLAGS-slowexp-fma.c): Remove variable.
19956 (CFLAGS-slowexp-fma4.c): Likewise.
19957 (CFLAGS-slowexp-avx.c): Likewise.
19958 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19959 define as macro.
19960 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19961 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19962 * math/Makefile (type-double-routines): Remove slowexp.
19963 * manual/probes.texi (slowexp_p6): Remove.
19964 (slowexp_p32): Likewise.
19965
19966 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19967
19968 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19969 arithmetic.
19970
19971 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19972
19973 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19974
19975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19976
19977 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19978
19979 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19980 <errno.h>. Include "eexp.tbl".
19981 (half): New constant.
19982 (one): Likewise.
19983 (__ieee754_exp): Rewrite.
19984 (__slowexp): Remove prototype.
19985 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19986 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19987 * sysdeps/i386/fpu/slowexp.c: Likewise.
19988 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19989 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19990 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19991 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19992 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19993 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19994 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19995 comment.
19996 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19997 (CPPFLAGS-slowexp.c): Remove variable.
19998 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19999 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20000 (CFLAGS-slowexp-fma.c): Remove variable.
20001 (CFLAGS-slowexp-fma4.c): Likewise.
20002 (CFLAGS-slowexp-avx.c): Likewise.
20003 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20004 define as macro.
20005 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20006 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20007 * math/Makefile (type-double-routines): Remove slowexp.
20008 * manual/probes.texi (slowexp_p6): Remove.
20009 (slowexp_p32): Likewise.
20010
20011 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20012 James Clarke <jrtc27@jrtc27.com>
20013
20014 [BZ #22603]
20015 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20016 addition.
20017
20018 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20019
20020 [BZ #22605]
20021 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20022 code.
20023
20024 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20025
20026 [BZ #22563]
20027 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20028 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20029 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20030 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20031 to feature_1.
20032
20033 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20034
20035 [BZ #22563]
20036 * bits/types/__cancel_jmp_buf_tag.h: New file.
20037 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20038 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20039 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20040 * nptl/Makefile (headers): Add
20041 bits/types/__cancel_jmp_buf_tag.h.
20042 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20043 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20044 * sysdeps/nptl/pthread.h: Include
20045 <bits/types/__cancel_jmp_buf_tag.h>.
20046 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20047 __cancel_jmp_buf.
20048 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20049
20050 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20051
20052 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20053 --enable-static-pie variants to x86_64, x32 and i686.
20054
20055 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20056
20057 [BZ #22631]
20058 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20059 argument for attrubutes. All callers changed.
20060 (__inline_mathop1): Likewise. All callers changed.
20061 (__inline_mathop): Likewise. All callers changed.
20062 [__USE_MISC] (scalbn): Use __inline_forward instead of
20063 __inline_forward_c.
20064 [__USE_ISOC99] (scalbln): Likewise.
20065 [__USE_ISOC99] (nearbyint): Likewise.
20066 [__USE_ISOC99] (lrint): Likewise.
20067 [__USE_MISC] (scalbnf): Likewise.
20068 [__USE_ISOC99] (scalblnf): Likewise.
20069 [__USE_ISOC99] (nearbyintf): Likewise.
20070 [__USE_ISOC99] (lrintf): Likewise.
20071 [__USE_MISC] (scalbnl): Likewise.
20072 [__USE_ISOC99] (scalblnl): Likewise.
20073 [__USE_ISOC99] (nearbyintl): Likewise.
20074 [__USE_ISOC99] (lrintl): Likewise.
20075 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20076 __inline_mathop and __m81_defun changed.
20077
20078 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20079 CPU or FPU for ARM hard-float configurations.
20080
20081 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20082
20083 * nptl/tst-attr3.c: Include <libc-diag.h>.
20084 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20085
20086 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20087
20088 * string/tester.c (test_strncat): Also disable -Warray-bounds
20089 warnings for two tests.
20090
20091 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20092
20093 [BZ #22614]
20094 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20095 $(cc-pie-default) == yes.
20096 * config.make.in (cc-pie-default): New.
20097 * configure.ac (libc_cv_pie_default): Renamed to ...
20098 (libc_cv_cc_pie_default): This.
20099 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20100 * configure: Regenerated.
20101
20102 2017-12-18 Florian Weimer <fweimer@redhat.com>
20103
20104 [BZ #20204]
20105 ld.so: Harden dl-libc/libdl hooks.
20106 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20107 (rtld_active): New function.
20108 * dlfcn/dladdr.c (__dladdr): Call it.
20109 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20110 * dlfcn/dlclose.c (__dlcose): Likewise.
20111 * dlfcn/dlerror.c (__dlerror): Likewise.
20112 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20113 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20114 * dlfcn/dlopen.c (__dlopen): Likewise.
20115 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20116 * dlfcn/dlsym.c (__dlsym): Likewise.
20117 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20118 * libio/vtables.c (_IO_vtable_check): Likewise.
20119 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20120 (__libc_dlclose): Likewise.
20121 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20122 assignment.
20123
20124 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20125
20126 [BZ #22446]
20127 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20128 buffers for readlink input and output.
20129
20130 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20131
20132 [BZ #22624]
20133 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20134 inhibit_stack_protector.
20135
20136 [BZ #22624]
20137 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20138 inhibit_stack_protector.
20139
20140 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20141
20142 [BZ #22627]
20143 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20144 code and invocation.
20145
20146 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20147
20148 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20149
20150 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20151
20152 [BZ #22505]
20153 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20154
20155 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20156
20157 * sysdeps/s390/fpu/libm-test-ulps: Update.
20158
20159 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20160
20161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20162
20163 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20164
20165 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20166 constants to s_sincosf.h file.
20167 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20168 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20169 implementation.
20170 * sysdeps/ieee754/flt-32/s_sincosf.h:
20171 New file.
20172
20173 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20174
20175 [BZ #14681]
20176 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20177 before mtrace.
20178
20179 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20180
20181 [BZ #19574]
20182 * INSTALL: Regenerated.
20183 * Makeconfig (real-static-start-installed-name): New.
20184 (pic-default): Updated for --enable-static-pie.
20185 (pie-default): New for --enable-static-pie.
20186 (default-pie-ldflag): Likewise.
20187 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20188 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20189 Replace $(static-start-installed-name) with
20190 $(real-static-start-installed-name).
20191 (+prectorT): Updated for --enable-static-pie.
20192 (+postctorT): Likewise.
20193 (CFLAGS-.o): Add $(pie-default).
20194 (CFLAGS-.op): Likewise.
20195 * NEWS: Mention --enable-static-pie.
20196 * config.h.in (ENABLE_STATIC_PIE): New.
20197 * configure.ac (--enable-static-pie): New configure option.
20198 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20199 (have-static-pie): Likewise.
20200 Enable static PIE if linker supports --no-dynamic-linker.
20201 (ENABLE_STATIC_PIE): New AC_DEFINE.
20202 (enable-static-pie): New LIBC_CONFIG_VAR.
20203 * configure: Regenerated.
20204 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20205 gr$(start-installed-name) for --enable-static-pie.
20206 (extra-objs): Likewise.
20207 (install-lib): Likewise.
20208 (extra-objs): Add static-reloc.o and static-reloc.os
20209 ($(objpfx)$(start-installed-name)): Also depend on
20210 $(objpfx)static-reloc.o.
20211 ($(objpfx)r$(start-installed-name)): New.
20212 ($(objpfx)g$(start-installed-name)): Also depend on
20213 $(objpfx)static-reloc.os.
20214 ($(objpfx)gr$(start-installed-name)): New.
20215 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20216 in libc.a.
20217 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20218 initimage.
20219 * csu/static-reloc.c: New file.
20220 * elf/Makefile (routines): Add dl-reloc-static-pie.
20221 (elide-routines.os): Likewise.
20222 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20223 (tst-tls1-static-non-pie-no-pie): New.
20224 * elf/dl-reloc-static-pie.c: New file.
20225 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20226 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20227 STATIC_PIE_BOOTSTRAP.
20228 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20229 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20230 (tests-static): Likewise.
20231 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20232 (tst-gmon-static-no-pie): New.
20233 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20234 (CRT-tst-gmon-static-pie): Likewise.
20235 (tst-gmon-static-pie-ENV): Likewise.
20236 (tests-special): Likewise.
20237 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20238 (clean-tst-gmon-static-pie-data): Likewise.
20239 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20240 * gmon/tst-gmon-static-pie.c: New file.
20241 * manual/install.texi: Document --enable-static-pie.
20242 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20243 (_dl_get_dl_main_map): Likewise.
20244 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20245 * sysdeps/x86_64/configure.ac: Likewise.
20246 * sysdeps/i386/configure: Regenerated.
20247 * sysdeps/x86_64/configure: Likewise.
20248 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20249 (ASFLAGS-.op): Likewise.
20250
20251 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20252
20253 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20254 * posix/tst-mmap-offset.c (fname): Use /tmp.
20255 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20256
20257 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20258
20259 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20260
20261 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20262
20263 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20264 errno.
20265
20266 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20267
20268 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20269 --with-float=hard for arm-linux-gnueabihf configurations.
20270
20271 [BZ #14121]
20272 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20273 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20274 ($(mo-installed)): Use $(objpfx)%.mo.
20275 (realclean): Remove rule.
20276
20277 * po/Makefile (linguas): Remove rule and dependencies.
20278 (linguas.mo): Likewise.
20279 (.PHONY): Do not depend on linguas and linguas.mo.
20280 (podir): Remove variable.
20281 (pofiles): Likewise.
20282 [$(pofiles)] (%.po): Remove rule.
20283
20284 * sysdeps/sparc/sparc32/Makefile
20285 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20286 start-of-line whitespace in argument of echo.
20287 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20288 with whitespace. Generate __wrap_.udiv alias.
20289 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20290 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20291 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20292 * sysdeps/sparc/sparc32/urem.S: Likewise.
20293
20294 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20295
20296 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20297 for aligned inputs.
20298
20299 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20300
20301 * benchtests/bench-strcmp.c: Print output in JSON format.
20302
20303 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20304
20305 2017-12-14 Florian Weimer <fweimer@redhat.com>
20306
20307 [BZ #22607]
20308 CVE-2017-1000409
20309 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20310 the expanded path string.
20311
20312 2017-12-14 Florian Weimer <fweimer@redhat.com>
20313
20314 [BZ #22606]
20315 CVE-2017-1000408
20316 * elf/dl-load.c (system_dirs): Update comment.
20317 (nsystem_dirs_len): Use array_length.
20318 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20319
20320 2017-12-14 Florian Weimer <fweimer@redhat.com>
20321
20322 Simplify compiling most of support/ outside of glibc.
20323 * support/check_addrinfo.c: Include <string.h>.
20324 * support/check_dns_packet.c: Likewise.
20325 * support/check_hostent.c: Likewise.
20326 * support/support_can_chroot.c: Include <support/xunistd.h>.
20327 * support/support_format_addrinfo.c: Include <stdlib.h>
20328 * support/support_format_dns_packet.c: Include <stdbool.h>.
20329 * support/support_format_hostent.c: Include <stdlib.h>.
20330 * support/support_format_netent.c: Likewise.
20331 * support/support_write_string.c: Include <support/xunistd.h>.
20332 * support/xdlfcn.c: Include <stddef.h>.
20333
20334 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20335
20336 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20337
20338 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20339 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20340
20341 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20342 (sysdeps_routines): Add memset-niagara7.
20343 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20344 Likewise.
20345 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20346 file.
20347 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20348 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20349 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20350 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20351 Add niagara7 option.
20352 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20353 memset.
20354
20355 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20356 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20357 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20358 Likewise.
20359 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20360 New file.
20361 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20362 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20363 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20364 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20365 and __memmove_niagara7.
20366 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20367 Add niagara7 option.
20368 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20369 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20370 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20371 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20372 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20373
20374 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20375
20376 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20377 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20378 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20379 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20380
20381 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20382 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20383 _dl_sparc_cap_flags array.
20384 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20385
20386 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20387
20388 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20389 time whenever possible.
20390
20391 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20392
20393 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20394 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20395
20396 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20397
20398 * soft-fp/fmadf4.c: Move to ....
20399 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20400 * soft-fp/fmasf4.c: Move to ....
20401 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20402 * soft-fp/fmatf4.c: Move to ....
20403 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20404 * sysdeps/ieee754/soft-fp/Makefile: New file.
20405 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20406 * sysdeps/arm/preconfigure: Regenerated.
20407 * sysdeps/arm/nofpu/Implies: New file.
20408 * sysdeps/arm/s_fma.c: Remove file.
20409 * sysdeps/arm/s_fmaf.c: Likewise.
20410 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20411 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20412 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20413 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20414 * sysdeps/microblaze/s_fma.c: Remove file.
20415 * sysdeps/microblaze/s_fmaf.c: Likewise.
20416 * sysdeps/mips/mips32/nofpu/Implies: New file.
20417 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20418 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20419 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20420 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20421 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20422 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20423 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20424 implementation.
20425 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20426 * sysdeps/nios2/s_fma.c: Remove file.
20427 * sysdeps/nios2/s_fmaf.c: Likewise.
20428 * sysdeps/sh/nofpu/Implies: New file.
20429 * sysdeps/sh/s_fma.c: Remove file.
20430 * sysdeps/sh/s_fmaf.c: Likewise.
20431 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20432 * sysdeps/tile/s_fma.c: Remove file.
20433 * sysdeps/tile/s_fmaf.c: Likewise.
20434
20435 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20436
20437 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20438 Add s_cosf-sse2 and s_cosf-fma.
20439 (CFLAGS-s_cosf-fma.c): New.
20440 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20441 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20442 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20443
20444 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20445
20446 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20447
20448 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20449
20450 * libio/Makefile (tests): Add tst-bz22415.
20451 (tst-bz22415-ENV): New rule.
20452 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20453 (tests-special): Add tst-bz22415-mem.out.
20454 ($(objpfx)tst-bz22415-mem.out): New rule.
20455 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20456 in case of a successful seek operation.
20457 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20458 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20459 buffer is required.
20460 * libio/tst-bz22415.c: New test.
20461
20462 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20463
20464 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20465
20466 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20467 __IPC_64 to 0 to avoid IPC_64 being set.
20468
20469 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20470
20471 [BZ #22593]
20472 * math/bits/mathcalls.h (nextafter): Remove const.
20473 (nexttoward): Likewise.
20474
20475 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20476
20477 * configure.ac (--with-fp): Remove configure option.
20478 (with_fp_cond): New variable.
20479 (libc_cv_with_fp): New configure test. Use this variable instead
20480 of with_fp.
20481 * configure: Regenerated.
20482 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20483 * manual/install.texi (Configuring and compiling): Remove
20484 --without-fp.
20485 * INSTALL: Regenerated.
20486 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20487 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20488 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20489 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20490 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20491 use --without-fp to configure glibc.
20492
20493 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20494
20495 * manual/locale.texi (nl_langinfo): Fix a typo.
20496
20497 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20498
20499 [BZ #22588]
20500 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20501
20502 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20503
20504 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20505 (CFLAGS-argp-parse.c): Likewise.
20506 (CFLAGS-argp-fmtstream.c): Likewise.
20507 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20508 (CPPFLAGS-sha512-crypt.c): Likewise.
20509 (CPPFLAGS-md5-crypt.c): Likewise.
20510 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20511 (CFLAGS-stack_chk_fail_local.c): Likewise.
20512 (CFLAGS-backtrace.c): Likewise.
20513 (CFLAGS-sprintf_chk.c): Likewise.
20514 (CFLAGS-snprintf_chk.c): Likewise.
20515 (CFLAGS-vsprintf_chk.c): Likewise.
20516 (CFLAGS-vsnprintf_chk.c): Likewise.
20517 (CFLAGS-asprintf_chk.c): Likewise.
20518 (CFLAGS-vasprintf_chk.c): Likewise.
20519 (CFLAGS-obprintf_chk.c): Likewise.
20520 (CFLAGS-dprintf_chk.c): Likewise.
20521 (CFLAGS-vdprintf_chk.c): Likewise.
20522 (CFLAGS-printf_chk.c): Likewise.
20523 (CFLAGS-fprintf_chk.c): Likewise.
20524 (CFLAGS-vprintf_chk.c): Likewise.
20525 (CFLAGS-vfprintf_chk.c): Likewise.
20526 (CFLAGS-gets_chk.c): Likewise.
20527 (CFLAGS-fgets_chk.c): Likewise.
20528 (CFLAGS-fgets_u_chk.c): Likewise.
20529 (CFLAGS-fread_chk.c): Likewise.
20530 (CFLAGS-fread_u_chk.c): Likewise.
20531 (CFLAGS-swprintf_chk.c): Likewise.
20532 (CFLAGS-vswprintf_chk.c): Likewise.
20533 (CFLAGS-wprintf_chk.c): Likewise.
20534 (CFLAGS-fwprintf_chk.c): Likewise.
20535 (CFLAGS-vwprintf_chk.c): Likewise.
20536 (CFLAGS-vfwprintf_chk.c): Likewise.
20537 (CFLAGS-fgetws_chk.c): Likewise.
20538 (CFLAGS-fgetws_u_chk.c): Likewise.
20539 (CFLAGS-read_chk.c): Likewise.
20540 (CFLAGS-pread_chk.c): Likewise.
20541 (CFLAGS-pread64_chk.c): Likewise.
20542 (CFLAGS-recv_chk.c): Likewise.
20543 (CFLAGS-recvfrom_chk.c): Likewise.
20544 (CFLAGS-tst-longjmp_chk.c): Likewise.
20545 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20546 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20547 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20548 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20549 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20550 (CFLAGS-tst-chk1.c): Likewise.
20551 (CFLAGS-tst-chk2.c): Likewise.
20552 (CFLAGS-tst-chk3.c): Likewise.
20553 (CFLAGS-tst-chk4.cc): Likewise.
20554 (CFLAGS-tst-chk5.cc): Likewise.
20555 (CFLAGS-tst-chk6.cc): Likewise.
20556 (CFLAGS-tst-lfschk1.c): Likewise.
20557 (CFLAGS-tst-lfschk2.c): Likewise.
20558 (CFLAGS-tst-lfschk3.c): Likewise.
20559 (CFLAGS-tst-lfschk4.cc): Likewise.
20560 (CFLAGS-tst-lfschk5.cc): Likewise.
20561 (CFLAGS-tst-lfschk6.cc): Likewise.
20562 (CFLAGS-tst-ssp-1.c): Likewise.
20563 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20564 (CFLAGS-scandir64.c): Likewise.
20565 (CFLAGS-scandir-tail.c): Likewise.
20566 (CFLAGS-scandir64-tail.c): Likewise.
20567 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20568 (CFLAGS-dl-tunables.c): Likewise.
20569 (CFLAGS-dl-runtime.c): Likewise.
20570 (CFLAGS-dl-lookup.c): Likewise.
20571 (CFLAGS-dl-iterate-phdr.c): Likewise.
20572 (CFLAGS-vismain.c): Likewise.
20573 (CFLAGS-tst-linkall-static.c): Likewise.
20574 (CFLAGS-tst-linkall-static.c): Likewise.
20575 (CPPFLAGS-dl-load.c): Likewise.
20576 (CFLAGS-ldconfig.c): Likewise.
20577 (CFLAGS-dl-cache.c): Likewise.
20578 (CFLAGS-cache.c): Likewise.
20579 (CFLAGS-rtld.c): Likewise.
20580 (CFLAGS-multiload.c): Likewise.
20581 (CFLAGS-filtmod1.c): Likewise.
20582 (CFLAGS-tst-align.c): Likewise.
20583 (CFLAGS-tst-align2.c): Likewise.
20584 (CFLAGS-tst-alignmod.c): Likewise.
20585 (CFLAGS-tst-alignmod2.c): Likewise.
20586 (CPPFLAGS-tst-execstack.c): Likewise.
20587 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20588 (CFLAGS-tst-latepthreadmod.c): Likewise.
20589 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20590 (CFLAGS-getgrnam_r.c): Likewise.
20591 (CFLAGS-getgrent_r.c): Likewise.
20592 (CFLAGS-getgrent.c): Likewise.
20593 (CFLAGS-fgetgrent.c): Likewise.
20594 (CFLAGS-fgetgrent_r.c): Likewise.
20595 (CFLAGS-putgrent.c): Likewise.
20596 (CFLAGS-initgroups.c): Likewise.
20597 (CFLAGS-getgrgid.c): Likewise.
20598 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20599 (CFLAGS-getsgent.c): Likewise.
20600 (CFLAGS-fgetsgent.c): Likewise.
20601 (CFLAGS-fgetsgent_r.c): Likewise.
20602 (CFLAGS-putsgent.c): Likewise.
20603 (CFLAGS-getsgnam.c): Likewise.
20604 (CFLAGS-getsgnam_r.c): Likewise.
20605 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20606 (CFLAGS-iconv_charmap.c): Likewise.
20607 (CFLAGS-dummy-repertoire.c): Likewise.
20608 (CFLAGS-charmap.c): Likewise.
20609 (CFLAGS-linereader.c): Likewise.
20610 (CFLAGS-simple-hash.c): Likewise.
20611 (CFLAGS-gconv_conf.c): Likewise.
20612 (CFLAGS-iconvconfig.c): Likewise.
20613 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20614 (CFLAGS-gethstbyad.c): Likewise.
20615 (CFLAGS-gethstbynm_r.c): Likewise.
20616 (CFLAGS-gethstbynm.c): Likewise.
20617 (CFLAGS-gethstbynm2_r.c): Likewise.
20618 (CFLAGS-gethstbynm2.c): Likewise.
20619 (CFLAGS-gethstent_r.c): Likewise.
20620 (CFLAGS-gethstent.c): Likewise.
20621 (CFLAGS-rcmd.c): Likewise.
20622 (CFLAGS-getnetbynm_r.c): Likewise.
20623 (CFLAGS-getnetbynm.c): Likewise.
20624 (CFLAGS-getnetbyad_r.c): Likewise.
20625 (CFLAGS-getnetbyad.c): Likewise.
20626 (CFLAGS-getnetent_r.c): Likewise.
20627 (CFLAGS-getnetent.c): Likewise.
20628 (CFLAGS-getaliasent_r.c): Likewise.
20629 (CFLAGS-getaliasent.c): Likewise.
20630 (CFLAGS-getrpcent_r.c): Likewise.
20631 (CFLAGS-getrpcent.c): Likewise.
20632 (CFLAGS-getservent_r.c): Likewise.
20633 (CFLAGS-getservent.c): Likewise.
20634 (CFLAGS-getprtent_r.c): Likewise.
20635 (CFLAGS-getprtent.c): Likewise.
20636 (CFLAGS-either_ntoh.c): Likewise.
20637 (CFLAGS-either_hton.c): Likewise.
20638 (CFLAGS-getnetgrent.c): Likewise.
20639 (CFLAGS-getnetgrent_r.c): Likewise.
20640 (CFLAGS-tst-checks-posix.c): Likewise.
20641 (CFLAGS-tst-sockaddr.c): Likewise.
20642 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20643 (CFLAGS-tst-translit.c): Likewise.
20644 (CFLAGS-tst-gettext2.c): Likewise.
20645 (CFLAGS-tst-codeset.c): Likewise.
20646 (CFLAGS-tst-gettext3.c): Likewise.
20647 (CFLAGS-tst-gettext4.c): Likewise.
20648 (CFLAGS-tst-gettext5.c): Likewise.
20649 (CFLAGS-tst-gettext6.c): Likewise.
20650 * io/Makefile (CFLAGS-open.c): Likewise.
20651 (CFLAGS-open64.c): Likewise.
20652 (CFLAGS-creat.c): Likewise.
20653 (CFLAGS-creat64.c): Likewise.
20654 (CFLAGS-fcntl.c): Likewise.
20655 (CFLAGS-poll.c): Likewise.
20656 (CFLAGS-ppoll.c): Likewise.
20657 (CFLAGS-lockf.c): Likewise.
20658 (CFLAGS-statfs.c): Likewise.
20659 (CFLAGS-fstatfs.c): Likewise.
20660 (CFLAGS-statvfs.c): Likewise.
20661 (CFLAGS-fstatvfs.c): Likewise.
20662 (CFLAGS-fts.c): Likewise.
20663 (CFLAGS-fts64.c): Likewise.
20664 (CFLAGS-ftw.c): Likewise.
20665 (CFLAGS-ftw64.c): Likewise.
20666 (CFLAGS-lockf.c): Likewise.
20667 (CFLAGS-posix_fallocate.c): Likewise.
20668 (CFLAGS-posix_fallocate64.c): Likewise.
20669 (CFLAGS-fallocate.c): Likewise.
20670 (CFLAGS-fallocate64.c): Likewise.
20671 (CFLAGS-read.c): Likewise.
20672 (CFLAGS-write.c): Likewise.
20673 (CFLAGS-test-stat.c): Likewise.
20674 (CFLAGS-test-lfs.c): Likewise.
20675 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20676 (CFLAGS-fputc.c): Likewise.
20677 (CFLAGS-fputwc.c): Likewise.
20678 (CFLAGS-freopen64.c): Likewise.
20679 (CFLAGS-freopen.c): Likewise.
20680 (CFLAGS-fseek.c): Likewise.
20681 (CFLAGS-fseeko64.c): Likewise.
20682 (CFLAGS-fseeko.c): Likewise.
20683 (CFLAGS-ftello64.c): Likewise.
20684 (CFLAGS-ftello.c): Likewise.
20685 (CFLAGS-fwide.c): Likewise.
20686 (CFLAGS-genops.c): Likewise.
20687 (CFLAGS-getc.c): Likewise.
20688 (CFLAGS-getchar.c): Likewise.
20689 (CFLAGS-getwc.c): Likewise.
20690 (CFLAGS-getwchar.c): Likewise.
20691 (CFLAGS-iofclose.c): Likewise.
20692 (CFLAGS-iofflush.c): Likewise.
20693 (CFLAGS-iofgetpos64.c): Likewise.
20694 (CFLAGS-iofgetpos.c): Likewise.
20695 (CFLAGS-iofgets.c): Likewise.
20696 (CFLAGS-iofgetws.c): Likewise.
20697 (CFLAGS-iofputs.c): Likewise.
20698 (CFLAGS-iofputws.c): Likewise.
20699 (CFLAGS-iofread.c): Likewise.
20700 (CFLAGS-iofsetpos64.c): Likewise.
20701 (CFLAGS-iofsetpos.c): Likewise.
20702 (CFLAGS-ioftell.c): Likewise.
20703 (CFLAGS-iofwrite.c): Likewise.
20704 (CFLAGS-iogetdelim.c): Likewise.
20705 (CFLAGS-iogetline.c): Likewise.
20706 (CFLAGS-iogets.c): Likewise.
20707 (CFLAGS-iogetwline.c): Likewise.
20708 (CFLAGS-ioputs.c): Likewise.
20709 (CFLAGS-ioseekoff.c): Likewise.
20710 (CFLAGS-ioseekpos.c): Likewise.
20711 (CFLAGS-iosetbuffer.c): Likewise.
20712 (CFLAGS-iosetvbuf.c): Likewise.
20713 (CFLAGS-ioungetc.c): Likewise.
20714 (CFLAGS-ioungetwc.c): Likewise.
20715 (CFLAGS-oldfileops.c): Likewise.
20716 (CFLAGS-oldiofclose.c): Likewise.
20717 (CFLAGS-oldiofgetpos64.c): Likewise.
20718 (CFLAGS-oldiofgetpos.c): Likewise.
20719 (CFLAGS-oldiofsetpos64.c): Likewise.
20720 (CFLAGS-oldiofsetpos.c): Likewise.
20721 (CFLAGS-peekc.c): Likewise.
20722 (CFLAGS-putc.c): Likewise.
20723 (CFLAGS-putchar.c): Likewise.
20724 (CFLAGS-putwc.c): Likewise.
20725 (CFLAGS-putwchar.c): Likewise.
20726 (CFLAGS-rewind.c): Likewise.
20727 (CFLAGS-wfileops.c): Likewise.
20728 (CFLAGS-wgenops.c): Likewise.
20729 (CFLAGS-oldiofopen.c): Likewise.
20730 (CFLAGS-iofopen.c): Likewise.
20731 (CFLAGS-iofopen64.c): Likewise.
20732 (CFLAGS-oldtmpfile.c): Likewise.
20733 (CFLAGS-tst_putwc.c): Likewise.
20734 * locale/Makefile (CFLAGS-md5.c): Likewise.
20735 (CFLAGS-charmap.c): Likewise.
20736 (CFLAGS-locfile.c): Likewise.
20737 (CFLAGS-charmap-dir.c): Likewise.
20738 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20739 (CFLAGS-getpt.c): Likewise.
20740 (CFLAGS-pt_chown.c): Likewise.
20741 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20742 (CFLAGS-obstack.c): Likewise.
20743 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20744 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20745 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20746 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20747 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20748 (CFLAGS-test-tgmath.c): Likewise.
20749 (CFLAGS-test-tgmath2.c): Likewise.
20750 (CFLAGS-test-tgmath-ret.c): Likewise.
20751 (CFLAGS-test-powl.c): Likewise.
20752 (CFLAGS-test-snan.c): Likewise.
20753 (CFLAGS-test-signgam-finite.c): Likewise.
20754 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20755 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20756 (CFLAGS-test-signgam-uchar.c): Likewise.
20757 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20758 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20759 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20760 (CFLAGS-test-signgam-uint.c): Likewise.
20761 (CFLAGS-test-signgam-uint-init.c): Likewise.
20762 (CFLAGS-test-signgam-uint-static.c): Likewise.
20763 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20764 (CFLAGS-test-signgam-ullong.c): Likewise.
20765 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20766 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20767 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20768 (CFLAGS-test-math-cxx11.cc): Likewise.
20769 (CFLAGS-test-math-isinff.cc): Likewise.
20770 (CFLAGS-test-math-iszero.cc): Likewise.
20771 (CFLAGS-test-math-issignaling.cc): Likewise.
20772 (CFLAGS-test-math-iscanonical.cc): Likewise.
20773 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20774 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20775 (CFLAGS-test-flt-eval-method.c): Likewise.
20776 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20777 (CFLAGS-test-finite-macros.c): Likewise.
20778 * misc/Makefile (CFLAGS-select.c): Likewise.
20779 (CFLAGS-tsearch.c): Likewise.
20780 (CFLAGS-lsearch.c): Likewise.
20781 (CFLAGS-pselect.c): Likewise.
20782 (CFLAGS-readv.c): Likewise.
20783 (CFLAGS-writev.c): Likewise.
20784 (CFLAGS-preadv.c): Likewise.
20785 (CFLAGS-preadv64.c): Likewise.
20786 (CFLAGS-pwritev.c): Likewise.
20787 (CFLAGS-pwritev64.c): Likewise.
20788 (CFLAGS-preadv2.c): Likewise.
20789 (CFLAGS-preadv64v2.c): Likewise.
20790 (CFLAGS-pwritev2.c): Likewise.
20791 (CFLAGS-pwritev64v2.c): Likewise.
20792 (CFLAGS-usleep.c): Likewise.
20793 (CFLAGS-syslog.c): Likewise.
20794 (CFLAGS-error.c): Likewise.
20795 (CFLAGS-getpass.c): Likewise.
20796 (CFLAGS-mkstemp.c): Likewise.
20797 (CFLAGS-mkstemp64.c): Likewise.
20798 (CFLAGS-getsysstats.c): Likewise.
20799 (CFLAGS-getusershell.c): Likewise.
20800 (CFLAGS-err.c): Likewise.
20801 (CFLAGS-tst-tsearch.c): Likewise.
20802 (CFLAGS-msync.c): Likewise.
20803 (CFLAGS-fdatasync.c): Likewise.
20804 (CFLAGS-fsync.c): Likewise.
20805 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20806 (CFLAGS-unwind.c): Likewise.
20807 (CFLAGS-unwind-forcedunwind.c): Likewise.
20808 (CFLAGS-pthread_cancel.c): Likewise.
20809 (CFLAGS-pthread_setcancelstate.c): Likewise.
20810 (CFLAGS-pthread_setcanceltype.c): Likewise.
20811 (CFLAGS-cancellation.c): Likewise.
20812 (CFLAGS-libc-cancellation.c): Likewise.
20813 (CFLAGS-pthread_exit.c): Likewise.
20814 (CFLAGS-forward.c): Likewise.
20815 (CFLAGS-pthread_testcancel.c): Likewise.
20816 (CFLAGS-pthread_join.c): Likewise.
20817 (CFLAGS-pthread_timedjoin.c): Likewise.
20818 (CFLAGS-pthread_once.c): Likewise.
20819 (CFLAGS-pthread_cond_wait.c): Likewise.
20820 (CFLAGS-sem_wait.c): Likewise.
20821 (CFLAGS-sem_timedwait.c): Likewise.
20822 (CFLAGS-fcntl.c): Likewise.
20823 (CFLAGS-lockf.c): Likewise.
20824 (CFLAGS-pread.c): Likewise.
20825 (CFLAGS-pread64.c): Likewise.
20826 (CFLAGS-pwrite.c): Likewise.
20827 (CFLAGS-pwrite64.c): Likewise.
20828 (CFLAGS-wait.c): Likewise.
20829 (CFLAGS-waitpid.c): Likewise.
20830 (CFLAGS-sigwait.c): Likewise.
20831 (CFLAGS-msgrcv.c): Likewise.
20832 (CFLAGS-msgsnd.c): Likewise.
20833 (CFLAGS-tcdrain.c): Likewise.
20834 (CFLAGS-open.c): Likewise.
20835 (CFLAGS-open64.c): Likewise.
20836 (CFLAGS-pause.c): Likewise.
20837 (CFLAGS-recv.c): Likewise.
20838 (CFLAGS-send.c): Likewise.
20839 (CFLAGS-accept.c): Likewise.
20840 (CFLAGS-sendto.c): Likewise.
20841 (CFLAGS-connect.c): Likewise.
20842 (CFLAGS-recvfrom.c): Likewise.
20843 (CFLAGS-recvmsg.c): Likewise.
20844 (CFLAGS-sendmsg.c): Likewise.
20845 (CFLAGS-close.c): Likewise.
20846 (CFLAGS-read.c): Likewise.
20847 (CFLAGS-write.c): Likewise.
20848 (CFLAGS-nanosleep.c): Likewise.
20849 (CFLAGS-sigsuspend.c): Likewise.
20850 (CFLAGS-msync.c): Likewise.
20851 (CFLAGS-fdatasync.c): Likewise.
20852 (CFLAGS-fsync.c): Likewise.
20853 (CFLAGS-pt-system.c): Likewise.
20854 (CFLAGS-tst-cleanup2.c): Likewise.
20855 (CFLAGS-tst-cleanupx2.c): Likewise.
20856 (CFLAGS-flockfile.c): Likewise.
20857 (CFLAGS-ftrylockfile.c): Likewise.
20858 (CFLAGS-funlockfile.c): Likewise.
20859 (CFLAGS-tst-initializers1.c): Likewise.
20860 (CFLAGS-tst-initializers1-c89.c): Likewise.
20861 (CFLAGS-tst-initializers1-c99.c): Likewise.
20862 (CFLAGS-tst-initializers1-c11.c): Likewise.
20863 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20864 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20865 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20866 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20867 (CFLAGS-nscd_getgr_r.c): Likewise.
20868 (CFLAGS-nscd_gethst_r.c): Likewise.
20869 (CFLAGS-nscd_getai.c): Likewise.
20870 (CFLAGS-nscd_initgroups.c): Likewise.
20871 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20872 (CFLAGS-pause.c): Likewise.
20873 (CFLAGS-pread.c): Likewise.
20874 (CFLAGS-pread64.c): Likewise.
20875 (CFLAGS-pwrite.c): Likewise.
20876 (CFLAGS-pwrite64.c): Likewise.
20877 (CFLAGS-sleep.c): Likewise.
20878 (CFLAGS-wait.c): Likewise.
20879 (CFLAGS-waitid.c): Likewise.
20880 (CFLAGS-waitpid.c): Likewise.
20881 (CFLAGS-getopt.c): Likewise.
20882 (CFLAGS-wordexp.c): Likewise.
20883 (CFLAGS-sysconf.c): Likewise.
20884 (CFLAGS-pathconf.c): Likewise.
20885 (CFLAGS-fpathconf.c): Likewise.
20886 (CFLAGS-spawn.c): Likewise.
20887 (CFLAGS-spawnp.c): Likewise.
20888 (CFLAGS-spawni.c): Likewise.
20889 (CFLAGS-glob.c): Likewise.
20890 (CFLAGS-glob64.c): Likewise.
20891 (CFLAGS-getconf.c): Likewise.
20892 (CFLAGS-nanosleep.c): Likewise.
20893 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20894 (CFLAGS-getpwent.c): Likewise.
20895 (CFLAGS-getpw.c): Likewise.
20896 (CFLAGS-fgetpwent_r.c): Likewise.
20897 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20898 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20899 (CFLAGS-mq_timedreceive.c): Likewise.
20900 (CFLAGS-mq_timedsend.c): Likewise.
20901 (CFLAGS-clock_nanosleep.c): Likewise.
20902 (CFLAGS-librt-cancellation.c): Likewise.
20903 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20904 (CFLAGS-getspent.c): Likewise.
20905 (CFLAGS-fgetspent.c): Likewise.
20906 (CFLAGS-fgetspent_r.c): Likewise.
20907 (CFLAGS-putspent.c): Likewise.
20908 (CFLAGS-getspnam.c): Likewise.
20909 (CFLAGS-getspnam_r.c): Likewise.
20910 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20911 (CFLAGS-sigsuspend.c): Likewise.
20912 (CFLAGS-sigtimedwait.c): Likewise.
20913 (CFLAGS-sigwait.c): Likewise.
20914 (CFLAGS-sigwaitinfo.c): Likewise.
20915 (CFLAGS-sigreturn.c): Likewise.
20916 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20917 (CFLAGS-vfwprintf.c): Likewise.
20918 (CFLAGS-tmpfile.c): Likewise.
20919 (CFLAGS-tmpfile64.c): Likewise.
20920 (CFLAGS-tempname.c): Likewise.
20921 (CFLAGS-psignal.c): Likewise.
20922 (CFLAGS-vprintf.c): Likewise.
20923 (CFLAGS-cuserid.c): Likewise.
20924 (CFLAGS-errlist.c): Likewise.
20925 (CFLAGS-siglist.c): Likewise.
20926 (CFLAGS-scanf15.c): Likewise.
20927 (CFLAGS-scanf17.c): Likewise.
20928 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20929 (CFLAGS-msort.c): Likewise.
20930 (CFLAGS-qsort.c): Likewise.
20931 (CFLAGS-system.c): Likewise.
20932 (CFLAGS-fmtmsg.c): Likewise.
20933 (CFLAGS-strfmon.c): Likewise.
20934 (CFLAGS-strfmon_l.c): Likewise.
20935 (CFLAGS-strfromd.c): Likewise.
20936 (CFLAGS-strfromf.c): Likewise.
20937 (CFLAGS-strfroml.c): Likewise.
20938 (CFLAGS-tst-bsearch.c): Likewise.
20939 (CFLAGS-tst-qsort.c): Likewise.
20940 (CFLAGS-tst-makecontext2.c): Likewise.
20941 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20942 (CFLAGS-xnlm_prot.c): Likewise.
20943 (CFLAGS-xrstat.c): Likewise.
20944 (CFLAGS-xyppasswd.c): Likewise.
20945 (CFLAGS-xklm_prot.c): Likewise.
20946 (CFLAGS-xrex.c): Likewise.
20947 (CFLAGS-xsm_inter.c): Likewise.
20948 (CFLAGS-xmount.c): Likewise.
20949 (CFLAGS-xrusers.c): Likewise.
20950 (CFLAGS-xspray.c): Likewise.
20951 (CFLAGS-xnfs_prot.c): Likewise.
20952 (CFLAGS-xrquota.c): Likewise.
20953 (CFLAGS-xkey_prot.c): Likewise.
20954 (CFLAGS-auth_unix.c): Likewise.
20955 (CFLAGS-key_call.c): Likewise.
20956 (CFLAGS-pmap_rmt.c): Likewise.
20957 (CFLAGS-clnt_perr.c): Likewise.
20958 (CFLAGS-openchild.c): Likewise.
20959 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20960 (CFLAGS-msgsnd.c): Likewise.
20961 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20962 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20963 (CFLAGS-tzset.c): Likewise.
20964 (CFLAGS-getdate.c): Likewise.
20965 (CFLAGS-test_time.c): Likewise.
20966 (CPPFLAGS-tst-tzname.c): Likewise.
20967 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20968 (CFLAGS-zic.c): Likewise.
20969 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20970 (CFLAGS-wcswidth.c): Likewise.
20971 (CFLAGS-wcstol.c): Likewise.
20972 (CFLAGS-wcstoul.c): Likewise.
20973 (CFLAGS-wcstoll.c): Likewise.
20974 (CFLAGS-wcstoull.c): Likewise.
20975 (CFLAGS-wcstod.c): Likewise.
20976 (CFLAGS-wcstold.c): Likewise.
20977 (CFLAGS-wcstof128.c): Likewise.
20978 (CFLAGS-wcstof.c): Likewise.
20979 (CFLAGS-wcstol_l.c): Likewise.
20980 (CFLAGS-wcstoul_l.c): Likewise.
20981 (CFLAGS-wcstoll_l.c): Likewise.
20982 (CFLAGS-wcstoull_l.c): Likewise.
20983 (CFLAGS-wcstod_l.c): Likewise.
20984 (CFLAGS-wcstold_l.c): Likewise.
20985 (CFLAGS-wcstof128_l.c): Likewise.
20986 (CFLAGS-wcstof_l.c): Likewise.
20987 (CPPFLAGS-tst-wchar-h.c): Likewise.
20988 (CPPFLAGS-wcstold_l.c): Likewise.
20989
20990 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20991
20992 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20993
20994 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20995 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20996
20997 * manual/tunables.texi (Hardware Capability Tunables): Document
20998 glibc.tune.cached_memopt.
20999 * sysdeps/powerpc/cpu-features.c: New file.
21000 * sysdeps/powerpc/cpu-features.h: New file.
21001 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21002 _dl_powerpc_cpu_features.
21003 * sysdeps/powerpc/dl-tunables.list: New file.
21004 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21005 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21006 (INIT_ARCH): Initialize use_aligned_memopt.
21007 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21008 IS_IN(rtld))]: Restrict dl_platform_init availability and
21009 initialize CPU features used by tunables.
21010 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21011 Add memcpy-power8-cached.
21012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21013 __memcpy_power8_cached.
21014 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21015 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21016 New file.
21017
21018 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21019
21020 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21021 (CFLAGS-noinl-tester.c): Likewise.
21022 (CFLAGS-tst-strlen.c): Likewise.
21023 (CFLAGS-stratcliff.c): Likewise.
21024 (CFLAGS-test-ffs.c): Likewise.
21025 (CFLAGS-tst-inlcall.c): Likewise.
21026 (CFLAGS-tst-xbzero-opt.c): Likewise.
21027 (CFLAGS-memcpy.c): Likewise.
21028 (CFLAGS-wordcopy.c): Likewise.
21029
21030 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21031
21032 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21033 Store r15 on stack and add cfi rule.
21034 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21035 Likewise.
21036
21037 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21038
21039 [BZ #22577]
21040 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21041 call.
21042
21043 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21044
21045 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21046 Add s_sinf-sse2 and s_sinf-fma.
21047 (CFLAGS-s_sinf-fma.c): New.
21048 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21049 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21050 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21051
21052 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21053
21054 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21055
21056 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21057
21058 [BZ #22568]
21059 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21060 part of result to imaginary part of argument if it is zero and the
21061 real part of the argument is not finite.
21062 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21063 of result to real part of argument if it is zero and the imaginary
21064 part of the argument is not finite.
21065
21066 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21067
21068 [BZ #22524]
21069 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21070 and to the list of locales to be built for testing.
21071 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21072 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21073 and build the collation rules upon that.
21074
21075 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21076
21077 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21078 * manual/math.texi (Mathematics): Document support for _Float32.
21079 * math/Makefile (test-types): Add float32.
21080 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21081 * stdlib/Versions (GLIBC_2.27): Likewise.
21082 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21083 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21084 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21085 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21086 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21087 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21088 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21089 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21090 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21091 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21092 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21093 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21094 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21095 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21096 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21097 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21098 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21099 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21100 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21101 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21102 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21103 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21104 Likewise.
21105 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21106 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21107 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21108 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21109 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21111 Likewise.
21112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21113 Likewise.
21114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21115 Likewise.
21116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21117 Likewise.
21118
21119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21120 Likewise.
21121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21122 Likewise.
21123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21124 Likewise.
21125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21126 Likewise.
21127 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21128 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21129 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21130 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21131 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21132 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21133 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21134 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21135 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21136 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21138 Likewise.
21139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21140 Likewise.
21141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21142 Likewise.
21143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21144 Likewise.
21145 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21146 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21147 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21148 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21149 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21150 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21151 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21152 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21153
21154 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21155
21156 * stdlib/strtof.c: Include <bits/floatn.h>
21157 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21158 and later undefine as macro. Define as weak alias if
21159 [!USE_WIDE_CHAR].
21160 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21161 and later undefine as macro. Define as weak alias if
21162 [USE_WIDE_CHAR].
21163 * stdlib/strtof_l.c: Include <bits/floatn.h>
21164 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21165 and later undefine as macro. Define as weak alias if
21166 [!USE_WIDE_CHAR].
21167 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21168 and later undefine as macro. Define as weak alias if
21169 [USE_WIDE_CHAR].
21170
21171 * stdlib/strfromf.c: Include <bits/floatn.h>.
21172 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21173 and later undefine as macro and define as weak alias.
21174
21175 * math/test-float32.h: New file.
21176
21177 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21178 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21179 (libm_alias_float_other_r): Create f32 alias.
21180 (libm_alias_float_r): Use semicolon before call to
21181 libm_alias_float_other_r.
21182
21183 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21184 second argument to libm_alias_float_other.
21185 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21186 second argument to libm_alias_float_other.
21187 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21188 argument to libm_alias_float_other.
21189
21190 [BZ #22561]
21191 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21192 real part of result for argument 0 + i * NaN.
21193 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21194 results for tests of 0 + i * NaN.
21195
21196 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21197
21198 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21199
21200 2017-12-06 David S. Miller <davem@davemloft.net>
21201
21202 * sysdeps/sparc/fpu/libm-test-ulps: Update
21203 exp_{downward,towardzero,upward} ulps.
21204
21205 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21206
21207 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21208 variables static.
21209
21210 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21211 (Y0_2D): Likewise.
21212 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21213 (Y0_2D): Likewise.
21214 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21215 (Y0_2D): Likewise.
21216 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21217 (Y0_2D): Likewise.
21218
21219 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21220
21221 [BZ #22515]
21222 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21223 and to the list of locales to be built for testing.
21224 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21225 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21226 and build the collation rules upon that.
21227
21228 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21229
21230 * NEWS: Add sinf to list of optimized functions.
21231
21232 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21233
21234 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21235 (__HAVE_FLOAT32X): Likewise.
21236 * manual/math.texi (Mathematics): Document support for _Float64
21237 and _Float32x.
21238 * math/Makefile (test-types): Add float64 and float32x.
21239 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21240 functions.
21241 * stdlib/Versions (GLIBC_2.27): Likewise.
21242 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21243 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21244 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21245 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21246 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21247 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21248 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21249 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21250 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21251 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21252 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21253 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21254 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21255 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21256 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21257 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21258 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21259 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21260 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21261 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21262 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21263 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21264 Likewise.
21265 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21266 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21267 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21268 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21269 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21271 Likewise.
21272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21273 Likewise.
21274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21275 Likewise.
21276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21277 Likewise.
21278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21279 Likewise.
21280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21281 Likewise.
21282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21283 Likewise.
21284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21285 Likewise.
21286 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21287 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21288 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21289 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21290 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21291 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21292 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21293 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21294 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21295 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21297 Likewise.
21298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21299 Likewise.
21300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21301 Likewise.
21302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21303 Likewise.
21304 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21305 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21306 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21307 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21308 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21309 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21310 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21311 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21312
21313 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21314
21315 * bits/floatn-common.h: Include <bits/long-double.h>.
21316 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21317 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21318 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21319 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21320 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21321 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21322 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21323 (__builtin_huge_valf64): Use __builtin_huge_vall.
21324 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21325 (__builtin_inff64): Use __builtin_infl.
21326 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21327 (__builtin_nanf64): Use __builtin_nanl.
21328 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21329 (__builtin_nansf64): Use __builtin_nansl.
21330
21331 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21332 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21333 Carlos O'Donnell <carlos@redhat.com>
21334
21335 * elf/dl-tunables.list: Add elision parameters.
21336 * manual/tunables.texi: Add entries about elision tunable.
21337 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21338 Add callback functions to dynamically enable/disable elision.
21339 Add multiple callbacks functions to set elision parameters.
21340 Deleted __libc_enable_secure check.
21341 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21342 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21343 * configure: Regenerated.
21344 * configure.ac: Option enable_lock_elision was deleted.
21345 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21346 * config.make.in: Remove references to enable_lock_elision.
21347 * manual/install.texi: Elision configure option was removed.
21348 * INSTALL: Regenerated to remove enable_lock_elision.
21349 * nptl/Makefile:
21350 Disable elision so it can verify error case for destroying a mutex.
21351 * sysdeps/powerpc/nptl/elide.h:
21352 Cleanup ENABLE_LOCK_ELISION check.
21353 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21354 * sysdeps/s390/configure: Regenerated.
21355 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21356 * nptl/tst-mutex8.c:
21357 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21358 * sysdeps/powerpc/powerpc32/sysdep.h:
21359 Deleted all ENABLE_LOCK_ELISION checks.
21360 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21361 * sysdeps/powerpc/sysdep.h: Likewise.
21362 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21363 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21364 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21365 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21366 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21367 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21368 enable-lock-elision.
21369
21370 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21371
21372 * stdlib/strtod.c: Include <bits/floatn.h>.
21373 (BUILD_DOUBLE): New macro.
21374 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21375 (strtof64): Define and later undefine as macro. Define as weak
21376 alias if [!USE_WIDE_CHAR].
21377 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21378 (wcstof64): Define and later undefine as macro. Define as weak
21379 alias if [USE_WIDE_CHAR].
21380 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21381 (strtof32x): Define and later undefine as macro. Define as weak
21382 alias if [!USE_WIDE_CHAR].
21383 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21384 (wcstof32x): Define and later undefine as macro. Define as weak
21385 alias if [USE_WIDE_CHAR].
21386 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21387 (BUILD_DOUBLE): New macro.
21388 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21389 (strtof64_l): Define and later undefine as macro. Define as weak
21390 alias if [!USE_WIDE_CHAR].
21391 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21392 (wcstof64_l): Define and later undefine as macro. Define as weak
21393 alias if [USE_WIDE_CHAR].
21394 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21395 (strtof32x_l): Define and later undefine as macro. Define as weak
21396 alias if [!USE_WIDE_CHAR].
21397 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21398 (wcstof32x_l): Define and later undefine as macro. Define as weak
21399 alias if [USE_WIDE_CHAR].
21400
21401 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21402
21403 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21404 (reduced): Use ones as double instead of integer.
21405
21406 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21407
21408 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21409
21410 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21411
21412 * stdlib/strfromd.c: Include <bits/floatn.h>.
21413 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21414 and later undefine as macro and define as weak alias.
21415 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21416 Likewise.
21417
21418 * math/test-float32x.h: New file.
21419 * math/test-float64.h: Likewise.
21420
21421 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21422 (libm_alias_double_other_r_f64): New macro.
21423 (libm_alias_double_other_r_f32x): Likewise.
21424 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21425 libm_alias_double_other_r_f32x.
21426 (libm_alias_double_r): Use semicolon before call to
21427 libm_alias_double_other_r.
21428 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21429 <bits/floatn.h>.
21430 (libm_alias_double_other_r_f64): New macro.
21431 (libm_alias_double_other_r_f32x): Likewise.
21432 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21433 libm_alias_double_other_r_f32x.
21434
21435 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21436
21437 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21438 int.
21439 (SINF_FUNC): Likewise. Replace floor with simple casts.
21440
21441 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21442
21443 [BZ #22517]
21444 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21445 and to the list of locales to be built for testing.
21446 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21447 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21448 and build the collation rules upon that.
21449
21450 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21451
21452 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21453 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21454 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21455 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21456 instead of __insn__xxx.
21457 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21458 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21459 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21460 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21461 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21462 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21463
21464 2017-12-05 Florian Weimer <fweimer@redhat.com>
21465
21466 Linux: Implement interfaces for memory protection keys
21467 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21468 xsignal, xsysconf.
21469 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21470 * support/xunistd.h (xsysconf): Declare.
21471 * support/xraise.c: New file.
21472 * support/xsigaction.c: Likewise.
21473 * support/xsignal.c: Likewise.
21474 * support/xsysconf.c: Likewise.
21475 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21476 pkey_set, pkey_get, pkey_mprotect.
21477 [misc] (tests): Add tst-pkey.
21478 (tst-pkey): Link with -lpthread.
21479 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21480 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21481 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21482 (PKEY_DISABLE_WRITE): Define.
21483 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21484 Declare.
21485 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21486 (SEGV_PKUERR): Add.
21487 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21488 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21489 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21490 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21491 Add.
21492 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21493 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21494 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21495 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21496 * sysdeps/unix/sysv/linux/**.abilist: Update.
21497
21498 2017-12-05 Florian Weimer <fweimer@redhat.com>
21499
21500 * support/tst-test_compare.c (subprocess): Use long long instead
21501 of long argument for consistent type width across 32-bit and
21502 64-bit architectures.
21503 (do_test): Adjust expected output.
21504
21505 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21506
21507 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21508 (cosf): Define using libm_alias_float.
21509 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21510 (fabsf): Define using libm_alias_float.
21511 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21512 (fmaf): Define using libm_alias_float.
21513 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21514 (rintf): Define using libm_alias_float.
21515 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21516 (sinf): Define using libm_alias_float.
21517 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21518 <libm-alias-float.h>.
21519 (modff): Define using libm_alias_float.
21520 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21521 <libm-alias-float.h>.
21522 (logbf): Define using libm_alias_float.
21523 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21524 <libm-alias-float.h>.
21525 (ceilf): Define using libm_alias_float.
21526 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21527 <libm-alias-float.h>.
21528 (copysignf): Define using libm_alias_float.
21529 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21530 <libm-alias-float.h>.
21531 (floorf): Define using libm_alias_float.
21532 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21533 <libm-alias-float.h>.
21534 (llrintf): Define using libm_alias_float.
21535 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21536 <libm-alias-float.h>.
21537 (llroundf): Define using libm_alias_float.
21538 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21539 <libm-alias-float.h>.
21540 (lrintf): Define using libm_alias_float.
21541 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21542 <libm-alias-float.h>.
21543 (lroundf): Define using libm_alias_float.
21544 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21545 <libm-alias-float.h>.
21546 (nearbyintf): Define using libm_alias_float.
21547 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21548 <libm-alias-float.h>.
21549 (rintf): Define using libm_alias_float.
21550 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21551 <libm-alias-float.h>.
21552 (roundf): Define using libm_alias_float.
21553 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21554 <libm-alias-float.h>.
21555 (truncf): Define using libm_alias_float.
21556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21557 Include <libm-alias-float.h>.
21558 (ceilf): Define using libm_alias_float.
21559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21560 Include <libm-alias-float.h>.
21561 (copysignf): Define using libm_alias_float.
21562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21563 Include <libm-alias-float.h>.
21564 (floorf): Define using libm_alias_float.
21565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21566 Include <libm-alias-float.h>.
21567 (llrintf): Define using libm_alias_float.
21568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21569 Include <libm-alias-float.h>.
21570 (llroundf): Define using libm_alias_float.
21571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21572 Include <libm-alias-float.h>.
21573 (logbf): Define using libm_alias_float.
21574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21575 Include <libm-alias-float.h>.
21576 (lrintf): Define using libm_alias_float.
21577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21578 Include <libm-alias-float.h>.
21579 (lroundf): Define using libm_alias_float.
21580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21581 Include <libm-alias-float.h>.
21582 (modff): Define using libm_alias_float.
21583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21584 Include <libm-alias-float.h>.
21585 (roundf): Define using libm_alias_float.
21586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21587 Include <libm-alias-float.h>.
21588 (truncf): Define using libm_alias_float.
21589 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21590 <libm-alias-float.h>.
21591 (llrintf): Define using libm_alias_float.
21592 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21593 <libm-alias-float.h>.
21594 (llroundf): Define using libm_alias_float.
21595 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21596 <libm-alias-float.h>.
21597 (ceilf): Define using libm_alias_float.
21598 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21599 <libm-alias-float.h>.
21600 (floorf): Define using libm_alias_float.
21601 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21602 <libm-alias-float.h>.
21603 (llroundf): Define using libm_alias_float.
21604 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21605 <libm-alias-float.h>.
21606 (lroundf): Define using libm_alias_float.
21607 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21608 <libm-alias-float.h>.
21609 (roundf): Define using libm_alias_float.
21610 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21611 <libm-alias-float.h>.
21612 (truncf): Define using libm_alias_float.
21613 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21614 <libm-alias-float.h>.
21615 (copysignf): Define using libm_alias_float.
21616 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21617 <libm-alias-float.h>.
21618 (llrintf): Define using libm_alias_float.
21619 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21620 <libm-alias-float.h>.
21621 (llroundf): Define using libm_alias_float.
21622 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21623 <libm-alias-float.h>.
21624 (lrintf): Define using libm_alias_float.
21625 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21626 <libm-alias-float.h>.
21627 (lroundf): Define using libm_alias_float.
21628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21629 <libm-alias-float.h>.
21630 (ceilf): Define using libm_alias_float.
21631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21632 <libm-alias-float.h>.
21633 (copysignf): Define using libm_alias_float.
21634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21635 <libm-alias-float.h>.
21636 (cosf): Define using libm_alias_float.
21637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21638 <libm-alias-float.h>.
21639 (floorf): Define using libm_alias_float.
21640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21641 <libm-alias-float.h>.
21642 (llrintf): Define using libm_alias_float.
21643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21644 <libm-alias-float.h>.
21645 (llroundf): Define using libm_alias_float.
21646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21647 <libm-alias-float.h>.
21648 (logbf): Define using libm_alias_float.
21649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21650 <libm-alias-float.h>.
21651 (modff): Define using libm_alias_float.
21652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21653 <libm-alias-float.h>.
21654 (roundf): Define using libm_alias_float.
21655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21656 <libm-alias-float.h>.
21657 (sinf): Define using libm_alias_float.
21658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21659 <libm-alias-float.h>.
21660 (truncf): Define using libm_alias_float.
21661 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21662 <libm-alias-float.h>.
21663 (ceilf): Define using libm_alias_float.
21664 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21665 <libm-alias-float.h>.
21666 (copysignf): Define using libm_alias_float.
21667 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21668 <libm-alias-float.h>.
21669 (floorf): Define using libm_alias_float.
21670 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21671 <libm-alias-float.h>.
21672 (llrintf): Define using libm_alias_float.
21673 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21674 <libm-alias-float.h>.
21675 (llroundf): Define using libm_alias_float.
21676 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21677 <libm-alias-float.h>.
21678 (nearbyintf): Define using libm_alias_float.
21679 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21680 <libm-alias-float.h>.
21681 (rintf): Define using libm_alias_float.
21682 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21683 <libm-alias-float.h>.
21684 (roundf): Define using libm_alias_float.
21685 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21686 <libm-alias-float.h>.
21687 (truncf): Define using libm_alias_float.
21688 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21689 <libm-alias-float.h>.
21690 (ceilf): Define using libm_alias_float.
21691 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21692 <libm-alias-float.h>.
21693 (floorf): Define using libm_alias_float.
21694 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21695 <libm-alias-float.h>.
21696 (llroundf): Define using libm_alias_float.
21697 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21698 <libm-alias-float.h>.
21699 (roundf): Define using libm_alias_float.
21700 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21701 <libm-alias-float.h>.
21702 (truncf): Define using libm_alias_float.
21703 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21704 <libm-alias-float.h>.
21705 (copysignf): Define using libm_alias_float.
21706 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21707 <libm-alias-float.h>.
21708 (llrintf): Define using libm_alias_float.
21709 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21710 <libm-alias-float.h>.
21711 (llroundf): Define using libm_alias_float.
21712 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21713 <libm-alias-float.h>.
21714 (cosf): Define using libm_alias_float.
21715 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21716 <libm-alias-float.h>.
21717 (llrintf): Define using libm_alias_float.
21718 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21719 <libm-alias-float.h>.
21720 (llroundf): Define using libm_alias_float.
21721 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21722 <libm-alias-float.h>.
21723 (sinf): Define using libm_alias_float.
21724
21725 2017-12-04 Florian Weimer <fweimer@redhat.com>
21726
21727 * support/check.h (TEST_COMPARE): Define.
21728 (support_test_compare_failure): Declare.
21729 * support/Makefile (libsupport-routines): Add
21730 support_test_compare_failure.
21731 (tests): Add tst-test_compare.
21732 * support /support_test_compare_failure.c: New file.
21733 * support/tst-test_compare.c: Likewise.
21734
21735 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21736
21737 [BZ #22527]
21738 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21739 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21740 available, this rewrite of the collation rules does reproduce
21741 the test file in the same order.
21742
21743 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21744
21745 [BZ #10580]
21746 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21747 digraphs in the month and day names. Using single code points for
21748 digraphs is deprecated. While there are dedicated Unicode
21749 codepoints, for the digraphs, these are included for backwards
21750 compatibility and modern texts use a sequence of Basic Latin
21751 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21752 This makes the month and day names agree exactly with CLDR now,
21753 CLDR does not use the single code points for the digraphs either.
21754
21755 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21756
21757 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21758
21759 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21760
21761 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21762 of floor.
21763
21764 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21765
21766 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21767 Define only for libc.so.
21768
21769 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21770
21771 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21772 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21773 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21774 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21775 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21776
21777 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21778
21779 [BZ #5997]
21780 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21781
21782 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21783
21784 [BZ libc/19170]
21785 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21786 PREINIT_FUNCTION_WEAK is nonzero.
21787 (gmon_initializer): New function. Put procedure label for it in
21788 .init_array section.
21789 (_init): Don't call PREINIT_FUNCTION.
21790 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21791 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21792 value when map argument is null.
21793
21794 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21795 depi instruction from PIC pc-relative sequence.
21796 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21797 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21798 (elf_machine_load_address): Likewise.
21799 (elf_machine_runtime_setup): Likewise.
21800
21801 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21802
21803 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21804 <libm-alias-double.h>.
21805 (logb): Define using libm_alias_double.
21806 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21807 <libm-alias-double.h>.
21808 (copysign): Define using libm_alias_double.
21809 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21810 <libm-alias-double.h>.
21811 (llrint): Define using libm_alias_double.
21812 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21813 <libm-alias-double.h>.
21814 (llround): Define using libm_alias_double.
21815 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21816 <libm-alias-double.h>.
21817 (lrint): Define using libm_alias_double.
21818 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21819 <libm-alias-double.h>.
21820 (lround): Define using libm_alias_double.
21821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21822 Include <libm-alias-double.h>.
21823 (copysign): Define using libm_alias_double.
21824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21825 Include <libm-alias-double.h>.
21826 (llrint): Define using libm_alias_double.
21827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21828 Include <libm-alias-double.h>.
21829 (llround): Define using libm_alias_double.
21830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21831 <libm-alias-double.h>.
21832 (logb): Define using libm_alias_double.
21833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21834 Include <libm-alias-double.h>.
21835 (lrint): Define using libm_alias_double.
21836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21837 Include <libm-alias-double.h>.
21838 (lround): Define using libm_alias_double.
21839 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21840 <libm-alias-double.h>.
21841 (llrint): Define using libm_alias_double.
21842 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21843 <libm-alias-double.h>.
21844 (llround): Define using libm_alias_double.
21845 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21846 <libm-alias-double.h>.
21847 (llround): Define using libm_alias_double.
21848 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21849 <libm-alias-double.h>.
21850 (lround): Define using libm_alias_double.
21851 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21852 <libm-alias-double.h>.
21853 (copysign): Define using libm_alias_double.
21854 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21855 <libm-alias-double.h>.
21856 (llrint): Define using libm_alias_double.
21857 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21858 <libm-alias-double.h>.
21859 (llround): Define using libm_alias_double.
21860 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21861 <libm-alias-double.h>.
21862 (lrint): Define using libm_alias_double.
21863 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21864 <libm-alias-double.h>.
21865 (lround): Define using libm_alias_double.
21866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21867 <libm-alias-double.h>.
21868 (copysign): Define using libm_alias_double.
21869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21870 <libm-alias-double.h>.
21871 (llrint): Define using libm_alias_double.
21872 (lrint): Likewise.
21873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21874 <libm-alias-double.h>.
21875 (llround): Define using libm_alias_double.
21876 (lround): Likewise.
21877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21878 <libm-alias-double.h>.
21879 (logb): Define using libm_alias_double.
21880 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21881 <libm-alias-double.h>.
21882 (copysign): Define using libm_alias_double.
21883 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21884 <libm-alias-double.h>.
21885 (llrint): Define using libm_alias_double.
21886 (lrint): Likewise.
21887 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21888 <libm-alias-double.h>.
21889 (llround): Define using libm_alias_double.
21890 (lround): Likewise.
21891 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21892 <libm-alias-double.h>.
21893 (llround): Define using libm_alias_double.
21894 (lround): Likewise.
21895 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21896 <libm-alias-double.h>.
21897 (copysign): Define using libm_alias_double.
21898 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21899 <libm-alias-double.h>.
21900 (llrint): Define using libm_alias_double.
21901 (lrint): Likewise.
21902 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21903 <libm-alias-double.h>.
21904 (llround): Define using libm_alias_double.
21905 (lround): Likewise.
21906 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21907 <libm-alias-double.h>.
21908 (llrint): Define using libm_alias_double.
21909 (lrint): Likewise.
21910 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21911 <libm-alias-double.h>.
21912 (llround): Define using libm_alias_double.
21913 (lround): Likewise.
21914
21915 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21916
21917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21918 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21919 compat symbol based on llround.
21920
21921 * sysdeps/powerpc/power7/fpu/s_logb.c
21922 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21923 symbol based on __logb, not on logb.
21924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21925 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21927 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21928
21929 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21930 (rint): Define using libm_alias_double.
21931 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21932 <libm-alias-double.h>.
21933 (modf): Define using libm_alias_double.
21934 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21935 <libm-alias-double.h>.
21936 (ceil): Define using libm_alias_double.
21937 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21938 <libm-alias-double.h>.
21939 (floor): Define using libm_alias_double.
21940 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21941 <libm-alias-double.h>.
21942 (nearbyint): Define using libm_alias_double.
21943 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21944 <libm-alias-double.h>.
21945 (rint): Define using libm_alias_double.
21946 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21947 <libm-alias-double.h>.
21948 (round): Define using libm_alias_double.
21949 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21950 <libm-alias-double.h>.
21951 (trunc): Define using libm_alias_double.
21952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21953 <libm-alias-double.h>.
21954 (ceil): Define using libm_alias_double.
21955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21956 Include <libm-alias-double.h>.
21957 (floor): Define using libm_alias_double.
21958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21959 <libm-alias-double.h>.
21960 (modf): Define using libm_alias_double.
21961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21962 Include <libm-alias-double.h>.
21963 (round): Define using libm_alias_double.
21964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21965 Include <libm-alias-double.h>.
21966 (trunc): Define using libm_alias_double.
21967 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21968 <libm-alias-double.h>.
21969 (ceil): Define using libm_alias_double.
21970 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21971 <libm-alias-double.h>.
21972 (floor): Define using libm_alias_double.
21973 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21974 <libm-alias-double.h>.
21975 (round): Define using libm_alias_double.
21976 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21977 <libm-alias-double.h>.
21978 (trunc): Define using libm_alias_double.
21979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21980 <libm-alias-double.h>.
21981 (ceil): Define using libm_alias_double.
21982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21983 <libm-alias-double.h>.
21984 (floor): Define using libm_alias_double.
21985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21986 <libm-alias-double.h>.
21987 (modf): Define using libm_alias_double.
21988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21989 <libm-alias-double.h>.
21990 (round): Define using libm_alias_double.
21991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21992 <libm-alias-double.h>.
21993 (trunc): Define using libm_alias_double.
21994 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21995 <libm-alias-double.h>.
21996 (ceil): Define using libm_alias_double.
21997 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21998 <libm-alias-double.h>.
21999 (floor): Define using libm_alias_double.
22000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22001 <libm-alias-double.h>.
22002 (nearbyint): Define using libm_alias_double.
22003 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22004 <libm-alias-double.h>.
22005 (rint): Define using libm_alias_double.
22006 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22007 <libm-alias-double.h>.
22008 (round): Define using libm_alias_double.
22009 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22010 <libm-alias-double.h>.
22011 (trunc): Define using libm_alias_double.
22012 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22013 <libm-alias-double.h>.
22014 (ceil): Define using libm_alias_double.
22015 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22016 <libm-alias-double.h>.
22017 (floor): Define using libm_alias_double.
22018 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22019 <libm-alias-double.h>.
22020 (round): Define using libm_alias_double.
22021 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22022 <libm-alias-double.h>.
22023 (trunc): Define using libm_alias_double.
22024
22025 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22026 (fabs): Define using libm_alias_double.
22027 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22028 (fma): Define using libm_alias_double.
22029 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22030 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22031 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22032 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22033
22034 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22035
22036 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22037
22038 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22039 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22040 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22041
22042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22043 due redirect macro.
22044
22045 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22046
22047 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22048
22049 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22050
22051 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22052 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22053 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22054 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22055
22056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22057 (libm-sysdep_routines): Add s_nearbyintf-generic and
22058 s_nearbyint-generic.
22059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22060 New file.
22061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22063 Likewise.
22064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22065 Likewise.
22066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22067 file.
22068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22069 Likewise.
22070
22071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22072 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22074 file.
22075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22077 Likewise.
22078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22081
22082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22083 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22085 file.
22086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22088 Likewise.
22089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22092
22093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22094 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22096 file.
22097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22099 Likewise.
22100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22103
22104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22105 (sysdep_calls): New rule.
22106 (sysdep_routines): Use sysdep_calls as base.
22107 (libm-sysdep_routines): Add generic rule for symbols shared with
22108 libc. Add s_copysign-generic and s_copysign-generic objects.
22109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22110 New file.
22111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22113 Likewise.
22114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22117
22118 2017-12-01 Mike FABIAN <mfabian@redhat.com>
22119
22120 [BZ #22519]
22121 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22122 the list of locales to be built for testing.
22123 * localedata/is_IS.UTF-8.in: New file.
22124 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22125 on iso14651_t1.
22126
22127 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22128
22129 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22130 <libm-alias-float.h>.
22131 (fabsf): Define using libm_alias_float.
22132
22133 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22134
22135 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22136
22137 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22138
22139 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22140 <libm-alias-float.h>.
22141 (fabsf): Define using libm_alias_float.
22142 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22143 <libm-alias-float.h>.
22144 (lrintf): Define using libm_alias_float.
22145 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22146 <libm-alias-float.h>.
22147 (rintf): Define using libm_alias_float.
22148
22149 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22150 <libm-alias-double.h>.
22151 (fabs): Define using libm_alias_double.
22152 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22153 <libm-alias-double.h>.
22154 (lrint): Define using libm_alias_double.
22155 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22156 <libm-alias-double.h>.
22157 (rint): Define using libm_alias_double.
22158
22159 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22160 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22161 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22162 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22163 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22164 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22165 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22166 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22167 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22168 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22169 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22170 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22171 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22172 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22173 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22174 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22175 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22176 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22177 s_atan_template.c.
22178 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22179 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22180 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22181 s_ceil_template.c.
22182 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22183 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22184 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22185 s_cos_template.c.
22186 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22187 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22188 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22189 s_expm1_template.c.
22190 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22191 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22192 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22193 s_fabs_template.c.
22194 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22195 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22196 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22197 s_floor_template.c.
22198 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22199 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22200 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22201 s_frexp_template.c.
22202 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22203 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22204 s_lrint_template.c.
22205 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22206 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22207 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22208 s_modf_template.c.
22209 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22210 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22211 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22212 s_nearbyint_template.c.
22213 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22214 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22215 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22216 s_remquo_template.c.
22217 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22218 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22219 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22220 s_rint_template.c.
22221 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22222 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22223 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22224 s_sin_template.c.
22225 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22226 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22227 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22228 s_sincos_template.c.
22229 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22230 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22231 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22232 s_tan_template.c.
22233 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22234 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22235 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22236 s_tanh_template.c.
22237 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22238 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22239 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22240 s_trunc_template.c.
22241 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22242 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22243 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22244 s_atan.c instead of including s_atan.c.
22245 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22246 s_atanf.c instead of including s_atanf.c.
22247 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22248 s_atanl.c instead of including s_atanl.c.
22249 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22250 instead of s_atan.c.
22251 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22252 instead of s_atanf.c.
22253 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22254 instead of s_atanl.c.
22255
22256 * scripts/update-copyrights: Do not handle intl/plural.c
22257 specially.
22258
22259 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22260
22261 [BZ #22432]
22262 * configure.ac (BISON): Require to be present.
22263 * configure: Regenerated.
22264 * intl/Makefile (generated): Add plural.c.
22265 [$(BISON) != no]: Make code unconditional.
22266 (plural.c): Change rule to $(objpfx)plural.c.
22267 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22268 * intl/plural.c: Remove.
22269 * manual/install.texi (Tools for Compilation): Document bison as
22270 required.
22271 * INSTALL: Regenerated.
22272
22273 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22274
22275 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22276 <libm-alias-double.h>.
22277 (llrint): Define using libm_alias_double.
22278 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22279 <libm-alias-float.h>.
22280 (llrintf): Define using libm_alias_float.
22281 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22282 <libm-alias-ldouble.h>.
22283 (llrintl): Define using libm_alias_ldouble.
22284
22285 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22286 declare_mgen_alias instead of weak_alias.
22287 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22288 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22289 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22290
22291 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22292
22293 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22294 Add add_n-generic.
22295 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22296 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22297 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22298
22299 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22300 Add submul_1-generic.
22301 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22302 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22303 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22304
22305 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22306 Add addmul_1-generic.
22307 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22308 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22309 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22310
22311 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22312 Add sub_n-generic.
22313 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22314 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22315 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22316
22317 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22318 Add mul_1-generic.
22319 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22320 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22321 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22322
22323 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22324
22325 According to CLDR, collation rules for Serbian and Bosnian
22326 should be the same as for Croatian.
22327
22328 [BZ #22534]
22329 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22330 and to the list of locales to be built for testing.
22331 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22332 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22333 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22334 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22335
22336 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22337
22338 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22339 to make test case pass.
22340 * localedata/hr_HR.UTF-8.in: Add more test strings.
22341
22342 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22343
22344 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22345
22346 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22347
22348 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22349 the list of locales to built for testing.
22350 * localedata/hr_HR.UTF-8.in: New file.
22351
22352 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22353
22354 [BZ #10580]
22355 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22356 iso14651_t1.
22357 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22358 CLDR (except use ligatures for the digraphs, CLDR does not use
22359 the ligatures), add first_workday, some fixes in the date and time
22360 formats.
22361 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22362 for Đ and đ.
22363 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22364 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22365 Add int_p_cs_precedes and int_n_cs_precedes.
22366 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22367 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22368 LC_MONETARY now).
22369 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22370 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22371 name_miss.
22372 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22373 and lang_lib. Change postal_fmt.
22374
22375 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22376
22377 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22378 <setjmp.h>.
22379 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22380 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22381 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22382 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22383 * sysdeps/generic/setjmpP.h: New file.
22384 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22385 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22386 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22387 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22388 Add jmp_buf-ssp.sym.
22389 (tests): Add tst-saved_mask-1.
22390
22391 2017-11-30 Arjun Shankar <arjun@redhat.com>
22392
22393 [BZ #22375]
22394 CVE-2017-17426
22395 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22396 instead of request2size.
22397
22398 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22399
22400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22401 (__lllrint): Remove alias.
22402 (lllrint): Likewise.
22403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22404 (__lllrintf): Likewise.
22405 (lllrintf): Likewise.
22406
22407 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22408 <libm-alias-float.h>.
22409 (copysignf): Define using libm_alias_float.
22410 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22411 <libm-alias-float.h>.
22412 (fabsf): Define using libm_alias_float.
22413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22414 Include <libm-alias-float.h>.
22415 (copysignf): Define using libm_alias_float.
22416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22417 <libm-alias-float.h>.
22418 (fabsf): Define using libm_alias_float.
22419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22420 <libm-alias-float.h>.
22421 (fdimf): Define using libm_alias_float.
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22423 <libm-alias-float.h>.
22424 (fmaf): Define using libm_alias_float.
22425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22426 <libm-alias-float.h>.
22427 (llrintf): Define using libm_alias_float.
22428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22429 Include <libm-alias-float.h>.
22430 (nearbyintf): Define using libm_alias_float.
22431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22432 <libm-alias-float.h>.
22433 (rintf): Define using libm_alias_float.
22434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22435 <libm-alias-float.h>.
22436 (llrintf): Define using libm_alias_float.
22437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22438 <libm-alias-float.h>.
22439 (lrintf): Define using libm_alias_float.
22440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22441 <libm-alias-float.h>.
22442 (nearbyintf): Define using libm_alias_float.
22443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22444 <libm-alias-float.h>.
22445 (rintf): Define using libm_alias_float.
22446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22447 <libm-alias-float.h>.
22448 (ceilf): Define using libm_alias_float.
22449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22450 <libm-alias-float.h>.
22451 (floorf): Define using libm_alias_float.
22452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22453 <libm-alias-float.h>.
22454 (fmaf): Define using libm_alias_float.
22455 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22456 <libm-alias-float.h>.
22457 (lrintf): Define using libm_alias_float.
22458 (llrintf): Likewise.
22459 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22460 <libm-alias-float.h>.
22461 (nearbyintf): Define using libm_alias_float.
22462 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22463 <libm-alias-float.h>.
22464 (rintf): Define using libm_alias_float.
22465 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22466 <libm-alias-float.h>.
22467 (truncf): Define using libm_alias_float.
22468 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22469 <libm-alias-float.h>.
22470 (copysignf): Define using libm_alias_float.
22471 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22472 <libm-alias-float.h>.
22473 (fabsf): Define using libm_alias_float.
22474 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22475 <libm-alias-float.h>.
22476 (lrintf): Define using libm_alias_float.
22477 (llrintf): Likewise.
22478 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22479 <libm-alias-float.h>.
22480 (nearbyintf): Define using libm_alias_float.
22481 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22482 <libm-alias-float.h>.
22483 (rintf): Define using libm_alias_float.
22484
22485 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22486
22487 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22488 <libm-alias-double.h>.
22489 (copysign): Define using libm_alias_double.
22490 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22491 <libm-alias-double.h>.
22492 (fabs): Define using libm_alias_double.
22493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22494 Include <libm-alias-double.h>.
22495 (copysign): Define using libm_alias_double.
22496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22497 <libm-alias-double.h>.
22498 (fabs): Define using libm_alias_double.
22499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22500 <libm-alias-double.h>.
22501 (fdim): Define using libm_alias_double.
22502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22503 <libm-alias-double.h>.
22504 (fma): Define using libm_alias_double.
22505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22506 <libm-alias-double.h>.
22507 (llrint): Define using libm_alias_double.
22508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22509 Include <libm-alias-double.h>.
22510 (nearbyint): Define using libm_alias_double.
22511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22512 <libm-alias-double.h>.
22513 (rint): Define using libm_alias_double.
22514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22515 <libm-alias-double.h>.
22516 (fabs): Define using libm_alias_double.
22517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22518 <libm-alias-double.h>.
22519 (llrint): Define using libm_alias_double.
22520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22521 <libm-alias-double.h>.
22522 (nearbyint): Define using libm_alias_double.
22523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22524 <libm-alias-double.h>.
22525 (rint): Define using libm_alias_double.
22526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22527 <libm-alias-double.h>.
22528 (ceil): Define using libm_alias_double.
22529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22530 <libm-alias-double.h>.
22531 (floor): Define using libm_alias_double.
22532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22533 <libm-alias-double.h>.
22534 (fma): Define using libm_alias_double.
22535 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22536 <libm-alias-double.h>.
22537 (lrint): Define using libm_alias_double.
22538 (llrint): Likewise.
22539 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22540 <libm-alias-double.h>.
22541 (nearbyint): Define using libm_alias_double.
22542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22543 <libm-alias-double.h>.
22544 (rint): Define using libm_alias_double.
22545 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22546 <libm-alias-double.h>.
22547 (trunc): Define using libm_alias_double.
22548 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22549 <libm-alias-double.h>.
22550 (copysign): Define using libm_alias_double.
22551 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22552 <libm-alias-double.h>.
22553 (fabs): Define using libm_alias_double.
22554 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22555 <libm-alias-double.h>.
22556 (lrint): Define using libm_alias_double.
22557 (llrint): Likewise.
22558 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22559 <libm-alias-double.h>.
22560 (nearbyint): Define using libm_alias_double.
22561 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22562 <libm-alias-double.h>.
22563 (rint): Define using libm_alias_double.
22564
22565 [BZ #22229]
22566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22567 <math_ldbl_opt.h>.
22568 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22569
22570 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22571 SPARC --disable-multi-arch glibc variants.
22572
22573 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22574 <libm-alias-float.h>.
22575 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22576 if [SHARED].
22577 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22578 <libm-alias-float.h>.
22579 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22580 if [SHARED].
22581 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22582 <libm-alias-float.h>.
22583 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22584 if [SHARED].
22585 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22586 <libm-alias-float.h>.
22587 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22588 if [SHARED].
22589 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22590 <libm-alias-float.h>.
22591 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22592 if [SHARED].
22593 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22594 <libm-alias-float.h>.
22595 (ceilf): Define using libm_alias_float.
22596 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22597 <libm-alias-float.h>.
22598 (floorf): Define using libm_alias_float.
22599 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22600 <libm-alias-float.h>.
22601 (fmaf): Define using libm_alias_float.
22602 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22603 <libm-alias-float.h>.
22604 (nearbyintf): Define using libm_alias_float.
22605 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22606 <libm-alias-float.h>.
22607 (rintf): Define using libm_alias_float.
22608 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22609 <libm-alias-float.h>.
22610 (truncf): Define using libm_alias_float.
22611 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22612 (copysignf): Define using libm_alias_float.
22613 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22614 (cosf): Define using libm_alias_float.
22615 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22616 (fabsf): Define using libm_alias_float.
22617 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22618 (fmaxf): Define using libm_alias_float.
22619 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22620 (fminf): Define using libm_alias_float.
22621 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22622 (llrintf): Define using libm_alias_float.
22623 [!__ILP32__] (lrintf): Likewise.
22624 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22625 (sincosf): Define using libm_alias_float.
22626 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22627 (sinf): Define using libm_alias_float.
22628 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22629 (lrintf): Define using libm_alias_float.
22630
22631 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22632 <libm-alias-double.h>.
22633 (atan): Define using libm_alias_double.
22634 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22635 <libm-alias-double.h>.
22636 (ceil): Define using libm_alias_double.
22637 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22638 <libm-alias-double.h>.
22639 (floor): Define using libm_alias_double.
22640 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22641 <libm-alias-double.h>.
22642 (fma): Define using libm_alias_double.
22643 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22644 <libm-alias-double.h>.
22645 (nearbyint): Define using libm_alias_double.
22646 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22647 <libm-alias-double.h>.
22648 (rint): Define using libm_alias_double.
22649 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22650 <libm-alias-double.h>.
22651 (sin): Define using libm_alias_double.
22652 (cos): Likewise.
22653 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22654 <libm-alias-double.h>.
22655 (tan): Define using libm_alias_double.
22656 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22657 <libm-alias-double.h>.
22658 (trunc): Define using libm_alias_double.
22659 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22660 (copysign): Define using libm_alias_double.
22661 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22662 (fabs): Define using libm_alias_double.
22663 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22664 (fmax): Define using libm_alias_double.
22665 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22666 (fmin): Define using libm_alias_double.
22667 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22668 (llrint): Define using libm_alias_double.
22669 [!__ILP32__] (lrint): Likewise.
22670 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22671 (lrint): Define using libm_alias_double.
22672
22673 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22674
22675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22676 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22677 objects.
22678 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22679 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22680 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22684
22685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22686 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22687 objects.
22688 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22694
22695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22696 (libm-sysdep_routines): Add s_nearbyint-generic and
22697 s_nearbyintf-generic objects.
22698 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22699 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22700 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22701 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22702 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22703 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22704
22705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22706 Add s_finitef-generic and s_finite-generic objects.
22707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22713
22714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22715 Add s_isinff-generic and s_isinf-generic objects.
22716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22722
22723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22724 Add s_isnanf-generic and s_isnan-generic objects.
22725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22731
22732 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22733 macro.
22734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22735 rule.
22736 (sysdep_routines): Use sysdep_calls as base.
22737 (libm-sysdep_routines): Add generic rule for symbols shared with
22738 libc. Add s_signbit-generic and s_signbitf-generic objects.
22739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22744 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22745
22746 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22747
22748 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22749 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22750 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22751 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22752 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22753 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22754 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22755 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22756 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22757 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22758 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22759 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22760 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22761 libm_alias_float_r.
22762 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22763 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22764 (logf): Likewise.
22765 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22766 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22767 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22768 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22769 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22770 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22771 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22772 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22773 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22774 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22775 libm_alias_float.
22776 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22777 (cosf): Likewise.
22778 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22779 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22780 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22781 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22782 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22783 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22784 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22785 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22786 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22787 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22788 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22789 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22790 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22791 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22792 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22793 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22794 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22795 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22796 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22797 libm_alias_float.
22798 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22799 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22800 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22801 * sysdeps/ia64/fpu/w_lgammaf_main.c
22802 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22803 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22804
22805 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22806 Alexandre Oliva <aoliva@redhat.com>
22807
22808 [BZ #17750]
22809 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22810 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22811 accents sorting.
22812 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22813 sorting.
22814 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22815 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22816 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22817 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22818 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22819 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22820 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22821 instead of “ifdef DIACRIT_BACKWARD”.
22822
22823 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22824
22825 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22826 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22827 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22828 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22829 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22830 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22837 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22838 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22839 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22840 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22841 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22842 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22844 ($(have-as-vis3) == yes): Remove conditional.
22845 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22846 Likewise.
22847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22848 file.
22849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22850 file.
22851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22852 file.
22853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22854 file.
22855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22861 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22862 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22863
22864 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22865
22866 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22867 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22868 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22869 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22870 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22871 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22872 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22873 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22874 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22875 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22876 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22877 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22878 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22879 libm_alias_double_r.
22880 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22881 (log): Likewise.
22882 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22883 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22884 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22885 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22886 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22887 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22888 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22889 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22890 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22891 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22892 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22893 libm_alias_double.
22894 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22895 (cos): Likewise.
22896 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22897 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22898 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22899 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22900 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22901 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22902 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22903 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22904 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22905 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22906 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22907 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22908 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22909 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22910 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22911 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22912 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22913 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22914 libm_alias_double.
22915 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22916 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22917 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22918 * sysdeps/ia64/fpu/w_lgamma_main.c
22919 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22920 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22921
22922 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22923
22924 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22925 address of $global$ into %dp register earlier. Use pc-relative
22926 instruction sequence for PIC case.
22927
22928 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22929
22930 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22931 (asinhf): Define using libm_alias_float.
22932 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22933 (atanf): Define using libm_alias_float.
22934 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22935 (cbrtf): Define using libm_alias_float.
22936 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22937 (ceilf): Define using libm_alias_float.
22938 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22939 (copysignf): Define using libm_alias_float.
22940 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22941 (expm1f): Define using libm_alias_float.
22942 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22943 (fabsf): Define using libm_alias_float.
22944 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22945 (floorf): Define using libm_alias_float.
22946 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22947 (fmaxf): Define using libm_alias_float.
22948 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22949 (fminf): Define using libm_alias_float.
22950 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22951 (frexpf): Define using libm_alias_float.
22952 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22953 (llrintf): Define using libm_alias_float.
22954 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22955 (logbf): Define using libm_alias_float.
22956 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22957 (lrintf): Define using libm_alias_float.
22958 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22959 (nearbyintf): Define using libm_alias_float.
22960 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22961 (remquof): Define using libm_alias_float.
22962 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22963 (rintf): Define using libm_alias_float.
22964 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22965 (truncf): Define using libm_alias_float.
22966 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22967 <libm-alias-float.h>.
22968 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22969 if [SHARED].
22970 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22971 <libm-alias-float.h>.
22972 (expf): Define using libm_alias_float, or libm_alias_float_other
22973 if [SHARED].
22974 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22975 <libm-alias-float.h>.
22976 (log2f): Define using libm_alias_float, or libm_alias_float_other
22977 if [SHARED].
22978 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22979 <libm-alias-float.h>.
22980 (logf): Define using libm_alias_float, or libm_alias_float_other
22981 if [SHARED].
22982 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22983 <libm-alias-float.h>.
22984 (powf): Define using libm_alias_float, or libm_alias_float_other
22985 if [SHARED].
22986 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22987 <libm-alias-float.h>.
22988 (cosf): Define using libm_alias_float.
22989 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22990 <libm-alias-float.h>.
22991 (sincosf): Define using libm_alias_float.
22992 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22993 <libm-alias-float.h>.
22994 (sinf): Define using libm_alias_float.
22995 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22996 (fmaxf): Define using libm_alias_float.
22997 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22998 (fminf): Define using libm_alias_float.
22999 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23000 <libm-alias-float.h>.
23001 (fmaf): Define using libm_alias_float.
23002
23003 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23004 (asinh): Define using libm_alias_double.
23005 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23006 (atan): Define using libm_alias_double.
23007 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23008 (cbrt): Define using libm_alias_double.
23009 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23010 (ceil): Define using libm_alias_double.
23011 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23012 (copysign): Define using libm_alias_double.
23013 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23014 (expm1): Define using libm_alias_double.
23015 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23016 (fabs): Define using libm_alias_double.
23017 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23018 (fdim): Define using libm_alias_double.
23019 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23020 (floor): Define using libm_alias_double.
23021 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23022 (fmax): Define using libm_alias_double.
23023 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23024 (fmin): Define using libm_alias_double.
23025 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23026 (frexp): Define using libm_alias_double.
23027 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23028 (llrint): Define using libm_alias_double.
23029 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23030 (logb): Define using libm_alias_double.
23031 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23032 (lrint): Define using libm_alias_double.
23033 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23034 (nearbyint): Define using libm_alias_double.
23035 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23036 (remquo): Define using libm_alias_double.
23037 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23038 (rint): Define using libm_alias_double.
23039 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23040 (trunc): Define using libm_alias_double.
23041 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23042 (fmax): Define using libm_alias_double.
23043 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23044 (fmin): Define using libm_alias_double.
23045 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23046 (fma): Define using libm_alias_double.
23047
23048 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23049
23050 [BZ #22370]
23051 * elf/dl-hwcaps.c (ROUND): Removed.
23052 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23053 and ELF_NOTE_NEXT_OFFSET.
23054 * elf/dl-load.c (ROUND): Removed.
23055 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23056 * elf/readelflib.c (ROUND): Removed.
23057 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23058 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23059 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23060 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23061
23062 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23063
23064 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23065 [!__fmaf] (fmaf): Define using libm_alias_float.
23066
23067 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23068 [!__fma] (fma): Define using libm_alias_double.
23069 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23070
23071 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23072
23073 [BZ #22336]
23074 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23075 and implement the collation rules for cs from CLDR on top of that.
23076 * Makefile: Add cs_CZ.UTF-8 to test-input.
23077 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23078
23079 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23080
23081 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23082
23083 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23084 Icarus Sparry <icarus.w.sparry@intel.com>
23085
23086 * benchtests/Makefile:Add BENCHSET to allow subsets of
23087 benchmarks to be run.
23088 * benchtests/README: Add documentation for: Running subsets of
23089 benchmarks.
23090
23091 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23092
23093 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23094 range of tests names.
23095
23096 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23097 result from property and remove "max", min" and "mean" from
23098 required properties based on benchtests/bench-skeleton.c.
23099
23100 2017-11-28 Florian Weimer <fweimer@redhat.com>
23101
23102 [BZ #20826]
23103 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23104 due to Internet requirement.
23105 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23106 tst-getaddrinfo5.
23107 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23108
23109 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23110
23111 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23112 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23113 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23114 (sysdep_routines): Add memset-ultra1.
23115 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23116 file.
23117 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23118 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23119 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23120 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23121 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23122 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23123 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23124 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23125
23126 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23127 file.
23128 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23129 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23130 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23131 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23132 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23133 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23134 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23135 macro.
23136 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23137 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23138 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23139 (sysdep_routines): Add memcpy-ultra1.
23140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23141 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23142
23143 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23144
23145 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23146 (cfloat_versions): Take function argument without trailing 'f'.
23147 Call libm_alias_float_other.
23148 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23149 * sysdeps/alpha/fpu/cargf.c: Likewise.
23150 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23151 * sysdeps/alpha/fpu/conjf.c: Likewise.
23152 * sysdeps/alpha/fpu/crealf.c: Likewise.
23153 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23154 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23155 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23156 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23157 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23158 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23159 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23160 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23161 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23162 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23163 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23164 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23165 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23166 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23167 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23168 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23169 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23170 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23171 (clog10f): Use libm_alias_float_other.
23172 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23173 (ceilf): Define using libm_alias_float.
23174 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23175 (copysignf): Define using libm_alias_float.
23176 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23177 (fabsf): Define using libm_alias_float.
23178 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23179 (floorf): Define using libm_alias_float.
23180 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23181 (fmaxf): Define using libm_alias_float.
23182 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23183 (fminf): Define using libm_alias_float.
23184 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23185 (lrintf): Define using libm_alias_float.
23186 (llrintf): Likewise.
23187 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23188 (lroundf): Define using libm_alias_float.
23189 (llroundf): Likewise.
23190 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23191 (rintf): Define using libm_alias_float.
23192 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23193 (truncf): Define using libm_alias_float.
23194
23195 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23196 (ceilf): Define using libm_alias_float.
23197 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23198 (floorf): Define using libm_alias_float.
23199 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23200 (fmaf): Define using libm_alias_float.
23201 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23202 (fmaxf): Define using libm_alias_float.
23203 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23204 (fminf): Define using libm_alias_float.
23205 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23206 (llrintf): Define using libm_alias_float.
23207 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23208 (llroundf): Define using libm_alias_float.
23209 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23210 (lrintf): Define using libm_alias_float.
23211 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23212 (lroundf): Define using libm_alias_float.
23213 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23214 <libm-alias-float.h>.
23215 (nearbyintf): Define using libm_alias_float.
23216 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23217 (rintf): Define using libm_alias_float.
23218 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23219 (roundf): Define using libm_alias_float.
23220 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23221 (truncf): Define using libm_alias_float.
23222
23223 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23224 (ceil): Define using libm_alias_double.
23225 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23226 (copysign): Define using libm_alias_double.
23227 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23228 (fabs): Define using libm_alias_double.
23229 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23230 (floor): Define using libm_alias_double.
23231 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23232 (fmax): Define using libm_alias_double.
23233 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23234 (fmin): Define using libm_alias_double.
23235 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23236 (lrint): Define using libm_alias_double.
23237 (llrint): Likewise.
23238 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23239 (lround): Define using libm_alias_double.
23240 (llround): Likewise.
23241 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23242 (rint): Define using libm_alias_double.
23243 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23244 (trunc): Define using libm_alias_double.
23245
23246 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23247 (libm_alias_double_r): Add semicolon after weak_alias call.
23248
23249 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23250
23251 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23252 (ceil): Define using libm_alias_double.
23253 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23254 (floor): Define using libm_alias_double.
23255 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23256 (fma): Define using libm_alias_double.
23257 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23258 (fmax): Define using libm_alias_double.
23259 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23260 (fmin): Define using libm_alias_double.
23261 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23262 (llrint): Define using libm_alias_double.
23263 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23264 (llround): Define using libm_alias_double.
23265 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23266 (lrint): Define using libm_alias_double.
23267 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23268 (lround): Define using libm_alias_double.
23269 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23270 (nearbyint): Define using libm_alias_double.
23271 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23272 (rint): Define using libm_alias_double.
23273 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23274 (round): Define using libm_alias_double.
23275 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23276 (trunc): Define using libm_alias_double.
23277
23278 2017-11-27 Florian Weimer <fweimer@redhat.com>
23279
23280 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23281 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23282 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23283 (tests): Add tst-mlock2.
23284 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23285 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23286 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23287 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23288 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23289 for mlock. Document mlock2.
23290
23291 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23292
23293 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23294 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23295 Likewise.
23296 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23297 Likewise.
23298 * sysdeps/x86/Makeconfig: New file.
23299 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23300 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23301 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23302 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23303 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23304 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23305 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23306 Likewise.
23307 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23308 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23309 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23310 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23311 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23312 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23313 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23314 * manual/math.texi (Mathematics): Document support for _Float64x.
23315 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23316 * stdlib/Versions (GLIBC_2.27): Likewise.
23317 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23318 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23319 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23320 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23321 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23322 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23323 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23324 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23325 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23326 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23327 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23328 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23330 Likewise.
23331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23332 Likewise.
23333 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23334 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23335 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23336 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23337 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23338 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23339 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23340 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23341 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23342 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23343 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23344 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23345 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23346 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23347
23348 2017-11-27 Andreas Schwab <schwab@suse.de>
23349
23350 * elf/Makefile (dl-routines): Add dl-sort-maps.
23351 * elf/dl-sort-maps.c: New file.
23352 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23353 (_dl_sort_maps): Declare.
23354 * elf/dl-fini.c (_dl_sort_fini): Remove.
23355 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23356 * elf/dl-close.c (_dl_close_worker): Likewise.
23357 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23358 open-coding it.
23359 * elf/dl-open.c (dl_open_worker): Likewise.
23360
23361 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23362
23363 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23364 using libm_alias_float128.
23365 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23366 Likewise.
23367 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23368 Likewise.
23369 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23370 (setpayloadsigf128): Likewise.
23371 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23372 Likewise.
23373 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23374 Likewise.
23375
23376 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23377 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23378 -mfloat128 to CFLAGS.
23379 ($(foreach
23380 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23381 Likewise.
23382 (CFLAGS-libm-test-support-float64x.c): New variable.
23383 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23384 $(f128-loader-link) to gnulib-tests.
23385
23386 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23387 (libm_alias_float128_other_r): If
23388 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23389 alias.
23390 (libm_alias_float128_r): Add semicolon after weak_alias call.
23391 * sysdeps/generic/libm-alias-ldouble.h
23392 (libm_alias_ldouble_other_r_f128): New macro.
23393 (libm_alias_ldouble_other_r_f64x): Likewise.
23394 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23395 and libm_alias_ldouble_other_r_f64x.
23396 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23397 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23398 (libm_alias_ldouble_other_r_f128): New macro.
23399 (libm_alias_ldouble_other_r_f64x): Likewise.
23400 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23401 and libm_alias_ldouble_other_r_f64x.
23402
23403 * stdlib/strfroml.c: Always include <stdlib.h>.
23404 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23405 undefine as macro and define as weak alias.
23406 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23407 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23408 <stdlib.h>.
23409 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23410 Define and later undefine as macro and define as weak alias.
23411
23412 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23413 Define and later undefine as macro. Define as weak alias if
23414 [!USE_WIDE_CHAR].
23415 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23416 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23417 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23418 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23419 Define and later undefine as macro. Define as weak alias if
23420 [!USE_WIDE_CHAR].
23421 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23422 Define and later undefine as macro. Define as weak alias if
23423 [USE_WIDE_CHAR].
23424 * sysdeps/ieee754/float128/strtof128_l.c
23425 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23426 Define and later undefine as macro. Define as weak alias if
23427 [!USE_WIDE_CHAR].
23428 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23429 Define and later undefine as macro. Define as weak alias if
23430 [USE_WIDE_CHAR].
23431 * sysdeps/ieee754/ldbl-128/strtold_l.c
23432 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23433 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23434 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23435 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23436 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23437 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23438 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23439 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23440 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23441 * sysdeps/ieee754/ldbl-96/strtold_l.c
23442 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23443 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23444 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23445 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23446
23447 * math/test-float64x.h: New file.
23448 * math/Makefile (type-float64x-yes): New variable.
23449 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23450
23451 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23452 function-like macro.
23453 (min_of_type_): Likewise.
23454 (min_of_type_l): Likewise.
23455 (min_of_type_f128): Likewise.
23456 (min_of_type): Pass () as last argument of __MATH_TG.
23457
23458 * stdlib/tst-strtod-round-skeleton.c
23459 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23460 headers.
23461
23462 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23463 for combinations of long double with _Float64 and _Float64x.
23464
23465 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23466 (__DECL_SIMD_cosf32): Likewise.
23467 (__DECL_SIMD_cosf64): Likewise.
23468 (__DECL_SIMD_cosf32x): Likewise.
23469 (__DECL_SIMD_cosf64x): Likewise.
23470 (__DECL_SIMD_cosf128x): Likewise.
23471 (__DECL_SIMD_sinf16): Likewise.
23472 (__DECL_SIMD_sinf32): Likewise.
23473 (__DECL_SIMD_sinf64): Likewise.
23474 (__DECL_SIMD_sinf32x): Likewise.
23475 (__DECL_SIMD_sinf64x): Likewise.
23476 (__DECL_SIMD_sinf128x): Likewise.
23477 (__DECL_SIMD_sincosf16): Likewise.
23478 (__DECL_SIMD_sincosf32): Likewise.
23479 (__DECL_SIMD_sincosf64): Likewise.
23480 (__DECL_SIMD_sincosf32x): Likewise.
23481 (__DECL_SIMD_sincosf64x): Likewise.
23482 (__DECL_SIMD_sincosf128x): Likewise.
23483 (__DECL_SIMD_logf16): Likewise.
23484 (__DECL_SIMD_logf32): Likewise.
23485 (__DECL_SIMD_logf64): Likewise.
23486 (__DECL_SIMD_logf32x): Likewise.
23487 (__DECL_SIMD_logf64x): Likewise.
23488 (__DECL_SIMD_logf128x): Likewise.
23489 (__DECL_SIMD_expf16): Likewise.
23490 (__DECL_SIMD_expf32): Likewise.
23491 (__DECL_SIMD_expf64): Likewise.
23492 (__DECL_SIMD_expf32x): Likewise.
23493 (__DECL_SIMD_expf64x): Likewise.
23494 (__DECL_SIMD_expf128x): Likewise.
23495 (__DECL_SIMD_powf16): Likewise.
23496 (__DECL_SIMD_powf32): Likewise.
23497 (__DECL_SIMD_powf64): Likewise.
23498 (__DECL_SIMD_powf32x): Likewise.
23499 (__DECL_SIMD_powf64x): Likewise.
23500 (__DECL_SIMD_powf128x): Likewise.
23501
23502 * stdlib/Versions (libc): Move entries for wcstof128 and
23503 wcstof128_l to ....
23504 * wcsmbs/Versions (libc): ... here.
23505 Include <float128-abi.h>.
23506
23507 2017-11-24 Florian Weimer <fweimer@redhat.com>
23508
23509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23510 bits/mman-shared.h.
23511 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23512 <bits/mman-shared.h>.
23513 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23514 to ...
23515 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23516 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23517 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23518 <bits/mman-shared.h>.
23519
23520 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23521
23522 [BZ #22457]
23523 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23524 posix_memalign/free.
23525 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23526
23527 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23528
23529 [BZ #22469]
23530 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23531 and implement the collation rules for pl from CLDR on top of that.
23532 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23533 of locales to be built for testing.
23534 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23535
23536 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23537
23538 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23539 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23540 libm_alias_ldouble_other.
23541 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23542 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23543 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23544 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23545 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23546 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23547 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23548 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23549 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23550 libm_alias_ldouble_r.
23551 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23552 libm_alias_ldouble_other.
23553 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23554 (log10l): Likewise.
23555 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23556 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23557 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23558 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23559 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23560 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23561 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23562 (atan2l): Likewise.
23563 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23564 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23565 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23566 libm_alias_ldouble.
23567 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23568 (cosl): Likewise.
23569 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23570 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23571 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23572 (expl): Likewise.
23573 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23574 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23575 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23576 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23577 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23578 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23579 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23580 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23581 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23582 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23583 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23584 libm_alias_ldouble.
23585 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23586 libm_alias_ldouble_other.
23587 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23588 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23589 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23590 libm_alias_ldouble.
23591 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23592 libm_alias_ldouble_other.
23593 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23594 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23595 * sysdeps/ia64/fpu/w_lgammal_main.c
23596 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23597 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23598
23599 2017-11-23 Florian Weimer <fweimer@redhat.com>
23600
23601 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23602 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23603 alike. Remove freeres marker.
23604 * malloc/arena.c (arena_thread_freeres): Call
23605 tcache_thread_shutdown.
23606
23607 2017-11-23 Florian Weimer <fweimer@redhat.com>
23608
23609 [BZ #22459]
23610 Export nscd hash function as __nss_hash.
23611 * include/nss.h (__nss_hash): Declare.
23612 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23613 symbol.
23614 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23615 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23616 of __nscd_hash.
23617 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23618 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23619 * nss/Makefiles (routines): Add nss_hash.
23620 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23621 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23622 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23623 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23624
23625 2017-11-23 Florian Weimer <fweimer@redhat.com>
23626
23627 [BZ #22478]
23628 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23629 Return error code, not -1.
23630 * signal/tst-sigwait-eintr.c: New file.
23631 * signal/Makefile (tests): Add tst-sigwait-eintr.
23632
23633 2017-11-23 Florian Weimer <fweimer@redhat.com>
23634
23635 Linux: Add memfd_create system call wrapper
23636 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23637 tst-memfd_create.
23638 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23639 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23640 [__USE_GNU] (memfd_create): Declare.
23641 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23642 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23643 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23644 * sysdeps/unix/sysv/linux/**.abilist: Update.
23645 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23646
23647 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23648
23649 * localedata/gen-locale.sh: Fix typo in variable name.
23650
23651 * resolv/res_debug.c (p_secstodate): Condition definition on
23652 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23653 directly as __p_secstodate, and as a compat symbol. Do not use
23654 libresolv_hidden_def.
23655 * resolv/resolv.h (p_secstodate): Remove macro and function
23656 declaration.
23657 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23658 using p_secstodate.
23659 * include/resolv.h (__p_secstodate): Do not use
23660 libresolv_hidden_proto.
23661 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23662 (tests-internal): ... here.
23663 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23664 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23665 and declare and use __p_secstodate and use compat_symbol_reference
23666 in that case.
23667 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23668 implementation returning 77.
23669
23670 [BZ #22463]
23671 * resolv/res_debug.c: Include <libc-diag.h>.
23672 (p_secstodate): Assert time_t at least as wide as u_long. On
23673 overflow, use integer seconds since the epoch as output, or use
23674 "<overflow>" as output and set errno to EOVERFLOW if integer
23675 seconds since the epoch would be 14 or more characters.
23676 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23677 for sprintf call.
23678 * resolv/tst-p_secstodate.c: New file.
23679 * resolv/Makefile (tests): Add tst-p_secstodate.
23680 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23681
23682 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23683 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23684 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23685
23686 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23687
23688 * posix/regcomp.c (init_word_char): Add comments.
23689
23690 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23691
23692 [BZ #22447]
23693 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23694 strlen to compute length of ut_user and set trailing NUL byte of
23695 result explicitly.
23696
23697 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23698
23699 [BZ #15537]
23700 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23701 using “copy "iso14651_t1"” and then implementing the
23702 collation rules for lv from CLDR on top of that.
23703 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23704 of locales to be built for testing.
23705 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23706 sorting.
23707
23708 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23709
23710 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23711 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23712 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23713 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23714 [__USE_MISC] (MADV_HWPOISON): New macro.
23715 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23716
23717 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23718
23719 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23720 -Wmissing-braces on GCC 4.9.
23721
23722 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23723
23724 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23725 * sysdeps/s390/s390-32/start.S (_start): Likewise
23726 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23727 (thread_start): Likewise.
23728 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23729 (thread_start): Likewise.
23730 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23731 (__makecontext_ret): Likewise.
23732 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23733 (__makecontext_ret): Likewise.
23734
23735 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23736
23737 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23738 __wcschrnul): Remove attribute_hidden.
23739
23740 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23741
23742 regex: don't assume uint64_t or uint32_t
23743 This avoids -Werror=overflow errors for 32-bit systems in
23744 the 64-bit case. Problem reported by Joseph Myers in:
23745 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23746 Also, when this code is used in Gnulib it ports to platforms
23747 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23748 them, and on some 32-bit compilers there is no uint64_t.
23749 Problem reported by Gianluigi Tiesi in:
23750 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23751 * posix/regcomp.c (init_word_char): Don't assume that the types
23752 uint64_t and uint32_t exist. Adapted from Gnulib patch
23753 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23754 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23755
23756 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23757
23758 * sysdeps/aarch64/memset-reg.h: New file.
23759 * sysdeps/aarch64/memset.S: Use it.
23760 (__memset): Rename to MEMSET macro.
23761 [ZVA_MACRO]: Use zva_macro.
23762 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23763 Add memset_generic and memset_falkor.
23764 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23765 (__libc_ifunc_impl_list): Add memset ifuncs.
23766 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23767 local variable zva_size.
23768 * sysdeps/aarch64/multiarch/memset.c: New file.
23769 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23770 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23771 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23772 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23773 (DCZID_DZP_MASK): New macro.
23774 (DCZID_BS_MASK): Likewise.
23775 (init_cpu_features): Read and set zva_size.
23776 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23777 (struct cpu_features): New member zva_size.
23778
23779 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23780 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23781 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23782
23783 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23784 backwards. Fix timing computation.
23785 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23786 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23787 on memset by N at a time. Fix timing computation.
23788
23789 2017-11-20 Florian Weimer <fweimer@redhat.com>
23790
23791 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23792 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23793
23794 2017-11-19 Florian Weimer <fweimer@redhat.com>
23795
23796 manual: Document mprotect
23797 * manual/memory.texi (Memory Protection): New section.
23798 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23799 documentation of PROT_* flags and reference the Memory Protection
23800 section instead.
23801
23802 2017-11-19 Florian Weimer <fweimer@redhat.com>
23803
23804 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23805 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23806 (Scatter-Gather): ... to here. Remove misleading comment.
23807
23808 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23809
23810 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23811 style.
23812
23813 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23814 when /proc/<pid>/setgroups does not exist.
23815
23816 2017-11-18 Florian Weimer <fweimer@redhat.com>
23817
23818 * sysdeps/unix/sysv/linux/tst-ttyname.c
23819 (become_root_in_mount_ns): Remove.
23820 (do_in_chroot_1): Call support_enter_mount_namespace.
23821 (do_in_chroot_2): Likewise.
23822 (do_test): Call support_become_root early.
23823
23824 2017-11-18 Florian Weimer <fweimer@redhat.com>
23825
23826 * support/namespace.h (support_enter_mount_namespace): Declare.
23827 * support/support_enter_mount_namespace.c: New file.
23828 * support/Makefile (libsupport-routines): Add
23829 support_enter_mount_namespace.
23830
23831 2017-11-18 Florian Weimer <fweimer@redhat.com>
23832
23833 * support/temp_file.c (support_create_temp_directory): Use
23834 test_dir and do not rely on the presence of the XXXXXX suffix.
23835 * support/temp_file.h (support_create_temp_directory): Update
23836 comment.
23837 * support/tst-xreadlink.c (do_test): Adjust.
23838 * support/support_chroot.c (support_chroot_create): Likewise.
23839
23840 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23841
23842 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23843 macro.
23844 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23845 htm-no-suspend.
23846
23847 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23848
23849 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23850 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23851 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23852 (ceill): Define using libm_alias_ldouble.
23853 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23854 <libm-alias-ldouble.h>.
23855 (copysignl): Define using libm_alias_ldouble.
23856 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23857 (fabsl): Define using libm_alias_ldouble.
23858 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23859 (floorl): Define using libm_alias_ldouble.
23860 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23861 (fmaxl): Define using libm_alias_ldouble.
23862 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23863 (fminl): Define using libm_alias_ldouble.
23864 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23865 (llrintl): Define using libm_alias_ldouble.
23866 (lrintl): Likewise.
23867 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23868 <libm-alias-ldouble.h>.
23869 (nearbyintl): Define using libm_alias_ldouble.
23870 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23871 (truncl): Define using libm_alias_ldouble.
23872 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23873 <libm-alias-ldouble.h>.
23874 (lrintl): Define using libm_alias_ldouble.
23875
23876 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23877 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23878 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23879 (asinhl): Define using libm_alias_ldouble.
23880 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23881 (atanl): Define using libm_alias_ldouble.
23882 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23883 (cbrtl): Define using libm_alias_ldouble.
23884 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23885 (ceill): Define using libm_alias_ldouble.
23886 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23887 (copysignl): Define using libm_alias_ldouble.
23888 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23889 (fabsl): Define using libm_alias_ldouble.
23890 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23891 (floorl): Define using libm_alias_ldouble.
23892 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23893 (fmaxl): Define using libm_alias_ldouble.
23894 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23895 (fminl): Define using libm_alias_ldouble.
23896 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23897 (frexpl): Define using libm_alias_ldouble.
23898 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23899 (llrintl): Define using libm_alias_ldouble.
23900 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23901 (logbl): Define using libm_alias_ldouble.
23902 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23903 (lrintl): Define using libm_alias_ldouble.
23904 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23905 (nearbyintl): Define using libm_alias_ldouble.
23906 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23907 (nextafterl): Define using libm_alias_ldouble.
23908 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23909 (remquol): Define using libm_alias_ldouble.
23910 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23911 (rintl): Define using libm_alias_ldouble.
23912 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23913 (truncl): Define using libm_alias_ldouble.
23914 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23915 (fmaxl): Define using libm_alias_ldouble.
23916 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23917 (fminl): Define using libm_alias_ldouble.
23918
23919 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23920 to C syntax instead of availability and properties of types.
23921 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23922 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23923 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23924 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23925 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23926 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23927
23928 2017-11-17 Florian Weimer <fweimer@redhat.com>
23929
23930 support_become_root: Enable file creation in namespaces.
23931 * support/support_become_root.c (setup_mapping): New function.
23932 (support_become_root): Call it.
23933
23934 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23935
23936 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23937 macro.
23938
23939 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23940
23941 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23942 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23943
23944 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23945
23946 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23947
23948 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23949 version to 4.14.
23950
23951 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23952
23953 * INSTALL: Fix botched up regeneration.
23954
23955 * NEWS: Update sourceare link to https.
23956 * configure.ac: Likewise.
23957 * crypt/md5test-giant.c: Likewise.
23958 * dlfcn/bug-atexit1.c: Likewise.
23959 * dlfcn/bug-atexit2.c: Likewise.
23960 * localedata/README: Likewise.
23961 * malloc/tst-mallocfork.c: Likewise.
23962 * manual/install.texi: Likewise.
23963 * nptl/tst-pthread-getattr.c: Likewise.
23964 * stdio-common/tst-fgets.c: Likewise.
23965 * stdio-common/tst-fwrite.c: Likewise.
23966 * sunrpc/Makefile: Likewise.
23967 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23968 * wcsmbs/tst-mbrtowc2.c: Likewise.
23969 * configure: Regenerate.
23970 * INSTALL: Regenerate.
23971
23972 2017-11-15 Martin Sebor <msebor@redhat.com>
23973
23974 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23975 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23976 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23977
23978 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23979
23980 [BZ #22145]
23981 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23982 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23983
23984 [BZ #22145]
23985 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23986 Defer is_pty check until end of the function.
23987 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23988
23989 [BZ #22145]
23990 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23991 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23992 (ttyname): Likewise.
23993 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23994 (__ttyname_r): Likewise.
23995
23996 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23997 int to bool.
23998
23999 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24000
24001 * manual/terminal.texi (Is It a Terminal):
24002 Mention ENODEV for ttyname and ttyname_r.
24003
24004 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24005
24006 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24007 constant and macro.
24008
24009 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24010 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24011 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24012 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24013 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24014 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24015
24016 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24017
24018 * signal/sigrelse.c (sigrelse): Optimize implementation.
24019
24020 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24021 (__sigpause): Rely on __sigsuspend to implement single thread
24022 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24023
24024 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24025
24026 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24027 kernel version to 4.14.
24028
24029 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24030
24031 [BZ #22442]
24032 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24033 Check if ifname is too long.
24034
24035 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24036
24037 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24038
24039 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24040
24041 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24042 was accidentally lost.
24043
24044 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24045
24046 * localedata/locales/az_IR: Add standard copyright header.
24047
24048 2017-11-15 Florian Weimer <fweimer@redhat.com>
24049
24050 [BZ #22439]
24051 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24052 not just the top one. Output a new "subheaps" statistic.
24053
24054 2017-11-15 Florian Weimer <fweimer@redhat.com>
24055
24056 [BZ #22408]
24057 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24058 under the per-arena lock.
24059 * malloc/Makefile (tests): Add tst-malloc_info.
24060 (tst-malloc_info): Link with libpthread.
24061 * malloc/tst-malloc_info.c: New file.
24062
24063 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24064
24065 [BZ #21660]
24066 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24067 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24068 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24069 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24070 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24071 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24072 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24073 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24074 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24075 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24076 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24077 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24079 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24080 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24081 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24082 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24083 (__floating_type): Likewise.
24084 (__real_integer_type): Likewise.
24085 (__complex_integer_type): Likewise.
24086 (__expr_is_real): Likewise.
24087 (__tgmath_real_type_sub): Likewise.
24088 (__tgmath_real_type): Likewise.
24089 (__tgmath_complex_type_sub): Likewise.
24090 (__tgmath_complex_type): Likewise.
24091 (__TGMATH_F128): Likewise.
24092 (__TGMATH_CF128): Likewise.
24093 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24094 new macros.
24095 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24096 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24097 Likewise.
24098 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24099 Likewise.
24100 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24101 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24102 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24103 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24104 Likewise.
24105 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24106 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24107 Likewise.
24108 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24109 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24110 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24111 Likewise.
24112 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24113 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24114 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24115 (cimag): Likewise.
24116 (creal): Likewise.
24117
24118 2017-11-14 Joseph Myers <joseph@codesourcery.com>
24119
24120 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24121 for stpncpy calls for GCC 8.
24122 (test_strncat): Disable -Wstringop-truncation warning for strncat
24123 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24124 strncat call for GCC 7.
24125 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24126 calls for GCC 8.
24127 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24128 trailing NUL.
24129
24130 * string/bug-strncat1.c: Include <libc-diag.h>.
24131 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24132
24133 2017-11-13 Claude Paroz <claude@2xlibre.net>
24134
24135 [BZ #22387]
24136 * localedata/locales/aa_DJ: Improved readibility by replacing
24137 <Uxxxx> sequences in the ASCII printable range by their ASCII
24138 character equivalents.
24139 * localedata/locales/aa_ER: Likewise.
24140 * localedata/locales/aa_ER@saaho: Likewise.
24141 * localedata/locales/aa_ET: Likewise.
24142 * localedata/locales/af_ZA: Likewise.
24143 * localedata/locales/agr_PE: Likewise.
24144 * localedata/locales/ak_GH: Likewise.
24145 * localedata/locales/am_ET: Likewise.
24146 * localedata/locales/anp_IN: Likewise.
24147 * localedata/locales/ar_AE: Likewise.
24148 * localedata/locales/ar_BH: Likewise.
24149 * localedata/locales/ar_DZ: Likewise.
24150 * localedata/locales/ar_EG: Likewise.
24151 * localedata/locales/ar_IN: Likewise.
24152 * localedata/locales/ar_IQ: Likewise.
24153 * localedata/locales/ar_JO: Likewise.
24154 * localedata/locales/ar_KW: Likewise.
24155 * localedata/locales/ar_LB: Likewise.
24156 * localedata/locales/ar_LY: Likewise.
24157 * localedata/locales/ar_MA: Likewise.
24158 * localedata/locales/ar_OM: Likewise.
24159 * localedata/locales/ar_QA: Likewise.
24160 * localedata/locales/ar_SA: Likewise.
24161 * localedata/locales/ar_SD: Likewise.
24162 * localedata/locales/ar_SS: Likewise.
24163 * localedata/locales/ar_SY: Likewise.
24164 * localedata/locales/ar_TN: Likewise.
24165 * localedata/locales/ar_YE: Likewise.
24166 * localedata/locales/as_IN: Likewise.
24167 * localedata/locales/ast_ES: Likewise.
24168 * localedata/locales/ayc_PE: Likewise.
24169 * localedata/locales/az_AZ: Likewise.
24170 * localedata/locales/az_IR: Likewise.
24171 * localedata/locales/be_BY: Likewise.
24172 * localedata/locales/be_BY@latin: Likewise.
24173 * localedata/locales/bem_ZM: Likewise.
24174 * localedata/locales/ber_DZ: Likewise.
24175 * localedata/locales/ber_MA: Likewise.
24176 * localedata/locales/bg_BG: Likewise.
24177 * localedata/locales/bhb_IN: Likewise.
24178 * localedata/locales/bho_IN: Likewise.
24179 * localedata/locales/bi_VU: Likewise.
24180 * localedata/locales/bn_BD: Likewise.
24181 * localedata/locales/bn_IN: Likewise.
24182 * localedata/locales/bo_CN: Likewise.
24183 * localedata/locales/bo_IN: Likewise.
24184 * localedata/locales/br_FR: Likewise.
24185 * localedata/locales/brx_IN: Likewise.
24186 * localedata/locales/bs_BA: Likewise.
24187 * localedata/locales/byn_ER: Likewise.
24188 * localedata/locales/ca_AD: Likewise.
24189 * localedata/locales/ca_ES: Likewise.
24190 * localedata/locales/ca_FR: Likewise.
24191 * localedata/locales/ca_IT: Likewise.
24192 * localedata/locales/ce_RU: Likewise.
24193 * localedata/locales/chr_US: Likewise.
24194 * localedata/locales/cmn_TW: Likewise.
24195 * localedata/locales/crh_UA: Likewise.
24196 * localedata/locales/cs_CZ: Likewise.
24197 * localedata/locales/csb_PL: Likewise.
24198 * localedata/locales/cv_RU: Likewise.
24199 * localedata/locales/cy_GB: Likewise.
24200 * localedata/locales/da_DK: Likewise.
24201 * localedata/locales/de_AT: Likewise.
24202 * localedata/locales/de_BE: Likewise.
24203 * localedata/locales/de_CH: Likewise.
24204 * localedata/locales/de_DE: Likewise.
24205 * localedata/locales/de_IT: Likewise.
24206 * localedata/locales/de_LI: Likewise.
24207 * localedata/locales/de_LU: Likewise.
24208 * localedata/locales/doi_IN: Likewise.
24209 * localedata/locales/dv_MV: Likewise.
24210 * localedata/locales/dz_BT: Likewise.
24211 * localedata/locales/el_CY: Likewise.
24212 * localedata/locales/el_GR: Likewise.
24213 * localedata/locales/en_AG: Likewise.
24214 * localedata/locales/en_AU: Likewise.
24215 * localedata/locales/en_BW: Likewise.
24216 * localedata/locales/en_CA: Likewise.
24217 * localedata/locales/en_DK: Likewise.
24218 * localedata/locales/en_GB: Likewise.
24219 * localedata/locales/en_HK: Likewise.
24220 * localedata/locales/en_IE: Likewise.
24221 * localedata/locales/en_IL: Likewise.
24222 * localedata/locales/en_IN: Likewise.
24223 * localedata/locales/en_NG: Likewise.
24224 * localedata/locales/en_NZ: Likewise.
24225 * localedata/locales/en_PH: Likewise.
24226 * localedata/locales/en_SG: Likewise.
24227 * localedata/locales/en_US: Likewise.
24228 * localedata/locales/en_ZA: Likewise.
24229 * localedata/locales/en_ZM: Likewise.
24230 * localedata/locales/en_ZW: Likewise.
24231 * localedata/locales/eo: Likewise.
24232 * localedata/locales/es_AR: Likewise.
24233 * localedata/locales/es_BO: Likewise.
24234 * localedata/locales/es_CL: Likewise.
24235 * localedata/locales/es_CO: Likewise.
24236 * localedata/locales/es_CR: Likewise.
24237 * localedata/locales/es_CU: Likewise.
24238 * localedata/locales/es_DO: Likewise.
24239 * localedata/locales/es_EC: Likewise.
24240 * localedata/locales/es_ES: Likewise.
24241 * localedata/locales/es_GT: Likewise.
24242 * localedata/locales/es_HN: Likewise.
24243 * localedata/locales/es_MX: Likewise.
24244 * localedata/locales/es_NI: Likewise.
24245 * localedata/locales/es_PA: Likewise.
24246 * localedata/locales/es_PE: Likewise.
24247 * localedata/locales/es_PR: Likewise.
24248 * localedata/locales/es_PY: Likewise.
24249 * localedata/locales/es_SV: Likewise.
24250 * localedata/locales/es_US: Likewise.
24251 * localedata/locales/es_UY: Likewise.
24252 * localedata/locales/es_VE: Likewise.
24253 * localedata/locales/et_EE: Likewise.
24254 * localedata/locales/eu_ES: Likewise.
24255 * localedata/locales/eu_ES@euro: Likewise.
24256 * localedata/locales/fa_IR: Likewise.
24257 * localedata/locales/ff_SN: Likewise.
24258 * localedata/locales/fi_FI: Likewise.
24259 * localedata/locales/fil_PH: Likewise.
24260 * localedata/locales/fo_FO: Likewise.
24261 * localedata/locales/fr_BE: Likewise.
24262 * localedata/locales/fr_CA: Likewise.
24263 * localedata/locales/fr_CH: Likewise.
24264 * localedata/locales/fr_FR: Likewise.
24265 * localedata/locales/fr_LU: Likewise.
24266 * localedata/locales/fur_IT: Likewise.
24267 * localedata/locales/fy_DE: Likewise.
24268 * localedata/locales/fy_NL: Likewise.
24269 * localedata/locales/ga_IE: Likewise.
24270 * localedata/locales/gd_GB: Likewise.
24271 * localedata/locales/gez_ER: Likewise.
24272 * localedata/locales/gez_ET: Likewise.
24273 * localedata/locales/gl_ES: Likewise.
24274 * localedata/locales/gu_IN: Likewise.
24275 * localedata/locales/gv_GB: Likewise.
24276 * localedata/locales/ha_NG: Likewise.
24277 * localedata/locales/hak_TW: Likewise.
24278 * localedata/locales/he_IL: Likewise.
24279 * localedata/locales/hi_IN: Likewise.
24280 * localedata/locales/hif_FJ: Likewise.
24281 * localedata/locales/hne_IN: Likewise.
24282 * localedata/locales/hr_HR: Likewise.
24283 * localedata/locales/hsb_DE: Likewise.
24284 * localedata/locales/ht_HT: Likewise.
24285 * localedata/locales/hu_HU: Likewise.
24286 * localedata/locales/hy_AM: Likewise.
24287 * localedata/locales/i18n: Likewise.
24288 * localedata/locales/ia_FR: Likewise.
24289 * localedata/locales/id_ID: Likewise.
24290 * localedata/locales/ig_NG: Likewise.
24291 * localedata/locales/ik_CA: Likewise.
24292 * localedata/locales/is_IS: Likewise.
24293 * localedata/locales/it_CH: Likewise.
24294 * localedata/locales/it_IT: Likewise.
24295 * localedata/locales/iu_CA: Likewise.
24296 * localedata/locales/ja_JP: Likewise.
24297 * localedata/locales/ka_GE: Likewise.
24298 * localedata/locales/kk_KZ: Likewise.
24299 * localedata/locales/kl_GL: Likewise.
24300 * localedata/locales/kn_IN: Likewise.
24301 * localedata/locales/ko_KR: Likewise.
24302 * localedata/locales/kok_IN: Likewise.
24303 * localedata/locales/ks_IN: Likewise.
24304 * localedata/locales/ks_IN@devanagari: Likewise.
24305 * localedata/locales/ku_TR: Likewise.
24306 * localedata/locales/kw_GB: Likewise.
24307 * localedata/locales/ky_KG: Likewise.
24308 * localedata/locales/lb_LU: Likewise.
24309 * localedata/locales/lg_UG: Likewise.
24310 * localedata/locales/li_BE: Likewise.
24311 * localedata/locales/li_NL: Likewise.
24312 * localedata/locales/lij_IT: Likewise.
24313 * localedata/locales/ln_CD: Likewise.
24314 * localedata/locales/lo_LA: Likewise.
24315 * localedata/locales/lt_LT: Likewise.
24316 * localedata/locales/lv_LV: Likewise.
24317 * localedata/locales/lzh_TW: Likewise.
24318 * localedata/locales/mag_IN: Likewise.
24319 * localedata/locales/mai_IN: Likewise.
24320 * localedata/locales/mg_MG: Likewise.
24321 * localedata/locales/mhr_RU: Likewise.
24322 * localedata/locales/mi_NZ: Likewise.
24323 * localedata/locales/mk_MK: Likewise.
24324 * localedata/locales/ml_IN: Likewise.
24325 * localedata/locales/mn_MN: Likewise.
24326 * localedata/locales/mni_IN: Likewise.
24327 * localedata/locales/mr_IN: Likewise.
24328 * localedata/locales/ms_MY: Likewise.
24329 * localedata/locales/mt_MT: Likewise.
24330 * localedata/locales/my_MM: Likewise.
24331 * localedata/locales/nan_TW: Likewise.
24332 * localedata/locales/nan_TW@latin: Likewise.
24333 * localedata/locales/nb_NO: Likewise.
24334 * localedata/locales/nds_DE: Likewise.
24335 * localedata/locales/nds_NL: Likewise.
24336 * localedata/locales/ne_NP: Likewise.
24337 * localedata/locales/nhn_MX: Likewise.
24338 * localedata/locales/niu_NU: Likewise.
24339 * localedata/locales/niu_NZ: Likewise.
24340 * localedata/locales/nl_AW: Likewise.
24341 * localedata/locales/nl_BE: Likewise.
24342 * localedata/locales/nl_NL: Likewise.
24343 * localedata/locales/nn_NO: Likewise.
24344 * localedata/locales/nr_ZA: Likewise.
24345 * localedata/locales/nso_ZA: Likewise.
24346 * localedata/locales/oc_FR: Likewise.
24347 * localedata/locales/om_ET: Likewise.
24348 * localedata/locales/om_KE: Likewise.
24349 * localedata/locales/or_IN: Likewise.
24350 * localedata/locales/os_RU: Likewise.
24351 * localedata/locales/pa_IN: Likewise.
24352 * localedata/locales/pa_PK: Likewise.
24353 * localedata/locales/pap_AW: Likewise.
24354 * localedata/locales/pap_CW: Likewise.
24355 * localedata/locales/pl_PL: Likewise.
24356 * localedata/locales/ps_AF: Likewise.
24357 * localedata/locales/pt_BR: Likewise.
24358 * localedata/locales/pt_PT: Likewise.
24359 * localedata/locales/quz_PE: Likewise.
24360 * localedata/locales/raj_IN: Likewise.
24361 * localedata/locales/ro_RO: Likewise.
24362 * localedata/locales/ru_RU: Likewise.
24363 * localedata/locales/ru_UA: Likewise.
24364 * localedata/locales/rw_RW: Likewise.
24365 * localedata/locales/sa_IN: Likewise.
24366 * localedata/locales/sat_IN: Likewise.
24367 * localedata/locales/sc_IT: Likewise.
24368 * localedata/locales/sd_IN: Likewise.
24369 * localedata/locales/sd_IN@devanagari: Likewise.
24370 * localedata/locales/se_NO: Likewise.
24371 * localedata/locales/sgs_LT: Likewise.
24372 * localedata/locales/shs_CA: Likewise.
24373 * localedata/locales/si_LK: Likewise.
24374 * localedata/locales/sid_ET: Likewise.
24375 * localedata/locales/sk_SK: Likewise.
24376 * localedata/locales/sl_SI: Likewise.
24377 * localedata/locales/sm_WS: Likewise.
24378 * localedata/locales/so_DJ: Likewise.
24379 * localedata/locales/so_ET: Likewise.
24380 * localedata/locales/so_KE: Likewise.
24381 * localedata/locales/so_SO: Likewise.
24382 * localedata/locales/sq_AL: Likewise.
24383 * localedata/locales/sq_MK: Likewise.
24384 * localedata/locales/sr_ME: Likewise.
24385 * localedata/locales/sr_RS: Likewise.
24386 * localedata/locales/sr_RS@latin: Likewise.
24387 * localedata/locales/ss_ZA: Likewise.
24388 * localedata/locales/st_ZA: Likewise.
24389 * localedata/locales/sv_FI: Likewise.
24390 * localedata/locales/sv_SE: Likewise.
24391 * localedata/locales/sw_KE: Likewise.
24392 * localedata/locales/sw_TZ: Likewise.
24393 * localedata/locales/szl_PL: Likewise.
24394 * localedata/locales/ta_IN: Likewise.
24395 * localedata/locales/ta_LK: Likewise.
24396 * localedata/locales/tcy_IN: Likewise.
24397 * localedata/locales/te_IN: Likewise.
24398 * localedata/locales/tg_TJ: Likewise.
24399 * localedata/locales/th_TH: Likewise.
24400 * localedata/locales/the_NP: Likewise.
24401 * localedata/locales/ti_ER: Likewise.
24402 * localedata/locales/ti_ET: Likewise.
24403 * localedata/locales/tig_ER: Likewise.
24404 * localedata/locales/tk_TM: Likewise.
24405 * localedata/locales/tl_PH: Likewise.
24406 * localedata/locales/tn_ZA: Likewise.
24407 * localedata/locales/to_TO: Likewise.
24408 * localedata/locales/tpi_PG: Likewise.
24409 * localedata/locales/tr_CY: Likewise.
24410 * localedata/locales/tr_TR: Likewise.
24411 * localedata/locales/ts_ZA: Likewise.
24412 * localedata/locales/tt_RU: Likewise.
24413 * localedata/locales/tt_RU@iqtelif: Likewise.
24414 * localedata/locales/ug_CN: Likewise.
24415 * localedata/locales/uk_UA: Likewise.
24416 * localedata/locales/unm_US: Likewise.
24417 * localedata/locales/ur_IN: Likewise.
24418 * localedata/locales/ur_PK: Likewise.
24419 * localedata/locales/uz_UZ: Likewise.
24420 * localedata/locales/uz_UZ@cyrillic: Likewise.
24421 * localedata/locales/ve_ZA: Likewise.
24422 * localedata/locales/vi_VN: Likewise.
24423 * localedata/locales/wa_BE: Likewise.
24424 * localedata/locales/wae_CH: Likewise.
24425 * localedata/locales/wal_ET: Likewise.
24426 * localedata/locales/wo_SN: Likewise.
24427 * localedata/locales/xh_ZA: Likewise.
24428 * localedata/locales/yi_US: Likewise.
24429 * localedata/locales/yo_NG: Likewise.
24430 * localedata/locales/yue_HK: Likewise.
24431 * localedata/locales/yuw_PG: Likewise.
24432 * localedata/locales/zh_CN: Likewise.
24433 * localedata/locales/zh_HK: Likewise.
24434 * localedata/locales/zh_SG: Likewise.
24435 * localedata/locales/zh_TW: Likewise.
24436 * localedata/locales/zu_ZA: Likewise.
24437
24438 2017-11-13 Florian Weimer <fweimer@redhat.com>
24439
24440 * support/next_to_fault.h, support/next_to_fault.c: New files.
24441 * support/Makefile (libsupport-routines): Add next_to_fault.
24442 * resolv/tst-inet_pton.c (struct next_to_fault)
24443 (next_to_fault_allocate, next_to_fault_free): Remove.
24444 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24445
24446 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24447
24448 * elf/dl-support.c: Include <dl-procruntime.c>.
24449 * include/link.h: Include <link_map.h>.
24450 * sysdeps/generic/dl-procruntime.c: New file.
24451 * sysdeps/generic/link_map.h: Likewise.
24452 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24453 the writable ld.so namespace.
24454
24455 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24456
24457 timezone: pacify GCC -Wstringop-truncation
24458 Problem reported by Martin Sebor in:
24459 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24460 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24461
24462 2017-11-12 Florian Weimer <fweimer@redhat.com>
24463
24464 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24465 tst-xreadlink.
24466 (tests): Add tst-xreadlink.
24467 * support/support.h (xstrndup): Declare.
24468 * support/xunistd.h (xunlink, xreadlink): Declare.
24469 * support/temp_file.h (support_create_temp_directory): Declare.
24470 * support/temp_file.c (support_create_temp_directory): New function.
24471 * support/support_chroot.c (support_chroot_create): Use it.
24472 * support/xreadlink.c: New file.
24473 * support/xstrndup.c: Likewise.
24474 * support/xunlink.c: Likewise.
24475 * support/tst-xreadlink.c: Likewise.
24476
24477 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24478
24479 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24480
24481 2017-11-11 Florian Weimer <fweimer@redhat.com>
24482
24483 [BZ #22409]
24484 [BZ #22412]
24485 * resolv/res_comp.c (printable_string, binary_hnok)
24486 (binary_leading_dash): New functions.
24487 (res_hnok): Reimplement using these functions and ns_name_pton.
24488 (res_ownok): Likewise.
24489 (res_mailok): Reimplement using printable_string, ns_name_pton and
24490 binary_hnok.
24491 (res_dnok): Reimplement using printable_string and ns_name_pton.
24492 * resolv/tst-res_hnok.c (tests): Add additional tests.
24493 (LETTERDIGITS, PRINTABLE): Define.
24494 (do_test): Adjust one_char results.
24495
24496 2017-11-11 Florian Weimer <fweimer@redhat.com>
24497
24498 [BZ #22413]
24499 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24500 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24501
24502 2017-11-11 Florian Weimer <fweimer@redhat.com>
24503
24504 * resolv/tst-ns_name_pton.c: New file.
24505 * resolv/Makefile (tests): Add tst-ns_name_pton.
24506 (tst-ns_name_pton): Link against libresolv.
24507
24508 2017-11-11 Florian Weimer <fweimer@redhat.com>
24509
24510 * resolv/tst-res_hnok.c: New file.
24511 * resolv/Makefile (tests): Add tst-res_hnok.
24512 (tst-res_hnok): Link against libresolv.
24513
24514 2017-11-11 Florian Weimer <fweimer@redhat.com>
24515
24516 * resolv/tst-resolv-network.c: Use test framework instead explicit
24517 main function.
24518
24519 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24520
24521 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24522 <jmp_buf-macros.h>.
24523 [!_ISOMAC] (STR_HELPER): New.
24524 [!_ISOMAC] (STR): Likewise.
24525 [!_ISOMAC] (TEST_SIZE): Likewise.
24526 [!_ISOMAC] (TEST_ALIGN): Likewise.
24527 [!_ISOMAC] (TEST_OFFSET): Likewise.
24528 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24529 field offsets of jmp_buf as well as sigjmp_buf.
24530 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24531 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24532 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24533 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24534 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24535 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24536 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24537 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24538 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24539 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24540 Likewise.
24541 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24542 Likewise.
24543 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24545 Likewise.
24546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24547 Likewise.
24548 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24549 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24550 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24551 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24552 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24554 Likewise.
24555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24556 Likewise.
24557 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24558 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24559 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24560
24561 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24562
24563 * include/float.h
24564 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24565 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24566 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24567 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24568 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24569 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24570 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24571 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24572 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24573 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24574 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24575 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24576 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24577 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24578 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24579 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24580 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24581 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24582 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24583 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24584 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24585 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24586 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24587 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24588 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24589 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24590 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24591 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24592 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24593 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24594 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24595 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24596 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24597 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24598 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24599 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24601 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24603 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24605 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24607 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24609 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24611 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24613 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24615 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24617 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24619 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24621 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24623 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24625 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24627 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24629 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24631 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24633 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24635 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24637 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24639 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24641 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24643 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24645 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24647 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24649 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24651 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24652
24653 * stdlib/tst-strtod.h (F16): New macro.
24654 (F32): Likewise.
24655 (F64): Likewise.
24656 (F32X): Likewise.
24657 (F64X): Likewise.
24658 (F128X): Likewise.
24659 (IF_FLOAT16): Likewise.
24660 (IF_FLOAT32): Likewise.
24661 (IF_FLOAT64): Likewise.
24662 (IF_FLOAT32X): Likewise.
24663 (IF_FLOAT64X): Likewise.
24664 (IF_FLOAT128X): Likewise.
24665 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24666 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24667 (STRTOD_TEST_FOREACH): Likewise.
24668 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24669 (CHOOSE_f64): Likewise.
24670 (CHOOSE_f32x): Likewise.
24671 (CHOOSE_f64x): Likewise.
24672
24673 2017-11-07 Andreas Schwab <schwab@suse.de>
24674
24675 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24676
24677 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24678
24679 [BZ #22403]
24680 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24681 to be escaped.
24682 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24683 to be escaped.
24684
24685 2017-11-07 Claude Paroz <claude@2xlibre.net>
24686
24687 [BZ #22403]
24688 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24689 to be escaped.
24690 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24691 to be escaped.
24692 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24693 to be escaped.
24694
24695 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24696
24697 [BZ #22298]
24698 * nptl/allocatestack.c (allocate_stack): Check if
24699 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24700 __PTHREAD_MUTEX_HAVE_PREV is defined.
24701 * nptl/descr.h (pthread): Likewise.
24702 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24703 Likewise.
24704 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24705 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24706 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24707 * sysdeps/nptl/bits/thread-shared-types.h
24708 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24709 defines.
24710 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24711 of __WORDSIZE for internal layout.
24712 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24713 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24714 instead of __WORDSIZE whether to use an union for __spins and __list
24715 fields.
24716 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24717 case.
24718 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24719 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24720 defines.
24721 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24722 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24723 Likewise.
24724 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24725 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24726 Likewise.
24727 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24728 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24729 Likewise.
24730 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24731 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24732 Likewise.
24733 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24734 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24735 Likewise.
24736 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24737 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24738 Likewise.
24739 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24740 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24741 Likewise.
24742 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24743 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24744 Likewise.
24745 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24746 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24747 Likewise.
24748 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24749 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24750 Likewise.
24751 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24752 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24753 Likewise.
24754 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24755 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24756 Likewise.
24757 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24758 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24759 Likewise.
24760 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24761 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24762 Likewise.
24763
24764 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24765 New macros.
24766 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24767 checks for expected input type size.
24768 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24769 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24770 Likewise.
24771 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24772 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24773 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24774 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24775 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24776 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24777 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24778 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24779 superflous runtime assert check.
24780 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24781 Likewise.
24782 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24783 Likewise.
24784 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24785 Likewise.
24786 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24787 Likewise.
24788 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24789 Likewise.
24790 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24791 Likewise.
24792 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24793 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24794 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24795 Likewise.
24796 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24797 Likewise.
24798 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24799 Likewise.
24800 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24801 Likewise.
24802 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24803 Likewise.
24804 * nptl/pthread_attr_setinheritsched.c
24805 (__pthread_attr_setinheritsched): Likewise.
24806 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24807 Likewise.
24808 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24809 Likewise.
24810 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24811 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24812 __old_pthread_attr_setstack): Likewise.
24813 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24814 Likewise.
24815 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24816 Likewise.
24817 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24818 Likewise.
24819 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24820 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24821 Likewise.
24822 * nptl/tst-typesizes.c: Remove file.
24823
24824 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24825 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24826 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24827 checks for internal pthread_mutex_t offsets.
24828 * sysdeps/aarch64/nptl/pthread-offsets.h
24829 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24830 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24831 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24832 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24833 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24834 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24835 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24836 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24837 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24838 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24839 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24840 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24841 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24842 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24843 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24844 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24845 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24846 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24847
24848 2017-11-07 Florian Weimer <fweimer@redhat.com>
24849
24850 * bits/mman-linux.h: Move ...
24851 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24852 comment.
24853 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24854 outdated comment.
24855
24856 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24857
24858 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24859 Redefine STRNLEN as __strnlen_power8.
24860
24861 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24862
24863 * signal/sighold.c (sighold): Optimize implementation.
24864
24865 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24866 __NR_rt_sigqueueinfo.
24867
24868 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24869 __sigtimedwait.
24870 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24871 assume __NR_rt_sigtimedwait.
24872 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24873 and add LIBC_CANCEL_HANDLED for cancellation marking.
24874 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24875
24876 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24877 (sysdeps_routines): Add memchr_noneon.
24878 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24879 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24880 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24881 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24882 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24883 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24884 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24885
24886 * sysdeps/arm/arm-ifunc.h: New file.
24887 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24888 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24889 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24890 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24891 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24892 (__memcpy_neon): Avoid create hidden alias.
24893 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24894 (__memcpy_vfp): Likewise.
24895 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24896 (sysdep_routines): Add memcpy_arm.
24897 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24898
24899 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24900
24901 [BZ #22362]
24902 * Makerules (make-link-multidir): New.
24903 * config.make.in (multidir): New.
24904 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24905 * configure: Regenerated.
24906 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24907 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24908 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24909 New target.
24910
24911 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24912
24913 [BZ #22402]
24914 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24915 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24916
24917 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24918
24919 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24920 to be escaped.
24921
24922 2017-11-04 Florian Weimer <fweimer@redhat.com>
24923
24924 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24925
24926 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24927
24928 * math/math.h [__HAVE_DISTINCT_FLOAT16
24929 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24930 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24931 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24932 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24933 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24934 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24935 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24936 (__MATH_TG_F32): New macro.
24937 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24938 (__MATH_TG_F64X): Likewise.
24939 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24940 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24941
24942 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24943
24944 * po/de.po: Update translations.
24945 * po/ru.po: Likewise.
24946
24947 2017-11-03 Florian Weimer <fweimer@redhat.com>
24948
24949 * manual/filesys.texi (Hard Links): Document linkat.
24950
24951 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24952
24953 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24954 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24955 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24956 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24957 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24958 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24959 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24960 the same as _Float128.
24961 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24962 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24963 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24964
24965 * stdlib/stdlib.h
24966 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24967 Declare.
24968 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24969 Likewise.
24970 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24971 Likewise.
24972 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24973 (strtof32x): Likewise.
24974 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24975 (strtof64x): Likewise.
24976 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24977 (strtof128x): Likewise.
24978 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24979 (strfromf16): Likewise.
24980 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24981 (strfromf32): Likewise.
24982 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24983 (strfromf64): Likewise.
24984 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24985 (strfromf32x): Likewise.
24986 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24987 (strfromf64x): Likewise.
24988 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24989 (strfromf128x): Likewise.
24990 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24991 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24992 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24993 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24994 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24995 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24996
24997 2017-11-03 Richard Henderson <rth@twiddle.net>
24998
24999 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25000
25001 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25002
25003 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25004
25005 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25006
25007 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25008 DT_TLSDESC_GOT initialization.
25009 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25010 (_dl_tlsdesc_resolve_hold): Likewise.
25011 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25012 (_dl_tlsdesc_resolve_hold): Likewise.
25013 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25014 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25015
25016 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25017
25018 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25019
25020 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25021
25022 [BZ #18572]
25023 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25024 non-lazily for R_ARM_TLS_DESC.
25025
25026 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25027
25028 [BZ #17078]
25029 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25030 R_ARM_TLS_DESC case.
25031 (elf_machine_lazy_rel): Remove the prelink check.
25032
25033 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25034
25035 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25036 DT_TLSDESC_GOT initialization.
25037 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25038 (_dl_tlsdesc_resolve_rela): Likewise.
25039 (_dl_tlsdesc_resolve_hold): Likewise.
25040 (_dl_tlsdesc_undefweak): Remove ldar.
25041 (_dl_tlsdesc_dynamic): Likewise.
25042 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25043 (_dl_tlsdesc_resolve_rela): Likewise.
25044 (_dl_tlsdesc_resolve_hold): Likewise.
25045 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25046 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25047 (_dl_tlsdesc_resolve_rela): Likewise.
25048 (_dl_tlsdesc_resolve_hold): Likewise.
25049
25050 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25051
25052 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25053 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25054
25055 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25056
25057 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25058 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25059
25060 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25061
25062 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25063 Declare.
25064 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25065 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25066 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25067 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25068 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25069 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25070 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25071 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25072 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25073 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25074 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25075
25076 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25077
25078 [BZ #22382]
25079 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25080 * localedata/locales/tpi_PG: Add standard header.
25081
25082 2017-11-02 Florian Weimer <fweimer@redhat.com>
25083
25084 test-errno-linux: quotactl can fail with EPERM in containers.
25085 * sysdeps/unix/sysv/linux/test-errno-linux.c
25086 (LIST, LIST_FORWARD): New macros.
25087 (check_error_in_list): New function.
25088 (test_wrp_rv): Accept list of permitted error codes.
25089 (test_wrp_rv2): Remove.
25090 (test_wrp): Call test_wrp_rv with list of error codes.
25091 (test_wrp2): Accept list of error codes.
25092 (do_test): Adjust. Allow EPERM for quotactl.
25093
25094 2017-11-02 Florian Weimer <fweimer@redhat.com>
25095
25096 * stdio-common/bug16.c (do_test): Use array_length.
25097 * stdio-common/errlist.c (_sys_nerr): Likewise.
25098 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25099 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25100 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25101 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25102 (do_test): Use array_length.
25103 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25104 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25105 * stdio-common/tst-printf-round.c (do_test): Likewise.
25106 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25107 (CHECK): Use array_length.
25108 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25109 * stdio-common/tstscanf.c (main): Likewise.
25110 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25111
25112 2017-11-02 Florian Weimer <fweimer@redhat.com>
25113
25114 Add array_length and array_end macros.
25115 * include/array_length.h: New file.
25116
25117 2017-11-02 Florian Weimer <fweimer@redhat.com>
25118
25119 [BZ #22332]
25120 * posix/tst-glob-tilde.c (do_noescape): New variable.
25121 (one_test): Process it.
25122 (do_test): Set do_noescape. Add unescaping test case.
25123
25124 2017-11-01 Joseph Myers <joseph@codesourcery.com>
25125
25126 * math/complex.h
25127 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25129 with appropriate macros defined and undefined.
25130 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25131 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25132 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25133 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25134 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25135 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25136 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25137 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25138 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25139 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25140
25141 * math/complex.h
25142 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25143 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25144 that for long double. Do not condition define and undefine of
25145 _Mdouble_complex_ on [__CFLOAT128].
25146
25147 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25148
25149 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25150 of <sysdeps/generic/sysdep.h>.
25151 (ALIGNARG): Removed.
25152 (ASM_SIZE_DIRECTIVE): Likewise.
25153 (ENTRY): Likewise.
25154 (END): Likewise.
25155 (ENTRY_CHK): Likewise.
25156 (END_CHK): Likewise.
25157 (syscall_error): Likewise.
25158 (mcount): Likewise.
25159 (PSEUDO_END): Likewise.
25160 (L): Likewise.
25161 (atom_text_section): Likewise.
25162 * sysdeps/x86/sysdep.h: New file.
25163 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25164 of <sysdeps/generic/sysdep.h>.
25165 (ALIGNARG): Removed.
25166 (ASM_SIZE_DIRECTIVE): Likewise.
25167 (ENTRY): Likewise.
25168 (END): Likewise.
25169 (ENTRY_CHK): Likewise.
25170 (END_CHK): Likewise.
25171 (syscall_error): Likewise.
25172 (mcount): Likewise.
25173 (PSEUDO_END): Likewise.
25174 (L): Likewise.
25175 (atom_text_section): Likewise.
25176
25177 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25178
25179 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25180 category of LC_CTYPE set to "i18n:2012".
25181 * localedata/locales/i18n_ctype: Regenerate.
25182
25183 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25184
25185 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25186 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25187 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25188 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25189
25190 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25191 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25192 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25193 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25194
25195 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25196
25197 * math/complex.h
25198 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25199 New macro.
25200 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25201 Likewise.
25202 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25203 Likewise.
25204 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25205 (CMPLXF32X): Likewise.
25206 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25207 (CMPLXF64X): Likewise.
25208 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25209 (CMPLXF128X): Likewise.
25210
25211 * math/math.h
25212 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25213 (__MATH_EVAL_FMT2): Define to add 0.0f.
25214
25215 2017-10-31 Alan Modra <amodra@gmail.com>
25216
25217 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25218 include sysdep.h.
25219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25233 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25234 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25235 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25236 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25237 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25240 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25244 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25245 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25246 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25247 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25248 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25249 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25250 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25251 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25252 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25253 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25254 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25255 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25256 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25258 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25259 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25260 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25261 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25262 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25263 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25264 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25265 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25266 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25267 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25268 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25269 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25270 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25271 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25272 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25273 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25274 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25275 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25276 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25277 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25278 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25279 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25280 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25281 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25282 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25283 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25284 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25285 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25286 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25287 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25288
25289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25290 include sysdep.h and math_ldbl_opt.h.
25291
25292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25293 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25318
25319 2017-10-31 Alan Modra <amodra@gmail.com>
25320
25321 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25322 string/strncase_l.c, not string/strncase.c.
25323 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25324 (libc_hidden_def): Redefine.
25325
25326 2017-10-31 Alan Modra <amodra@gmail.com>
25327
25328 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25329 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25330 (__strcasecmp): Don't define.
25331
25332 2017-10-31 Alan Modra <amodra@gmail.com>
25333
25334 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25335 IS_IN (libc).
25336 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25337 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25338 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25339
25340 2017-10-31 Alan Modra <amodra@gmail.com>
25341
25342 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25343 USE_AS_STPNCPY.
25344
25345 2017-10-31 Alan Modra <amodra@gmail.com>
25346
25347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25348 Redefine only when SHARED.
25349
25350 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25351
25352 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25353 Include <bits/math-finite.h> with appropriate macros defined and
25354 undefined.
25355 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25356 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25357 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25358 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25359 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25360
25361 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25362 [!_Mlong_double_] (_Mlong_double_): Likewise.
25363 [!_Mfloat16_] (_Mfloat16_): Likewise.
25364 [!_Mfloat32_] (_Mfloat32_): Likewise.
25365 [!_Mfloat64_] (_Mfloat64_): Likewise.
25366 [!_Mfloat128_] (_Mfloat128_): Likewise.
25367 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25368 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25369 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25370 (_Mdouble_): Define without indirection through those macros.
25371 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25372 [!_Mfloat128_] (_Mfloat128_): Likewise.
25373 [_Mlong_double_] (_Mlong_double_): Likewise.
25374 (_Mdouble_): Define without indirection through those macros.
25375 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25376 not add -D_Mlong_double_=double.
25377 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25378 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25379
25380 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25381
25382 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25383
25384 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25385
25386 * sysdeps/x86/libc-start.c: Reformat.
25387
25388 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25389
25390 [BZ #22353]
25391 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25392 (1): Renamed to ...
25393 (L(Src0)): This.
25394 (L(Src1)): New.
25395 (L(Src2)): Likewise.
25396 (L(1)): Renamed to ...
25397 (L(Src3)): This.
25398
25399 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25400
25401 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25402 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25403 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25404 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25405 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25406 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25407 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25408 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25409 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25410 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25411 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25412 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25413 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25414 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25415 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25416 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25417 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25418 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25419 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25420 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25421 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25422 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25423 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25424 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25425 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25426 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25427 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25428 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25429 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25430 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25431 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25432 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25433 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25434 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25435 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25436 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25437 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25438 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25439 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25440 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25441 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25442 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25443 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25444 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25445 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25446 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25447 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25448 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25449 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25450 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25451 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25452 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25453 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25454 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25455 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25456 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25457 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25458 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25459 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25460 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25461 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25462 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25463 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25464 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25465 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25466 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25467
25468 2017-10-30 Florian Weimer <fweimer@redhat.com>
25469
25470 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25471 always defined.
25472 * io/tst-mkdirat.c (do_test): Likewise.
25473 * io/tst-mkfifoat.c (do_test): Likewise.
25474 * io/tst-mknodat.c (do_test): Likewise.
25475 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25476 * locale/programs/locale.c (select_dirs): Likewise.
25477 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25478 * posix/bug-glob2.c (my_readdir): Likewise.
25479 * posix/tst-dir.c (main): Likewise.
25480 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25481 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25482
25483 2017-10-30 Florian Weimer <fweimer@redhat.com>
25484
25485 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25486 just __USE_GNU.
25487
25488 2017-10-30 Florian Weimer <fweimer@redhat.com>
25489
25490 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25491 Convert to support/test-driver.c.
25492 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25493 New macro parameters.
25494 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25495 * posix/tst-gnuglob.c: New file.
25496 * posix/tst-gnuglob64.c: Likewise.
25497 * posix/Makefile (tests): Add tst-gnuglob64.
25498
25499 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25500
25501 [BZ #19485]
25502 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25503 and use a better translation for March in “mon”.
25504 * localedata/locales/csb_PL: Use more ASCII to improve the
25505 readability of the source.
25506
25507 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25508
25509 [BZ #13953]
25510 * localedata/locales/km_KH: Use ASCII as much
25511 as possible for better readability of the source and
25512 remove useless comments.
25513 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25514 was commented out and apparently wrong anyway because it was
25515 using Lao characters. If Buddhist era should be used
25516 for km_KH, a native speaker should write the correct formaat
25517 for Khmer.
25518 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25519 (According to CLDR, the first weekday for Cambodia is Sunday).
25520 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25521 (These were using Lao characters which must be wrong. If we get
25522 the correct data from a native speaker, we could add it back, until
25523 then it is better not to have name_mr and name_mrs at all than
25524 having it wrong).
25525
25526 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25527
25528 * locale/loadlocale.c: Correct size of
25529 _nl_value_type_LC_<category> arrays.
25530
25531 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25532
25533 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25534 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25535 with appropriate macros defined and undefined.
25536 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25537 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25538 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25539 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25540 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25541
25542 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25543
25544 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25545 "-O2 -march=i586".
25546
25547 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25548
25549 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25550 with lowercase letters to make it agree with CLDR.
25551
25552 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25553
25554 [BZ #15260]
25555 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25556 first letters of yesstr and nostr in yesexpr and noexpr,
25557 not for the full words.
25558 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25559 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25560 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25561 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25562 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25563 first letters of yesstr and nostr in yesexpr and noexpr,
25564 until now only English was matched in yesexpr and noexpr.
25565 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25566 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25567 fil but not for tl. As tl and fil are very similar, using fil
25568 is probably better than using English.
25569
25570 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25571
25572 [BZ #21706]
25573 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25574 in yesstr and nostr.
25575
25576 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25577
25578 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25579 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25580 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25581 Likewise.
25582 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25583 Likewise.
25584 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25585 Likewise.
25586 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25587 Likewise.
25588 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25589 (SNANF128X): Likewise.
25590
25591 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25592 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25593 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25594 (HUGE_VAL_F32): Likewise.
25595 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25596 (HUGE_VAL_F64): Likewise.
25597 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25598 (HUGE_VAL_F32X): Likewise.
25599 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25600 (HUGE_VAL_F64X): Likewise.
25601 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25602 (HUGE_VAL_F128X): Likewise.
25603
25604 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25605
25606 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25607 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25608 for the br_FR locale.
25609
25610 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25611
25612 [BZ #21706]
25613 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25614
25615 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25616
25617 * locale/programs/record-status.h: Define globals, and function
25618 prototypes. Move function bodies...
25619 * locale/programs/record-status.c: ... to here. New file.
25620 * iconv/Makefile (iconv_prog-modules): Add record-status.
25621 * locale/Makefile (lib-modules): Likewise.
25622 * iconv/iconv_prog.c: Remove verbose.
25623 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25624 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25625 record a warning about ASCII compatibility.
25626 * locale/programs/ld-monetary.c (monetary_finish): If
25627 warn_int_curr_symbol is true then record a warning about the symbol
25628 not being in our ISO 4217 list.
25629 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25630 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25631 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25632 (OPT_NO_WARN): Define.
25633 (OPT_WARN): Define.
25634 (options): Add entry for --no-warnings, and --warnings.
25635 (set_warnings): New function to enable/disable warnings.
25636 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25637 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25638 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25639 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25640 Pass flags to generate_locale.
25641 (generate_locale): Accept new flag argument and pass it to localedef
25642 invocation.
25643 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25644 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25645
25646 * localedata/Makefile (test-input-data): Use full file name.
25647 * localedata/da_DK.in: Rename to...
25648 * localedata/da_DK.ISO-8859-1.in: ...this.
25649 * localedata/de_DE.in: Rename to...
25650 * localedata/de_DE.ISO-8859-1.in: ...this.
25651 * localedata/en_US.in: Rename to...
25652 * localedata/en_US.ISO-8859-1.in: ...this.
25653 * localedata/fr_FR.in: Rename to...
25654 * localedata/fr_FR.UTF-8.in: ... this.
25655 * localedata/hr_HR.in: Rename to...
25656 * localedata/hr_HR.ISO-8859-2.in: ...this.
25657 * localedata/hu_HU.in: Rename to...
25658 * localedata/hu_HU.UTF-8.in: ...this.
25659 * localedata/si_LK.in: Rename to...
25660 * localedata/si_LK.UTF-8.in: ...this.
25661 * localedata/sv_SE.in: Rename to...
25662 * localedata/sv_SE.ISO-8859-1.in: ...this.
25663 * localedata/tr_TR.in: Rename to...
25664 * localedata/tr_TR.UTF-8.in: ...this.
25665 * localedata/uk_UA.in: Rename to...
25666 * localedata/uk_UA.UTF-8.in: ...this.
25667 * localedata/sort-test.sh: Test file is locale name with the
25668 suffix.
25669
25670 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25671 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25672 file.
25673 * localedata/locales/i18n_ctype: Regenerate.
25674 * localedata/locales/tr_TR: Likewise.
25675 * localedata/locales/translit_circle: Likewise.
25676 * localedata/locales/translit_cjk_compat: Likewise.
25677 * localedata/locales/translit_combining: Likewise.
25678 * localedata/locales/translit_compat: Likewise.
25679 * localedata/locales/translit_font: Likewise.
25680 * localedata/locales/translit_fraction: Likewise.
25681
25682 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25683
25684 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25685 lxvd2x/stxvd2x with lvx/stvx.
25686 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25687
25688 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25689
25690 * include/alloc_buffer.h: Replace "if if " with "if " in
25691 comments.
25692 * sysdeps/mips/memcpy.S: Likkewise.
25693 * sysdeps/mips/memset.S: Likewise.
25694 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25695 Likewise.
25696 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25697 Likewise.
25698 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25699 Likewise.
25700
25701 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25702
25703 [BZ #15261]
25704 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25705 yesexpr and noexpr.
25706 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25707 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25708 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25709 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25710 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25711 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25712 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25713
25714 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25715
25716 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25717 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25718 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25719 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25720 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25721 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25722 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25723 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25724 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25725 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25726 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25727 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25728
25729 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25730
25731 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25732 as possible for better readability of the source.
25733 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25734 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25735 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25736 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25737 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25738 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25739 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25740 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25741 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25742 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25743 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25744 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25745 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25746 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25747 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25748 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25749 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25750 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25751 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25752 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25753 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25754 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25755 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25756 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25757 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25758 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25759 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25760 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25761 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25762 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25763 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25764 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25765 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25766 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25767 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25768 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25769 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25770 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25771 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25772 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25773 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25774 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25775 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25776 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25777 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25778 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25779 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25780 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25781 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25782 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25783 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25784 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25785 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25786 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25787 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25788 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25789 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25790 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25791 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25792 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25793 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25794 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25795 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25796 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25797 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25798 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25799 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25800 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25801 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25802 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25803 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25804 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25805 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25806 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25807 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25808 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25809 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25810 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25811 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25812 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25813 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25814 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25815 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25816 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25817 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25818 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25819 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25820 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25821 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25822 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25823 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25824 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25825 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25826 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25827 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25828 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25829 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25830 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25831 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25832 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25833 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25834 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25835 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25836 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25837 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25838 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25839 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25840 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25841 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25842 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25843 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25844 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25845 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25846 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25847 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25848 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25849 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25850 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25851 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25852 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25853 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25854 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25855 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25856 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25857 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25858 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25859 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25860 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25861 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25862 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25863 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25864 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25865 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25866 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25867 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25868 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25869 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25870 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25871 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25872 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25873 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25874 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25875 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25876 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25877 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25878 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25879 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25880 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25881 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25882 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25883 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25884 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25885 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25886 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25887 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25888 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25889 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25890 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25891 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25892 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25893 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25894 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25895 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25896 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25897 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25898 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25899 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25900 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25901 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25902 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25903 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25904 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25905 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25906 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25907
25908 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25909
25910 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25911 (Use first letters of yesstr and nostr correctly instead of using
25912 full words).
25913
25914 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25915
25916 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25917 (Use first letters of yesstr and nostr correctly).
25918
25919 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25920
25921 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25922 also check for the first characters of yesstr and nostr.
25923 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25924 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25925
25926 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25927
25928 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25929 also check for Chinese characters.
25930
25931 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25932
25933 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25934 match also for the contents of yesstr and nostr. As the first letter
25935 of yesstr and nostr is equal, checking only for the first letter
25936 is not enough.
25937
25938 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25939
25940 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25941 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25942
25943 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25944
25945 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25946 of main contributor.
25947
25948 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25949
25950 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25951 instead of using English.
25952
25953 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25954
25955 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25956 by including the first letters of nostr and yesexpr in the regexp.
25957 Also make it more readable by using ASCII where possible.
25958
25959 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25960
25961 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25962 the first letter of nostr in the regexp. It agrees with CLDR now.
25963 Also make it more readable by using ASCII where possible.
25964
25965 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25966
25967 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25968 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25969 these strings contain a U+17D6 (which somewhat looks like a colon)
25970 instead of a real colon to separate the full words for “yes”
25971 and “no” from the single letter responses.
25972
25973 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25974
25975 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25976 it agree with CLDR (include the first letter of yesstr).
25977 Also make it more readable by using ASCII where possible.
25978
25979 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25980
25981 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25982 and improve yesexpr and noexpr. The yesstr and nostr apparently
25983 came from CLDR. And CLDR has a bug there: these strings contain
25984 a U+0903 (which looks like a colon) instead of a real colon
25985 to separate the full words for “yes” and “no” from the single
25986 letter responses.
25987
25988 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25989
25990 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25991 letters of the full yesstr and nostr in yesexpr and noexpr.
25992
25993 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25994
25995 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25996 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25997 * localedata/locales/an_ES: Make source more readable by using ASCII
25998 where possible.
25999
26000 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26001
26002 [BZ #20952]
26003 * localedata/locales/yuw_PG: New file.
26004 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26005 * locale/iso-639.def: Add Yau (Uruwa).
26006
26007 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26008
26009 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26010
26011 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26012
26013 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26014 (__libc_realloc): Likewise.
26015 (_mid_memalign): Likewise.
26016 (__libc_calloc): Likewise.
26017
26018 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26019
26020 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26021 by adding the generic +1 and -0 as in all other locales.
26022 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26023 day names and make it more readable by using ASCII where possible.
26024
26025 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26026
26027 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26028 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26029
26030 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26031
26032 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26033 WNOHANG in waitpid call.
26034
26035 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26036
26037 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26038 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26039
26040 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26041 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26042 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26043 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26044 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26045 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26046 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26047 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26048 variables.
26049
26050 2017-10-23 Michael Collison <michael.collison@arm.com>
26051
26052 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26053 with __builtin_sqrt.
26054 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26055 with __builtin_sqrtf.
26056 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26057 with __builtin_ceil.
26058 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26059 with __builtin_ceilf.
26060 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26061 with __builtin_floor.
26062 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26063 with __builtin_floorf.
26064 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26065 with __builtin_fma.
26066 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26067 with __builtin_fmaf.
26068 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26069 with __builtin_fmax.
26070 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26071 with __builtin_fmaxf.
26072 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26073 with __builtin_fmin.
26074 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26075 with __builtin_fminf.
26076 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26077 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26078 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26079 with builtin_rint and conversion to int.
26080 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26081 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26082 with builtin_llround.
26083 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26084 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26085 with builtin_rint and conversion to long int.
26086 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26087 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26088 with builtin_lround.
26089 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26090 with builtin_lroundf.
26091 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26092 statements with __builtin_nearbyint.
26093 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26094 statements with __builtin_nearbyintf.
26095 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26096 with __builtin_rint.
26097 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26098 with __builtin_rintf.
26099 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26100 with __builtin_round.
26101 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26102 with __builtin_roundf.
26103 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26104 with __builtin_trunc.
26105 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26106 with __builtin_truncf.
26107 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26108 and s_l[l]round[f].c too.
26109
26110 2017-10-23 Alan Modra <amodra@gmail.com>
26111
26112 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26113 Adjust stack after restoring regs. Add missing LR cfi_restore.
26114
26115 2017-10-23 Alan Modra <amodra@gmail.com>
26116
26117 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26118 Move LR save and frame setup/teardown and LR restore to
26119 immediately around memset call. Provide cfi.
26120
26121 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26122
26123 * sysdeps/i386/fpu/e_powf.S: Removed.
26124 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26125 * sysdeps/i386/fpu/w_powf.c: Likewise.
26126 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26127 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26128 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26129 Add e_powf-sse2.
26130 (CFLAGS-e_powf-sse2.c): New.
26131 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26132 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26133
26134 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26135
26136 * sysdeps/i386/fpu/e_log2f.S: Removed.
26137 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26138 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26139 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26140 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26141 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26142 Add e_log2f-sse2.
26143 (CFLAGS-e_log2f-sse2.c): New.
26144 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26145 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26146
26147 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26148
26149 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26150 Add e_powf-fma.
26151 (CFLAGS-e_powf-fma.c): New.
26152 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26153 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26154
26155 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26156
26157 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26158 Add e_log2f-fma.
26159 (CFLAGS-e_log2f-fma.c): New.
26160 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26161 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26162
26163 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26164
26165 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26166 Add e_logf-fma.
26167 (CFLAGS-e_logf-fma.c): New.
26168 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26169 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26170
26171 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26172
26173 * sysdeps/i386/fpu/e_logf.S: Removed.
26174 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26175 * sysdeps/i386/fpu/w_logf.c: Likewise.
26176 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26177 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26178 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26179 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26180 Add e_logf-sse2.
26181 (CFLAGS-e_logf-sse2.c): New.
26182 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26183 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26184
26185 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26186
26187 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26188 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26189 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26190 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26191 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26192 Add e_exp2f-sse2.
26193 (CFLAGS-e_exp2f-sse2.c): New.
26194 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26195 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26196
26197 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26198
26199 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26200 Add e_exp2f-fma.
26201 (CFLAGS-e_exp2f-fma.c): New.
26202 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26203 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26204
26205 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26206
26207 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26208 * sysdeps/i386/fpu/e_expf.S: Likewise.
26209 * sysdeps/i386/fpu/math_errf.c: Likewise.
26210 * sysdeps/i386/fpu/w_expf.c: Likewise.
26211 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26212 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26213 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26214 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26215 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26216 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26217 Remove e_expf-ia32.
26218 (CFLAGS-e_expf-sse2.c): New.
26219 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26220 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26221
26222 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26223
26224 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26225 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26226 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26227 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26228 e_expf.c.
26229 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26230 New.
26231 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26232 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26233 Renamed to ...
26234 (__redirect_expf): This.
26235 (SYMBOL_NAME): Changed to expf.
26236 (__ieee754_expf): Renamed to ...
26237 (__expf): This.
26238 (__GI___expf): This.
26239 (__ieee754_expf): Add strong_alias.
26240 (__expf_finite): Likewise.
26241 (__expf): New.
26242 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26243
26244 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26245
26246 [BZ #22332]
26247 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26248 unescaping.
26249
26250 2017-10-21 Florian Weimer <fweimer@redhat.com>
26251
26252 * posix/Makefile (tests): Add tst-glob-tilde.
26253 (tests-special): Add tst-glob-tilde-mem.out
26254 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26255 (tst-glob-tilde-mem.out): Add mtrace check.
26256 * posix/tst-glob-tilde.c: New file.
26257
26258 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26259
26260 * bits/floatn-common.h: New file.
26261 * math/Makefile (headers): Add bits/floatn-common.h.
26262 * bits/floatn.h: Include <bits/floatn-common.h>.
26263 * sysdeps/ia64/bits/floatn.h: Likewise.
26264 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26265 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26266 * sysdeps/powerpc/bits/floatn.h: Likewise.
26267 * sysdeps/x86/bits/floatn.h: Likewise.
26268
26269 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26270
26271 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26272 indicates whether compiler emits an warning for alias for
26273 functions with incompatible types.
26274
26275 [BZ #22273]
26276 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26277 the auxiliary process is terminated by a signal before calling _exit
26278 or execve.
26279
26280 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26281
26282 [BZ #21265]
26283 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26284 New.
26285 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26286 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26287 and bit_arch_XSAVEC_Usable if needed.
26288 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26289 and bit_arch_Use_dl_runtime_resolve_opt.
26290 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26291 Removed.
26292 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26293 (bit_arch_Prefer_No_AVX512): Updated.
26294 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26295 (bit_arch_XSAVEC_Usable): New.
26296 (STATE_SAVE_OFFSET): Likewise.
26297 (STATE_SAVE_MASK): Likewise.
26298 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26299 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26300 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26301 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26302 (index_arch_XSAVEC_Usable): New.
26303 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26304 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26305 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26306 is enabled.
26307 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26308 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26309 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26310 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26311 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26312 _dl_runtime_resolve_xsavec.
26313 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26314 Removed.
26315 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26316 instead of VEC_SIZE.
26317 (REGISTER_SAVE_BND0): Removed.
26318 (REGISTER_SAVE_BND1): Likewise.
26319 (REGISTER_SAVE_BND3): Likewise.
26320 (REGISTER_SAVE_RAX): Always defined to 0.
26321 (VMOV): Removed.
26322 (_dl_runtime_resolve_avx): Likewise.
26323 (_dl_runtime_resolve_avx_slow): Likewise.
26324 (_dl_runtime_resolve_avx_opt): Likewise.
26325 (_dl_runtime_resolve_avx512): Likewise.
26326 (_dl_runtime_resolve_avx512_opt): Likewise.
26327 (_dl_runtime_resolve_sse): Likewise.
26328 (_dl_runtime_resolve_sse_vex): Likewise.
26329 (USE_FXSAVE): New.
26330 (_dl_runtime_resolve_fxsave): Likewise.
26331 (USE_XSAVE): Likewise.
26332 (_dl_runtime_resolve_xsave): Likewise.
26333 (USE_XSAVEC): Likewise.
26334 (_dl_runtime_resolve_xsavec): Likewise.
26335 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26336 Removed.
26337 (_dl_runtime_resolve_avx512_opt): Likewise.
26338 (_dl_runtime_resolve_avx): Likewise.
26339 (_dl_runtime_resolve_avx_opt): Likewise.
26340 (_dl_runtime_resolve_sse): Likewise.
26341 (_dl_runtime_resolve_sse_vex): Likewise.
26342 (_dl_runtime_resolve_fxsave): New.
26343 (_dl_runtime_resolve_xsave): Likewise.
26344 (_dl_runtime_resolve_xsavec): Likewise.
26345
26346 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26347
26348 [BZ #22320]
26349 CVE-2017-15670
26350 * posix/glob.c (__glob): Fix one-byte overflow.
26351
26352 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26353
26354 * malloc/malloc.c (sysdep-cancel.h): Add include.
26355
26356 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26357
26358 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26359
26360 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26361
26362 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26363 (tests): Remove $(objpfx)ga_test depdendency.
26364 * resolv/ga_test.c: Remove file.
26365
26366 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26367
26368 [BZ #18812]
26369 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26370 * localedata/locales/kab_DZ: New file.
26371
26372 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26373
26374 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26375 _dl_relocate_static_pie instead of _dl_start to compute load
26376 address in static PIE.
26377
26378 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26379
26380 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26381
26382 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26383
26384 [BZ #13605]
26385 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26386 * localedata/locales/shn_MM: New file.
26387
26388 2017-10-20 Florian Weimer <fweimer@redhat.com>
26389
26390 [BZ #22321]
26391 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26392 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26393 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26394 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26395 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26396 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26397
26398 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26399
26400 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26401
26402 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26403
26404 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26405
26406 [BZ #22322]
26407 * sysdeps/mips/bits/long-double.h: Move to ....
26408 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26409
26410 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26411
26412 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26413
26414 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26415 H.J. Lu <hongjiu.lu@intel.com>
26416
26417 [BZ #22299]
26418 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26419 GLRO(dl_platform) to NULL.
26420 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26421 (modules-names): Add tst-platformmod-1 and
26422 x86_64/tst-platformmod-2.
26423 (CFLAGS-tst-platform-1.c): New.
26424 (CFLAGS-tst-platformmod-1.c): Likewise.
26425 (CFLAGS-tst-platformmod-2.c): Likewise.
26426 (LDFLAGS-tst-platformmod-2.so): Likewise.
26427 ($(objpfx)tst-platform-1): Likewise.
26428 ($(objpfx)tst-platform-1.out): Likewise.
26429 (tst-platform-1-ENV): Likewise.
26430 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26431 * sysdeps/x86_64/tst-platform-1.c: New file.
26432 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26433 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26434
26435 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26436
26437 [BZ #13994]
26438 * locale/iso-639.def: Add Karbi.
26439 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26440 * localedata/locales/mjw_IN: New file.
26441
26442 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26443
26444 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26445 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26446 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26447 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26448 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26449 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26450 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26451 <bits/floatn.h>.
26452 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26453 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26454 * manual/math.texi (Mathematics): Document additional architecture
26455 support for _Float128.
26456 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26457 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26458 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26459 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26460 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26461 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26462 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26463 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26464 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26465 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26466 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26467 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26468 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26469 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26470 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26471
26472 2017-10-18 Renlin Li <renlin.li@arm.com>
26473
26474 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26475 _DYNAMIC symbol to calculate load address.
26476
26477 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26478
26479 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26480 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26481 summary bits.
26482 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26483 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26484
26485 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26486
26487 [BZ #16777]
26488 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26489 and improve readability by using more ASCII.
26490 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26491 and improve readability by using more ASCII.
26492
26493 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26494
26495 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26496 not all targets support atomics on bool.
26497
26498 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26499
26500 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26501 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26502 __f128.
26503 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26504 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26505 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26506 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26507 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26508 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26509
26510 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26511
26512 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26513 defines.
26514
26515 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26516
26517 [BZ #22159]
26518 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26519 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26520 (do_check_remalloced_chunk): Fix build bug.
26521 (do_check_malloc_state): Add assert that checks arena->top.
26522 (malloc_consolidate): Remove initialization.
26523 (int_mallinfo): Remove call to malloc_consolidate.
26524 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26525
26526 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26527
26528 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26529 (have_fastchunks): Remove.
26530 (clear_fastchunks): Remove.
26531 (set_fastchunks): Remove.
26532 (malloc_state): Add have_fastchunks.
26533 (malloc_init_state): Use have_fastchunks.
26534 (do_check_malloc_state): Remove incorrect invariant checks.
26535 (_int_malloc): Use have_fastchunks.
26536 (_int_free): Likewise.
26537 (malloc_consolidate): Likewise.
26538
26539 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26540
26541 * malloc/malloc.c (tcache_put): Inline.
26542 (tcache_get): Inline.
26543
26544 2017-10-17 Jordi Mallach <jordi@gnu.org>
26545
26546 Aurelien Jarno <aurelien@aurel32.net>
26547 [BZ #2522]
26548 * localedata/locales/ca_ES@valencia: New file.
26549 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26550
26551 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26552
26553 [BZ #22296]
26554 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26555 < 6.x
26556
26557 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26558
26559 * scripts/build-many-glibcs.py (Context.add_all_configs):
26560 Add arm-linux-gnueabihf multiarch extra_glibcs.
26561
26562 * sysdeps/generic/ifunc-init.h: New file.
26563 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26564
26565 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26566
26567 [BZ #22019]
26568 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26569 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26570 * stdlib/tst-strfmon_l.c: adapt test case.
26571
26572 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26573
26574 * sysdeps/generic/float128-abi.h: New file.
26575 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26576 non-__prefixed symbols to ....
26577 * math/Versions: ... here. Include <float128-abi.h>.
26578 * stdlib/Versions ... and here. Include <float128-abi.h>
26579
26580 2017-10-16 Florian Weimer <fweimer@redhat.com>
26581
26582 * version.h (VERSION): Switch to ".9000" as the development
26583 version suffix.
26584
26585 2017-10-16 Florian Weimer <fweimer@redhat.com>
26586
26587 [BZ #22050]
26588 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26589 compat_symbol_reference to access non-default version.
26590
26591 2017-10-16 Florian Weimer <fweimer@redhat.com>
26592
26593 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26594
26595 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26596
26597 * include/shlib-compat.h (compat_symbol_reference): Update
26598 comment.
26599
26600 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26601
26602 * math/Makefile (test-types): Add
26603 $(type-float128-$(float128-alias-fcts)).
26604 * math/test-float128.h (TYPE_STR): Define conditional on
26605 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26606 (ULP_IDX): Likewise.
26607 (ULP_I_IDX): Likewise.
26608
26609 * stdlib/strtold.c: Include <bits/floatn.h>
26610 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26611 and later undefine as macro. Define as weak alias if
26612 [!USE_WIDE_CHAR].
26613 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26614 and later undefine as macro. Define as weak alias if
26615 [USE_WIDE_CHAR].
26616 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26617 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26618 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26619 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26620 Define and later undefine as macro. Define as weak alias if
26621 [USE_WIDE_CHAR].
26622 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26623 <bits/floatn.h>.
26624 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26625 Define and later undefine as macro. Define as weak alias if
26626 [!USE_WIDE_CHAR].
26627 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26628 Define and later undefine as macro. Define as weak alias if
26629 [USE_WIDE_CHAR].
26630
26631 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26632
26633 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26634 record_verbose messages.
26635
26636 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26637
26638 [BZ #22052]
26639 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26640 to silence -O3 -Wall warning with GCC 7.
26641
26642 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26643
26644 * Makeconfig (+link-static-before-libc): Use the first of
26645 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26646 * gmon/Makefile (tests): Add tst-gmon-static.
26647 (tests-static): Likewise.
26648 (CFLAGS-tst-gmon-static.c): New.
26649 (CRT-tst-gmon-static): Likewise.
26650 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26651 (tst-gmon-static-ENV): Likewise.
26652 (tests-special): Likewise.
26653 ($(objpfx)tst-gmon-static.out): Likewise.
26654 (clean-tst-gmon-static-data): Likewise.
26655 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26656 * gmon/tst-gmon-static-gprof.sh: New file.
26657 * gmon/tst-gmon-static.c: Likewise.
26658
26659 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26660
26661 [BZ #22295]
26662 * locale/programs/linereader.c (get_string): Don't warn on
26663 non-symbolic character.
26664
26665 [BZ #22294]
26666 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26667 int_curr_symbol.
26668
26669 [BZ #22292]
26670 * locale/programs/record-status.h: New file
26671 * locale/programs/locale.c: Add comment.
26672 * locale/programs/charmap-dir.c: Don't include error.h.
26673 (charmap_opendir): Use record_error.
26674 * locale/programs/charmap.c: Don't include error.h.
26675 (charmap_read): Use record_error, and record_warning.
26676 (parse_charmap): Likewise.
26677 * locale/programs/ld-address.c: Don't include error.h.
26678 (address_finish): Use record_error, and record_warning.
26679 * locale/programs/ld-collate.c: Don't include error.h.
26680 (collate_finish): Use record_error, and record_error_at_line.
26681 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26682 (ctype_class_new): Likewise.
26683 (ctype_map_new): Likewise.
26684 (set_one_default): Likewise.
26685 (set_class_defaults): Likewise.
26686 (translit_flatten): Likewise.
26687 (allocate_arrays): Use record_error, and record_verbose.
26688 * locale/programs/ld-identification.c: Don't include error.h.
26689 (indentation_finish): Use record_error and record_warning.
26690 * locale/programs/ld-measurement.c: Don't include error.h.
26691 (measurement_finish): Use record_error.
26692 * locale/programs/ld-messages.c
26693 (message_finish): Likewise.
26694 * locale/programs/ld-monetary.c
26695 (monetary_finish): Likewise.
26696 * locale/programs/ld-name.c (name_finish): Use record_error
26697 and record_warning.
26698 * locale/programs/ld-numeric.c
26699 (numeric_finish): Use record_error.
26700 * locale/programs/ld-paper.c: Don't include error.h.
26701 (paper_finish): Use record_error.
26702 * locale/programs/ld-telephone.c: Don't include error.h.
26703 (telephone_finish): Use record_error.
26704 * locale/programs/ld-time.c (time_finish): Likewise.
26705 * locale/programs/linereader.h (lr_error): Make inline func.
26706 * locale/programs/localedef.c: Define recorded_warning_count,
26707 and recorded_error_count.
26708 (main): Use record_error. Use recorded_error_count and
26709 recorded_warning_count to issue correct error returns.
26710 (add_to_readlist): Use record_error.
26711 (find_locale): Likewise.
26712 (load_locale): Likewise.
26713 * locale/programs/localedef.h: Remove be_quiet
26714 and WITH_CUR_LOCALE.
26715 * locale/programs/locarchive.c (compare_from_file): Use
26716 record_error.
26717 * locale/programs/locfile.c (write_locale_data): Use
26718 record_error.
26719 * locale/programs/repertoire.c: Dont include error.h.
26720 (repertoire_complain): Use record_error.
26721 * localedata/tst-fmon.sh: Expect failures from localedef.
26722 * localedata/tst-locale.sh: Likewise.
26723 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26724
26725 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26726 (REPORTS): Likewise.
26727 (check): Likewise.
26728 (i18n): Rename to...
26729 (i18n_ctype): ...this.
26730 (i18n-report): Rename to...
26731 (i18n_ctype-report): ...this.
26732 * localedata/locales/i18n_ctype: Regenerate.
26733 * localedata/locales/i18n: copy i18n_ctype.
26734
26735 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26736
26737 * stdlib/strfroml.c: Include <bits/floatn.h>.
26738 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26739 Define before include of <stdlib.h> and undefine afterwards, then
26740 define as weak alias.
26741
26742 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26743 Undefine and restore default definition. Use
26744 libm_alias_ldouble_other.
26745
26746 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26747
26748 [BZ #22153]
26749 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26750 in coredumps.
26751
26752 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26753
26754 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26755 Assign sym_map to be map for local symbols, as TLS relocations
26756 use sym_map to determine whether the symbol is defined and to
26757 extract the TLS information.
26758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26760
26761 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26762
26763 [BZ #22189]
26764 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26765 (math_force_eval): Add powerpc version.
26766
26767 [BZ #22142]
26768 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26769 -DBL_MAX.
26770 (do_test): Likewise.
26771 * stdio-common/tst-printf.sh: Likewise.
26772 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26773 ifdef clause in order to set the carry bit right. Replace r0 by
26774 0 without changing the behavior.
26775
26776 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26777
26778 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26779 <libm-alias-ldouble.h>.
26780 (fabsl): Define using libm_alias_ldouble.
26781 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26782 <libm-alias-ldouble.h>.
26783 (fabsl): Define using libm_alias_ldouble.
26784
26785 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26786 Remove conditional code.
26787
26788 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26789 Rename to __clog10_internal_l.
26790 (__clog10_internal_l): Define aliases using
26791 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26792 with __clog10.
26793
26794 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26795
26796 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26797 * benchtests/sincosf-inputs: New file.
26798 * benchtests/cosf-inputs: New file.
26799 * benchtests/sinf-inputs: New file.
26800
26801 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26802
26803 * posix/tst-spawn.c (do_test): Wait for both children.
26804
26805 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26806
26807 [BZ #22284]
26808 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26809 tests-pie): Add tst-gmon-pie.
26810 (CFLAGS-tst-gmon-pie.c): New.
26811 (CRT-tst-gmon-pie): Likewise.
26812 (tst-gmon-pie-ENV): Likewise.
26813 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26814 ($(objpfx)tst-gmon-pie.out): Likewise.
26815 (clean-tst-gmon-pie-data): Likewise.
26816 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26817 * gmon/gmon.c [PIC]: Include <link.h>.
26818 [PIC] (callback): New function.
26819 (write_hist): Add an argument for load address. Subtract load
26820 address from PCs.
26821 (write_call_graph): Likewise.
26822 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26823 it to write_hist and write_call_graph.
26824 * gmon/tst-gmon-pie.c: New file.
26825
26826 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26827
26828 * math/Makefile (test-types-basic): New variable.
26829 (test-types): Likewise.
26830 (libm-test-support): Use $(test-types) instead of $(types).
26831 (libm-tests-base-normal): Likewise.
26832 (libm-tests-base-finite): Likewise.
26833 (libm-tests-base-inline): Likewise.
26834 (generated): Likewise.
26835 ($(objpfx)libm-test-support-$(t).c): Likewise.
26836 (libm-tests-for-type iterator): Likewise.
26837 (libm-test-support iterator): Likewise.
26838 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26839 (ulp_idx): Use ULP_IDX.
26840 * math/test-ldouble.h: Include <float.h>.
26841 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26842 (ULP_IDX): New macro.
26843 (ULP_I_IDX): Likewise.
26844 * math/test-double.h (ULP_IDX): Likewise.
26845 (ULP_I_IDX): Likewise.
26846 * math/test-float.h (ULP_IDX): Likewise.
26847 (ULP_I_IDX): Likewise.
26848 * math/test-float128.h (ULP_IDX): Likewise.
26849 (ULP_I_IDX): Likewise.
26850
26851 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26852
26853 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26854 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26855 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26856 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26857 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26858 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26859 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26860 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26862 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26863 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26864 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26865 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26866 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26867 (SINGLE_THREAD_BY_GLOBAL): Define.
26868 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26869 Likewise.
26870 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26871 Likewise.
26872 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26873 Likewise.
26874 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26875 Likewise.
26876 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26877 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26879 Likewise.
26880
26881 2017-10-11 Andreas Schwab <schwab@suse.de>
26882
26883 * nis/Makefile (aux): Remove.
26884 * nscd/Makefile (aux): Add nscd_hash.
26885 (nscd-modules): Likewise.
26886 ($(objpfx)nscd): Don't depend on libnsl.
26887 * nscd/nscd_hash.c: New file.
26888 * nscd/nscd_hash.h: Likewise.
26889 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26890 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26891 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26892 instead of <nis/rpcsvc/nis.h>.
26893 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26894
26895 2017-10-11 Florian Weimer <fweimer@redhat.com>
26896
26897 [BZ #22078]
26898 Avoid large NSS buffers with many addresses, aliases.
26899 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26900 using dynarrays and struct alloc_buffer.
26901 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26902 (tst-nss-files-hosts-multi): Link with -ldl.
26903 * nss/tst-nss-files-hosts-multi.c: New file.
26904
26905 2017-10-11 Florian Weimer <fweimer@redhat.com>
26906
26907 [BZ #18023]
26908 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26909 scratch_buffer. Eliminate gotos.
26910
26911 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26912
26913 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26914 libm_alias_ldouble_other.
26915 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26916 undefine and redefine.
26917 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26918 (exp10l): Do not define here.
26919 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26920 (weak_alias): Undefine and redefine.
26921 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26922 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26923 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26924 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26925
26926 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26927 [!__fma] (fma): Define using libm_alias_double.
26928 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26929 [!__fmaf] (fmaf): Define using libm_alias_float.
26930 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26931 (fmal): Define using libm_alias_ldouble.
26932
26933 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26934
26935 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26936 New macro.
26937 (libm_alias_double_other): Likewise.
26938 (libm_alias_double_r): Use libm_alias_double_other_r.
26939 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26940 New macro.
26941 (libm_alias_float_other): Likewise.
26942 (libm_alias_float_r): Use libm_alias_float_other_r.
26943 * sysdeps/generic/libm-alias-float128.h
26944 (libm_alias_float128_other_r): New macro.
26945 (libm_alias_float128_other): Likewise.
26946 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26947 * sysdeps/generic/libm-alias-ldouble.h
26948 (libm_alias_ldouble_other_r): New macro.
26949 (libm_alias_ldouble_other): Likewise.
26950 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26951 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26952 (libm_alias_double_other_r): New macro.
26953 (libm_alias_double_other): Likewise.
26954 (libm_alias_double_r): Use libm_alias_double_other_r.
26955 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26956 (libm_alias_ldouble_other_r): New macro.
26957 (libm_alias_ldouble_other): Likewise.
26958 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26959 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26960 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26961 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26962 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26963 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26964 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26965 * math/w_exp2f.c: Use libm_alias_float_other.
26966 * math/w_expf.c: Likewise.
26967 * math/w_log2f.c: Likewise.
26968 * math/w_logf.c: Likewise.
26969 * math/w_powf.c: Likewise.
26970 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26971 [!__exp2f]: Use libm_alias_float_other.
26972 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26973 [!__expf]: Use libm_alias_float_other.
26974 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26975 [!__log2f]: Use libm_alias_float_other.
26976 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26977 [!__logf]: Use libm_alias_float_other.
26978 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26979 [!__powf]: Use libm_alias_float_other.
26980
26981 2017-10-10 Florian Weimer <fweimer@redhat.com>
26982
26983 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26984 function.
26985 (_nss_files_gethostbyname3_r): Call it.
26986
26987 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26988
26989 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26990 error. Remove default definition of declare_mgen_alias.
26991 [!declare_mgen_alias_r]: Likewise.
26992 * sysdeps/generic/math-type-macros-double.h
26993 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26994 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26995 (declare_mgen_alias_r): Likewise.
26996 * sysdeps/generic/math-type-macros-float128.h
26997 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26998 * sysdeps/generic/math-type-macros-ldouble.h
26999 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27000 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27001 macro.
27002 (declare_mgen_alias_r_s): Likewise.
27003 (declare_mgen_alias_r): Likewise.
27004 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27005 (lgamma_r): Define using libm_alias_double_r.
27006 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27007 (lgammaf_r): Define using libm_alias_float_r.
27008 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27009 (lgammal_r): Define using libm_alias_ldouble_r.
27010 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27011 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27012
27013 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27014
27015 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27016 extern declaration.
27017
27018 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27019
27020 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27021
27022 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27023
27024 [BZ #21326]
27025 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27026 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27027 * math/Makefile (test-math-cxx11): New test.
27028 * math/test-math-cxx11.cc: New file.
27029
27030 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27031
27032 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27033
27034 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27035 call to allocate the slave pty file descriptor.
27036
27037 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27038
27039 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27040 [!__fma] (fma): Define using libm_alias_double.
27041 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27042 [!__fma] (fma): Define using libm_alias_double.
27043
27044 * sysdeps/ieee754/float128/float128_private.h: Include
27045 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27046 (libm_alias_ldouble_r): Undefine and redefine.
27047 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27048 <libm-alias-ldouble.h>.
27049 (asinhl): Define using libm_alias_ldouble.
27050 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27051 <libm-alias-ldouble.h>.
27052 (atanl): Define using libm_alias_ldouble.
27053 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27054 <libm-alias-ldouble.h>.
27055 (cbrtl): Define using libm_alias_ldouble.
27056 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27057 <libm-alias-ldouble.h>.
27058 (ceill): Define using libm_alias_ldouble.
27059 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27060 <libm-alias-ldouble.h>.
27061 (copysignl): Define using libm_alias_ldouble.
27062 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27063 <libm-alias-ldouble.h>.
27064 (cosl): Define using libm_alias_ldouble.
27065 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27066 <libm-alias-ldouble.h>.
27067 (erfl): Define using libm_alias_ldouble.
27068 (erfcl): Likewise.
27069 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27070 <libm-alias-ldouble.h>.
27071 (expm1l): Define using libm_alias_ldouble.
27072 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27073 <libm-alias-ldouble.h>.
27074 (fabsl): Define using libm_alias_ldouble.
27075 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27076 <libm-alias-ldouble.h>.
27077 (floorl): Define using libm_alias_ldouble.
27078 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27079 <libm-alias-ldouble.h>.
27080 (fmal): Define using libm_alias_ldouble.
27081 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27082 <libm-alias-ldouble.h>.
27083 (frexpl): Define using libm_alias_ldouble.
27084 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27085 libm_alias_ldouble.
27086 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27087 <libm-alias-ldouble.h>.
27088 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27089 libm_alias_ldouble.
27090 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27091 <libm-alias-ldouble.h>.
27092 (getpayloadl): Define using libm_alias_ldouble.
27093 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27094 <libm-alias-ldouble.h>.
27095 (llrintl): Define using libm_alias_ldouble.
27096 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27097 <libm-alias-ldouble.h>.
27098 (llroundl): Define using libm_alias_ldouble.
27099 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27100 <libm-alias-ldouble.h>.
27101 (logbl): Define using libm_alias_ldouble.
27102 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27103 <libm-alias-ldouble.h>.
27104 (lrintl): Define using libm_alias_ldouble.
27105 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27106 <libm-alias-ldouble.h>.
27107 (lroundl): Define using libm_alias_ldouble.
27108 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27109 <libm-alias-ldouble.h>.
27110 (modfl): Define using libm_alias_ldouble.
27111 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27112 <libm-alias-ldouble.h>.
27113 (nearbyintl): Define using libm_alias_ldouble.
27114 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27115 <libm-alias-ldouble.h>.
27116 (nextafterl): Define using libm_alias_ldouble.
27117 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27118 <libm-alias-ldouble.h>.
27119 (nextupl): Define using libm_alias_ldouble.
27120 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27121 <libm-alias-ldouble.h>.
27122 (remquol): Define using libm_alias_ldouble.
27123 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27124 <libm-alias-ldouble.h>.
27125 (rintl): Define using libm_alias_ldouble.
27126 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27127 <libm-alias-ldouble.h>.
27128 (roundevenl): Define using libm_alias_ldouble.
27129 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27130 <libm-alias-ldouble.h>.
27131 (roundl): Define using libm_alias_ldouble.
27132 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27133 using libm_alias_ldouble.
27134 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27135 <libm-alias-ldouble.h>.
27136 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27137 Define using libm_alias_ldouble.
27138 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27139 <libm-alias-ldouble.h>.
27140 (sincosl): Define using libm_alias_ldouble.
27141 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27142 <libm-alias-ldouble.h>.
27143 (sinl): Define using libm_alias_ldouble.
27144 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27145 <libm-alias-ldouble.h>.
27146 (tanhl): Define using libm_alias_ldouble.
27147 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27148 <libm-alias-ldouble.h>.
27149 (tanl): Define using libm_alias_ldouble.
27150 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27151 <libm-alias-ldouble.h>.
27152 (totalorderl): Define using libm_alias_ldouble.
27153 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27154 <libm-alias-ldouble.h>.
27155 (totalordermagl): Define using libm_alias_ldouble.
27156 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27157 <libm-alias-ldouble.h>.
27158 (truncl): Define using libm_alias_ldouble.
27159 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27160 libm_alias_ldouble.
27161 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27162 libm_alias_ldouble.
27163 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27164 <libm-alias-ldouble.h>.
27165 (weak_alias): Do not undefine and redefine.
27166 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27167 (copysignl): Define with long_double_symbol only if [IS_IN
27168 (libc)].
27169 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27170 <libm-alias-ldouble.h>.
27171 (weak_alias): Do not undefine and redefine.
27172 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27173 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27174 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27175 <libm-alias-ldouble.h>.
27176 (weak_alias): Do not undefine and redefine.
27177 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27178 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27179 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27180 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27181 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27182 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27183 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27184 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27185 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27186 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27187 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27188 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27189 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27190 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27191 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27192 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27193 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27194 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27195 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27196 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27197 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27198 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27199 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27200 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27201 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27202 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27203
27204 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27205
27206 [BZ #22111]
27207 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27208 (tcache_thread_freeres): Set tcache_shutting_down before
27209 freeing the tcache.
27210 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27211 * malloc/tst-malloc-tcache-leak.c: New file.
27212
27213 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27214
27215 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27216 back to powerpc32 file.
27217 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27218 (memrchr): Add __memrchr_power8 to ifunc list.
27219 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27220 extra bytes for unaligned inputs.
27221
27222 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27223
27224 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27225 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27226 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27229
27230 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27231
27232 * sysdeps/arm/libm-test-ulps: Update.
27233
27234 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27235 <libm-alias-ldouble.h>.
27236 (asinhl): Define using libm_alias_ldouble.
27237 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27238 <libm-alias-ldouble.h>.
27239 (cbrtl): Define using libm_alias_ldouble.
27240 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27241 <libm-alias-ldouble.h>.
27242 (copysignl): Define using libm_alias_ldouble.
27243 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27244 <libm-alias-ldouble.h>.
27245 (cosl): Define using libm_alias_ldouble.
27246 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27247 <libm-alias-ldouble.h>.
27248 (erfl): Define using libm_alias_ldouble.
27249 (erfcl): Likewise.
27250 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27251 <libm-alias-ldouble.h>.
27252 (fmal): Define using libm_alias_ldouble.
27253 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27254 <libm-alias-ldouble.h>.
27255 (frexpl): Define using libm_alias_ldouble.
27256 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27257 libm_alias_ldouble.
27258 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27259 <libm-alias-ldouble.h>.
27260 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27261 libm_alias_ldouble.
27262 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27263 <libm-alias-ldouble.h>.
27264 (getpayloadl): Define using libm_alias_ldouble.
27265 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27266 <libm-alias-ldouble.h>.
27267 (llrintl): Define using libm_alias_ldouble.
27268 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27269 <libm-alias-ldouble.h>.
27270 (llroundl): Define using libm_alias_ldouble.
27271 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27272 <libm-alias-ldouble.h>.
27273 (lrintl): Define using libm_alias_ldouble.
27274 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27275 <libm-alias-ldouble.h>.
27276 (lroundl): Define using libm_alias_ldouble.
27277 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27278 <libm-alias-ldouble.h>.
27279 (modfl): Define using libm_alias_ldouble.
27280 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27281 <libm-alias-ldouble.h>.
27282 (nextupl): Define using libm_alias_ldouble.
27283 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27284 <libm-alias-ldouble.h>.
27285 (remquol): Define using libm_alias_ldouble.
27286 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27287 <libm-alias-ldouble.h>.
27288 (roundevenl): Define using libm_alias_ldouble.
27289 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27290 <libm-alias-ldouble.h>.
27291 (roundl): Define using libm_alias_ldouble.
27292 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27293 using libm_alias_ldouble.
27294 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27295 <libm-alias-ldouble.h>.
27296 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27297 <libm-alias-ldouble.h>.
27298 (setpayloadsigl): Define using libm_alias_ldouble.
27299 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27300 <libm-alias-ldouble.h>.
27301 (sincosl): Define using libm_alias_ldouble.
27302 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27303 <libm-alias-ldouble.h>.
27304 (sinl): Define using libm_alias_ldouble.
27305 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27306 <libm-alias-ldouble.h>.
27307 (tanhl): Define using libm_alias_ldouble.
27308 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27309 <libm-alias-ldouble.h>.
27310 (tanl): Define using libm_alias_ldouble.
27311 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27312 <libm-alias-ldouble.h>.
27313 (totalorderl): Define using libm_alias_ldouble.
27314 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27315 <libm-alias-ldouble.h>.
27316 (totalordermagl): Define using libm_alias_ldouble.
27317 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27318 libm_alias_ldouble.
27319 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27320 libm_alias_ldouble.
27321
27322 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27323
27324 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27325 memmove_falkor.
27326 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27327 (__libc_ifunc_impl_list): Likewise.
27328 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27329 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27330
27331 * benchtests/bench-memmove-walk.c: New file.
27332 * benchtests/Makefile (string-benchset): Add it.
27333
27334 * benchtests/bench-memset-walk.c: New file.
27335 * benchtests/Makefile (string-benchset): Add it.
27336
27337 * benchtests/bench-memcpy-walk.c: New file.
27338 * benchtests/Makefile (string-benchset): Add it.
27339
27340 2017-10-05 Florian Weimer <fweimer@redhat.com>
27341
27342 nscd: Eliminate compilation time dependency in the build output.
27343 * nscd/nscd_stat.c (STATDATA_VERSION)
27344 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27345 (STATDATA_VERSION_FULL): New macro definitions.
27346 (compilation): Remove.
27347 (struct statdata): Adjust version member.
27348 (send_stats): Set version from STATDATA_VERSION_FULL.
27349 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27350
27351 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27352
27353 * configure.ac (--enable-add-ons): Remove option.
27354 (machine): Do not mention add-ons in comment.
27355 (LIBC_PRECONFIGURE): Likewise.
27356 (add_ons): Remove variable and sanity checks and logic to locate
27357 add-ons.
27358 (add_ons_automatic): Remove variable.
27359 (configured_add_ons): Likewise.
27360 (add_ons_sfx): Likewise.
27361 (add_ons_pfx): Likewise.
27362 (add_on_subdirs): Likewise.
27363 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27364 consideration of add-ons in Implies handling.
27365 (sysdeps_add_ons): Likewise.
27366 * configure: Regenerated.
27367 * libidn/configure.ac: Remove.
27368 * libidn/configure: Likewise.
27369 * sysdeps/unix/inet/configure.ac: New file.
27370 * sysdeps/unix/inet/configure: New generated file.
27371 * sysdeps/unix/inet/Subdirs: Add libidn.
27372 * Makeconfig (sysdeps-srcdirs): Remove variable.
27373 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27374 ($(common-objpfx)config.status): Do not depend on add-on files.
27375 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27376 comment.
27377 (all-subdirs): Do not include $(add-on-subdirs).
27378 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27379 * config.make.in (add-ons): Remove variable.
27380 (add-on-subdirs): Likewise.
27381 (sysdeps-add-ons): Likewise.
27382 * manual/Makefile (add-chapters): Remove.
27383 ($(objpfx)texis): Do not depend on $(add-chapters).
27384 (nonexamples): Do not handle $(add-chapters).
27385 (examples): Do not handle $(add-ons).
27386 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27387 libc-texinfo.sh.
27388 * manual/install.texi (Installation): Do not mention add-ons.
27389 (--enable-add-ons): Do not document configure option.
27390 * INSTALL: Regenerated.
27391 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27392 * manual/maint.texi (Hierarchy Conventions): Do not mention
27393 add-ons.
27394 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27395 --enable-add-ons.
27396 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27397 add-ons.
27398 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27399 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27400
27401 2017-10-05 Andreas Schwab <schwab@suse.de>
27402
27403 [BZ #15142]
27404 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27405 (_IO_flush_all_lockp): Always lock list_all_lock.
27406 (_IO_flush_all_linebuffered): Likewise.
27407 (_IO_unbuffer_all): Likewise.
27408
27409 2017-10-05 Florian Weimer <fweimer@redhat.com>
27410
27411 [BZ #15436]
27412 Do not flush stdio streams on abort.
27413 * stdlib/abort.c (fflush): Remove macro definition.
27414 (abort): Remove stages related to stdio flushing.
27415
27416 2017-10-05 Florian Weimer <fweimer@redhat.com>
27417
27418 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27419
27420 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27421
27422 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27423
27424 2017-10-05 Florian Weimer <fweimer@redhat.com>
27425
27426 * support/support_format_hostent.c (support_format_hostent): Add
27427 more error information for NETDB_INTERNAL.
27428
27429 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27430
27431 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27432 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27433 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27434 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27435 AC_DEFINE if multi-arch is enabled.
27436 * sysdeps/i386/configure: Regenerated.
27437
27438 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27439
27440 * Makeconfig (+link-static-before-libc): Use
27441 $(DEFAULT-LDFLAGS-$(@F)).
27442 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27443 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27444 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27445
27446 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27447
27448 * elf/Makefile (tests): Add tst-main1.
27449 (modules-names): Add tst-main1mod.
27450 ($(objpfx)tst-main1): New.
27451 (CRT-tst-main1): Likewise.
27452 (LDFLAGS-tst-main1): Likewise.
27453 (LDLIBS-tst-main1): Likewise.
27454 (tst-main1mod.so-no-z-defs): Likewise.
27455 * elf/tst-main1.c: New file.
27456 * elf/tst-main1mod.c: Likewise.
27457
27458 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27459
27460 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27461
27462 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27463
27464 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27465 (fma): Define using libm_alias_double.
27466 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27467 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27468 <math_ldbl_opt.h>.
27469 (fmal): Do not define as compat symbol here.
27470 * sysdeps/alpha/fpu/s_fma.c: New file.
27471
27472 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27473
27474 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27475
27476 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27477
27478 [BZ #22229]
27479 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27480 <math_ldbl_opt.h>
27481 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27482 and libc.
27483 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27484 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27485 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27486 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27488 Include <math_ldbl_opt.h>
27489 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27490 and libc.
27491 (compat_symbol): Undefine and redefine.
27492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27493 <math_ldbl_opt.h>
27494 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27495 (compat_symbol): Undefine and redefine.
27496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27497 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27498 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27499 GLIBC_2_1 for libm.
27500 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27501 GLIBC_2.0 copysignl symbol.
27502 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27503 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27504
27505 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27506
27507 2017-10-04 Florian Weimer <fweimer@redhat.com>
27508
27509 * scripts/check-local-headers.sh: Ignore nspr4 header file
27510 directory in addition to nspr.
27511
27512 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27513
27514 [BZ #17956]
27515 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27516 * configure: Regenerate.
27517 * crypt/Makefile (nss-cpp-flags): New variable.
27518 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27519 (CPPFLAGS-md5-crypt.c): Use it.
27520 * scripts/check-local-headers.sh: Ignore nspr header file
27521 directory.
27522
27523 2017-10-04 Andreas Schwab <schwab@suse.de>
27524
27525 * nis/Makefile (services): Remove compat.
27526 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27527 ($(objpfx)libnss_compat.so): Remove rule.
27528 * nis/Versions (libnss_compat): Remove.
27529 * nss/Makefile (services): Add compat.
27530 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27531 * nss/Versions (libnss_compat): Define.
27532 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27533 Don't include <rpc/types.h>. Replace bool_t by bool.
27534 * nss/nss_compat/compat-initgroups.c: Likewise.
27535 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27536 instead of <rpcsrv/ypclnt.h>.
27537 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27538 yp_get_default_domain.
27539 * nss/nss_compat/compat-pwd.c: Likewise.
27540 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27541 yp_get_default_domain.
27542 * nss/nss_compat/nisdomain.c: New file.
27543 * nss/nss_compat/nisdomain.h: Likewise.
27544
27545 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27546
27547 [BZ #22244]
27548 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27549 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27550
27551 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27552
27553 [BZ #22243]
27554 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27555 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27556
27557 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27558
27559 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27560 "movl main@GOTOFF(%ebx), %eax".
27561
27562 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27563
27564 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27565 allow undefined _DYNAMIC in PIE libc.a.
27566 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27567 Likewse.
27568
27569 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27570
27571 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27572 check _DYNAMIC.
27573
27574 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27575
27576 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27577 check _DYNAMIC.
27578
27579 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27580
27581 * math/test-math-iscanonical.cc (error): Replace bool with int.
27582
27583 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27584
27585 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27586 (modf): Define using libm_alias_double, only if [!__modf].
27587 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27588 <libm-alias-double.h>.
27589 (modf): Define using libm_alias_double, only if [!__modf].
27590 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27591 compat symbol here.
27592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27593 (weak_alias): Do not undefine and redefine.
27594 (strong_alias): Likewise.
27595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27596 (weak_alias): Likewise.
27597 (strong_alias): Likewise.
27598
27599 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27600 (logb): Define using libm_alias_double, only if [!__logb].
27601 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27602 <libm-alias-double.h>.
27603 (logb): Define using libm_alias_double, only if [!__logb].
27604 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27606 (weak_alias): Do not undefine and redefine.
27607 (strong_alias): Likewise.
27608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27609 (weak_alias): Likewise.
27610 (strong_alias): Likewise.
27611
27612 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27613
27614 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27615 Check SHARED instead PIC.
27616
27617 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27618
27619 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27620 [!__fmaf] (fmaf): Define using libm_alias_float.
27621
27622 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27623 (frexp): Define using libm_alias_double.
27624 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27625 <libm-alias-double.h>.
27626 (frexp): Define using libm_alias_double.
27627 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27628 compat symbol here.
27629
27630 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27631
27632 [BZ #22235]
27633 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27634 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27635 (CFLAGS-test-math-iscanonical.cc): New variable.
27636 * math/test-math-iscanonical.cc: New file.
27637 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27638 Provide a C++ implementation based on function overloading,
27639 rather than using __MATH_TG, which uses C-only builtins.
27640 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27641 Likewise.
27642 * sysdeps/powerpc/powerpc64le/Makefile
27643 (CFLAGS-test-math-iscanonical.cc): New variable.
27644
27645 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27646
27647 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27648 (ceil): Define using libm_alias_double.
27649 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27650 (floor): Define using libm_alias_double.
27651 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27652 <libm-alias-double.h>.
27653 (llround): Define using libm_alias_double.
27654 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27655 <libm-alias-double.h>.
27656 (lround): Define using libm_alias_double.
27657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27658 <libm-alias-double.h>.
27659 (nearbyint): Define using libm_alias_double.
27660 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27661 <libm-alias-double.h>.
27662 (remquo): Define using libm_alias_double.
27663 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27664 (rint): Define using libm_alias_double.
27665 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27666 (round): Define using libm_alias_double.
27667 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27668 (trunc): Define using libm_alias_double.
27669 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27670 <libm-alias-double.h>.
27671 (ceil): Define using libm_alias_double.
27672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27673 <libm-alias-double.h>.
27674 (floor): Define using libm_alias_double.
27675 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27676 <libm-alias-double.h>.
27677 (llround): Define using libm_alias_double.
27678 [_LP64] (lround): Likewise.
27679 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27680 <libm-alias-double.h>.
27681 [!_LP64] (lround): Define using libm_alias_double.
27682 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27683 <libm-alias-double.h>.
27684 (nearbyint): Define using libm_alias_double.
27685 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27686 <libm-alias-double.h>.
27687 (remquo): Define using libm_alias_double.
27688 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27689 <libm-alias-double.h>.
27690 (rint): Define using libm_alias_double.
27691 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27692 <libm-alias-double.h>.
27693 (round): Define using libm_alias_double.
27694 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27695 <libm-alias-double.h>.
27696 (trunc): Define using libm_alias_double.
27697 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27698 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27699 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27700 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27701 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27702 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27703 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27704 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27705 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27706
27707 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27708
27709 * math/w_remainder.c: New file.
27710 * math/w_remainderf.c: New file.
27711 * math/w_remainderl.c: New file.
27712
27713 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27714
27715 * elf/rtld.c (BOOTSTRAP_MAP): New.
27716 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27717 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27718 Likewise.
27719 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27720 Likewise.
27721 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27722 Likewise.
27723
27724 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27725
27726 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27727 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27728 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27729 rtld_hidden_data_ver): Define to empty.
27730 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27731 __assert_perror_fail): Likewise.
27732 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27733 (__rewinddir): Likewise.
27734 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27735 (__profile_frequency): Likewise.
27736 * include/setjmp.h (__sigsetjmp): Likewise.
27737 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27738 __libc_sigaction): Likewise.
27739 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27740 not set hidden attribute.
27741 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27742 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27743 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27744 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27745 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27746 __fxstatat64): Likewise.
27747 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27748 (__uname): Likewise.
27749 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27750 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27751 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27752 (NO_RTLD_HIDDEN): Set.
27753 * sysdeps/mach/hurd/configure: Refresh.
27754 * config.h.in: Refresh.
27755
27756 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27757
27758 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27759 (atan): Define using libm_alias_double.
27760 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27761 (tan): Define using libm_alias_double.
27762 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27763 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27764
27765 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27766 define as weak alias of __atan. Do not define any aliases if
27767 [__atan].
27768 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27769 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27770 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27771 as weak alias of __tan. Do not define any aliases if [__tan].
27772 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27773 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27774 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27775 __atan.
27776 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27777 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27778 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27779 and define as weak alias of __atan.
27780 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27781 __atan.
27782 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27783 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27784 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27785 define as weak alias of __tan.
27786
27787 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27788
27789 * math/w_lgamma.c: New file.
27790 * math/w_lgammaf.c: New file.
27791 * math/w_lgammal.c: New file.
27792
27793 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27794
27795 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27796 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27797 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27798 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27799 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27800 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27801 * sysdeps/i386/fpu/w_log2f.c: New file.
27802 * sysdeps/i386/fpu/w_logf.c: New file.
27803 * sysdeps/i386/fpu/w_powf.c: New file.
27804 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27805 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27806 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27807
27808 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27809 H.J. Lu <hongjiu.lu@intel.com>
27810
27811 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27812 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27813 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27814 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27816 the new expf code.
27817 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27818 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27819 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27820 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27821 * sysdeps/i386/fpu/w_exp2f.c: New file.
27822 * sysdeps/i386/fpu/w_expf.c: New file.
27823 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27824 * sysdeps/x86_64/fpu/w_expf.c: New file.
27825
27826 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27827
27828 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27829 (log2f): Likewise.
27830 (powf): Likewise.
27831 * math/w_log2f.c: New file.
27832 * math/w_logf.c: New file.
27833 * math/w_powf.c: New file.
27834 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27835 * math/w_logf_compat.c (__logf_compat): Likewise.
27836 * math/w_powf_compat.c (__powf_compat): Likewise.
27837 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27838 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27839 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27840 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27841 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27842 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27843 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27844 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27845 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27846 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27847 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27848 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27849 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27850 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27851 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27853 Likewise.
27854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27855 Likewise.
27856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27857 Likewise.
27858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27859 Likewise.
27860 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27861 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27862 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27863 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27864 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27866 Likewise.
27867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27868 Likewise.
27869 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27870 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27871 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27872
27873 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27874
27875 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27876 (sysdep_routines): Add memrchr_power8.
27877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27878 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27879 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27880 New file.
27881 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27882 (memrchr): Add __memrchr_power8 to ifunc list.
27883 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27884
27885 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27886
27887 [BZ #18822]
27888 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27889 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27890 libc_hidden_def.
27891 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27892 (__posix_fallocate64_l64): Likewise.
27893
27894 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27895
27896 [BZ #18822]
27897 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27898 (__sched_setaffinity_new): Add libc_hidden_proto and
27899 libc_hidden_def.
27900
27901 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27902
27903 [BZ #18822]
27904 * include/glob.h (__glob64): Add libc_hidden_proto.
27905 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27906 libc_hidden_def.
27907
27908 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27909
27910 [BZ #18822]
27911 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27912 attribute_hidden.
27913
27914 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27915
27916 [BZ #18822]
27917 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27918
27919 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27920
27921 [BZ #18822]
27922 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27923 libc_hidden_def.
27924
27925 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27926
27927 [BZ #18822]
27928 * csu/version.c (__libc_print_version): Add attribute_hidden.
27929
27930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27931
27932 [BZ #18822]
27933 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27934
27935 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27936
27937 [BZ #18822]
27938 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27939
27940 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27941
27942 [BZ #18822]
27943 * nscd/nscd_helper.c (__nis_hash): New prototype.
27944
27945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27946
27947 [BZ #18822]
27948 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27949 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27950 libc_hidden_def.
27951 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27952 * termios/tcgetattr.c (__tcgetattr): Likewise.
27953
27954 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27955
27956 [BZ #18822]
27957 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27958 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27959 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27960 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27961 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27962
27963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27964
27965 [BZ #18822]
27966 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27967
27968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27969
27970 [BZ #18822]
27971 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27972 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27973
27974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27975
27976 [BZ #18822]
27977 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27978
27979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27980
27981 [BZ #18822]
27982 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27983 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27984
27985 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27986
27987 [BZ #18822]
27988 * include/ifreq.h: New file.
27989 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27990 (__ifreq): Likewise.
27991 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27992 (__ifreq): Likewise.
27993
27994 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27995
27996 [BZ #18822]
27997 * include/idna.h: New file.
27998 * inet/getnameinfo.c: Include <idna.h> instead of
27999 <libidn/idna.h>.
28000 (__idna_to_unicode_lzlz): Removed.
28001 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28002 <libidn/idna.h>.
28003 (__idna_to_ascii_lz): Removed.
28004 (__idna_to_unicode_lzlz): Likewise.
28005
28006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28007
28008 [BZ #18822]
28009 * include/plural-exp.h: New file.
28010 * intl/plural-exp.c: Include <plural-exp.h> instead of
28011 "plural-exp.h".
28012
28013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28014
28015 [BZ #18822]
28016 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28017 "getsourcefilter.h".
28018 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28019 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28020 "getsourcefilter.h".
28021 (__get_sol): Removed.
28022
28023 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28024
28025 [BZ #18822]
28026 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28027 to ...
28028 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28029
28030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28031
28032 [BZ #18822]
28033 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28034 attribute_hidden.
28035
28036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28037
28038 [BZ #18822]
28039 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28040
28041 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28042
28043 [BZ #18822]
28044 * include/search.h (__tdestroy): Add libc_hidden_proto.
28045 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28046
28047 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28048
28049 [BZ #18822]
28050 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28051
28052 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28053
28054 [BZ #18822]
28055 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28056 attribute_hidden.
28057
28058 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28059
28060 [BZ #18822]
28061 * include/signal.h (__kill): Add libc_hidden_proto.
28062 (__sigblock): Likewise.
28063 (__sigprocmask): Likewise.
28064 (__sigaltstack): Likewise.
28065 * signal/kill.c (__kill): Add libc_hidden_def.
28066 * signal/sigblock.c (__sigblock): Likewise.
28067 * signal/sigprocmask.c (__sigprocmask): Likewise.
28068 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28069 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28070 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28071 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28072 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28073 Likewise.
28074 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28075 Likewise.
28076 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28077 (__sigprocmask): Likewise.
28078 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28079 Likewise.
28080 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28081 (__sigprocmask): Likewise.
28082 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28083 Likewise.
28084
28085 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28086
28087 [BZ #18822]
28088 * include/string.h (__strsep): Add libc_hidden_proto.
28089 * string/strsep.c (__strsep): Add libc_hidden_def.
28090
28091 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28092
28093 [BZ #18822]
28094 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28095 attribute_hidden.
28096 (__spawni): Likewise.
28097
28098 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28099
28100 [BZ #18822]
28101 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28102 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28103 libc_hidden_def.
28104
28105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28106
28107 [BZ #18822]
28108 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28109
28110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28111
28112 [BZ #18822]
28113 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28114 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28115 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28116 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28117 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28118 Likewise.
28119 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28120 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28121
28122 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28123
28124 [BZ #18822]
28125 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28126 (__dcigettext): Likewise.
28127
28128 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28129
28130 [BZ #18822]
28131 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28132 libc_hidden_proto.
28133 (__get_nprocs): Likewise.
28134 (__get_phys_pages): Likewise.
28135 (__get_avphys_pages): Likewise.
28136 (__get_child_max): Add attribute_hidden.
28137 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28138 (__get_nprocs): Likewise.
28139 (__get_phys_pages): Likewise.
28140 (__get_avphys_pages): Likewise.
28141 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28142 libc_hidden_def.
28143 (__get_nprocs): Likewise.
28144 (__get_phys_pages): Likewise.
28145 (__get_avphys_pages): Likewise.
28146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28147 libc_hidden_def.
28148 (__get_nprocs_conf): Likewise.
28149 (__get_phys_pages): Likewise.
28150 (__get_avphys_pages): Likewise.
28151
28152 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28153
28154 [BZ #18822]
28155 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28156 attribute_hidden.
28157 (__netlink_close): Likewise.
28158 (__netlink_free_handle): Likewise.
28159 (__netlink_request): Likewise.
28160
28161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28162
28163 [BZ #18822]
28164 * include/rpc/rpc.h (__rpc_thread_variables): Add
28165 attribute_hidden.
28166 (__rpc_thread_svc_cleanup): Likewise.
28167 (__rpc_thread_clnt_cleanup): Likewise.
28168 (__rpc_thread_key_cleanup): Likewise.
28169
28170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28171
28172 [BZ #18822]
28173 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28174 (__writev): Likewise.
28175 * misc/readv.c (__readv): Add libc_hidden_def.
28176 * misc/writev.c (__writev): Likewise.
28177 * sysdeps/posix/readv.c (__readv): Likewise.
28178 * sysdeps/posix/writev.c (__writev): Likewise.
28179 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28180 (__readv): Likewise.
28181 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28182 (__writev): Likewise.
28183
28184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 [BZ #18822]
28187 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28188 (__regcomp): Add libc_hidden_proto.
28189 (__regexec): Likewise.
28190 (__regfree): Likewise.
28191 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28192 (__regfree): Likewise.
28193 * posix/regexec.c (__regexec): Likewise.
28194
28195 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28196
28197 [BZ #18822]
28198 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28199 (__getutent): Likewise.
28200 (__getutid): Likewise.
28201 (__getutline): Likewise.
28202 (__pututline): Likewise.
28203 (__getutent_r): Likewise.
28204 (__getutid_r): Likewise.
28205 (__getutline_r): Likewise.
28206 (__utmpname): Add attribute_hidden.
28207 (__setutent): Likewise.
28208 (__endutent): Likewise.
28209 * login/getutent.c (__getutent): Add libc_hidden_def.
28210 * login/getutent_r.c (__getutent_r): Likewise.
28211 (__pututline): Likewise.
28212 * login/getutid.c (__getutid): Likewise.
28213 * login/getutid_r.c (__getutid_r): Likewise.
28214 * login/getutline.c (__getutline): Likewise.
28215 * login/getutline_r.c (__getutline_r): Likewise.
28216 * login/updwtmp.c (__updwtmp): Likewise.
28217
28218 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28219
28220 [BZ #18822]
28221 * include/dirent.h (__opendir): Always add attribute_hidden.
28222 (__fdopendir): Likewise.
28223 (__closedir): Likewise.
28224 (__readdir): Likewise.
28225 (__readdir64): Add libc_hidden_proto.
28226 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28227 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28228 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28229 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28230 New alias.
28231
28232 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28233
28234 [BZ #18822]
28235 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28236 * include/netdb.h (__gethostbyaddr_r): Likewise.
28237 (__gethostbyname_r): Likewise.
28238 (__gethostbyname2_r): Likewise.
28239 (__getnetbyaddr_r): Likewise.
28240 (__getnetbyname_r): Likewise.
28241 (__getservbyname_r): Likewise.
28242 (__getservbyport_r): Likewise.
28243 (__getprotobyname_r): Likewise.
28244 (__getprotobynumber_r): Likewise.
28245 (__getnetgrent_r): Likewise.
28246 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28247 (__getrpcbynumber_r): Likewise.
28248 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28249
28250 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28251
28252 [BZ #18822]
28253 * include/stdio.h (__fcloseall): Add attribute_hidden.
28254 (__getline): Likewise.
28255 (__path_search): Likewise.
28256 (__gen_tempname): Likewise.
28257 (__libc_message): Likewise.
28258 (__flockfile): Likewise.
28259 (__funlockfile): Likewise.
28260 (__fxprintf): Likewise.
28261 (__fxprintf_nocancel): Likewise.
28262
28263 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28264
28265 [BZ #18822]
28266 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28267 (__sgetsgent_r): Likewise.
28268
28269 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28270
28271 [BZ #18822]
28272 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28273 (__statfs64): Likewise.
28274 (__fstatfs64): Likewise.
28275 * include/sys/statvfs.h (__statvfs64): Likewise.
28276 (__fstatvfs64): Likewise.
28277 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28278 (__statfs_filesize_max): Likewise.
28279 (__statfs_symlinks): Likewise.
28280 (__statfs_chown_restricted): Likewise.
28281
28282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28283
28284 [BZ #18822]
28285 * include/time.h (__tzstring): Add attribute_hidden.
28286 (__tzfile_read): Likewise.
28287 (__tzfile_compute): Likewise.
28288 (__tzfile_default): Likewise.
28289 (__tzset_parse_tz): Likewise.
28290 (__offtime): Likewise.
28291 (__asctime_r): Likewise.
28292 (__tzset): Likewise.
28293 (__tz_convert): Likewise.
28294 (__getdate_r): Likewise.
28295 (__getclktck): Likewise.
28296
28297 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28298
28299 [BZ #18822]
28300 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28301 (__nscd_unmap): Likewise.
28302 (__nscd_cache_search): Likewise.
28303 (__nscd_get_nl_timestamp): Likewise.
28304 (__nscd_getpwnam_r): Likewise.
28305 (__nscd_getpwuid_r): Likewise.
28306 (__nscd_getgrnam_r): Likewise.
28307 (__nscd_getgrgid_r): Likewise.
28308 (__nscd_gethostbyname_r): Likewise.
28309 (__nscd_gethostbyname2_r): Likewise.
28310 (__nscd_gethostbyaddr_r): Likewise.
28311 (__nscd_getai): Likewise.
28312 (__nscd_getgrouplist): Likewise.
28313 (__nscd_getservbyname_r): Likewise.
28314 (__nscd_getservbyport_r): Likewise.
28315 (__nscd_innetgr): Likewise.
28316 (__nscd_setnetgrent): Likewise.
28317
28318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28319
28320 [BZ #18822]
28321 * include/gmp.h: Declare internal functions only if _ISOMAC is
28322 undefined.
28323 (__mpn_extract_double): Add attribute_hidden.
28324 (__mpn_extract_long_double): Likewise.
28325 (__mpn_extract_float128): Likewise.
28326 (__mpn_construct_float): Likewise.
28327 (__mpn_construct_double): Likewise.
28328 (__mpn_construct_long_double): Likewise.
28329 (__mpn_construct_float128): Likewise.
28330 (mpn_add_1): Likewise.
28331 (mpn_addmul_1): Likewise.
28332 (mpn_add_n): Likewise.
28333 (mpn_cmp): Likewise.
28334 (mpn_divrem): Likewise.
28335 (mpn_lshift): Likewise.
28336 (mpn_mul): Likewise.
28337 (mpn_mul_1): Likewise.
28338 (mpn_rshift): Likewise.
28339 (mpn_sub_1): Likewise.
28340 (mpn_submul_1): Likewise.
28341 (mpn_sub_n): Likewise.
28342
28343 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28344
28345 [BZ #18822]
28346 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28347 (__wcscat): Likewise.
28348 (__btowc): Likewise.
28349 (__wcrtomb): Likewise.
28350 (__mbsrtowcs): Likewise.
28351 (__wcsrtombs): Likewise.
28352 (__mbsnrtowcs): Likewise.
28353 (__wcsnrtombs): Likewise.
28354 (__wcsncpy): Likewise.
28355 (__wcpncpy): Likewise.
28356 (__wmemcpy): Likewise.
28357 (__wmempcpy): Likewise.
28358 (__wmemmove): Likewise.
28359 (__wcschrnul): Likewise.
28360 (__vfwscanf): Likewise.
28361 (__vswprintf): Likewise.
28362 (__fwprintf): Likewise.
28363 (__vfwprintf): Likewise.
28364
28365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28366
28367 [BZ #18822]
28368 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28369 (__getgrgid_r): Likewise.
28370 (__getgrnam_r): Likewise.
28371 * include/pwd.h (__getpwuid_r): Likewise.
28372 (__getpwnam_r): Likewise.
28373 (__fgetpwent_r): Likewise.
28374 * include/shadow.h (__getspnam_r): Likewise.
28375 (__sgetspent_r): Likewise.
28376 (__fgetspent_r): Likewise.
28377
28378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28379
28380 [BZ #18822]
28381 * include/unistd.h (__access): Add attribute_hidden.
28382 (__lseek64): Likewise.
28383 (__libc_pread64): Likewise.
28384 (__pipe2): Likewise.
28385 (__sleep): Likewise.
28386 (__chdir): Likewise.
28387 (__fchdir): Likewise.
28388 (__getcwd): Likewise.
28389 (__rmdir): Likewise.
28390 (__execvpe): Likewise.
28391 (__execve): Likewise.
28392 (__setsid): Likewise.
28393 (__getuid): Likewise.
28394 (__geteuid): Likewise.
28395 (__getgid): Likewise.
28396 (__getegid): Likewise.
28397 (__getgroups): Likewise.
28398 (__group_member): Likewise.
28399 (__ttyname_r): Likewise.
28400 (__isatty): Likewise.
28401 (__readlink): Likewise.
28402 (__unlink): Likewise.
28403 (__gethostname): Likewise.
28404 (__profil): Likewise.
28405 (__getdtablesize): Likewise.
28406 (__brk): Likewise.
28407 (__ftruncate): Likewise.
28408 (__ftruncate64): Likewise.
28409
28410 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28411
28412 [BZ #18822]
28413 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28414 * argp/argp-fs-xinl.c: Likewise.
28415 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28416 * argp/argp-parse.c: Include <argp.h>.
28417 * argp/argp-xinl.c: Likewise.
28418 * include/argp-fmtstream.h: New file.
28419 * include/argp.h (__argp_error): Add attribute_hidden.
28420 (__argp_failure): Likewise.
28421 (__argp_input): Likewise.
28422 (__argp_state_help): Likewise.
28423
28424 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28425
28426 [BZ #18822]
28427 * include/wchar.h (____wcstof_l_internal): New prototype.
28428 (____wcstod_l_internal): Likewise.
28429 (____wcstold_l_internal): Likewise.
28430 (____wcstol_l_internal): Likewise.
28431 (____wcstoul_l_internal): Likewise.
28432 (____wcstoll_l_internal): Likewise.
28433 (____wcstoull_l_internal): Likewise.
28434 (____wcstof128_l_internal): Likewise.
28435 * sysdeps/ieee754/float128/wcstof128.c
28436 (____wcstof128_l_internal): Removed.
28437 * sysdeps/ieee754/float128/wcstof128_l.c
28438 (____wcstof128_l_internal): Likewise.
28439 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28440 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28441 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28442 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28443 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28444 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28445 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28446 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28447 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28448 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28449
28450 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28451
28452 [BZ #18822]
28453 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28454 instead of <sys/statvfs.h>.
28455 (__internal_statvfs): Removed.
28456 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28457 instead of <sys/statvfs.h>.
28458 (__internal_statvfs64): Removed.
28459 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28460 "internal_statvfs.h" instead of <sys/statvfs.h>.
28461 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28462 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28463 instead of <sys/statvfs.h>.
28464 (__internal_statvfs): Removed.
28465 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28466 instead of <sys/statvfs.h>.
28467 (__internal_statvfs64): Removed.
28468
28469 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28470
28471 [BZ #18822]
28472 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28473 (__gconv_close): Likewise.
28474 (__gconv): Likewise.
28475 (__gconv_find_transform): Likewise.
28476 (__gconv_lookup_cache): Likewise.
28477 (__gconv_compare_alias_cache): Likewise.
28478 (__gconv_load_cache): Likewise.
28479 (__gconv_get_path): Likewise.
28480 (__gconv_close_transform): Likewise.
28481 (__gconv_release_cache): Likewise.
28482 (__gconv_find_shlib): Likewise.
28483 (__gconv_release_shlib): Likewise.
28484 (__gconv_get_builtin_trans): Likewise.
28485 (__gconv_compare_alias): Likewise.
28486 * include/dlfcn.h (_dlerror_run): Likewise.
28487 * include/stdio.h (__fortify_fail_abort): Likewise.
28488 * include/time.h (__tz_compute): Likewise.
28489 (__strptime_internal): Likewise.
28490 * intl/gettextP.h (_nl_find_domain): Likewise.
28491 (_nl_load_domain): Likewise.
28492 (_nl_find_msg): Likewise.
28493 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28494 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28495 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28496 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28497 (__gai_find_request): Likewise.
28498 (__gai_remove_request): Likewise.
28499 (__gai_notify): Likewise.
28500 (__gai_notify_only): Likewise.
28501 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28502 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28503 (_dl_non_dynamic_init): Likewise.
28504 (_dl_aux_init): Likewise.
28505 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28506 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28507 Likewise.
28508 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28509 (__wcsmbs_clone_conv): Likewise.
28510 (__wcsmbs_named_conv): Likewise.
28511
28512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28513
28514 [BZ #18822]
28515 * include/stdlib.h (__random): Add attribute_hidden.
28516 (__random_r): Likewise.
28517 (__srandom_r): Likewise.
28518 (__initstate_r): Likewise.
28519 (__setstate_r): Likewise.
28520 (__erand48_r): Likewise.
28521 (__nrand48_r): Likewise.
28522 (__jrand48_r): Likewise.
28523 (__srand48_r): Likewise.
28524 (__seed48_r): Likewise.
28525 (__lcong48_r): Likewise.
28526 (__drand48_iterate): Likewise.
28527 (__setenv): Likewise.
28528 (__unsetenv): Likewise.
28529 (__clearenv): Likewise.
28530 (__ptsname_r): Likewise.
28531 (__posix_openpt): Likewise.
28532 (__add_to_environ): Likewise.
28533 (__realpath): Add libc_hidden_proto.
28534 (__ecvt_r): Likewise.
28535 (__fcvt_r): Likewise.
28536 (__qecvt_r): Likewise.
28537 (__qfcvt_r): Likewise.
28538 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28539 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28540
28541 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28542
28543 [BZ #18822]
28544 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28545 * include/time.h (__mktime_internal): Likewise.
28546 * libio/iolibio.h (__fopen_internal): Likewise.
28547
28548 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28549
28550 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28551 pointer in frame.
28552 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28553 Correct offset used to restore PIC register.
28554
28555 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28556
28557 [BZ libc/22165]
28558 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28559 code to load address of __getcontext_ret when generating PIC code.
28560
28561 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28562
28563 * elf/Makefile (tests-static-internal): Add
28564 tst-tls1-static-non-pie.
28565 (LDFLAGS-tst-tls1-static-non-pie): New.
28566 * elf/tst-tls1-static-non-pie.c: New file.
28567
28568 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28569
28570 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28571 (asinh): Define using libm_alias_double.
28572 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28573 (cbrt): Define using libm_alias_double.
28574 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28575 <libm-alias-double.h>.
28576 (copysign): Define using libm_alias_double.
28577 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28578 (erf): Define using libm_alias_double.
28579 (erfc): Likewise.
28580 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28581 (expm1): Define using libm_alias_double.
28582 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28583 (fabs): Define using libm_alias_double.
28584 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28585 libm_alias_double.
28586 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28587 <libm-alias-double.h>.
28588 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28589 libm_alias_double.
28590 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28591 <libm-alias-double.h>.
28592 (getpayload): Define using libm_alias_double.
28593 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28594 <libm-alias-double.h>.
28595 (llrint): Define using libm_alias_double.
28596 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28597 (lrint): Define using libm_alias_double.
28598 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28599 <libm-alias-double.h>.
28600 (nextup): Define using libm_alias_double.
28601 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28602 <libm-alias-double.h>.
28603 (roundeven): Define using libm_alias_double.
28604 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28605 libm_alias_double.
28606 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28607 <libm-alias-double.h>.
28608 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28609 using libm_alias_double.
28610 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28611 (cos): Define using libm_alias_double.
28612 (sin): Likewise.
28613 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28614 <libm-alias-double.h>.
28615 (sincos): Define using libm_alias_double.
28616 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28617 (tanh): Define using libm_alias_double.
28618 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28619 <libm-alias-double.h>.
28620 (totalorder): Define using libm_alias_double.
28621 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28622 <libm-alias-double.h>.
28623 (totalordermag): Define using libm_alias_double.
28624 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28625 libm_alias_double.
28626 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28627 libm_alias_double.
28628 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28629 <libm-alias-double.h>.
28630 (getpayload): Define using libm_alias_double.
28631 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28632 <libm-alias-double.h>.
28633 (roundeven): Define using libm_alias_double.
28634 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28635 <libm-alias-double.h>.
28636 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28637 <libm-alias-double.h>.
28638 (totalorder): Define using libm_alias_double.
28639 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28640 <libm-alias-double.h>.
28641 (totalordermag): Define using libm_alias_double.
28642 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28643 libc compat symbol here.
28644 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28645 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28646 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28647 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28648 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28649 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28650 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28651 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28652 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28653 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28654
28655 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28656
28657 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28658 _dl_relocate_static_pie instead of _dl_start to compute load
28659 address in static PIE. Return 0 if _DYNAMIC is undefined for
28660 static executable.
28661
28662 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28663
28664 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28665 _DYNAMIC is undefined for static executable.
28666
28667 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28668
28669 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28670
28671 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28672
28673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28674
28675 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28676
28677 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28678 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28679 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28680 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28681 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28682 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28683 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28684 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28685 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28686 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28687 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28688 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28689 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28690 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28691 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28692 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28693 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28694
28695 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28696
28697 * math/bits/cmathcalls.h (cimag): Remove inline.
28698 (creal): Remove inline.
28699 (conj): Remove inline.
28700
28701 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28702
28703 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28704 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28705 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28706 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28707 (issignalingf_inline): Likewise.
28708 (POWF_LOG2_TABLE_BITS): Likewise.
28709 (POWF_LOG2_POLY_ORDER): Likewise.
28710 (POWF_SCALE_BITS): Likewise.
28711 (POWF_SCALE): Likewise.
28712 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28713 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28714 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28715
28716 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28717
28718 * math/Makefile (type-float-routines): Add e_log2f_data.
28719 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28720 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28721 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28722 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28723 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28724 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28725 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28726
28727 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28728
28729 * math/Makefile (type-float-routines): Add e_logf_data.
28730 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28731 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28732 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28733 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28734 * sysdeps/i386/fpu/e_logf_data.c: New file.
28735 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28736 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28737
28738 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28739
28740 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28741 undefined _DYNAMIC in PIE libc.a.
28742 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28743 Likewse.
28744
28745 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28746
28747 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28748 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28749 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28750 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28751 (__signbit): Remove.
28752 (__signbitl): Remove.
28753 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28754 (__signbit): Remove.
28755 (__signbitl): Remove.
28756 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28757 (__signbit): Remove.
28758 (__signbitl): Remove.
28759 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28760 (__signbit): Remove.
28761 (__signbitl): Remove.
28762 * sysdeps/tile/bits/mathinline.h: Delete file.
28763 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28764 (__signbit): Remove.
28765 (__signbitl): Remove.
28766
28767 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28768
28769 * math/math.h: Improve handling of C99 isgreater macros.
28770 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28771 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28772 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28773 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28774 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28775
28776 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28777
28778 * sysdeps/aarch64/libm-test-ulps: Update.
28779
28780 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28781
28782 [BZ #22225]
28783 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28784 math_opt_barrier on argument when doing arithmetic on it.
28785 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28786 Likewise. Use math_force_eval not math_opt_barrier after
28787 arithmetic.
28788 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28789 math_opt_barrier on argument when doing arithmetic on it.
28790 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28791 Likewise.
28792
28793 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28794
28795 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28796 libc_hidden_def.
28797 (__freeifaddrs): Likewise.
28798
28799 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28800
28801 * include/dirent.h (__dirfd): New declaration.
28802 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28803 alias.
28804 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28805 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28806 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28807 * include/unistd.h (__revoke): New declaration.
28808 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28809 alias.
28810 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28811 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28812 revoke.
28813 * include/dirent.h (__seekdir): New declaration.
28814 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28815 redefine as weak alias.
28816 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28817 of seekdir.
28818 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28819 and use libc_hidden_def on them.
28820 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28821 them.
28822 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28823 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28824 instead of getifaddrs and freeifaddrs.
28825
28826 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28827
28828 [BZ #18822]
28829 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28830 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28831 (__dso_handle): Remove declaration.
28832 * dlfcn/tstatexit.c (__dso_handle): Removed.
28833 (main): Don't check __dso_handle.
28834 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28835 (main): Don't check __dso_handle.
28836 * include/dso_handle.h: New file.
28837 * malloc/mtrace.c: Include <dso_handle.h>.
28838 (mtrace): Pass __dso_handle directly.
28839 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28840 (__dso_handle): Remove declaration.
28841 (__pthread_atfork): Pass __dso_handle directly.
28842 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28843 (__dso_handle): Removed.
28844 * posix/wordexp-test.c: Include <dso_handle.h>.
28845 (__dso_handle): Remove declaration.
28846 (__app_register_atfork): Pass __dso_handle directly.
28847 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28848 (__dso_handle): Remove declaration.
28849 (at_quick_exit): Pass __dso_handle directly.
28850 * stdlib/atexit.c: Include <dso_handle.h>.
28851 (__dso_handle): Remove declaration.
28852 (atexit): Pass __dso_handle directly.
28853 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28854 (__dso_handle): Removed.
28855
28856 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28857
28858 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28859 using VDSO.
28860
28861 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28862
28863 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28864 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28865 values to correct default value for given type.
28866
28867 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28868
28869 [BZ #22101]
28870 * elf/Makefile (tests): Add tst-debug1.
28871 ($(objpfx)tst-debug1): New.
28872 ($(objpfx)tst-debug1.out): Likewise.
28873 ($(objpfx)tst-debug1mod1.so): Likewise.
28874 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28875 with p_filesz == 0.
28876 * elf/tst-debug1.c: New file.
28877
28878 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28879
28880 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28881 Define using __ifunc.
28882
28883 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28884
28885 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28886 exp2f() values.
28887
28888 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28889
28890 [BZ #22156]
28891 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28892
28893 2017-09-26 Florian Weimer <fweimer@redhat.com>
28894
28895 * resolv/Makefile (tests-internal): Fix typo in comment.
28896
28897 2017-09-26 Florian Weimer <fweimer@redhat.com>
28898
28899 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28900
28901 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28902
28903 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28904 Use an union instead of a max_align_t array for __space,
28905 so that __space is the same size on all platforms.
28906 * malloc/scratch_buffer_grow_preserve.c
28907 (__libc_scratch_buffer_grow_preserve): Likewise.
28908
28909 [BZ #22183]
28910 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28911 version to 2.
28912 * posix/Makefile (routines): Add glob-lstat-compat and
28913 glob64-lstat-compat.
28914 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28915 * posix/glob-lstat-compat.c: New file.
28916 * posix/glob64-lstat-compat.c: Likewise.
28917 * posix/tst-glob_lstat_compat.c: Likewise.
28918 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28919 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28920 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28921 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28922 Likewise.
28923 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28924 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28925 * posix/glob.c (glob_lstat): New function.
28926 (glob): Rename to __glob and add versioned symbol to 2.27.
28927 (glob_in_dir): Use glob_lstat.
28928 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28929 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28930 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28931 2.27.
28932 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28933 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28934 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28935 gl_lstat on glob call.
28936 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28937 and glob64 symbols.
28938 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28939 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28940 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28941 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28942 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28943 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28944 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28945 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28946 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28947 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28948 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28949 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28951 Likewise.
28952 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28954 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28955 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28956 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28957 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28958 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28961 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28962 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28963 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28964
28965 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28966
28967 * configure.ac (AS): Require binutils 2.25 or later.
28968 * configure: Regenerated.
28969
28970 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28971
28972 [BZ #22207]
28973 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28974 VM size.
28975
28976 2017-09-25 DJ Delorie <dj@redhat.com>
28977
28978 [BZ #22161]
28979 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28980 resetting timeout.
28981
28982 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28983
28984 * sysdeps/ieee754/dbl-64/sincos32.h
28985 [SINCCOS32_H]: Remove define.
28986 [SINCOS32_H]: Define.
28987
28988 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28989
28990 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28991 (exp2f): Likewise.
28992 * math/w_exp2f.c: New file.
28993 * math/w_expf.c: New file.
28994 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28995 * math/w_expf_compat.c (__expf_compat): Likewise.
28996 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28997 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28998 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28999 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29000 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29001 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29002 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29003 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29004 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29005 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29006 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29007 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29008 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29009 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29011 Likewise.
29012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29013 Likewise.
29014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29015 Likewise.
29016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29017 Likewise.
29018 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29019 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29020 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29021 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29022 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29024 Likewise.
29025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29026 Likewise.
29027 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29028 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29029 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29030
29031 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29032
29033 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29034 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29035 (roundtoint, converttoint): Likewise.
29036 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29037 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29038 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29039 * sysdeps/ieee754/flt-32/math_config.h: New file.
29040 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29041 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29042 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29043 * sysdeps/i386/fpu/math_errf.c: New file.
29044 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29045 * sysdeps/ia64/fpu/math_errf.c: New file.
29046 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29047 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29048
29049 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29050
29051 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29052 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29053 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29054 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29055 to make sure that these symbols are defined.
29056 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29057 of <limits.h>
29058 (__need_NULL): Do not define.
29059 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29060 alignment.
29061 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29062 CMGROUP_MAX, cmsgcred): Do not define.
29063 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29064 NULL.
29065 * bits/socket.h: Likewise.
29066 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29067 __gettimeofday instead of gettimeofday.
29068 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29069 instead of settimeofday.
29070
29071 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29072
29073 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29074 (asinhf): Define using libm_alias_float.
29075 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29076 (atanf): Define using libm_alias_float.
29077 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29078 (cbrtf): Define using libm_alias_float.
29079 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29080 (ceilf): Define using libm_alias_float.
29081 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29082 <libm-alias-float.h>.
29083 (copysignf): Define using libm_alias_float.
29084 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29085 (cosf): Define using libm_alias_float.
29086 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29087 (erff): Define using libm_alias_float.
29088 (erfcf): Likewise.
29089 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29090 (expm1f): Define using libm_alias_float.
29091 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29092 (fabsf): Define using libm_alias_float.
29093 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29094 (floorf): Define using libm_alias_float.
29095 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29096 (frexpf): Define using libm_alias_float.
29097 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29098 libm_alias_float.
29099 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29100 <libm-alias-float.h>.
29101 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29102 libm_alias_float.
29103 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29104 <libm-alias-float.h>.
29105 (getpayloadf): Define using libm_alias_float.
29106 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29107 <libm-alias-float.h>.
29108 (llrintf): Define using libm_alias_float.
29109 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29110 <libm-alias-float.h>.
29111 (llroundf): Define using libm_alias_float.
29112 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29113 (logbf): Define using libm_alias_float.
29114 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29115 (lrintf): Define using libm_alias_float.
29116 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29117 (lroundf): Define using libm_alias_float.
29118 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29119 (modff): Define using libm_alias_float.
29120 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29121 <libm-alias-float.h>.
29122 (nearbyintf): Define using libm_alias_float.
29123 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29124 <libm-alias-float.h>.
29125 (nextafterf): Define using libm_alias_float.
29126 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29127 <libm-alias-float.h>.
29128 (nextupf): Define using libm_alias_float.
29129 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29130 <libm-alias-float.h>.
29131 (remquof): Define using libm_alias_float.
29132 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29133 (rintf): Define using libm_alias_float.
29134 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29135 <libm-alias-float.h>.
29136 (roundevenf): Define using libm_alias_float.
29137 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29138 (roundf): Define using libm_alias_float.
29139 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29140 using libm_alias_float.
29141 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29142 <libm-alias-float.h>.
29143 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29144 Define using libm_alias_float.
29145 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29146 <libm-alias-float.h>.
29147 (sincosf): Define using libm_alias_float.
29148 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29149 (sinf): Define using libm_alias_float.
29150 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29151 (tanf): Define using libm_alias_float.
29152 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29153 (tanhf): Define using libm_alias_float.
29154 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29155 <libm-alias-float.h>.
29156 (totalorderf): Define using libm_alias_float.
29157 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29158 <libm-alias-float.h>.
29159 (totalordermagf): Define using libm_alias_float.
29160 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29161 (truncf): Define using libm_alias_float.
29162 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29163 libm_alias_float.
29164 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29165 libm_alias_float.
29166
29167 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29168
29169 [BZ #22146]
29170 math/math.h: Let fpclassify use the builtin in C++ mode, even
29171 when optimazing for size.
29172
29173 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29174
29175 * csu/Makefile (generated): Do not add version-info.h.
29176 (before-compile): Likewise.
29177 (all-Banner-files): Remove variable.
29178 ($(objpfx)version-info.h): Remove rule.
29179 * csu/version.c (banner): Do not include "version-info.h".
29180 * libidn/Banner: Remove.
29181 * manual/contrib.texi (Simon Josefsson): New entry.
29182
29183 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29184
29185 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29186 Remove conditionals on LDBL_MANT_DIG.
29187 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29188 (__ieee754_lgammal_r): Likewise.
29189
29190 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29191
29192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29193 _Float128 and L().
29194 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29195 _Float128 and L(). Replace _Float128 with long double and L(x)
29196 with xL, throughout the file.
29197 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29201
29202 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29203
29204 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29205 sysdeps/ieee754/ldbl-128ibm.
29206 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29207 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29208 of including it. Keep _Float128 and L() intact. These will be
29209 reviewed by a separate patch.
29210 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29214
29215 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29216
29217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29218 (__finitef128): Define to __redirect___finitef128.
29219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29220 (__isinff128): Define to __redirect___isinff128.
29221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29222 (__isnanf128): Define to __redirect___isnanf128.
29223
29224 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29225
29226 * sysdeps/powerpc/powerpc64le/Makefile
29227 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29228 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29229
29230 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29231 Carlos O'Donell <carlos@redhat.com>
29232
29233 [BZ #22180]
29234 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29235 * stdlib/test-dlclose-exit-race.c: New file.
29236 * stdlib/test-dlclose-exit-race-helper.c: New file.
29237 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29238
29239 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29240
29241 * crypt/Banner: Remove file.
29242 * nptl/Banner: Likewise.
29243 * resolv/Banner: Likewise.
29244 * soft-fp/Banner: Likewise.
29245 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29246 ($(objpfx)version.d): Remove dependency on banner.h.
29247 ($(objpfx)version.os): Likewise.
29248 * nptl/version.c (banner): Do not include banner.h.
29249 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29250 Jelinek and BIND code.
29251
29252 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29253 Carlos O'Donell <carlos@redhat.com>
29254
29255 * support/xdlfcn.h: New file.
29256 * support/xdlfcn.c: New file.
29257 * support/Makefile (libsupport-routines): Add xdlfcn.
29258 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29259
29260 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29261
29262 [BZ #20142]
29263 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29264 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29265 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29266 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29267 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29268 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29269 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29270 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29271
29272 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29273 Ricky Zhou <rickyz@google.com>
29274 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29275
29276 [BZ #14333]
29277 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29278 Remove atomics.
29279 (__new_exitfn): Fail registration when we finished at_exit processing.
29280 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29281 * stdlib/on_exit.c (__on_exit): Likewise.
29282 * stdlib/exit.c (__exit_funcs_done): New variable.
29283 (__run_exit_handlers): Use __exit_funcs_lock.
29284 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29285 declarations.
29286 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29287 (test-cxa_atexit-race, test-on_exit-race): New tests.
29288 * stdlib/test-atexit-race-common.c: New file.
29289 * stdlib/test-atexit-race.c: New file.
29290 * stdlib/test-at_quick_exit-race.c: New file.
29291 * stdlib/test-cxa_atexit-race.c: New file.
29292 * stdlib/test-on_exit-race.c: New file.
29293
29294 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29295
29296 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29297 * benchtests/exp2f-inputs: Copy of expf-inputs.
29298 * benchtests/log2f-inputs: Copy of logf-inputs.
29299
29300 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29301
29302 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29303 Explicitly take address of first element of array arguments in
29304 call to INLINE_SYSCALL.
29305
29306 2017-09-19 Andreas Schwab <schwab@suse.de>
29307
29308 [BZ #22134]
29309 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29310 execveat first.
29311 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29312 unimplemented.
29313 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29314 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29315 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29316 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29317 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29318 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29319 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29320 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29321 * posix/Makefile (tests): Add tst-fexecve.
29322 * posix/tst-fexecve.c: New file.
29323
29324 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29325
29326 * benchtests/Makefile: Add logf benchmark.
29327 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29328
29329 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29330
29331 * benchtests/Makefile: Add expf benchmark.
29332 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29333
29334 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29335
29336 * csu/Makefile: Add -funwind-tables to libc-start.c.
29337 * debug/Makefile: Add -funwind-tables to backtrace.c.
29338 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29339 * sysdeps/arm/Makefile: Likewise.
29340 * sysdeps/i386/Makefile: Likewise.
29341 * sysdeps/m68k/Makefile: Likewise.
29342 * sysdeps/mips/Makefile: Likewise.
29343 * sysdeps/nios2/Makefile: Likewise.
29344 * sysdeps/sh/Makefile: Likewise.
29345 * sysdeps/sparc/Makefile: Likewise.
29346
29347 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29348
29349 * benchtests/Makefile (bench-math): Add trunc and truncf.
29350 (CFLAGS-bench-trunc.c): New variable.
29351 (CFLAGS-bench-truncf.c): Likewise.
29352 * benchtests/trunc-inputs: New file.
29353 * benchtests/truncf-inputs: Likewise.
29354
29355 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29356
29357 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29358
29359 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29360
29361 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29362 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29363 redefine.
29364 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29365 (exp10l): Define as weak alias.
29366 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29367 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29368 and redefine.
29369 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29370 (remainderl): Define as weak alias.
29371
29372 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29373 (fmal): Define using libm_alias_ldouble.
29374 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29375 (acoshl): Define using libm_alias_ldouble.
29376 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29377 (acosl): Define using libm_alias_ldouble.
29378 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29379 (asinl): Define using libm_alias_ldouble.
29380 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29381 (atan2l): Define using libm_alias_ldouble.
29382 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29383 (atanhl): Define using libm_alias_ldouble.
29384 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29385 (coshl): Define using libm_alias_ldouble.
29386 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29387 (exp10l): Define using libm_alias_ldouble.
29388 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29389 (exp2l): Define using libm_alias_ldouble.
29390 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29391 (expl): Define using libm_alias_ldouble.
29392 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29393 (fmodl): Define using libm_alias_ldouble.
29394 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29395 (hypotl): Define using libm_alias_ldouble.
29396 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29397 (j0l): Define using libm_alias_ldouble.
29398 (y0l): Likewise.
29399 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29400 (j1l): Define using libm_alias_ldouble.
29401 (y1l): Likewise.
29402 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29403 (jnl): Define using libm_alias_ldouble.
29404 (ynl): Likewise.
29405 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29406 (log10l): Define using libm_alias_ldouble.
29407 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29408 (log2l): Define using libm_alias_ldouble.
29409 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29410 (logl): Define using libm_alias_ldouble.
29411 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29412 (powl): Define using libm_alias_ldouble.
29413 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29414 (remainderl): Define using libm_alias_ldouble.
29415 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29416 (sinhl): Define using libm_alias_ldouble.
29417 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29418 (sqrtl): Define using libm_alias_ldouble.
29419 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29420 (tgammal): Define using libm_alias_ldouble.
29421 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29422 (exp10l): Do not use long_double_symbol here.
29423 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29424 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29425 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29426 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29427 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29428 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29429 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29430 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29431 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29432 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29433 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29434 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29435 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29436 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29437 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29438 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29439 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29440 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29441 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29442 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29443 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29444 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29445
29446 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29447
29448 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29449 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29450
29451 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29452
29453 * io/read.c (read): Add libc_hidden_weak.
29454 * sysdeps/mach/hurd/read.c (read): Likewise.
29455 * io/write.c (write): Likewise.
29456 * sysdeps/mach/hurd/write.c (write): Likewise.
29457 * io/pread64.c (__pread64): Likewise.
29458 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29459 * posix/pread64.c (__pread64): Add libc_hidden_def.
29460
29461 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29462
29463 * benchtests/scripts/compare_strings.py: New option -g.
29464 (draw_graph): Print a message that a graph is being generated.
29465 (process_results): Generate graph only if -g is passed.
29466 (main): Process option -g.
29467
29468 * benchtests/scripts/compare_strings.py (process_results):
29469 Better spacing for output.
29470
29471 * benchtests/scripts/compare_strings.py: Use argparse.
29472 * benchtests/README: Document existence of compare_strings.py.
29473
29474 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29475
29476 * math/s_fma.c: Include <libm-alias-double.h>.
29477 (fma): Define using libm_alias_double.
29478 * math/s_nextafter.c: Include <libm-alias-double.h>.
29479 (nextafter): Define using libm_alias_double.
29480 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29481 (acos): Define using libm_alias_double.
29482 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29483 (aocsh): Define using libm_alias_double.
29484 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29485 (asin): Define using libm_alias_double.
29486 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29487 (atan2): Define using libm_alias_double.
29488 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29489 (atanh): Define using libm_alias_double.
29490 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29491 (cosh): Define using libm_alias_double.
29492 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29493 (exp10): Define using libm_alias_double.
29494 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29495 (exp2): Define using libm_alias_double.
29496 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29497 (exp): Define using libm_alias_double.
29498 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29499 (fmod): Define using libm_alias_double.
29500 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29501 (hypot): Define using libm_alias_double.
29502 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29503 (j0): Define using libm_alias_double.
29504 (y0): Likewise.
29505 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29506 (j1): Define using libm_alias_double.
29507 (y1): Likewise.
29508 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29509 (jn): Define using libm_alias_double.
29510 (yn): Likewise.
29511 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29512 (log10): Define using libm_alias_double.
29513 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29514 (log2): Define using libm_alias_double.
29515 * math/w_log_compat.c: Include <libm-alias-double.h>.
29516 (log): Define using libm_alias_double.
29517 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29518 (pow): Define using libm_alias_double.
29519 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29520 (remainder): Define using libm_alias_double.
29521 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29522 (sinh): Define using libm_alias_double.
29523 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29524 (sqrt): Define using libm_alias_double.
29525 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29526 (tgamma): Define using libm_alias_double.
29527 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29528 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29529 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29530 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29531 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29532 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29533 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29534 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29535 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29536 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29537 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29538 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29539 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29540 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29541 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29542 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29543 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29544 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29545 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29546 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29547 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29548 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29549 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29550 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29551 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29552
29553 * math/e_acoshl.c: Remove.
29554 * math/e_acosl.c: Likewise.
29555 * math/e_asinl.c: Likewise.
29556 * math/e_atan2l.c: Likewise.
29557 * math/e_atanhl.c: Likewise.
29558 * math/e_coshl.c: Likewise.
29559 * math/e_expl.c: Likewise.
29560 * math/e_fmodl.c: Likewise.
29561 * math/e_gammal_r.c: Likewise.
29562 * math/e_hypotl.c: Likewise.
29563 * math/e_j0l.c: Likewise.
29564 * math/e_j1l.c: Likewise.
29565 * math/e_jnl.c: Likewise.
29566 * math/e_lgammal_r.c: Likewise.
29567 * math/e_log10l.c: Likewise.
29568 * math/e_log2l.c: Likewise.
29569 * math/e_logl.c: Likewise.
29570 * math/e_powl.c: Likewise.
29571 * math/e_rem_pio2l.c: Likewise.
29572 * math/e_sinhl.c: Likewise.
29573 * math/e_sqrtf128.c: Likewise.
29574 * math/e_sqrtl.c: Likewise.
29575 * math/k_cosl.c: Likewise.
29576 * math/k_sinl.c: Likewise.
29577 * math/k_tanl.c: Likewise.
29578 * math/s_asinhl.c: Likewise.
29579 * math/s_atanl.c: Likewise.
29580 * math/s_cbrtl.c: Likewise.
29581 * math/s_erfl.c: Likewise.
29582 * math/s_expm1l.c: Likewise.
29583 * math/s_log1pl.c: Likewise.
29584 * math/s_tanhl.c: Likewise.
29585
29586 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29587
29588 [BZ #21745]
29589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29590 [$(subdir) = math] (sysdep_calls): New variable. Has the
29591 previous contents of sysdep_routines, but re-sorted..
29592 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29593 sysdep_calls.
29594 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29595 defined in sysdep_calls and replace by the respective m_* names.
29596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29597 (compat_symbol): Undefine to avoid duplicated compat symbols in
29598 libc.
29599
29600 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29601
29602 * math/s_fmaf.c: Include <libm-alias-float.h>.
29603 (fmaf): Define using libm_alias_float.
29604 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29605 (acosf): Define using libm_alias_float.
29606 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29607 (acoshf): Define using libm_alias_float.
29608 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29609 (asinf): Define using libm_alias_float.
29610 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29611 (atan2f): Define using libm_alias_float.
29612 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29613 (atanhf): Define using libm_alias_float.
29614 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29615 (coshf): Define using libm_alias_float.
29616 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29617 (exp10f): Define using libm_alias_float.
29618 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29619 (fmodf): Define using libm_alias_float.
29620 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29621 (hypotf): Define using libm_alias_float.
29622 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29623 (j0f): Define using libm_alias_float.
29624 (y0f): Likewise.
29625 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29626 (j1f): Define using libm_alias_float.
29627 (y1f): Likewise.
29628 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29629 (jnf): Define using libm_alias_float.
29630 (ynf): Likewise.
29631 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29632 (log10f): Define using libm_alias_float.
29633 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29634 (log2f): Define using libm_alias_float.
29635 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29636 (logf): Define using libm_alias_float.
29637 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29638 (powf): Define using libm_alias_float.
29639 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29640 (remainderf): Define using libm_alias_float.
29641 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29642 (sinhf): Define using libm_alias_float.
29643 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29644 (sqrtf): Define using libm_alias_float.
29645 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29646 (tgammaf): Define using libm_alias_float.
29647
29648 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29649
29650 * include/math.h (roundeven): Change hidden_proto call to
29651 __roundeven.
29652 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29653 alias.
29654 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29655 (y0): Rename to __y0 and define as weak alias.
29656 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29657 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29658 alias.
29659 (y0f): Rename to __y0f and define as weak alias.
29660 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29661 alias.
29662 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29663 (y1): Rename to __y1 and define as weak alias.
29664 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29665 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29666 alias.
29667 (y1f): Rename to __y1f and define as weak alias.
29668 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29669 alias.
29670 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29671 (yn): Rename to __yn and define as weak alias.
29672 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29673 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29674 alias.
29675 (ynf): Rename to __ynf and define as weak alias.
29676 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29677 (fromfp): Define as weak alias.
29678 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29679 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29680 (fromfpx): Define as weak alias.
29681 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29682 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29683 __getpayload and define as weak alias.
29684 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29685 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29686 __roundeven and define as weak alias.
29687 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29688 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29689 __setpayload.
29690 (setpayload): Define as weak alias.
29691 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29692 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29693 __setpayloadsig.
29694 (setpayloadsig): Define as weak alias.
29695 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29696 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29697 __totalorder and define as weak alias.
29698 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29699 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29700 to __totalordermag and define as weak alias.
29701 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29702 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29703 (ufromfp): Define as weak alias.
29704 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29705 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29706 __ufromfpx.
29707 (ufromfpx): Define as weak alias.
29708 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29709 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29710 Rename to __getpayload and define as weak alias.
29711 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29712 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29713 Rename to __roundeven and define as weak alias.
29714 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29715 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29716 Rename to __totalorder and define as weak alias.
29717 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29718 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29719 (totalordermag): Rename to __totalordermag and define as weak
29720 alias.
29721 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29722 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29723 macro.
29724 (__roundevenl): Likewise.
29725 (__totalorderl): Likewise.
29726 (__totalordermagl): Likewise
29727 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29728 __fromfpf128.
29729 (fromfpf128): Define as weak alias.
29730 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29731 __fromfpxf128.
29732 (fromfpxf128): Define as weak alias.
29733 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29734 __setpayloadf128.
29735 (setpayloadf128): Define as weak alias.
29736 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29737 __setpayloadsigf128.
29738 (setpayloadsigf128): Define as weak alias.
29739 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29740 __ufromfpf128.
29741 (ufromfpf128): Define as weak alias.
29742 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29743 __ufromfpxf128.
29744 (ufromfpxf128): Define as weak alias.
29745 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29746 (fromfpf): Define as weak alias.
29747 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29748 __fromfpxf.
29749 (fromfpxf): Define as weak alias.
29750 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29751 __getpayloadf and define as weak alias.
29752 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29753 __roundevenf and define as weak alias.
29754 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29755 __setpayloadf.
29756 (setpayloadf): Define as weak alias.
29757 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29758 __setpayloadsigf.
29759 (setpayloadsigf): Define as weak alias.
29760 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29761 __totalorderf and define as weak alias.
29762 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29763 Rename to __totalordermagf and define as weak alias.
29764 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29765 __ufromfpf.
29766 (ufromfpf): Define as weak alias.
29767 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29768 __ufromfpxf.
29769 (ufromfpxf): Define as weak alias.
29770 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29771 __fromfpl.
29772 (fromfpl): Define as weak alias.
29773 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29774 __fromfpxl.
29775 (fromfpxl): Define as weak alias.
29776 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29777 to __getpayloadl and define as weak alias.
29778 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29779 __roundevenl and define as weak alias.
29780 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29781 __setpayloadl.
29782 (setpayloadl): Define as weak alias.
29783 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29784 __setpayloadsigl.
29785 (setpayloadsigl): Define as weak alias.
29786 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29787 to __totalorderl and define as weak alias.
29788 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29789 Rename to __totalordermagl and define as weak alias.
29790 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29791 __ufromfpl.
29792 (ufromfpl): Define as weak alias.
29793 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29794 __ufromfpxl.
29795 (ufromfpxl): Define as weak alias.
29796 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29797 __fromfpl.
29798 (fromfpl): Define as weak alias.
29799 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29800 __fromfpxl.
29801 (fromfpxl): Define as weak alias.
29802 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29803 Rename to __getpayloadl and define as weak alias.
29804 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29805 to __roundevenl and define as weak alias. Call __roundeven
29806 instead of roundeven.
29807 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29808 __setpayloadl.
29809 (setpayloadl): Define as weak alias.
29810 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29811 __setpayloadsigl.
29812 (setpayloadsigl): Define as weak alias.
29813 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29814 Rename to __totalorderl and define as weak alias.
29815 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29816 Rename to __totalordermagl and define as weak alias.
29817 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29818 __ufromfpl.
29819 (ufromfpl): Define as weak alias.
29820 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29821 __ufromfpxl.
29822 (ufromfpxl): Define as weak alias.
29823 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29824 __fromfpl.
29825 (fromfpl): Define as weak alias.
29826 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29827 __fromfpxl.
29828 (fromfpxl): Define as weak alias.
29829 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29830 __getpayloadl and define as weak alias.
29831 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29832 __roundevenl and define as weak alias.
29833 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29834 __setpayloadl.
29835 (setpayloadl): Define as weak alias.
29836 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29837 __setpayloadsigl.
29838 (setpayloadsigl): Define as weak alias.
29839 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29840 __totalorderl and define as weak alias.
29841 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29842 Rename to __totalordermagl and define as weak alias.
29843 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29844 __ufromfpl.
29845 (ufromfpl): Define as weak alias.
29846 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29847 __ufromfpxl.
29848 (ufromfpxl): Define as weak alias.
29849
29850 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29851
29852 * benchtests/bench-string.h (realloc_bufs): New function.
29853 (test_init): Call it.
29854 * benchtests/bench-memset-large.c (do_test): Likewise.
29855 * benchtests/bench-memset.c (do_test): Likewise.
29856
29857 * benchtests/bench-memset-large.c: Print output in JSON
29858 format.
29859 * benchtests/bench-memset.c: Likewise.
29860
29861 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29862
29863 [BZ #21084]
29864 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29865 * iconvdata/Makefile: Add IBM858.
29866 * iconvdata/gconv-modules: Likewise.
29867 * iconvdata/tst-tables.sh: Likewise.
29868 * iconvdata/ibm858.c: New file.
29869 * localedata/charmaps/IBM858: Likewise.
29870
29871 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29872
29873 [BZ #22023]
29874 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29875 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29876
29877 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29878
29879 [BZ #22112]
29880 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29881 and add tel_int_fmt.
29882
29883 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29884
29885 * sysdeps/generic/libm-alias-float128.h: New file.
29886 * sysdeps/generic/math-type-macros-float128.h: Include
29887 <libm-alias-float128.h>.
29888 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29889
29890 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29891
29892 * sysdeps/generic/libm-alias-ldouble.h: New file.
29893 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29894 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29895 * sysdeps/generic/math-type-macros-ldouble.h: Include
29896 <libm-alias-ldouble.h>.
29897 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29898 libm_alias_ldouble.
29899
29900 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29901
29902 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29903 * math/w_exp_compat.c: ... here.
29904 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29905 * math/w_expf_compat.c: ... here.
29906 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29907 * math/w_expl_compat.c: ... here.
29908 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29909 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29910 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29911 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29912
29913 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29914
29915 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29916 redefine.
29917 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29918 macro.
29919 (ldexpl): Only define as compat symbol for libc, not libm.
29920 (scalbnl): Define as compat symbol for libc here.
29921 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29922 define for [IS_IN (libc)].
29923 (__ldexpl_2): Remove alias.
29924 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29925 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29926 name in long_double_symbol call.
29927 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29928 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29929 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29930 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29931 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29932 Remove macro.
29933 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29934 Define as compat symbol.
29935
29936 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29937
29938 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29939 * sysdeps/unix/sysv/linux/alpha/Makefile
29940 [$(subdir) = csu] (sysdep_routines): Remove rule.
29941
29942 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29943
29944 * sysdeps/generic/libm-alias-double.h: New file.
29945 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29946 * sysdeps/generic/math-type-macros-double.h: Include
29947 <libm-alias-double.h>.
29948 [declare_mgen_alias] (declare_mgen_alias): Define to use
29949 libm_alias_double.
29950 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29951 (M_LIBM_NEED_COMPAT): Remove macro.
29952 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29953 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29954 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29955 code.
29956 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29957 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29958 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29959 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29960 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29961 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29962 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29963 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29964 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29965 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29966 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29967 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29968 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29969 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29970 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29971 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29972 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29973 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29974 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29975 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29976 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29977 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29978 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29979 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29980 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29981 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29982 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29983 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29984 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29985 macro.
29986 (declare_mgen_alias): New macro.
29987 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29988 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29990 (M_LIBM_NEED_COMPAT): Remove macro.
29991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29992 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29993 <first-versions.h>.
29994 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29995 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29996
29997 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29998
29999 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30000 (declare_mgen_alias_2): Remove.
30001 * sysdeps/generic/math-type-macros-double.h
30002 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30003 Likewise.
30004 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30005 alias.
30006 (ldexp): Define with declare_mgen_alias.
30007 (scalbn): Likewise.
30008
30009 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30010
30011 * grp/initgroups.c: Include config.h.
30012 (DEFAULT_CONFIG): New macro.
30013 (internal_getgrouplist): Use DEFAULT_CONFIG.
30014 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30015 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30016 (DEFAULT_DEFCONFIG): New macro.
30017 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30018 * nss/grp-lookup.c: Include config.h
30019 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30020 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30021 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30022 * manual/nss.texi: Update default values section.
30023
30024 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30025
30026 [BZ #21967]
30027 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30028 New.
30029 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30030 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30031 Handle MathVec_Prefer_No_AVX512.
30032 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30033 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30034 is set.
30035
30036 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30037
30038 * posix/sched_primax.c (__sched_get_priority_max): Add
30039 libc_hidden_def.
30040 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30041 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30042 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30043 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30044 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30045 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30046 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30047 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30048 Add aliases.
30049
30050 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30051
30052 * sysdeps/generic/libm-alias-float.h: New file.
30053 * sysdeps/generic/math-type-macros-float.h: Include
30054 <libm-alias-float.h>.
30055 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30056
30057 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30058
30059 [BZ #22093]
30060 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30061 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30062 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30063 (HWCAP_IMPORTANT): Likewise.
30064 (HWCAP_X86_64): New enum.
30065 (HWCAP_X86_AVX512_1): Updated.
30066 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30067 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30068 (modules-names): Add x86_64/tst-x86_64mod-1.
30069 (LDFLAGS-tst-x86_64mod-1.so): New.
30070 ($(objpfx)tst-x86_64-1): Likewise.
30071 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30072 (tst-x86_64-1-clean): Likewise.
30073 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30074 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30075
30076 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30077
30078 * po/sv.po: Update translations.
30079 * po/fr.po: Likewise.
30080
30081 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30082
30083 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30084 seconds.
30085 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30086 seconds.
30087 * elf/rtld-Rules: Fix $(error) use.
30088
30089 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30090
30091 [BZ #14925]
30092 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30093 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30094 * localedata/locales/bn_BD: “Bengali” was still used in some
30095 comments. Change it to “Bangla”.
30096
30097 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30098
30099 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30100
30101 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30102
30103 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30104 thunderx2t99p1 to list of cpu names.
30105 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30106 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30107
30108 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30109
30110 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30111 Use strcmp instead of tunable_is_name.
30112
30113 2017-09-08 Joseph Myers <joseph@codesourcery.com>
30114
30115 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30116 (F_GET_RW_HINT): New macro.
30117 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30118 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30119 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30120 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30121 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30122 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30123 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30124 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30125 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30126
30127 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30128 (F_ADD_SEALS): New macro.
30129 [__USE_GNU] (F_GET_SEALS): Likewise.
30130 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30131 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30132 [__USE_GNU] (F_SEAL_GROW): Likewise.
30133 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30134
30135 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30136
30137 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30138 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30139 * posix/glob_internal.h (__glob_pattern_type):
30140 * posix/glob.c (glob):
30141 * posix/glob_pattern_p.c (__glob_pattern_p):
30142 Use them.
30143
30144 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30145 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30146 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30147 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30148 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30150 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30151 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30152 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30153 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30154 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30155 * sysdeps/wordsize-64/glob.c: Likewise.
30156 * sysdeps/wordsize-64/glob64.c: Likewise.
30157 * sysdeps/wordsize-64/globfree.c: Likewise.
30158 * sysdeps/wordsize-64/globfree64.c: Likewise.
30159 * sysdeps/unix/sysv/linux/glob.c: New file.
30160 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30161 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30162 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30163 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30164 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30165 adds !GLOB_NO_OLD_VERSION as an extra condition.
30166 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30167 using relative path instead of absolute one.
30168 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30169 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30170 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30171 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30172 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30173 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30174
30175 [BZ #1062]
30176 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30177 (glob): Use the same scratch buffer for both getlogin_r and
30178 getpwnam_r. Don’t require preallocation of the login name. This
30179 simplifies storage allocation, and corrects the handling of
30180 long login names.
30181
30182 [BZ #1062]
30183 * posix/glob.c (glob): Port recent patches to platforms
30184 lacking getpwnam_r.
30185 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30186 returns an error number rather than setting errno.
30187
30188 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30189 instead of GCC extension.
30190 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30191 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30192 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30193
30194 [BZ #866]
30195 [BZ #1062]
30196 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30197 * posix/bug-glob1.c: Remove file.
30198 * posix/tst-glob_symlinks.c: New file.
30199 * posix/glob.c (__lstat64): New macro.
30200 (is_dir): New function.
30201 (glob, glob_in_dir): Match symlinks even if they are dangling.
30202 (link_stat, link_exists_p): Remove. All uses removed.
30203
30204 [BZ #1062]
30205 [BZ #19971]
30206 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30207 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30208 All uses removed.
30209
30210 [BZ #1062]
30211 CVE-2017-15671
30212 * posix/Makefile (routines): Add globfree, globfree64, and
30213 glob_pattern_p.
30214 * posix/flexmember.h: New file.
30215 * posix/glob_internal.h: Likewise.
30216 * posix/glob_pattern_p.c: Likewise.
30217 * posix/globfree.c: Likewise.
30218 * posix/globfree64.c: Likewise.
30219 * sysdeps/gnu/globfree64.c: Likewise.
30220 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30221 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30222 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30223 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30224 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30225 * sysdeps/wordsize-64/globfree.c: Likewise.
30226 * sysdeps/wordsize-64/globfree64.c: Likewise.
30227 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30228 [NDEBUG): Remove comments.
30229 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30230 (dirent_type): New type. Use uint_fast8_t not
30231 uint8_t, as C99 does not require uint8_t.
30232 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30233 (struct readdir_result): Use dirent_type. Do not define skip_entry
30234 unless it is needed; this saves a byte on platforms lacking d_ino.
30235 (readdir_result_type, readdir_result_skip_entry):
30236 New functions, replacing ...
30237 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30238 these functions, which were removed. This makes the callers
30239 easier to read. All callers changed.
30240 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30241 (size_add_wrapv, glob_use_alloca): New static functions.
30242 (glob, glob_in_dir): Check for size_t overflow in several places,
30243 and fix some size_t checks that were not quite right.
30244 Remove old code using SHELL since Bash no longer
30245 uses this.
30246 (glob, prefix_array): Separate MS code better.
30247 (glob_in_dir): Remove old Amiga and VMS code.
30248 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30249 separate files.
30250 (glob_in_dir): Do not rely on undefined behavior in accessing
30251 struct members beyond their bounds. Use a flexible array member
30252 instead
30253 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30254 0/1. Caller changed.
30255 (glob): Fix memory leaks.
30256 * posix/glob64 (globfree64): Move to separate file.
30257 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30258 (globfree64): Remove hidden alias.
30259 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30260 oldglob.
30261 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30262 separate file.
30263 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30264 define.
30265 Move compat code to separate file.
30266 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30267 separate file.
30268
30269 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30270
30271 * resolv/tst-resolv-qtypes.c (domain): Changed to
30272 "const char domain[] =".
30273
30274 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30275
30276 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30277 version to 3.1.6.
30278
30279 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30280 (TCP_MD5SIG_EXT): Likewise.
30281 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30282 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30283 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30284
30285 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30286
30287 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30288
30289 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30290
30291 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30292
30293 [BZ #22100]
30294 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30295
30296 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30297
30298 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30299 before assuming that the file is empty. Avoid testing buffer content
30300 when nread == 0.
30301
30302 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30303
30304 [BZ #18858]
30305 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30306 Remove define.
30307 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30308 Likewise.
30309 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30310 Likewise.
30311 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30312 Likewise.
30313 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30314 Likewise.
30315 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30316 Likewise.
30317 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30318 Likewise.
30319
30320 2017-09-06 Florian Weimer <fweimer@redhat.com>
30321
30322 * malloc/dynarray_emplace_enlarge.c
30323 (__libc_dynarray_emplace_enlarge): Add missing else.
30324
30325 2017-09-06 Florian Weimer <fweimer@redhat.com>
30326
30327 [BZ #22096]
30328 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30329 case of failure to obtain the global conf object.
30330
30331 2017-09-06 Florian Weimer <fweimer@redhat.com>
30332
30333 [BZ #22095]
30334 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30335 dynarray allocation failure.
30336
30337 2017-09-06 Florian Weimer <fweimer@redhat.com>
30338
30339 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30340 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30341 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30342 New functions.
30343 (response): Call them. Add 'p', '6' flag processing.
30344 (test_reverse): New function.
30345 (test_get2_any): Call it.
30346 (test_no_inet6): Add 'p' test.
30347 (test_inet6): Likewise.
30348
30349 2017-09-06 Florian Weimer <fweimer@redhat.com>
30350
30351 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30352 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30353 the QNAME.
30354 (test_gai): Adjust query names. Add additional tests.
30355 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30356 test_get2. Adjust query names. Add additional tests.
30357 (test_no_inet6): New function, extracted from threadfunc.
30358 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30359 Add additional tests.
30360
30361 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30362
30363 [BZ #22070]
30364 * localedata/unicode-gen/utf8_gen.py: Set the width for
30365 characters with Prepended_Concatenation_Mark property to 1
30366 * localedata/charmaps/UTF-8: Updated using the improved script.
30367
30368 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30369
30370 [BZ #21750]
30371 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30372 use the range notation for all ranges of neighbouring characters
30373 with the same width.
30374
30375 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30376
30377 * sysdeps/generic/math-type-macros-double.h: Include
30378 <math-svid-compat.h>.
30379 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30380 * sysdeps/generic/math-type-macros-float.h: Include
30381 <math-svid-compat.h>.
30382 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30383 * sysdeps/generic/math-type-macros-ldouble.h: Include
30384 <math-svid-compat.h>.
30385 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30386 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30387 condition.
30388 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30389 * math/w_acosf_compat.c: Likewise.
30390 * math/w_acosh_compat.c: Likewise.
30391 * math/w_acoshf_compat.c: Likewise.
30392 * math/w_acoshl_compat.c: Likewise.
30393 * math/w_acosl_compat.c: Likewise.
30394 * math/w_asin_compat.c: Likewise.
30395 * math/w_asinf_compat.c: Likewise.
30396 * math/w_asinl_compat.c: Likewise.
30397 * math/w_atan2_compat.c: Likewise.
30398 * math/w_atan2f_compat.c: Likewise.
30399 * math/w_atan2l_compat.c: Likewise.
30400 * math/w_atanh_compat.c: Likewise.
30401 * math/w_atanhf_compat.c: Likewise.
30402 * math/w_atanhl_compat.c: Likewise.
30403 * math/w_cosh_compat.c: Likewise.
30404 * math/w_coshf_compat.c: Likewise.
30405 * math/w_coshl_compat.c: Likewise.
30406 * math/w_exp10_compat.c: Likewise.
30407 * math/w_exp10f_compat.c: Likewise.
30408 * math/w_exp10l_compat.c: Likewise.
30409 * math/w_exp2_compat.c: Likewise.
30410 * math/w_exp2f_compat.c: Likewise.
30411 * math/w_exp2l_compat.c: Likewise.
30412 * math/w_fmod_compat.c: Likewise.
30413 * math/w_fmodf_compat.c: Likewise.
30414 * math/w_fmodl_compat.c: Likewise.
30415 * math/w_hypot_compat.c: Likewise.
30416 * math/w_hypotf_compat.c: Likewise.
30417 * math/w_hypotl_compat.c: Likewise.
30418 * math/w_j0_compat.c: Likewise.
30419 * math/w_j0f_compat.c: Likewise.
30420 * math/w_j0l_compat.c: Likewise.
30421 * math/w_j1_compat.c: Likewise.
30422 * math/w_j1f_compat.c: Likewise.
30423 * math/w_j1l_compat.c: Likewise.
30424 * math/w_jn_compat.c: Likewise.
30425 * math/w_jnf_compat.c: Likewise.
30426 * math/w_jnl_compat.c: Likewise.
30427 * math/w_lgamma_r_compat.c: Likewise.
30428 * math/w_lgammaf_r_compat.c: Likewise.
30429 * math/w_lgammal_r_compat.c: Likewise.
30430 * math/w_log10_compat.c: Likewise.
30431 * math/w_log10f_compat.c: Likewise.
30432 * math/w_log10l_compat.c: Likewise.
30433 * math/w_log2_compat.c: Likewise.
30434 * math/w_log2f_compat.c: Likewise.
30435 * math/w_log2l_compat.c: Likewise.
30436 * math/w_log_compat.c: Likewise.
30437 * math/w_logf_compat.c: Likewise.
30438 * math/w_logl_compat.c: Likewise.
30439 * math/w_pow_compat.c: Likewise.
30440 * math/w_powf_compat.c: Likewise.
30441 * math/w_powl_compat.c: Likewise.
30442 * math/w_remainder_compat.c: Likewise.
30443 * math/w_remainderf_compat.c: Likewise.
30444 * math/w_remainderl_compat.c: Likewise.
30445 * math/w_sinh_compat.c: Likewise.
30446 * math/w_sinhf_compat.c: Likewise.
30447 * math/w_sinhl_compat.c: Likewise.
30448 * math/w_sqrt_compat.c: Likewise.
30449 * math/w_sqrtf_compat.c: Likewise.
30450 * math/w_sqrtl_compat.c: Likewise.
30451 * math/w_tgamma_compat.c: Likewise.
30452 * math/w_tgammaf_compat.c: Likewise.
30453 * math/w_tgammal_compat.c: Likewise.
30454 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30455 [LIBM_SVID_COMPAT].
30456 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30457 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30458 [LIBM_SVID_COMPAT].
30459 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30460 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30461 [LIBM_SVID_COMPAT].
30462 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30463 * sysdeps/i386/fpu/w_sqrt.c: New file.
30464 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30465 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30466 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30467 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30468 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30469 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30470 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30471 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30472 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30473 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30474 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30475 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30476 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30477 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30478 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30479 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30480 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30481 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30482 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30483 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30484 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30485 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30486 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30487 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30488 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30489 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30490 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30491 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30492 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30493 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30494 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30495 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30496 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30497 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30498 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30499 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30500 * sysdeps/ia64/fpu/w_log.c: Likewise.
30501 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30502 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30503 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30504 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30505 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30506 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30507 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30508 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30509 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30510 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30511 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30512 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30513 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30514 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30515 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30516 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30517 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30518 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30519 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30520 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30521 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30522 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30523 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30524 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30525 [LIBM_SVID_COMPAT].
30526 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30527 * sysdeps/ieee754/k_standard.c: Likewise.
30528 * sysdeps/ieee754/k_standardf.c: Likewise.
30529 * sysdeps/ieee754/k_standardl.c: Likewise.
30530 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30531 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30532 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30533 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30534 long_double_symbol call on [LIBM_SVID_COMPAT].
30535 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30536 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30537 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30538 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30539 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30540 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30541 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30542 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30543 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30544 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30545 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30546 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30547 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30548 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30549 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30550 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30551 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30552 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30553 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30554 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30555 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30556 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30557
30558 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30559
30560 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30561 * malloc/tst-mallocstate.c: Convert from test-skeleton
30562 to test-driver. Ifdef code using TEST_COMPAT macro.
30563 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30564 * math/test-matherr.c: Likewise.
30565
30566 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30567
30568 [BZ #22086]
30569 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30570 comparing word with byte-swapped constant.
30571
30572 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30573
30574 [BZ #20498]
30575 * locale/iso-639.def: add Miskito.
30576 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30577 * localedata/locales/miq_NI: New file.
30578
30579 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30580
30581 [BZ #18822]
30582 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30583 (__mkdir): Likewise.
30584 * io/chmod.c (__chmod): Add libc_hidden_def.
30585 * io/mkdir.c (__mkdir): Likewise.
30586 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30587 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30588 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30589 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30590
30591 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30592
30593 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30594 version to 4.13.
30595
30596 [BZ #22082]
30597 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30598 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30599
30600 2017-09-04 Florian Weimer <fweimer@redhat.com>
30601
30602 * math/math.h: Issue warning if log is defined.
30603
30604 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30605
30606 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30607 kernel version to 4.13.
30608
30609 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30610
30611 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30612 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30613 parameter.
30614 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30615 just <bits/types.h>.
30616 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30617 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30618 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30619 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30620 * misc/preadv2.c: Include <errno.h>.
30621 * misc/preadv64v2.c: Include <errno.h>.
30622 * misc/pwritev2.c: Include <errno.h>.
30623 * misc/pwritev64v2.c: Include <errno.h>.
30624 * sysdeps/posix/preadv2.c: Include <errno.h>.
30625 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30626 Fix <unistd.h> inclusion.
30627 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30628 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30629 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30630 __strtoul_internal): New functions.
30631 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30632 * sysdeps/posix/system.c: Include <sigsetops.h>.
30633 * sysdeps/mach/hurd/i386/Makefile
30634 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30635 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30636 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30637 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30638 __feraiseexcept_renamed to feraiseexcept instead of
30639 __GI_feraiseexcept.
30640 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30641 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30642 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30643 RWF_NOWAIT): Define to 0 if undefined already.
30644 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30645 boils down to 0.
30646 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30647 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30648
30649 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30650
30651 * manual/math.texi (pow10): Do not document.
30652 (pow10f): Likewise.
30653 (pow10l): Likewise.
30654 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30655 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30656 * math/libm-test-exp10.inc (pow10_test): Remove.
30657 (do_test): Do not call pow10.
30658 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30659 [NO_LONG_DOUBLE] (pow10l): Likewise.
30660 * math/w_exp10f_compat.c (pow10f): Likewise.
30661 * math/w_exp10l_compat.c (pow10l): Likewise.
30662 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30663 (pow10): Make into compat symbol.
30664 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30665 (pow10f): Make into compat symbol.
30666 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30667 (pow10l): Make into compat symbol.
30668 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30669 pow10.
30670 (CFLAGS-nldbl-pow10.c): Remove variable..
30671 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30672 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30673 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30674 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30675 Undefine and redefine.
30676 (pow10l): Make into compat symbol.
30677 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30678 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30679 * sysdeps/arm/libm-test-ulps: Likewise.
30680 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30681 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30682 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30683 * sysdeps/microblaze/libm-test-ulps: Likewise.
30684 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30685 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30686 * sysdeps/nios2/libm-test-ulps: Likewise.
30687 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30688 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30689 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30690 * sysdeps/sh/libm-test-ulps: Likewise.
30691 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30692 * sysdeps/tile/libm-test-ulps: Likewise.
30693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30694
30695 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30696
30697 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30698
30699 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30700
30701 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30702 "../ChangeLog.old/ChangeLog.8".
30703 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30704 "../ChangeLog.old/ChangeLog.14".
30705
30706 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30707
30708 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30709 Threads Library.
30710
30711 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30712
30713 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30714
30715 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30716
30717 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30718 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30719
30720 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30721
30722 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30723 32 atexit handlers.
30724
30725 2017-09-01 Zack Weinberg <zackw@panix.com>
30726
30727 * math/math.h (HUGE_VAL): Improve commentary.
30728
30729 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30730 Andreas Schwab <schwab@suse.de>
30731
30732 [BZ #21530]
30733 * include/stdio.h (__gen_tempfd): New function.
30734 * stdio-common/Makefile (routines): Add gentempfd.
30735 * stdio-common/gentempfd.c: New file.
30736 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30737 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30738 unnamed file first.
30739
30740 2017-09-01 Florian Weimer <fweimer@redhat.com>
30741
30742 [BZ #21915]
30743 [BZ #21922]
30744 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30745 result to determine success or failure, not the errno value.
30746 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30747 (tst-nss-files-hosts-erange): Link with -ldl.
30748 * nss/tst-nss-files-hosts-erange.c: New file.
30749 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30750 (do_test): Add NO_DATA tests.
30751 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30752 (do_test): Call it.
30753
30754 2017-09-01 Florian Weimer <fweimer@redhat.com>
30755
30756 [BZ #21922]
30757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30758 coming from gethostbyname2_r.
30759
30760 2017-09-01 Florian Weimer <fweimer@redhat.com>
30761
30762 * support/namespace.h (struct support_chroot_configuration): Add
30763 hosts, host_conf.
30764 (struct support_chroot): Add path_hosts, path_host_conf.
30765 * support/support_chroot.c (write_file): New function.
30766 (support_chroot_create): Call it to process /etc/resolv.conf,
30767 /etc/hosts, /etc/host.conf.
30768 (support_chroot_free): Update.
30769
30770 2017-09-01 Florian Weimer <fweimer@redhat.com>
30771
30772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30773 status indicates it is set.
30774
30775 2017-09-01 Florian Weimer <fweimer@redhat.com>
30776
30777 [BZ #20532]
30778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30779 function lookup failures more reliable.
30780
30781 2017-09-01 Florian Weimer <fweimer@redhat.com>
30782
30783 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30784 (getcanonname): Likewise.
30785 (gaih_inet): Likewise.
30786
30787 2017-09-01 Florian Weimer <fweimer@redhat.com>
30788
30789 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30790 (getcanonname): Likewise.
30791 (gaih_inet): Likewise.
30792
30793 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30794 Richard Henderson <rth@twiddle.net>
30795
30796 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30797 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30798 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30799 (IREG_SIZE, OREG_SIZE): New macros.
30800 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30801 (IREG_SIZE, OREG_SIZE): New macros.
30802 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30803 (IREG_SIZE): New macro.
30804 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30805 (IREG_SIZE): New macro.
30806 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30807 New includes.
30808 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30809 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30810 (__CONCATX): Handle exceptions correctly on large values that may
30811 set FE_INVALID.
30812 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30813 Initialize if not already set.
30814 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30815
30816 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30817
30818 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30819 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30820 Likewise.
30821 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30822 Likewise.
30823 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30824 Likewise.
30825 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30826 Likewise.
30827 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30828 Likewise.
30829 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30830 Likewise.
30831 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30832 Likewise.
30833 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30834 (NO_CANCELLATION): Likewise.
30835 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30836 Likewise.
30837 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30838 Likewise.
30839 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30840 Likewise.
30841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30842 (NO_CANCELLATION): Likewise.
30843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30844 (NO_CANCELLATION): Likewise.
30845 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30846 Likewise
30847 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30848 Likewise.
30849 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30850 Likewise.
30851 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30852 Likewise.
30853 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30854 hidden prototype.
30855 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30856 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30857
30858 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30859
30860 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30861 in resolver call.
30862
30863 2017-08-31 Florian Weimer <fweimer@redhat.com>
30864
30865 * include/libc-symbols.h (internal_function): Remove.
30866
30867 2017-08-31 Florian Weimer <fweimer@redhat.com>
30868
30869 * stdlib/fmtmsg.c (internal_addseverity): Remove
30870 internal_function.
30871
30872 2017-08-31 Florian Weimer <fweimer@redhat.com>
30873
30874 * stdio-common/printf_fp.c (group_number): Remove
30875 internal_function.
30876 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30877
30878 2017-08-31 Florian Weimer <fweimer@redhat.com>
30879
30880 * posix/fnmatch.c (internal_function): Remove definition.
30881 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30882 * posix/regcomp.c (peek_token, init_word_char)
30883 (duplicate_node_closure, fetch_token, peek_token)
30884 (peek_token_bracket, build_range_exp, build_collating_symbol):
30885 Likewise.
30886 * posix/regex_internal.c (re_string_construct_common)
30887 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30888 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30889 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30890 (re_string_translate_buffer, re_string_reconstruct)
30891 (re_string_peek_byte_case, re_string_fetch_byte_case)
30892 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30893 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30894 (re_node_set_add_intersect, re_node_set_init_union)
30895 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30896 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30897 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30898 (re_acquire_state_context): Likewise.
30899 * posix/regex_internal.h (internal_function): Remove definition.
30900 (re_string_realloc_buffers, build_wcs_buffer)
30901 (build_wcs_upper_buffer, build_upper_buffer)
30902 (re_string_translate_buffer, re_string_context_at)
30903 (re_string_char_size_at, re_string_wchar_at)
30904 (re_string_elem_size_at): Likewise.
30905 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30906 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30907 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30908 (re_search_internal, re_search_2_stub, re_search_stub)
30909 (re_copy_regs, prune_impossible_nodes, check_matching)
30910 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30911 (free_fail_stack_return, sift_states_iter_mb)
30912 (sift_states_backward, build_sifted_states)
30913 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30914 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30915 (check_subexp_limits, sift_states_bkref, merge_state_array)
30916 (find_recover_state, transit_state, merge_state_with_log)
30917 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30918 (transit_state_mb, transit_state_bkref, get_subexp)
30919 (get_subexp_sub, find_subexp_node, check_arrival)
30920 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30921 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30922 (check_node_accept_bytes, find_collation_sequence_value)
30923 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30924 (acquire_init_state_context, check_halt_node_context)
30925 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30926 (sub_epsilon_src_nodes): Likewise.
30927 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30928 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30929 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30930 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30931 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30932 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30933 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30934 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30935 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30936 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30937 (PREADV): Likewise.
30938 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30939 (PREADV): Likewise.
30940 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30941 (PWRITEV): Likewise.
30942 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30943 (PWRITEV): Likewise.
30944 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30945 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30946
30947 2017-08-31 Florian Weimer <fweimer@redhat.com>
30948
30949 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30950 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30951 Remove internal_function.
30952 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30953 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30954 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30955 (__deallocate_stack, __libc_pthread_init)
30956 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30957 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30958 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30959 Likewise.
30960 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30961 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30962 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30963 Likewise.
30964 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30965 (__pthread_mutex_unlock_usercnt): Likewise.
30966
30967 2017-08-31 Florian Weimer <fweimer@redhat.com>
30968
30969 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30970 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30971 (fts_safe_changedir): Remove internal_function.
30972 * io/ftw.c (internal_function): Remove definition.
30973 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30974
30975 2017-08-31 Florian Weimer <fweimer@redhat.com>
30976
30977 * inet/deadline.c (__deadline_current_time)
30978 (__deadline_from_timeval, __deadline_to_ms): Remove
30979 internal_function.
30980 * inet/getnameinfo.c (nrl_domainname): Likewise.
30981 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30982 * inet/inet6_option.c (add_pad): Likewise.
30983 * inet/net-internal.h (__deadline_current_time)
30984 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30985 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30986 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30987 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30988
30989 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30990
30991 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30992 include <bits/nan.h>.
30993 * math/Makefile (headers): Remove bits/nan.h.
30994 * bits/nan.h: Remove.
30995 * sysdeps/ieee754/bits/nan.h: Likewise.
30996 * sysdeps/mips/bits/nan.h: Likewise.
30997
30998 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30999 not include <bits/inf.h>.
31000 * math/Makefile (headers): Remove bits/inf.h.
31001 * bits/inf.h: Remove.
31002 * sysdeps/ieee754/bits/inf.h: Likewise.
31003
31004 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31005 bits/huge_vall.h or bits/huge_val_flt128.h.
31006 (HUGE_VAL): Define directly here.
31007 [__USE_ISOC99] (HUGE_VALF): Likewise.
31008 [__USE_ISOC99] (HUGE_VALL): Likewise.
31009 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31010 (HUGE_VAL_F128): Likewise.
31011 * math/Makefile (headers): Remove bits/huge_val.h,
31012 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31013 * bits/huge_val.h: Remove.
31014 * bits/huge_val_flt128.h: Likewise.
31015 * bits/huge_valf.h: Likewise.
31016 * bits/huge_vall.h: Likewise.
31017 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31018 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31019 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31020 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31021 * sysdeps/sh/bits/huge_val.h: Likewise.
31022 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31023 * sysdeps/x86/bits/huge_vall.h: Likewise.
31024
31025 2017-08-31 Florian Weimer <fweimer@redhat.com>
31026
31027 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31028 internal_function.
31029 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31030 Likewise.
31031 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31032 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31033 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31034 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31035 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31036 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31037 * elf/dl-libc.c (dlerror_run): Likewise.
31038 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31039 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31040 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31041 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31042 Likewise.
31043 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31044 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31045 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31046 * elf/dl-profile.c (_dl_start_profile): Likewise.
31047 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31048 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31049 Likewise.
31050 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31051 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31052 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31053 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31054 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31055 (_dl_allocate_tls_storage): Likewise.
31056 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31057 (_dl_check_all_versions): Likewise.
31058 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31059 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31060 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31061 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31062 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31063 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31064 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31065 internal_function from __dl_start.
31066 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31067 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31068 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31069 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31070 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31071 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31072 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31073 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31074 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31075 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31076 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31077 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31078 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31079 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31080 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31081 Likewise.
31082 (struct rtld_global_ro): Remove internal_function from the
31083 _dl_lookup_symbol_x member.
31084 (_dl_symbol_value): Remove. No longer defined anywhere.
31085 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31086 internal_function.
31087 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31088 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31089 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31090 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31091 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31092 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31093 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31094 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31095 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31096 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31097 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31098 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31099
31100 2017-08-31 Florian Weimer <fweimer@redhat.com>
31101
31102 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31103 Remove internal_function.
31104 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31105 Likewise.
31106 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31107 Likewise.
31108
31109 2017-08-31 Florian Weimer <fweimer@redhat.com>
31110
31111 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31112 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31113 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31114
31115 2017-08-31 Florian Weimer <fweimer@redhat.com>
31116
31117 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31118 (__gai_enqueue_request): Remove internal_function.
31119 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31120 (__gai_remove_request, __gai_notify, __gai_notify_only)
31121 (__gai_sigqueue): Likewise.
31122 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31123 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31124 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31125 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31126 Likewise.
31127
31128 2017-08-31 Florian Weimer <fweimer@redhat.com>
31129
31130 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31131 * include/dirent.h (__opendirat, __getdents, __getdents64)
31132 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31133 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31134 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31135 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31136 Likewise.
31137 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31138
31139 2017-08-31 Florian Weimer <fweimer@redhat.com>
31140
31141 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31142 internal_function.
31143 (GETCWD_RETURN_TYPE): Likewise.
31144
31145 2017-08-31 Florian Weimer <fweimer@redhat.com>
31146
31147 * include/time.h (__tz_compute, __strptime_internal): Remove
31148 internal_function.
31149 * time/strptime_l.c (__strptime_internal): Likewise.
31150 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31151
31152 2017-08-31 Florian Weimer <fweimer@redhat.com>
31153
31154 * iconv/gconv.c (__gconv): Remove internal_function.
31155 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31156 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31157 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31158 (__gconv_release_cache): Likewise.
31159 * iconv/gconv_close.c (__gconv_close): Likewise.
31160 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31161 (read_conf_file, __gconv_get_path): Likewise.
31162 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31163 (__gconv_release_step, gen_steps, increment_counter)
31164 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31165 (__gconv_close_transform, free_modules_db): Likewise.
31166 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31167 Likewise.
31168 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31169 (__gconv_find_transform, __gconv_lookup_cache)
31170 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31171 (__gconv_close_transform, __gconv_release_cache)
31172 (__gconv_loaded_object, __gconv_release_shlib)
31173 (__gconv_compare_alias): Likewise.
31174 * iconv/gconv_open.c (__gconv_open): Likewise.
31175 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31176 * iconv/iconvconfig.c (add_module): Likewise.
31177 * intl/dcigettext.c (plural_lookup, guess_category_value)
31178 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31179 * intl/eval-plural.h (plural_eval): Likewise.
31180 * intl/finddomain.c (_nl_find_domain): Likewise.
31181 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31182 (_nl_load_domain, _nl_find_msg): Likewise.
31183 (internal_function): Remove definition.
31184 * intl/loadinfo.h (internal_function): Likewise.
31185 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31186 internal_function.
31187 * intl/localealias.c (internal_function): Remove definition.
31188 (read_alias_file): Remove internal_function.
31189 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31190 * intl/plural-exp.h (internal_function): Remove definition.
31191 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31192 internal_function.
31193 * intl/plural.c: Regenerate.
31194 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31195 * locale/coll-lookup.c (__collidx_table_lookup)
31196 (__collseq_table_lookup): Likewise.
31197 * locale/coll-lookup.h (__collidx_table_lookup)
31198 (__collseq_table_lookup): Likewise.
31199 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31200 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31201 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31202 (_nl_unload_locale): Likewise.
31203 * locale/localeinfo.h (struct __locale_data): Remove
31204 internal_function from cleanup member.
31205 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31206 (_nl_remove_locale, _nl_load_locale_from_archive)
31207 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31208 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31209 (_nl_cleanup_time): Remove internal_function.
31210 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31211 (_nl_parse_alt_digit): Likewise.
31212 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31213 (_nl_select_era_entry): Likewise.
31214 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31215 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31216 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31217 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31218 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31219
31220 2017-08-31 Florian Weimer <fweimer@redhat.com>
31221
31222 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31223 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31224 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31225 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31226 Likewise.
31227 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31228 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31229 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31230 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31231 Likewise.
31232 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31233
31234 2017-08-31 Florian Weimer <fweimer@redhat.com>
31235
31236 * misc/getttyent.c (skip, value): Remove internal_function.
31237 * misc/syslog.c (openlog_internal): Likewise.
31238 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31239
31240 2017-08-31 Florian Weimer <fweimer@redhat.com>
31241
31242 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31243 (__nss_rewrite_field): Remove internal_function.
31244 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31245 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31246 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31247 * nss/nsswitch.c (nss_parse_file, nss_getline)
31248 (nss_parse_service_list, nss_new_service): Likewise.
31249 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31250 * nss/valid_field.c (__nss_valid_field): Likewise.
31251 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31252
31253 2017-08-31 Florian Weimer <fweimer@redhat.com>
31254
31255 * malloc/arena.c (__malloc_fork_lock_parent)
31256 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31257 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31258 internal_function from defintions.
31259 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31260 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31261 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31262 internal_function from declarations.
31263 * malloc/malloc.c (internal_function): Do not define.
31264 (mem2mem_check): Remove internal_function from declaration.
31265 (munmap_chunk, mremap_chunk): Remove internal_function.
31266 * malloc/mtrace.c (tr_where): Likewise.
31267
31268 2017-08-31 Florian Weimer <fweimer@redhat.com>
31269
31270 * include/rpc/pmap_clnt.h (__get_socket): Remove
31271 internal_function.
31272 * sunrpc/auth_des.c (synchronize): Likewise.
31273 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31274 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31275 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31276 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31277 (key_call): Likewise.
31278 * sunrpc/pm_getport.c (__get_socket): Likewise.
31279 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31280 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31281 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31282 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31283 (invalidate): Likewise.
31284 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31285 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31286 (set_input_fragment, get_input_bytes): Likewise.
31287
31288 2017-08-31 Florian Weimer <fweimer@redhat.com>
31289
31290 * malloc/malloc.c (_int_free): Remove locked variable and related
31291 asserts.
31292
31293 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31294
31295 [BZ #22051]
31296 * Makerules (build-module-helper-objlist): Filter out
31297 $(elf-objpfx)sofini.os.
31298 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31299 needed.
31300
31301 2017-08-31 Florian Weimer <fweimer@redhat.com>
31302
31303 * libio/fcloseall.c: Assume weak_alias is defined.
31304 * libio/feof.c: Likewise.
31305 * libio/fileno.c: Likewise.
31306 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31307 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31308 definitions.
31309 (_IO_file_open): Call __open directly.
31310 (_IO_new_file_sync): Assume ESPIPE is defined.
31311 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31312 (_IO_new_file_write): Call __write directly.
31313 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31314 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31315 * libio/genops.c: Assume _LIBC is defined.
31316 (save_for_backup): Remove internal_function.
31317 * libio/getc.c: Assume weak_alias is defined.
31318 * libio/getwc.c: Likewise.
31319 * libio/iofclose.c: Assume _LIBC is defined.
31320 * libio/iofdopen.c: Likewise.
31321 (_IO_fcntl): Remove macro definition.
31322 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31323 Call __fcntl directly.
31324 * libio/iofflush.c: Assume weak_alias is defined.
31325 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31326 defined.
31327 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31328 * libio/iofgets.c: Likewise.
31329 * libio/iofopen.c: Assume _LIBC is defined.
31330 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31331 * libio/iofputs.c: Assume weak_alias is defined.
31332 * libio/iofread.c: Likewise.
31333 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31334 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31335 * libio/ioftell.c: Assume weak_alias is defined.
31336 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31337 * libio/iofwide.c: Assume _LIBC is defined.
31338 (_IO_fwide): Drop SHARED conditional because it is implied by
31339 SHLIB_COMPAT.
31340 * libio/iofwrite.c: Assume weak_alias is defined.
31341 * libio/iogetdelim.c: Likewise.
31342 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31343 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31344 (_IO_getwline): Call __wmemcpy directly.
31345 * libio/iopopen.c: Assume _LIBC is defined.
31346 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31347 (_IO_close): Remove macro definitions.
31348 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31349 _exit directly.
31350 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31351 directly.
31352 * libio/ioputs.c: Assume weak_alias is defined.
31353 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31354 * libio/iosetbuffer.c: Assume weak_alias is defined.
31355 * libio/iosetvbuf.c: Likewise.
31356 * libio/ioungetc.c: Likewise.
31357 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31358 libc_hidden_def, libc_hidden_weak, NULL are defined.
31359 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31360 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31361 defined.
31362 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31363 definitions.
31364 (_IO_old_file_init_internal): Drop SHARED conditional because it
31365 is implied by SHLIB_COMPAT.
31366 (_IO_old_file_fopen): Call __open directly.
31367 (_IO_old_file_sync): Assume ESPIPE is defined.
31368 (_IO_old_file_write): Call __write directly.
31369 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31370 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31371 Call __fcntl directly.
31372 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31373 (_IO_old_fgetpos): Assume EIO is defined.
31374 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31375 (_IO_old_fgetpos64): Assume EIO is defined.
31376 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31377 (_IO_old_fsetpos): Assume EIO is defined.
31378 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31379 (_IO_old_fsetpos64): Assume EIO is defined.
31380 * libio/oldiopopen.c: Assume _LIBC is defined.
31381 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31382 (_IO_close): Remove macro definitions.
31383 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31384 directly.
31385 (_IO_old_proc_close): Call __close, __waitpid directly.
31386 * libio/put.c: Assume weak_alias is defined.
31387 * libio/stdfiles.c: Assume _LIBC is defined.
31388 * libio/stdio.c: Likewise.
31389 * libio/wfileops.c: Likewise.
31390 (_IO_wfile_sync): Assume ESPIPE is defined.
31391 * libio/wgenops.c: Assume _LIBC is defined.
31392 (save_for_wbackup): Remove internal_function.
31393
31394 2017-08-31 Florian Weimer <fweimer@redhat.com>
31395
31396 * malloc/malloc.c (top_check): Change return type to void. Remove
31397 internal_function.
31398 * malloc/hooks.c (top_check): Likewise.
31399 (malloc_check, realloc_check, memalign_check): Adjust.
31400
31401 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31402
31403 [BZ #21457]
31404 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31405 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31406 sigcontext and namespace requirements.
31407 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31408 * sysdeps/m68k/sys/ucontext.h: Likewise.
31409 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31410 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31411 <bits/sigcontext.h>.
31412 (__ctx): Define earlier.
31413 (mcontext_t): Define structure contents rather than using struct
31414 sigcontext.
31415 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31416 __glibc_reserved1 instead of __reserved.
31417 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31418 <bits/sigcontext.h>.
31419 (__ctx): Define earlier.
31420 (mcontext_t): Define structure contents rather than using struct
31421 sigcontext.
31422 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31423 mcontext_t instead of struct sigcontext.
31424 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31425 <bits/sigcontext.h>.
31426 (__ctx): Define earlier.
31427 (mcontext_t): Define structure contents rather than using struct
31428 sigcontext.
31429 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31430 <bits/sigcontext.h>.
31431 (__ctx): Define earlier.
31432 (mcontext_t): Define structure contents rather than using struct
31433 sigcontext.
31434 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31435 mcontext_t instead of struct sigcontext.
31436 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31437 mcontext_t instead of struct sigcontext.
31438 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31439 <bits/sigcontext.h>.
31440 (__ctx): New macro.
31441 (struct __ia64_fpreg_mcontext): New type.
31442 (mcontext_t): Define structure contents rather than using struct
31443 sigcontext.
31444 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31445 (uc_sigmask): Define using __ctx.
31446 (uc_stack): Likewise.
31447 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31448 <bits/sigcontext.h>.
31449 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31450 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31451 <bits/sigcontext.h>.
31452 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31453 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31454 <bits/sigcontext.h>.
31455 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31456 <bits/sigcontext.h>.
31457 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31458 <bits/sigcontext.h>.
31459 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31460 <bits/sigcontext.h>.
31461 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31462 <bits/sigcontext.h>.
31463 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31464 <bits/sigcontext.h>.
31465 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31466 <bits/sigcontext.h>.
31467 (__ctx): Define earlier.
31468 (mcontext_t): Define structure contents rather than using struct
31469 sigcontext.
31470 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31471 <bits/sigcontext.h>. Include <bits/types.h>.
31472 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31473 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31474 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31475 (test-xfail-UNIX98/signal.h/conform): Likewise.
31476 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31477 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31478 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31479 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31480 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31481 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31482 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31483 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31484 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31485
31486 2017-08-30 Florian Weimer <fweimer@redhat.com>
31487
31488 * malloc/dynarray_emplace_enlarge.c
31489 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31490 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31491 * malloc/tst-dynarray.c (test_long_overflow): New function.
31492 (do_test): Call it.
31493
31494 2017-08-30 Florian Weimer <fweimer@redhat.com>
31495
31496 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31497 (set_arena_corrupt): Remove definitions.
31498 (mtrim): Do not check for corrupt arena.
31499 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31500 Likewise.
31501
31502 2017-08-30 Florian Weimer <fweimer@redhat.com>
31503
31504 [BZ #21754]
31505 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31506 check_action.
31507 (ptmalloc_init): Do not set or use check_action.
31508 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31509 call to malloc_printerr. Remove return statement.
31510 (free_check): Likewise. Remove arena unlock.
31511 (top_check): Update comment. Adjust call to malloc_printerr.
31512 Remove heap repair code.
31513 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31514 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31515 (sysmalloc): Adjust call to malloc_printerr.
31516 (munmap_chunk, __libc_realloc): Likewise. Remove return
31517 statement.
31518 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31519 Remove errout label and corresponding gotos.
31520 (_int_free): Likewise. Remove arena unlock.
31521 (do_set_mallopt_check): Do not set check_action.
31522 (malloc_printerr): Adjust parameter list. Do not mark arena as
31523 corrupt.
31524 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31525 comment.
31526 * manual/probes.texi (Memory Allocation Probes): Remove
31527 memory_mallopt_check_action.
31528
31529 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31530
31531 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31532 Use pointer to uint64_t instead of long int for sp.
31533
31534 2017-08-30 Florian Weimer <fweimer@redhat.com>
31535
31536 [BZ #21754]
31537 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31538 without printing a backtrace. Do not leak any information in the
31539 error message.
31540 * manual/memory.texi (Heap Consistency Checking): Update.
31541 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31542
31543 2017-08-30 Florian Weimer <fweimer@redhat.com>
31544
31545 Do not scale NPTL tests with available number of CPUs.
31546 * nptl/tst-cond16.c (count): Set to constant value of 8.
31547 * nptl/tst-cond18.c (count): Likewise.
31548
31549 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31550
31551 [BZ #22035]
31552 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31553 Define to take a second argument that is a macro that
31554 concatentates a suffix, not the suffix itself.
31555 (__CONCAT_d): New macro.
31556 (__CONCAT_f): Likewise.
31557 (__CONCAT_l): Likewise.
31558
31559 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31560
31561 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31562 by child.
31563
31564 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31565 Aurelien Jarno <aurelien@aurel32.net>
31566 Maciej W. Rozycki <macro@imgtec.com>
31567
31568 [BZ #21956]
31569 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31570 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31571 `mips16-syscall6' and `mips16-syscall7'.
31572 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31573 (CFLAGS-mips16-syscall7.c): Remove.
31574 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31575 Remove `__mips16_syscall5', `__mips16_syscall6' and
31576 `__mips16_syscall7'.
31577 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31578 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31579 `__mips_syscall_return'.
31580 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31581 (__mips16_syscall1): Likewise.
31582 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31583 (__mips16_syscall2): Likewise.
31584 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31585 (__mips16_syscall3): Likewise.
31586 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31587 (__mips16_syscall4): Likewise.
31588 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31589 Remove.
31590 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31591 Remove.
31592 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31593 Remove.
31594 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31595 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31596 `__mips16_syscall5'. Remove prototype.
31597 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31598 `__mips16_syscall6'. Remove prototype.
31599 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31600 `__mips16_syscall7'. Remove prototype.
31601 (__nomips16, __mips16_syscall_return): Move to...
31602 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31603 (__nomips16, __mips_syscall_return): ... here.
31604 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31605 `__mips16_syscall_return' to `__mips_syscall_return'.
31606 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31607 `internal_syscall##nr'.
31608 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31609 `internal_syscall##nr'.
31610 (FORCE_FRAME_POINTER): Remove.
31611 (__mips_syscall5): New prototype.
31612 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31613 (__mips_syscall6): New prototype.
31614 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31615 (__mips_syscall7): New prototype.
31616 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31617 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31618 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31619 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31620 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31621 (sysdep_routines): Add libc-do-syscall.
31622 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31623 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31624
31625 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31626
31627 [BZ #21672]
31628 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31629 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31630 (advise_stack_range): New function.
31631 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31632 stack non required to advise_stack_range at allocatestack.c
31633
31634 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31635
31636 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31637
31638 2017-08-29 Florian Weimer <fweimer@redhat.com>
31639
31640 [BZ #22026]
31641 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31642 __end_fct. Mangle __end_fct after setting it to NULL.
31643 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31644 (modules-names, modules-names-tests): Add
31645 tst-gconv-init-failure-mod.
31646 (gconv-modules): New target.
31647 (tst-gconv-init-failure-mod.so): Link against libsupport.
31648 (tst-gconv-init-failure): Depend on gconv-modules,
31649 tst-gconv-init-failure-mod.so.
31650 * iconv/tst-gconv-init-failure-mod.c: New file.
31651 * iconv/tst-gconv-init-failure.c: Likewise.
31652 * iconv/test-gconv-modules: Likewise.
31653
31654 2017-08-29 Florian Weimer <fweimer@redhat.com>
31655
31656 [BZ #22025]
31657 * iconv/gconv_db.c (free_derivation): Remove redundant
31658 parentheses.
31659 (gen_steps): Unconditionally mangle __btowc_fct after
31660 initialization.
31661 (increment_counter): Likewise. Do not call init_fct for internal
31662 modules.
31663
31664 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31665
31666 [BZ #22028]
31667 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31668 (_MSUF_): Remove macro.
31669 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31670 Likewise.
31671 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31672 (__REDIRFROM_X): New macro.
31673 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31674 Likewise.
31675 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31676 (__REDIRTO_X): Likewise.
31677 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31678 arguments.
31679 (__MATH_REDIRCALL_2): Likewise.
31680 (__MATH_REDIRCALL_INTERNAL): Likewise.
31681 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31682 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31683 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31684 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31685 * math/test-finite-macros.c: New file.
31686 * math/Makefile (tests): Add test-finite-macros.
31687 (CFLAGS-test-finite-macros.c): New variable.
31688
31689 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31690 Jeff Law <law@redhat.com>
31691
31692 [BZ #22025]
31693 Mangle NULL pointers in iconv/gconv.
31694 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31695 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31696 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31697 is non-NULL before demangling the end_fct. Check for NULL
31698 end_fct after demangling.
31699 (__gconv_release_step): Demangle the end_fct before checking
31700 it for NULL. Remove assert on __shlibc_handle != NULL.
31701 (gen_steps): Don't check btowc_fct for NULL before mangling.
31702 Demangle init_fct before checking for NULL.
31703 (increment_counter): Likewise.
31704 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31705 end_fct for NULL before mangling.
31706 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31707 for NULL.
31708
31709 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31710
31711 [BZ #21971]
31712 * locale/iso-639.def: add Morisyen.
31713
31714 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31715
31716 [BZ #21930]
31717 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31718 (iszero): New C++ implementation that does not use
31719 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31720 signaling nans are enabled, since __builtin_types_compatible_p
31721 is a C-only feature.
31722 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31723 defined, include ieee754_float128.h for access to the union and
31724 member ieee854_float128.ieee.
31725 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31726 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31727 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31728 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31729 options of test-math-zero on powerpc64le.
31730
31731 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31732
31733 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31734 Change double to float.
31735
31736 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31737
31738 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31739 unconditional.
31740 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31741 conditional code; define contents only for [LIBM_SVID_COMPAT].
31742
31743 2017-08-28 Florian Weimer <fweimer@redhat.com>
31744
31745 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31746 (abi-lp64_be-options): Remove.
31747 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31748 (abi-hard-options): Likewise.
31749 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31750 (abi-o32_hard-options, abi-o32_soft_2008-options)
31751 (abi-o32_hard_2008-options, abi-n32_soft-options)
31752 (abi-n32_hard-options, abi-n32_soft_2008-options)
31753 (abi-n32_hard_2008-options, abi-n64_soft-options)
31754 (abi-n64_hard-options, abi-n64_soft_2008-options)
31755 (abi-n64_hard_2008-options): Likewise.
31756 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31757 (abi-64-v1-options, abi-64-v2-options): Likewise.
31758 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31759 (abi-64-options): Likewise.
31760 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31761 (abi-64-options): Likewise.
31762 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31763 (abi-64-options): Likewise.
31764 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31765 (abi-64-options, abi-x32-options): Likewise.
31766
31767 2017-08-28 Florian Weimer <fweimer@redhat.com>
31768
31769 Store supported list of SYS_* system calls in the source tree.
31770 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31771 (bits/syscall.h): Generate from list file.
31772 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31773 [$(subdir) = misc] (tests): Add tst-syscall-list.
31774 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31775 [$(subdir) = misc] (tst-syscall-list-macros.list)
31776 [$(subdir) = misc] (tst-syscall-list-nr.list)
31777 (tst-syscall-list-sys.list): Helper targets for new
31778 tst-syscall-list test.
31779 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31780 tst-syscall-list.sh.
31781 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31782 target. Do not include bits/syscall.d.
31783 [$(subdir) = misc] (generated): Do not update.
31784 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31785 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31786 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31787 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31788
31789 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31790
31791 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31792 (tst-cxa_atexit, tst-on_exit): Likewise.
31793 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31794 tst-cxa_atexit, and tst-on_exit.
31795 * stdlib/tst-atexit-common.c: New file.
31796 * stdlib/tst-atexit.c: New file.
31797 * stdlib/tst-at_quick_exit.c: New file.
31798 * stdlib/tst-cxa_atexit.c: New file.
31799 * stdlib/tst-on_exit.c: New file.
31800
31801 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31802
31803 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31804 * mach/stack_chk_fail_local.c: New file.
31805 * hurd/stack_chk_fail_local.c: New file.
31806 * mach/Machrules ($(interface-library)-routines): Add
31807 stack_chk_fail_local.
31808 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31809 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31810 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31811 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31812 * hurd/Makefile (CFLAGS-hurdstartup.o,
31813 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31814
31815 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31816
31817 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31818 (index_cpu_*, index_arch_*): Removed.
31819
31820 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31821
31822 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31823 Use uint64_t instead of unsigned long.
31824
31825 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31826
31827 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31828 [__HAVE_DISTINCT_FLOAT128].
31829
31830 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31831 of <bits/math-finite.h>.
31832 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31833 inclusion of <bits/math-finite.h>.
31834 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31835 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31836 __NO_LONG_DOUBLE_MATH].
31837 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31838 (__MATH_REDIRCALL_2): Likewise.
31839 (__MATH_REDIRCALL_INTERNAL): Likewise.
31840 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31841 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31842 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31843
31844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31845 Remove file.
31846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31847 Likewise.
31848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31849 Likewise.
31850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31851 Likewise.
31852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31853 Likewise.
31854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31855 Likewise.
31856 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31857 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31858 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31859 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31861 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31862 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31863 w_sqrtf_compat-ppc32.
31864
31865 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31866
31867 * math/math.h [defined __cplusplus] (issignaling): In the long
31868 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31869 is not defined. Call __issignaling, otherwise.
31870
31871 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31872
31873 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31874 syscall definitions and replace __builtin_expect with __glibc_likely.
31875 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31876 syscall.
31877 (SYSCALL_CANCELLABLE): Removedefinition
31878 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31879 definition.
31880 (PSEUDO_END): Likewise.
31881 [IS_IN (libpthread)] (CENABLE): Likewise.
31882 [IS_IN (libpthread)] (CDISABLE): Likewise.
31883 [IS_IN (libc)] (CENABLE): Likewise.
31884 [IS_IN (libc)] (CENABLE): Likewise.
31885 [IS_IN (librt)] (CDISABLE): Likewise.
31886 [IS_IN (librt)] (CDISABLE): Likewise.
31887 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31888 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31889 definition.
31890 (PSEUDO_END): Likewise.
31891 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31892 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31893 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31894 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31895 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31896 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31897 (CENABLE): Likewise.
31898 (CDISABLE): Likewise.
31899 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31900 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31901 defintion.
31902 (PSEUDO_END): Likewise.
31903 [IS_IN (libpthread)] (CENABLE): Likewise.
31904 [IS_IN (libpthread)] (CDISABLE): Likewise.
31905 [IS_IN (libc)] (CENABLE): Likewise.
31906 [IS_IN (libc)] (CENABLE): Likewise.
31907 [IS_IN (librt)] (CDISABLE): Likewise.
31908 [IS_IN (librt)] (CDISABLE): Likewise.
31909 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31910 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31911 definition.
31912 (PSEUDO_END): Likewise.
31913 [IS_IN (libpthread)] (CENABLE): Likewise.
31914 [IS_IN (libpthread)] (CDISABLE): Likewise.
31915 [IS_IN (libc)] (CENABLE): Likewise.
31916 [IS_IN (libc)] (CENABLE): Likewise.
31917 [IS_IN (librt)] (CDISABLE): Likewise.
31918 [IS_IN (librt)] (CDISABLE): Likewise.
31919 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31920 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31921 definition.
31922 (PSEUDO_END): Likewise.
31923 [IS_IN (libpthread)] (CENABLE): Likewise.
31924 [IS_IN (libpthread)] (CDISABLE): Likewise.
31925 [IS_IN (libc)] (CENABLE): Likewise.
31926 [IS_IN (libc)] (CENABLE): Likewise.
31927 [IS_IN (librt)] (CDISABLE): Likewise.
31928 [IS_IN (librt)] (CDISABLE): Likewise.
31929 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31930 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31931 definition.
31932 (PSEUDO_END): Likewise.
31933 [IS_IN (libpthread)] (CENABLE): Likewise.
31934 [IS_IN (libpthread)] (CDISABLE): Likewise.
31935 [IS_IN (libc)] (CENABLE): Likewise.
31936 [IS_IN (libc)] (CENABLE): Likewise.
31937 [IS_IN (librt)] (CDISABLE): Likewise.
31938 [IS_IN (librt)] (CDISABLE): Likewise.
31939 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31940 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31941 definition.
31942 (PSEUDO_END): Likewise.
31943 [IS_IN (libpthread)] (CENABLE): Likewise.
31944 [IS_IN (libpthread)] (CDISABLE): Likewise.
31945 [IS_IN (libc)] (CENABLE): Likewise.
31946 [IS_IN (libc)] (CENABLE): Likewise.
31947 [IS_IN (librt)] (CDISABLE): Likewise.
31948 [IS_IN (librt)] (CDISABLE): Likewise.
31949 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31950 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31951 definition.
31952 (PSEUDO_END): Likewise.
31953 [IS_IN (libpthread)] (CENABLE): Likewise.
31954 [IS_IN (libpthread)] (CDISABLE): Likewise.
31955 [IS_IN (libc)] (CENABLE): Likewise.
31956 [IS_IN (libc)] (CENABLE): Likewise.
31957 [IS_IN (librt)] (CDISABLE): Likewise.
31958 [IS_IN (librt)] (CDISABLE): Likewise.
31959 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31960 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31961 Remove definition.
31962 (PSEUDO_END): Likewise.
31963 [IS_IN (libpthread)] (CENABLE): Likewise.
31964 [IS_IN (libpthread)] (CDISABLE): Likewise.
31965 [IS_IN (libc)] (CENABLE): Likewise.
31966 [IS_IN (libc)] (CENABLE): Likewise.
31967 [IS_IN (librt)] (CDISABLE): Likewise.
31968 [IS_IN (librt)] (CDISABLE): Likewise.
31969 (SINGLE_THREAD_P): Likewise.
31970 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31971 definition.
31972 (PSEUDO_END): Likewise.
31973 [IS_IN (libpthread)] (CENABLE): Likewise.
31974 [IS_IN (libpthread)] (CDISABLE): Likewise.
31975 [IS_IN (libc)] (CENABLE): Likewise.
31976 [IS_IN (libc)] (CENABLE): Likewise.
31977 [IS_IN (librt)] (CDISABLE): Likewise.
31978 [IS_IN (librt)] (CDISABLE): Likewise.
31979 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31980 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31981 definition.
31982 (PSEUDO_END): Likewise.
31983 [IS_IN (libpthread)] (CENABLE): Likewise.
31984 [IS_IN (libpthread)] (CDISABLE): Likewise.
31985 [IS_IN (libc)] (CENABLE): Likewise.
31986 [IS_IN (libc)] (CENABLE): Likewise.
31987 [IS_IN (librt)] (CDISABLE): Likewise.
31988 [IS_IN (librt)] (CDISABLE): Likewise.
31989 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31990 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31991 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31992 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31993 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31994 definition.
31995 (PSEUDO_END): Likewise.
31996 [IS_IN (libpthread)] (CENABLE): Likewise.
31997 [IS_IN (libpthread)] (CDISABLE): Likewise.
31998 [IS_IN (libc)] (CENABLE): Likewise.
31999 [IS_IN (libc)] (CENABLE): Likewise.
32000 [IS_IN (librt)] (CDISABLE): Likewise.
32001 [IS_IN (librt)] (CDISABLE): Likewise.
32002 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32003 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32004 definition.
32005 (PSEUDO_END): Likewise.
32006 [IS_IN (libpthread)] (CENABLE): Likewise.
32007 [IS_IN (libpthread)] (CDISABLE): Likewise.
32008 [IS_IN (libc)] (CENABLE): Likewise.
32009 [IS_IN (libc)] (CENABLE): Likewise.
32010 [IS_IN (librt)] (CDISABLE): Likewise.
32011 [IS_IN (librt)] (CDISABLE): Likewise.
32012 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32013 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32014 definition.
32015 (PSEUDO_END): Likewise.
32016 [IS_IN (libpthread)] (CENABLE): Likewise.
32017 [IS_IN (libpthread)] (CDISABLE): Likewise.
32018 [IS_IN (libc)] (CENABLE): Likewise.
32019 [IS_IN (libc)] (CENABLE): Likewise.
32020 [IS_IN (librt)] (CDISABLE): Likewise.
32021 [IS_IN (librt)] (CDISABLE): Likewise.
32022 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32024 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32025 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32026 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32027 definition.
32028 (PSEUDO_END): Likewise.
32029 [IS_IN (libpthread)] (CENABLE): Likewise.
32030 [IS_IN (libpthread)] (CDISABLE): Likewise.
32031 [IS_IN (libc)] (CENABLE): Likewise.
32032 [IS_IN (libc)] (CENABLE): Likewise.
32033 [IS_IN (librt)] (CDISABLE): Likewise.
32034 [IS_IN (librt)] (CDISABLE): Likewise.
32035 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32036 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32037 definition.
32038 (PSEUDO_END): Likewise.
32039 [IS_IN (libpthread)] (CENABLE): Likewise.
32040 [IS_IN (libpthread)] (CDISABLE): Likewise.
32041 [IS_IN (libc)] (CENABLE): Likewise.
32042 [IS_IN (libc)] (CENABLE): Likewise.
32043 [IS_IN (librt)] (CDISABLE): Likewise.
32044 [IS_IN (librt)] (CDISABLE): Likewise.
32045 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32046
32047 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32048
32049 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32050
32051 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32052
32053 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32054
32055 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32056
32057 [BZ #21982]
32058 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32059 middle and outer with size_t instead of int. Repleace %d and
32060 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32061 "MAX (outer, nchars - 64)" to support unsigned outer and
32062 nchars. Also exit loop when outer == 0.
32063
32064 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32065
32066 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32067 * include/signal.h (__sigsuspend_nocancel): Likewise.
32068 * include/time.h (__nanosleep_nocancel): Likewise.
32069 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32070 * login/utmp_file.c: Include non cancellable syscall header.
32071 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32072 prototype.
32073
32074 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32075
32076 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32077 .byte sequences with AVX512F instructions.
32078 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32079 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32080 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32081 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32082 Likewise.
32083 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32084 Likewise.
32085
32086 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32087 Steve Ellcey <sellcey@cavium.com>
32088
32089 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32090 Use PTR_REG macro in cmp instruction.
32091
32092 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32093
32094 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32095 Change the return type of the ifunc resolver to match the return
32096 type of the target function.
32097
32098 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32099
32100 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32101 (preadv64): Likewise.
32102 (pwrite64(: Likewise.
32103 (pwritev64): Likewise.
32104
32105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32106 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32107 (LOAD_ARGS_0): Likewise.
32108 (LOAD_ARGS_1): Likewise.
32109 (LOAD_ARGS_2): Likewise.
32110 (LOAD_ARGS_3): Likewise.
32111 (LOAD_ARGS_4): Likewise.
32112 (LOAD_ARGS_5): Likewise.
32113 (LOAD_ARGS_6): Likewise.
32114 (LOAD_REGS_0): Likewise.
32115 (LOAD_REGS_1): Likewise.
32116 (LOAD_REGS_2): Likewise.
32117 (LOAD_REGS_3): Likewise.
32118 (LOAD_REGS_4): Likewise.
32119 (LOAD_REGS_5): Likewise.
32120 (LOAD_REGS_6): Likewise.
32121 (ASM_ARGS_0): Likewise.
32122 (ASM_ARGS_1): Likewise.
32123 (ASM_ARGS_2): Likewise.
32124 (ASM_ARGS_3): Likewise.
32125 (ASM_ARGS_4): Likewise.
32126 (ASM_ARGS_5): Likewise.
32127 (ASM_ARGS_6): Likewise.
32128 (LOAD_ARGS_TYPES_1): Likewise.
32129 (LOAD_ARGS_TYPES_2): Likewise.
32130 (LOAD_ARGS_TYPES_3): Likewise.
32131 (LOAD_ARGS_TYPES_4): Likewise.
32132 (LOAD_ARGS_TYPES_5): Likewise.
32133 (LOAD_ARGS_TYPES_6): Likewise.
32134 (LOAD_REGS_TYPES_1): Likewise.
32135 (LOAD_REGS_TYPES_2): Likewise.
32136 (LOAD_REGS_TYPES_3): Likewise.
32137 (LOAD_REGS_TYPES_4): Likewise.
32138 (LOAD_REGS_TYPES_5): Likewise.
32139 (LOAD_REGS_TYPES_6): Likewise.
32140 (TYPEFY): New define.
32141 (ARGIFY): Likewise.
32142 (internal_syscall0): Likewise.
32143 (internal_syscall1): Likewise.
32144 (internal_syscall2): Likewise.
32145 (internal_syscall3): Likewise.
32146 (internal_syscall4): Likewise.
32147 (internal_syscall5): Likewise.
32148 (internal_syscall6): Likewise.
32149 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32150 (INTERNAL_SYSCALL_NCS): Remove define.
32151 (internal_syscall1): Add define.
32152
32153 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32154
32155 * math/w_remainder_compat.c: Remove duplicate inclusion of
32156 math-svid-compat.h.
32157 * math/w_remainderf_compat.c: Likewise.
32158 * math/w_remainderl_compat.c: Likewise.
32159
32160 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32161
32162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32163
32164 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32165
32166 [BZ #21684]
32167 * math/tgmath.h (__floating_type): Simplify definitions.
32168 (__real_integer_type): New macro.
32169 (__complex_integer_type): Likewise.
32170 (__expr_is_real): Likewise.
32171 (__tgmath_real_type_sub): Update comment to describe handling of
32172 complex types.
32173 (__tgmath_complex_type_sub): New macro.
32174 (__tgmath_complex_type): Likewise.
32175 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32176 (__TGMATH_CF128): Use __expr_is_real.
32177 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32178 __expr_is_real.
32179 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32180 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32181 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32182 integer types.
32183
32184 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32185
32186 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32187 macro.
32188 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32189 alias.
32190 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32191 Likewise.
32192
32193 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32194 nanosleep_not_cancel with __nanosleep_nocancel.
32195 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32196 (__nanosleep_nocancel): New macro.
32197 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32198 function.
32199 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32200 macro.
32201 (__nanosleep_nocancel): New prototype.
32202
32203 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32204 pause_not_cancel with __pause_nocancel.
32205 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32206 (__pause_nocancel): New macro.
32207 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32208 macro.
32209 (__pause_nocancel): New prototype.
32210 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32211
32212 2017-08-22 Martin Sebor <msebor@redhat.com>
32213
32214 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32215 to return a pointer to the same type as the target function.
32216
32217 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32218
32219 [BZ #18822]
32220 [BZ #21986]
32221 * include/printf.h (__printf_fphex): Add attribute_hidden.
32222 (__guess_grouping): New prototype.
32223 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32224 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32225 libc_hidden_proto and libc_hidden_def.
32226 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32227 (__vstrfmon_l): Remove the third argument passed to
32228 __guess_grouping.
32229
32230 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32231
32232 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32233 definition for issignaling that does not rely on __MATH_TG,
32234 since __MATH_TG uses __builtin_types_compatible_p, which is only
32235 available in C mode.
32236 (CFLAGS-test-math-issignaling.cc): New variable.
32237 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32238 * math/test-math-issignaling.cc: New test for C++ implementation
32239 of type-generic issignaling.
32240 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32241 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32242 options of test-math-issignaling on powerpc64le.
32243
32244 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32245
32246 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32247 building libc.a.
32248 (hidden_proto): Likewise.
32249 (hidden_tls_proto): Likewise.
32250 (__hidden_proto): Likewise.
32251
32252 2017-08-22 Florian Weimer <fweimer@redhat.com>
32253
32254 math: Statically link tests of internal functionality.
32255 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32256 atest-exp2.
32257 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32258 (gmp-objs): Remove assignment.
32259 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32260
32261 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32262
32263 [BZ #21987]
32264 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32265 and copy to ...
32266 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32267 ... here.
32268 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32269 ... and here.
32270
32271 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32272 variable definitions above inclusion of ../Rules.
32273
32274 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32275
32276 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32277 case calling __builtin_unreachable.
32278
32279 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32280
32281 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32282 __waitpid_nocancel.
32283 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32284 (__waitpid_nocancel): New macro.
32285 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32286 macro.
32287 (__waitpid_nocancel): Replace macro with a function.
32288 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32289 function.
32290
32291 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32292 __fcntl_nocancel.
32293 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32294 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32295
32296 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32297 __writev_nocancel_nostatus.
32298 (write_call_graph): Likewise.
32299 (write_bb_counts): Likewise.
32300 * resolv/herror.c (herror): Likewise.
32301 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32302 macro.
32303 (__writev_nocancel_nostatus): New macro.
32304 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32305 Remove macro.
32306 (__writev_nocancel_nostatus): New function.
32307
32308 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32309
32310 Revert:
32311 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32312
32313 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32314 building libc.a.
32315 (hidden_proto): Likewise.
32316 (hidden_tls_proto): Likewise.
32317 (__hidden_proto): Likewise.
32318
32319 [BZ #21973]
32320 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32321 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32323 Likewise.
32324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32325 Likewise.
32326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32327 Likewise.
32328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32329 Likewise.
32330 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32332 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32333 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32334 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32335 GLIBC_2.0 sqrtl symbol.
32336
32337 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32338 [__USE_MISC] (_LIB_VERSION): Likewise.
32339 [__USE_MISC] (struct exception): Likewise.
32340 [__USE_MISC] (matherr): Likewise.
32341 [__USE_MISC] (DOMAIN): Likewise.
32342 [__USE_MISC] (SING): Likewise.
32343 [__USE_MISC] (OVERFLOW): Likewise.
32344 [__USE_MISC] (UNDERFLOW): Likewise.
32345 [__USE_MISC] (TLOSS): Likewise.
32346 [__USE_MISC] (PLOSS): Likewise.
32347 [__USE_MISC] (HUGE): Likewise.
32348 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32349 * math/math-svid-compat.h: New file.
32350 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32351 and matherrl.
32352 * include/math.h [!_ISOMAC] (__matherr): Remove.
32353 * manual/arith.texi (FP Exceptions): Do not document matherr.
32354 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32355 (tests-internal): New variable.
32356 (install-lib): Do not add libieee.a.
32357 (non-lib.a): Likewise.
32358 (extra-objs): Do not add libieee.a and ieee-math.o.
32359 (CPPFLAGS-s_lib_version.c): Remove variable.
32360 ($(objpfx)libieee.a): Remove rule.
32361 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32362 * math/ieee-math.c: Remove.
32363 * math/libm-test-support.c (matherr): Remove.
32364 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32365 and license notices. Include <math-svid-compat.h> and
32366 <shlib-compat.h>.
32367 (matherr): Undefine as macro. Use compat_symbol_reference.
32368 (_LIB_VERSION): Likewise.
32369 * math/test-matherr-2.c: New file.
32370 * math/test-matherr-3.c: Likewise.
32371 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32372 declaration.
32373 (__kernel_standard_f): Likewise.
32374 (__kernel_standard_l): Likewise.
32375 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32376 <math_private.h>. Include <math-svid-compat.h>.
32377 (_LIB_VERSION): Undefine as macro.
32378 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32379 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32380 [LIBM_SVID_COMPAT], use compat_symbol.
32381 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32382 <math_private.h>. Include <math-svid-compat.h>.
32383 (matherr): Undefine as macro.
32384 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32385 compat_symbol.
32386 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32387 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32388 compat_symbol_reference.
32389 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32390 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32391 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32392 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32393 (MATHERR_D): Remove declaration.
32394 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32395 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32396 [LIBM_BUILD] (pmatherrf): Likewise.
32397 [LIBM_BUILD] (pmatherr): Likewise.
32398 [LIBM_BUILD] (pmatherrl): Likewise.
32399 (DOMAIN): Likewise.
32400 (SING): Likewise.
32401 (OVERFLOW): Likewise.
32402 (UNDERFLOW): Likewise.
32403 (TLOSS): Likewise.
32404 (PLOSS): Likewise.
32405 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32406 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32407 compat_symbol.
32408 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32409 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32410 compat_symbol.
32411 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32412 * math/w_acos_compat.c: Likewise.
32413 * math/w_acosf_compat.c: Likewise.
32414 * math/w_acosh_compat.c: Likewise.
32415 * math/w_acoshf_compat.c: Likewise.
32416 * math/w_acoshl_compat.c: Likewise.
32417 * math/w_acosl_compat.c: Likewise.
32418 * math/w_asin_compat.c: Likewise.
32419 * math/w_asinf_compat.c: Likewise.
32420 * math/w_asinl_compat.c: Likewise.
32421 * math/w_atan2_compat.c: Likewise.
32422 * math/w_atan2f_compat.c: Likewise.
32423 * math/w_atan2l_compat.c: Likewise.
32424 * math/w_atanh_compat.c: Likewise.
32425 * math/w_atanhf_compat.c: Likewise.
32426 * math/w_atanhl_compat.c: Likewise.
32427 * math/w_cosh_compat.c: Likewise.
32428 * math/w_coshf_compat.c: Likewise.
32429 * math/w_coshl_compat.c: Likewise.
32430 * math/w_exp10_compat.c: Likewise.
32431 * math/w_exp10f_compat.c: Likewise.
32432 * math/w_exp10l_compat.c: Likewise.
32433 * math/w_exp2_compat.c: Likewise.
32434 * math/w_exp2f_compat.c: Likewise.
32435 * math/w_exp2l_compat.c: Likewise.
32436 * math/w_fmod_compat.c: Likewise.
32437 * math/w_fmodf_compat.c: Likewise.
32438 * math/w_fmodl_compat.c: Likewise.
32439 * math/w_hypot_compat.c: Likewise.
32440 * math/w_hypotf_compat.c: Likewise.
32441 * math/w_hypotl_compat.c: Likewise.
32442 * math/w_j0_compat.c: Likewise.
32443 * math/w_j0f_compat.c: Likewise.
32444 * math/w_j0l_compat.c: Likewise.
32445 * math/w_j1_compat.c: Likewise.
32446 * math/w_j1f_compat.c: Likewise.
32447 * math/w_j1l_compat.c: Likewise.
32448 * math/w_jn_compat.c: Likewise.
32449 * math/w_jnf_compat.c: Likewise.
32450 * math/w_jnl_compat.c: Likewise.
32451 * math/w_lgamma_main.c: Likewise.
32452 * math/w_lgamma_r_compat.c: Likewise.
32453 * math/w_lgammaf_main.c: Likewise.
32454 * math/w_lgammaf_r_compat.c: Likewise.
32455 * math/w_lgammal_main.c: Likewise.
32456 * math/w_lgammal_r_compat.c: Likewise.
32457 * math/w_log10_compat.c: Likewise.
32458 * math/w_log10f_compat.c: Likewise.
32459 * math/w_log10l_compat.c: Likewise.
32460 * math/w_log2_compat.c: Likewise.
32461 * math/w_log2f_compat.c: Likewise.
32462 * math/w_log2l_compat.c: Likewise.
32463 * math/w_log_compat.c: Likewise.
32464 * math/w_logf_compat.c: Likewise.
32465 * math/w_logl_compat.c: Likewise.
32466 * math/w_pow_compat.c: Likewise.
32467 * math/w_powf_compat.c: Likewise.
32468 * math/w_powl_compat.c: Likewise.
32469 * math/w_remainder_compat.c: Likewise.
32470 * math/w_remainderf_compat.c: Likewise.
32471 * math/w_remainderl_compat.c: Likewise.
32472 * math/w_scalb_compat.c: Likewise.
32473 * math/w_scalbf_compat.c: Likewise.
32474 * math/w_scalbl_compat.c: Likewise.
32475 * math/w_sinh_compat.c: Likewise.
32476 * math/w_sinhf_compat.c: Likewise.
32477 * math/w_sinhl_compat.c: Likewise.
32478 * math/w_sqrt_compat.c: Likewise.
32479 * math/w_sqrtf_compat.c: Likewise.
32480 * math/w_sqrtl_compat.c: Likewise.
32481 * math/w_tgamma_compat.c: Likewise.
32482 * math/w_tgammaf_compat.c: Likewise.
32483 * math/w_tgammal_compat.c: Likewise.
32484 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32485 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32486 * sysdeps/ieee754/k_standard.c: Likewise.
32487 * sysdeps/ieee754/k_standardf.c: Likewise.
32488 * sysdeps/ieee754/k_standardl.c: Likewise.
32489 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32490 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32491 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32492 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32493 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32494 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32495 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32496 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32497 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32499 Likewise.
32500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32501 Likewise.
32502 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32503 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32504 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32505 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32506
32507 2017-08-21 Florian Weimer <fweimer@redhat.com>
32508
32509 [BZ #21864]
32510 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32511 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32512 Move before inclusion of ../Rules.
32513
32514 2017-08-21 Florian Weimer <fweimer@redhat.com>
32515
32516 [BZ #21972]
32517 * assert/assert.h (assert): Use static_cast (bool) for C++.
32518 Use the ternary operator in the warning branch for GNU C.
32519 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32520 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32521 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32522 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32523 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32524
32525 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32526
32527 [BZ #18822]
32528 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32529 (__syscall_clock_gettime): Add attribute_hidden.
32530 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32531 (__start_context): Likewise.
32532
32533 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32534
32535 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32536 building libc.a.
32537 (hidden_proto): Likewise.
32538 (hidden_tls_proto): Likewise.
32539 (__hidden_proto): Likewise.
32540
32541 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32542
32543 * include/libc-symbols.h (attribute_hidden): Enable hidden
32544 visibility in libc.a compiled with PIE.
32545
32546 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32547
32548 [BZ #18822]
32549 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32550 Add attribute_hidden.
32551
32552 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32553
32554 [BZ #21864]
32555 * Makerules (all-nonlib): Add $(others-extras).
32556 * catgets/Makefile (others-extras): New.
32557 * elf/Makefile (others-extras): Likewise.
32558 * nss/Makefile (others-extras): Likewise.
32559
32560 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32561
32562 [BZ #18822]
32563 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32564 * elf/dl-open.c: Include <libc-internal.h>.
32565 (__libc_multiple_libcs): Removed.
32566 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32567 <hp-timing.h>.
32568 * include/libc-internal.h (__libc_multiple_libcs): New.
32569 * misc/sbrk.c: Include <libc-internal.h>.
32570 (__libc_multiple_libcs): Removed.
32571
32572 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32573
32574 [BZ #18822]
32575 * grp/initgroups.c (__nss_group_database): Removed.
32576 (__nss_initgroups_database): Likewise.
32577 * nscd/gai.c (__nss_hosts_database): Likewise.
32578 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32579 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32580 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32581 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32582 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32583 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32584 attribute_hidden.
32585 * nss/nsswitch.c (__nss_database_custom): Define only if
32586 USE_NSCD is defined.
32587 (__nss_configure_lookup): Use __nss_database_custom only if
32588 USE_NSCD is defined.
32589 * nss/nsswitch.h (__nss_database_custom): Declare only if
32590 USE_NSCD is defined. Add attribute_hidden.
32591 (__nss_setent): Add attribute_hidden.
32592 (__nss_endent): Likewise.
32593 (__nss_getent_r): Likewise.
32594 (__nss_getent): Likewise.
32595 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32596
32597 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32598
32599 [BZ #18822]
32600 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32601 libc_hidden_proto and libc_hidden_def.
32602
32603 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32604
32605 [BZ #18822]
32606 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32607 Add libc_hidden_proto.
32608 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32609 Add libc_hidden_def.
32610
32611 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32612
32613 [BZ #21974]
32614 * gmon/Makefile (routines): Remove bb_init_func and
32615 bb_exit_func.
32616 (elide-routines.os): Removed.
32617 * gmon/bb_exit_func.c: Likewise.
32618 * gmon/bb_init_func.c: Likewise.
32619 * include/sys/gmon.h (__bb): Likewise.
32620 (__bb_init_func): Likewise.
32621 (__bb_exit_func): Likewise.
32622 * sysdeps/alpha/bb_init_func.S: Likewise.
32623
32624 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32625
32626 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32627 * include/setjmp.h (____longjmp_chk): Here. Add
32628 attribute_hidden.
32629
32630 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32631
32632 [BZ #18822]
32633 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32634 attribute_hidden.
32635 (__strspn_sse2): Likewise.
32636
32637 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32638
32639 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32640 (close_not_cancel_no_status): Likewise.
32641 (__close_nocancel): New macro.
32642 (__close_nocancel_nostatus): Likewise.
32643 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32644 macro.
32645 (close_not_cancel): Likewise.
32646 (close_not_cancel_no_status): Likewise.
32647 (__close_nocancel): New prototype.
32648 (__close_nocancel_nostatus): New function.
32649 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32650 * catgets/open_catalog.c (__open_catalog): Replace
32651 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32652 * gmon/gmon.c (write_gmon): Likewise.
32653 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32654 * intl/loadmsgcat.c (close): Likewise.
32655 * io/ftw.c (open_dir_stream): Likewise.
32656 (ftw_startup): Likewise.
32657 * libio/fileops.c (_IO_file_open): Likewise.
32658 (_IO_file_close_mmap): Likewise.
32659 (_IO_file_close): Likewise.
32660 * libio/iopopen.c (_IO_dup2): Likewise.
32661 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32662 * locale/loadlocale.c (_nl_load_locale): Likewise.
32663 * login/utmp_file.c (pututline_file): Likewise.
32664 (endutent_file): Likewise.
32665 * misc/daemon.c (daemon): Likewise.
32666 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32667 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32668 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32669 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32670 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32671 * nscd/nscd_helper.c (open_socket): Likewise.
32672 (__nscd_open_socket): Likewise.
32673 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32674 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32675 (__nscd_innetgr): Likewise.
32676 * nss/nss_db/db-open.c (internal_setent): Likewise.
32677 * resolv/res-close.c (__res_iclose): Likewise.
32678 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32679 * sysdeps/posix/closedir.c (__closedir): Likewise.
32680 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32681 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32682 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32683 (opendir_tail): Likewise.
32684 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32685 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32686 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32687 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32688 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32689 (gethostid): Likewise.
32690 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32691 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32692 Likewise.
32693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32694 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32695 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32696 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32697 Likewise.
32698 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32699 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32700 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32701 Likewise.
32702 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32703 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32704 Likewise.
32705 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32706 Likewise.
32707 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32708 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32709 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32710 __close_nocancel.
32711
32712 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32713 (openat_not_cancel_3): Likewise.
32714 (openat64_not_cancel_3): Likewise).
32715 (openat_not_cancel_3): Likewise).
32716 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32717 macro.
32718 (openat_not_cancel_3): Likewise.
32719 (openat64_not_cancel): Likewise.
32720 (openat64_not_cancel_3): Likewise.
32721 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32722 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32723 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32724 __open{64}_nocancel.
32725 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32726 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32727 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32728
32729 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32730
32731 [BZ #18822]
32732 * include/argz.h (__argz_create_sep): New function prototype.
32733 (__argz_append): Likewise.
32734 (__argz_add): Likewise.
32735 (__argz_add_sep): Likewise.
32736 (__argz_delete): Likewise.
32737 (__argz_insert): Likewise.
32738 (__argz_replace): Likewise.
32739 * string/argz.h (__argz_create_sep): Removed.
32740 (__argz_append): Likewise.
32741 (__argz_add): Likewise.
32742 (__argz_add_sep): Likewise.
32743 (__argz_delete): Likewise.
32744 (__argz_insert): Likewise.
32745 (__argz_replace): Likewise.
32746
32747 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32748
32749 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32750 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32751 (GNU_PROPERTY_STACK_SIZE): Likewie.
32752 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32753 (GNU_PROPERTY_LOPROC): Likewise.
32754 (GNU_PROPERTY_HIPROC): Likewise.
32755 (GNU_PROPERTY_LOUSER): Likewise.
32756 (GNU_PROPERTY_HIUSER): Likewise.
32757 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32758 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32759 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32760 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32761 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32762 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32763 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32764 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32765 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32766 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32767 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32768 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32769 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32770 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32771 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32772 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32773 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32774 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32775 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32776 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32777 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32778 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32779 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32780
32781 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32782
32783 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32784 in C++ mode.
32785
32786 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32787
32788 [BZ #21930]
32789 * math/math.h (isinf): Check if in C or C++ mode before using
32790 __builtin_types_compatible_p, since this is a C mode feature.
32791
32792 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32793
32794 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32795 (__write_nocancel): New macro.
32796 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32797 Rewrite as a function prototype.
32798 (write_not_cancel): Remove macro.
32799 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32800 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32801 (write_gmon): Likewise.
32802 * libio/fileops.c (_IO_new_file_write): Likewise.
32803 * login/utmp_file.c (pututline_file): Likewise.
32804 (updwtmp_file): Likewise.
32805 * stdio-common/psiginfo.c (psiginfo): Likewise.
32806 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32807 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32808 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32809 Likewise.
32810 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32811 Likewise.
32812
32813 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32814 (__read_nocancel): New macro.
32815 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32816 __read_nocancel.
32817 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32818 macro.
32819 (__read_nocancel): New prototype.
32820 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32821 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32822 with __read_nocancel.
32823 * intl/loadmsgcat.c (read): Likewise.
32824 * libio/fileops.c (_IO_file_read): Likewise.
32825 * locale/loadlocale.c (_nl_load_locale): Likewise.
32826 * login/utmp_file.c (getutent_r_file): Likewise.
32827 (internal_getut_r): Likewise.
32828 (getutline_r_file): Likewise.
32829 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32830 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32831 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32832 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32833 Likewise.
32834 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32835 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32836 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32837 Likewise.
32838 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32839 Likewise.
32840 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32841 Likewise.
32842 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32843 Likewise.
32844 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32845
32846 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32847
32848 [BZ #21966]
32849 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32850 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32851 usable.
32852
32853 2017-08-17 DJ Delorie <dj@redhat.com>
32854
32855 * bug17079.c: Update to new test harness.
32856 * test-digits-dots.c: Likewise.
32857 * test-netdb.c: Likewise.
32858 * tst-field.c: Likewise.
32859 * tst-nss-getpwent.c: Likewise.
32860 * tst-nss-static.c: Likewise.
32861 * tst-nss-test1.c: Likewise.
32862 * tst-nss-test2.c: Likewise.
32863 * tst-nss-test3.c: Likewise.
32864 * tst-nss-test4.c: Likewise.
32865 * tst-nss-test5.c: Likewise.
32866
32867 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32868
32869 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32870 (open_not_cancel_2): Likewise.
32871 (open_nocancel): New macro.
32872 (open64_nocancel): Likewise.
32873 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32874 (open_not_cancel_2): Likewise.
32875 (__open_nocancel): New prototype.
32876 (__open64_nocancel): Likewise.
32877 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32878 __open_nocancel.
32879 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32880 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32881 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32882 with __open_nocancel.
32883 * csu/check_fds.c (check_one_fd): Likewise.
32884 * gmon/gmon.c (write_gmon): Likewise.
32885 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32886 * intl/loadmsgcat.c (open): Likewise.
32887 * libio/fileops.c (_IO_file_open): Likewise.
32888 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32889 * locale/loadlocale.c (_nl_load_locale): Likewise.
32890 * login/utmp_file.c (setutent_file): Likewise.
32891 * misc/daemon.c (daemon): Likewise.
32892 * nss/nss_db/db-open.c (internal_setent): Likewise.
32893 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32894 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32895 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32896 (__opendir): Likewise.
32897 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32898 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32899 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32900 (gethostid): Likewise.
32901 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32903 Likewise.
32904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32905 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32906 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32907 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32908 Likewise.
32909 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32910 Likewise.
32911 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32912 Likewise.
32913 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32914 Likewise.
32915 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32916 Likewise.
32917 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32918 Likewise.
32919 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32920 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32921
32922 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32923
32924 * benchtests/bench-skeleton.c (main): Add support for
32925 latency benchmarking.
32926 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32927
32928 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32929
32930 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32931 the startup object.
32932
32933 2017-08-17 Florian Weimer <fweimer@redhat.com>
32934
32935 * include/sys/socket.h (__opensock): Remove internal_function.
32936 * socket/opensock.c (__opensock): Likewise.
32937 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32938
32939 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32940
32941 [BZ #21944]
32942 * signal/bits/types/__sigval_t.h: New file.
32943 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32944 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32945 and define sigval_t using __sigval_t.
32946 * include/bits/types/__sigval_t.h: New file.
32947 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32948 instead of <bits/types/__sigval_t.h>.
32949 (struct sigevent): Use __sigval_t instead of sigval_t.
32950 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32951 instead of <bits/types/__sigval_t.h>.
32952 (siginfo_t): Use __sigval_t instead of sigval_t.
32953 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32954 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32955 (struct sigevent): Use __sigval_t instead of sigval_t.
32956 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32957 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32958 (siginfo_t): Use __sigval_t instead of sigval_t.
32959 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32960
32961 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32962
32963 * NEWS: Remove "[Add new features here]" for 2.27.
32964
32965 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32966
32967 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32968 libc.so.
32969
32970 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32971
32972 * NEWS: Mention x86-64 FMA optimization.
32973
32974 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32975
32976 [BZ #21912]
32977 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32978 Add e_expf-fma.
32979 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32980 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32981 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32982
32983 2017-08-16 Andreas Schwab <schwab@suse.de>
32984
32985 [BZ #16750]
32986 CVE-2009-5064
32987 * elf/ldd.bash.in: Never run file directly.
32988
32989 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32990
32991 [BZ #21955]
32992 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32993 (L(SP_INF_0)): Likewise.
32994
32995 2017-08-15 Florian Weimer <fweimer@redhat.com>
32996
32997 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32998 run-built-tests.
32999
33000 2017-08-15 Florian Weimer <fweimer@redhat.com>
33001
33002 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33003 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33004 BROKEN_THREAD_SIGNALS code.
33005 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33006 request_list): Remove caller_pid member used for
33007 BROKEN_THREAD_SIGNALS.
33008 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33009 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33010 Remove BROKEN_THREAD_SIGNALS support.
33011 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33012 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33013
33014 2017-08-15 Florian Weimer <fweimer@redhat.com>
33015
33016 * gmon/Makefile (tests): Add tst-gmon.
33017 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33018 Set.
33019 (tests-special): Add tst-gmon-prof.out.
33020 (tst-gmon.out): Depend on clean-tst-gmon-data.
33021 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33022 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33023 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33024 startup object.
33025 * aclocal.m4 (GPROF): Set and substitute.
33026 * config.amke.in (GPROF): Set.
33027 * configure: Regenerate.
33028
33029 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33030
33031 * elf/elf.h A (NT_PPC_TAR): New macro.
33032 (NT_PPC_PPR): Likewise.
33033 (NT_PPC_DSCR): Likewise.
33034 (NT_PPC_EBB): Likewise.
33035 (NT_PPC_PMU): Likewise.
33036 (NT_PPC_TM_CGPR): Likewise.
33037 (NT_PPC_TM_CFPR): Likewise.
33038 (NT_PPC_TM_CVMX): Likewise.
33039 (NT_PPC_TM_CVSX): Likewise.
33040 (NT_PPC_TM_SPR): Likewise.
33041 (NT_PPC_TM_CTAR): Likewise.
33042 (NT_PPC_TM_CPPR): Likewise.
33043 (NT_PPC_TM_CDSCR): Likewise.
33044
33045 2017-08-15 Florian Weimer <fweimer@redhat.com>
33046
33047 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33048 regparm (2) instead of internal_function.
33049 (_MCOUNT_DECL): Adjust.
33050
33051 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33052
33053 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33054 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33055
33056 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33057
33058 * conform/data/sys/wait.h-data (si_value): Do not expect for
33059 XPG42.
33060
33061 2017-08-14 Florian Weimer <fweimer@redhat.com>
33062
33063 [BZ #21962]
33064 NSS: Create stubs for accidentally exported lookup functions.
33065 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33066 Remove declaration.
33067 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33068 (ether_hostton): Call __nss_ethers_lookup2 instead.
33069 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33070 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33071 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33072 (setup): Call __nss_netgroup_lookup2 instead.
33073 * nss/Makefile (routines): Add compat-lookup.
33074 * nss/Versions (GLIBC_2.27): Add symbol version.
33075 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33076 (DB_COMPAT_FCT): Remove.
33077 * nss/compat-lookup.c: New file.
33078 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33079 from databases.def.
33080 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33081 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33082 (netname2user): Call __nss_publickey_lookup2 instead.
33083 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33084 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33085 instead.
33086
33087 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33088 Sergei Trofimovich <slyfox@inbox.ru>
33089
33090 [BZ #21908]
33091 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33092 Rename to MMAP2_PAGE_UNIT.
33093 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33094 __OFF_T_MATCHES_OFF64_T is not defined.
33095 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33096 uint64_t.
33097 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33098 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33099
33100 2017-08-14 Florian Weimer <fweimer@redhat.com>
33101
33102 i386: Do not set internal_function.
33103 * config.h.in (USE_REGPARMS, internal_function): Remove.
33104 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33105 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33106
33107 2017-08-14 Florian Weimer <fweimer@redhat.com>
33108
33109 * elf/dl-init.c (_dl_init): Remove internal_function.
33110 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33111 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33112
33113 2017-08-14 Florian Weimer <fweimer@redhat.com>
33114
33115 * elf/rtld.c (_dl_start): Remove internal_function.
33116 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33117 _dl_start.
33118
33119 2017-08-14 Florian Weimer <fweimer@redhat.com>
33120
33121 * elf/dl-fini.c (_dl_fini): Remove internal_function
33122 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33123
33124 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33125
33126 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
33127 (bit_cpu_SHSTK): Likewise.
33128 (index_cpu_IBT): Likewise.
33129 (index_cpu_SHSTK): Likewise.
33130 (reg_IBT): Likewise.
33131 (reg_SHSTK): Likewise.
33132 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33133 Handle index_cpu_IBT and index_cpu_SHSTK.
33134
33135 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33136
33137 [BZ #19982]
33138 * po/fr.po: Fix spelling mistake.
33139
33140 2017-08-13 Florian Weimer <fweimer@redhat.com>
33141
33142 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33143 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33144 (_dl_catch_error, _dl_receive_error): Likewise.
33145 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33146 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33147 (_dl_deallocate_tls): Likewise.
33148 * include/dlfcn.h (_dl_addr): Likewise.
33149 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33150 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33151 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33152 Likewise.
33153
33154 2017-08-13 Florian Weimer <fweimer@redhat.com>
33155
33156 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33157 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33158 internal_function.
33159 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33160
33161 2017-08-13 Florian Weimer <fweimer@redhat.com>
33162
33163 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33164 internal_function.
33165 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33166 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33167 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33168 internal_function from _dl_make_stack_executable_hook member.
33169 (_dl_make_stack_executable): Remove internal_function.
33170 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33171 Likewise.
33172 * sysdeps/unix/sysv/linux/dl-execstack.c
33173 (_dl_make_stack_executable): Likewise.
33174
33175 2017-08-13 Florian Weimer <fweimer@redhat.com>
33176
33177 * sysdeps/unix/sysv/linux/netlinkaccess.h
33178 (__netlink_assert_response): Remove internal_function.
33179 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33180 (__netlink_assert_response): Likewise.
33181
33182 2017-08-13 Florian Weimer <fweimer@redhat.com>
33183
33184 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33185 internal_function.
33186 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33187
33188 2017-08-13 Florian Weimer <fweimer@redhat.com>
33189
33190 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33191 internal_function.
33192 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33193 * inet/netgroup.h (__internal_setnetgrent)
33194 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33195 * inet/getnetgrent_r.c (__internal_setnetgrent)
33196 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33197 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33198 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33199 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33200 * nss/nsswitch.h (db_lookup_function): Likewise.
33201
33202 2017-08-13 Florian Weimer <fweimer@redhat.com>
33203
33204 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33205 Remove internal_function.
33206 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33207 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33208 message argument on the stack.
33209 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33210 Likeweise.
33211
33212 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33213
33214 Adapt test case data to the changes in the thousands
33215 separators.
33216
33217 [BZ #20756]
33218 * localedata/tst-langinfo.sh: Adapt test case data.
33219 * stdlib/tst-strfmon_l.c: Likewise.
33220 * stdlib/tst-strtod4.c: Likewise.
33221 * stdlib/tst-strtod5i.c: Likewise.
33222
33223 2017-08-11 Florian Weimer <fweimer@redhat.com>
33224
33225 [BZ #21242]
33226 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33227 Suppress pedantic warning resulting from statement expression.
33228 (__ASSERT_FUNCTION): Add missing __extension__.
33229
33230 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33231
33232 * benchtests/bench-memmove-large.c: Print output in JSON
33233 format.
33234 * benchtests/bench-memmove.c: Likewise.
33235
33236 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33237 * benchtests/bench-memchr.c (do_one_test): Likewise.
33238 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33239 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33240 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33241 * benchtests/bench-memmove.c (do_one_test): Likewise.
33242 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33243 * benchtests/bench-memset.c (do_one_test): Likewise.
33244 * benchtests/bench-string.h (test_init): Remove memsets.
33245
33246 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33247
33248 * manual/lang.texi
33249 (Computing the Width of an Integer Data Type): Rename section to
33250 "Width of an Integer Type". Remove inaccurate statement regarding
33251 lack of C language facilities for determining width of integer
33252 types, and reorder content to improve flow and context of
33253 discussion.
33254
33255 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33256
33257 * lang.texi (va_copy): Change standard from ISO to C99.
33258 (__va_copy): Add standard and header annotation.
33259 Update description for clarity of origins and current use.
33260
33261 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33262
33263 [BZ #21941]
33264 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33265 xssqrtqp requires operands to be in Vector Registers
33266 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33267 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33268 (__ieee754_sqrtf128): Likewise.
33269
33270 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33271
33272 * sysdeps/aarch64/memcmp.S (memcmp):
33273 Rewrite of optimized memcmp.
33274
33275 2017-08-10 Florian Weimer <fweimer@redhat.com>
33276
33277 Introduce ld.so exceptions.
33278 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33279 (_dl_exception_create, _dl_exception_create_format)
33280 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33281 (_dl_catch_exception): Declare.
33282 (_dl_catch_error): Update comment.
33283 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33284 errstring, malloced members with exception member.
33285 (_dl_out_of_memory): Remove.
33286 (fatal_error): New function, extracted from _dl_signal_error.
33287 (_dl_signal_exception, _dl_signal_cexception): New functions.
33288 (_dl_signal_error): Call _dl_exception_create to allocate an
33289 exception object.
33290 (_dl_catch_exception): New function, based on _dl_catch_error.
33291 (_dl_catch_error): Implement using _dl_catch_exception.
33292 * elf/dl-exception.c: New file.
33293 * elf/Makefile (dl-routines): Add dl-exception.
33294 (elide-routines.os): Likewise.
33295 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33296 _dl_exception_create_format, _dl_exception_free.
33297 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33298 _dl_signal_exception.
33299 * elf/dl-lookup.c (make_string): Remove.
33300 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33301 _dl_signal_cexception, _dl_exception_free.
33302 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33303 _dl_signal_exception.
33304 * elf/dl-sym.c (do_sym): Likewise.
33305 * elf/dl-version.c (make_string): Remove.
33306 (match_symbol): Use _dl_exception_create_format,
33307 _dl_signal_cexception, _dl_exception_free.
33308 (_dl_check_map_versions): Likewise.
33309 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33310 _dl_catch_exception.
33311 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33312 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33313 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33314 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33315 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33316 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33317 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33318 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33319 Likewise.
33320 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33322 (ld.so): Likewise.
33323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33324 (ld.so): Likewise.
33325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33326 Likewise.
33327 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33328 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33329 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33330 Likewise.
33331 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33332 Likewise.
33333 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33334
33335 2017-08-10 Florian Weimer <fweimer@redhat.com>
33336
33337 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33338 attribute_hidden, internal_function.
33339 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33340 internal_function.
33341
33342 2017-08-10 Florian Weimer <fweimer@redhat.com>
33343
33344 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33345 function which calls __builtin_unreachable.
33346
33347 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33348
33349 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33350 Indian monetary formatting
33351 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33352 test cases.
33353
33354 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33355
33356 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33357 Fix typo in comment.
33358
33359 [BZ #21928]
33360 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33361 PTRACE_SEIZE_DEVEL): Remove.
33362 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33363 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33364 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33365 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33366 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33367
33368 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33369
33370 * posix/bits/types.h (__qaddr_t): Remove.
33371
33372 [BZ #21457]
33373 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33374 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33375 __glibc_reserved1.
33376 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33377 (ucontext_t): Use __ctx with uc_flags.
33378 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33379 (__ctxt): Likewise.
33380 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33381 __glibc_reserved1.
33382 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33383 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33384 __glibc_reserved1.
33385 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33386 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33387 __glibc_reserved1.
33388 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33389 macro.
33390 (ucontext_t): Use __ctx with uc_flags.
33391 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33392 (ucontext_t): Use __ctx with uc_flags.
33393 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33394 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33395 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33396 (ucontext_t): Use __ctx with uc_flags.
33397 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33398 undefine further down.
33399 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33400 __glibc_reserved1.
33401 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33402 undefine further down.
33403 (ucontext_t): Use __ctx with uc_flags.
33404 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33405 undefine further down.
33406 (ucontext_t): Use __ctx with uc_flags.
33407 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33408 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33409 Rename uc_pad to __glibc_reserved1.
33410 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33411 undefine further down.
33412 (ucontext_t): Use __ctx with uc_flags.
33413 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33414 further down.
33415 (ucontext_t): Use __ctx with uc_flags.
33416 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33417 __ctx with uc_flags.
33418 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33419 (ucontext_t): Use __ctx with uc_flags.
33420 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33421 __ctx with uc_flags.
33422
33423 2017-08-09 Florian Weimer <fweimer@redhat.com>
33424
33425 [BZ #21932]
33426 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33427 before early return.
33428
33429 2017-08-09 Andreas Schwab <schwab@suse.de>
33430
33431 [BZ #21041]
33432 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33433 renamed alias.
33434
33435 [BZ #21041]
33436 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33437 tst-compat-forwarder.
33438 (modules-names): Add tst-compat-forwarder-mod.
33439 ($(objpfx)tst-compat-forwarder): Depend on
33440 $(objpfx)tst-compat-forwarder-mod.so.
33441 * nptl/tst-compat-forwarder.c: New file.
33442 * nptl/tst-compat-forwarder-mod.c: New file.
33443
33444 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33445
33446 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33447 comments.
33448
33449 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33450 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33451 memcpy_falkor.
33452 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33453 Bump.
33454 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33455 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33456 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33457 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33458 Add falkor.
33459 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33460 New macro.
33461
33462 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33463
33464 [BZ #759]
33465 * manual/setjmp.texi (getcontex): Document uc_stack value
33466 compatibility differences.
33467
33468 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33469
33470 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33471 (old_malloc_hook): Likewise.
33472 (old_memalign_hook): Likewise.
33473 (old_realloc_hook): Likewise.
33474 (struct hdr): Likewise.
33475 (flood): Likewise.
33476 (freehook): Likewise.
33477 (mallochook): Likewise.
33478 (memalignhook): Likewise.
33479 (reallochook): Likewise.
33480 (mprobe): Likewise.
33481 * malloc/mtrace.c (mallwatch): Likewise.
33482 (tr_old_free_hook): Likewise.
33483 (tr_old_malloc_hook): Likewise.
33484 (tr_old_realloc_hook): Likewise.
33485 (tr_old_memalign_hook): Likewise.
33486 (tr_where): Likewise.
33487 (lock_and_info): Likewise.
33488 (tr_freehook): Likewise.
33489 (tr_mallochook): Likewise.
33490 (tr_reallochook): Likewise.
33491 (tr_memalignhook): Likewise.
33492 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33493 * misc/mmap.c (__mmap): Likewise.
33494 * misc/mmap64.c (__mmap64): Likewise.
33495 * misc/mprotect.c (__mprotect): Likewise.
33496 * misc/msync.c (msync): Likewise.
33497 * misc/munmap.c (__munmap): Likewise.
33498 * posix/posix_madvise.c (posix_madvise): Likewise.
33499 * socket/send.c (__send): Likewise.
33500 * socket/sendto.c (__sendto): Likewise.
33501 * socket/setsockopt.c (__setsockopt): Likewise.
33502 * string/memcmp.c (__ptr_t): Remove macro.
33503 (MEMCMP): Use void * instead of ptr_t.
33504 * string/memrchr.c (__ptr_t): Remove macro.
33505 (__memrchr): Use void * instead of ptr_t.
33506 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33507 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33508 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33509 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33510 * sysdeps/mach/msync.c (msync): Likewise.
33511 * sysdeps/mach/munmap.c (__munmap): Likewise.
33512 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33513 Likewise.
33514 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33515 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33516 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33517 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33518 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33519 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33520 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33521 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33522 Likewise.
33523 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33524 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33525 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33526 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33527 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33528 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33529 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33530 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33531 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33532 Likewise.
33533 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33534 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33535 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33536 (MEMCMP): Use void * instead of ptr_t.
33537 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33538 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33539
33540 2017-08-08 Florian Weimer <fweimer@redhat.com>
33541
33542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33543 return statement.
33544
33545 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33546
33547 [BZ #21913]
33548 * csu/libc-tls.c: Include <startup.h> first.
33549 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33550 * elf/dl-tunables.c: Include <startup.h> first.
33551 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33552 * sysdeps/generic/startup.h: New file.
33553 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33554 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33555 (I386_USE_SYSENTER): New. Defined to 0.
33556
33557 2017-08-08 Andreas Schwab <schwab@suse.de>
33558
33559 [BZ #21041]
33560 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33561 * nptl/pt-system.c (system): Likewise.
33562
33563 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33564
33565 [BZ #21780]
33566 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33567 EOPNOTSUPP.
33568 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33569 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33570 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33571 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33572 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33573 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33574 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33575
33576 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33577
33578 [BZ #21899]
33579 * bits/sigaction.h (struct sigaction): Define sa_handler and
33580 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33581 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33582 [__USE_XOPEN_EXTENDED].
33583 (SA_RESTART): Likewise.
33584 (SA_NODEFER): Likewise.
33585 (SA_RESETHAND): Likewise.
33586 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33587 (struct sigaction): Define sa_handler and sa_sigaction using union
33588 also for [__USE_XOPEN_EXTENDED].
33589 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33590 [__USE_XOPEN_EXTENDED].
33591 (SA_RESTART): Likewise.
33592 (SA_NODEFER): Likewise.
33593 (SA_RESETHAND): Likewise.
33594 * sysdeps/unix/sysv/linux/bits/sigaction.h
33595 (struct sigaction): Define sa_handler and sa_sigaction using union
33596 also for [__USE_XOPEN_EXTENDED].
33597 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33598 [__USE_XOPEN_EXTENDED].
33599 (SA_RESTART): Likewise.
33600 (SA_NODEFER): Likewise.
33601 (SA_RESETHAND): Likewise.
33602 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33603 (struct sigaction): Define sa_handler and sa_sigaction using union
33604 also for [__USE_XOPEN_EXTENDED].
33605 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33606 [__USE_XOPEN_EXTENDED].
33607 (SA_RESTART): Likewise.
33608 (SA_NODEFER): Likewise.
33609 (SA_RESETHAND): Likewise.
33610 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33611 (struct sigaction): Define sa_handler and sa_sigaction using union
33612 also for [__USE_XOPEN_EXTENDED].
33613 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33614 [__USE_XOPEN_EXTENDED].
33615 (SA_RESTART): Likewise.
33616 (SA_NODEFER): Likewise.
33617 (SA_RESETHAND): Likewise.
33618 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33619 (struct sigaction): Define sa_handler and sa_sigaction using union
33620 also for [__USE_XOPEN_EXTENDED].
33621 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33622 [__USE_XOPEN_EXTENDED].
33623 (SA_RESTART): Likewise.
33624 (SA_NODEFER): Likewise.
33625 (SA_RESETHAND): Likewise.
33626 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33627 (struct sigaction): Define sa_handler and sa_sigaction using union
33628 also for [__USE_XOPEN_EXTENDED].
33629 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33630 [__USE_XOPEN_EXTENDED].
33631 (SA_RESTART): Likewise.
33632 (SA_NODEFER): Likewise.
33633 (SA_RESETHAND): Likewise.
33634 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33635 (struct sigaction): Define sa_handler and sa_sigaction using union
33636 also for [__USE_XOPEN_EXTENDED].
33637 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33638 [__USE_XOPEN_EXTENDED].
33639 (SA_RESTART): Likewise.
33640 (SA_NODEFER): Likewise. Define directly rather than as alias.
33641 (SA_RESETHAND): Likewise.
33642 (SA_INTERRUPT): Define only for [__USE_MISC].
33643 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33644 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33645 [__USE_MISC].
33646 (SA_STACK): Define only for [__USE_MISC].
33647 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33648 (struct sigaction): Define sa_handler and sa_sigaction using union
33649 also for [__USE_XOPEN_EXTENDED].
33650 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33651 [__USE_XOPEN_EXTENDED].
33652 (SA_RESTART): Likewise.
33653 (SA_NODEFER): Likewise.
33654 (SA_RESETHAND): Likewise.
33655 (SA_NOPTRACE): Define only for [__USE_MISC].
33656
33657 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33658 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33659 (struct catalog_info): Likewise.
33660 * inet/htontest.c (lo): Likewise.
33661 (foo): Likewise.
33662 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33663 * inet/inet_net.c (inet_network): Likewise.
33664 * inet/inet_netof.c (inet_netof): Likewise.
33665 * inet/rcmd.c (__ivaliduser): Likewise.
33666 (iruserok): Likewise.
33667 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33668 * locale/programs/locale-spec.c (locale_special): Likewise.
33669 * nis/nis_findserv.c (struct findserv_req): Likewise.
33670 (__nis_findfastest_with_timeout): Likewise.
33671 * nss/test-netdb.c (test_network): Likewise.
33672 * resolv/inet_neta.c (inet_neta): Likewise.
33673 * resolv/ns_date.c (ns_datetosecs): Likewise.
33674 (SECS_PER_DAY): Likewise.
33675 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33676 Likewise.
33677 * resolv/res_comp.c (__putlong): Likewise.
33678 (__putshort): Likewise.
33679 (_getlong): Likewise.
33680 (_getshort): Likewise.
33681 * resolv/res_debug.c (p_time): Likewise.
33682 (precsize_ntoa): Likewise.
33683 (precsize_aton): Likewise.
33684 (latlon2ul): Likewise.
33685 (loc_aton): Likewise.
33686 (loc_ntoa): Likewise.
33687 * resolv/res_hconf.c (struct netaddr): Likewise.
33688 (_res_hconf_reorder_addrs): Likewise.
33689 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33690 (clnttcp_control): Likewise.
33691 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33692 (clntudp_control): Likewise.
33693 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33694 (clntunix_control): Likewise.
33695 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33696 * sunrpc/rpc/auth.h (union des_block): Likewise.
33697 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33698 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33699 (xdrrec_create): Likewise.
33700 (xdrrec_endofrecord): Likewise.
33701 (flush_out): Likewise.
33702 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33703 (xdrstdio_putlong): Likewise.
33704 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33705 Likewise.
33706
33707 * misc/sys/cdefs.h (__long_double_t): Remove.
33708 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33709 instead of __long_double_t,
33710 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33711
33712 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33713
33714 * benchtests/scripts/compare_strings.py: Avoid display error when
33715 running on a text terminal.
33716
33717 * benchtests/scripts/compare_strings.py (main): Add an
33718 optional -base option.
33719 (process_results): New argument base_func.
33720
33721 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33722 hardcoding memcpy.
33723 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33724 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33725
33726 2017-08-07 Andreas Schwab <schwab@suse.de>
33727
33728 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33729 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33730 * intl/Makefile ($(objpfx)tst-gettext.out)
33731 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33732 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33733 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33734 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33735 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33736 * posix/Makefile ($(objpfx)globtest.out)
33737 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33738 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33739 ($(objpfx)tst-printf.out): Likewise.
33740 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33741 ($(objpfx)tst-setcontext3.out): Likewise.
33742
33743 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33744
33745 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33746 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33747 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33748 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33749 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33750 and mptan-fma.
33751 (CFLAGS-doasin-fma.c): New.
33752 (CFLAGS-dosincos-fma.c): Likewise.
33753 (CFLAGS-e_asin-fma.c): Likewise.
33754 (CFLAGS-e_atan2-fma.c): Likewise.
33755 (CFLAGS-e_exp-fma.c): Likewise.
33756 (CFLAGS-e_log-fma.c): Likewise.
33757 (CFLAGS-e_pow-fma.c): Likewise.
33758 (CFLAGS-halfulp-fma.c): Likewise.
33759 (CFLAGS-mpa-fma.c): Likewise.
33760 (CFLAGS-mpatan-fma.c): Likewise.
33761 (CFLAGS-mpatan2-fma.c): Likewise.
33762 (CFLAGS-mpexp-fma.c): Likewise.
33763 (CFLAGS-mplog-fma.c): Likewise.
33764 (CFLAGS-mpsqrt-fma.c): Likewise.
33765 (CFLAGS-mptan-fma.c): Likewise.
33766 (CFLAGS-s_atan-fma.c): Likewise.
33767 (CFLAGS-sincos32-fma.c): Likewise.
33768 (CFLAGS-slowexp-fma.c): Likewise.
33769 (CFLAGS-slowpow-fma.c): Likewise.
33770 (CFLAGS-s_sin-fma.c): Likewise.
33771 (CFLAGS-s_tan-fma.c): Likewise.
33772 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33773 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33774 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33775 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33776 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33777 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33778 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33779 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33780 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33781 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33782 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33783 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33784 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33785 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33786 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33787 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33788 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33789 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33790 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33791 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33792 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33793 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33794 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33795 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33796 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33798 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33799 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33800 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33801 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33802 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33803
33804 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33805
33806 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33807 (min_of_type_f): New macro.
33808 (min_of_type_): Likewise.
33809 (min_of_type_l): Likewise.
33810 (min_of_type_f128): Likewise.
33811 (min_of_type): Define using __MATH_TG and taking an expression
33812 argument.
33813 (math_check_force_underflow): Pass expression instead of type to
33814 min_of_type.
33815 (math_check_force_underflow_nonneg): Likewise.
33816
33817 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33818
33819 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33820 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33821 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33822
33823 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33824
33825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33826 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33827 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33828 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33829 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33830 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33831 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33832 memmove_chk-nonshared and memset_chk-nonshared
33833 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33834 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33835 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33836 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33837 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33838 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33839 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33840 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33841 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33842 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33843 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33844 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33845 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33846 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33847 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33848 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33849 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33850 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33851 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33852 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33853 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33854 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33855 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33856 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33857 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33858 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33859 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33860 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33861 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33862 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33863 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33864 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33865 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33866 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33867 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33868 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33869 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33870 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33871 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33872 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33873 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33874 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33875 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33876 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33877 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33878 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33879 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33880 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33881 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33882 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33883 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33884 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33885 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33886 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33887 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33888 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33889 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33890 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33891 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33892 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33893 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33894 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33895 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33896 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33897 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33898 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33899 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33900 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33901 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33902 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33903 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33904 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33905 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33906 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33907 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33908 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33909 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33910 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33911 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33912 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33913 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33914 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33915 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33916 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33917 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33918 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33919 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33920 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33921 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33922 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33923 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33924 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33925 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33926 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33927 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33928 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33929 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33930 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33931 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33932 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33933 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33934 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33935 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33936 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33937 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33938 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33939 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33940 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33941
33942 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33943
33944 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33945 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33946 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33947 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33948 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33949 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33950 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33951 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33952 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33953 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33954 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33955 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33956 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33957 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33958 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33959 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33960 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33961 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33962 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33963 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33964 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33965 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33966 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33967 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33968 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33969 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33970 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33971 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33972 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33973 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33974 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33975 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33976 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33977 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33978 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33979 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33980 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33981 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33982 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33983 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33984 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33985 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33986 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33987 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33988 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33989 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33990 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33991 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33992 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33993 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33994 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33995 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33996 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33997 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33998 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33999 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34000 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34001 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34002 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34003 ...
34004 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34005 Don't include <sysdep.h> nor <init-arch.h>.
34006 (_ZGVbN2v_cos): Removed.
34007 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34008 ...
34009 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34010 Don't include <sysdep.h> nor <init-arch.h>.
34011 (_ZGVdN4v_cos): Removed.
34012 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34013 ...
34014 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34015 Don't include <sysdep.h> nor <init-arch.h>.
34016 (_ZGVeN8v_cos): Removed.
34017 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34018 ...
34019 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34020 Don't include <sysdep.h> nor <init-arch.h>.
34021 (_ZGVbN2v_exp): Removed.
34022 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34023 ...
34024 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34025 Don't include <sysdep.h> nor <init-arch.h>.
34026 (_ZGVdN4v_exp): Removed.
34027 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34028 ...
34029 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34030 Don't include <sysdep.h> nor <init-arch.h>.
34031 (_ZGVeN8v_exp): Removed.
34032 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34033 ...
34034 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34035 Don't include <sysdep.h> nor <init-arch.h>.
34036 (_ZGVbN2v_log): Removed.
34037 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34038 ...
34039 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34040 Don't include <sysdep.h> nor <init-arch.h>.
34041 (_ZGVdN4v_log): Removed.
34042 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34043 ...
34044 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34045 Don't include <sysdep.h> nor <init-arch.h>.
34046 (_ZGVeN8v_log): Removed.
34047 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34048 ...
34049 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34050 Don't include <sysdep.h> nor <init-arch.h>.
34051 (_ZGVbN2vv_pow): Removed.
34052 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34053 ...
34054 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34055 Don't include <sysdep.h> nor <init-arch.h>.
34056 (_ZGVdN4vv_pow): Removed.
34057 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34058 ...
34059 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34060 Don't include <sysdep.h> nor <init-arch.h>.
34061 (_ZGVeN8vv_pow): Removed.
34062 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34063 ...
34064 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34065 Don't include <sysdep.h> nor <init-arch.h>.
34066 (_ZGVbN2v_sin): Removed.
34067 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34068 ...
34069 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34070 Don't include <sysdep.h> nor <init-arch.h>.
34071 (_ZGVbN4v_sin): Removed.
34072 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34073 ...
34074 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34075 Don't include <sysdep.h> nor <init-arch.h>.
34076 (_ZGVbN8v_sin): Removed.
34077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34078 ...
34079 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34080 Don't include <sysdep.h> nor <init-arch.h>.
34081 (_ZGVbN2vvv_sincos): Removed.
34082 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34083 ...
34084 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34085 Don't include <sysdep.h> nor <init-arch.h>.
34086 (_ZGVdN4vvv_sincos): Removed.
34087 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34088 ...
34089 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34090 Don't include <sysdep.h> nor <init-arch.h>.
34091 (_ZGVeN8vvv_sincos): Removed.
34092 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34093 ...
34094 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34095 Don't include <sysdep.h> nor <init-arch.h>.
34096 (_ZGVeN16v_cosf): Removed.
34097 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34098 ...
34099 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34100 Don't include <sysdep.h> nor <init-arch.h>.
34101 (_ZGVbN4v_cosf): Removed.
34102 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34103 ...
34104 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34105 Don't include <sysdep.h> nor <init-arch.h>.
34106 (_ZGVdN8v_cosf): Removed.
34107 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34108 ...
34109 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34110 Don't include <sysdep.h> nor <init-arch.h>.
34111 (_ZGVeN16v_expf): Removed.
34112 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34113 ...
34114 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34115 Don't include <sysdep.h> nor <init-arch.h>.
34116 (_ZGVbN4v_expf): Removed.
34117 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34118 ...
34119 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34120 Don't include <sysdep.h> nor <init-arch.h>.
34121 (_ZGVdN8v_expf): Removed.
34122 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34123 ...
34124 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34125 Don't include <sysdep.h> nor <init-arch.h>.
34126 (_ZGVeN16v_logf): Removed.
34127 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34128 ...
34129 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34130 Don't include <sysdep.h> nor <init-arch.h>.
34131 (_ZGVbN4v_logf): Removed.
34132 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34133 ...
34134 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34135 Don't include <sysdep.h> nor <init-arch.h>.
34136 (_ZGVdN8v_logf): Removed.
34137 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34138 ...
34139 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34140 Don't include <sysdep.h> nor <init-arch.h>.
34141 (_ZGVeN16vv_powf): Removed.
34142 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34143 ...
34144 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34145 Don't include <sysdep.h> nor <init-arch.h>.
34146 (_ZGVbN4vv_powf): Removed.
34147 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34148 ...
34149 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34150 Don't include <sysdep.h> nor <init-arch.h>.
34151 (_ZGVdN8vv_powf): Removed.
34152 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34153 ...
34154 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34155 Don't include <sysdep.h> nor <init-arch.h>.
34156 (_ZGVeN16vvv_sincosf): Removed.
34157 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34158 ...
34159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34160 Don't include <sysdep.h> nor <init-arch.h>.
34161 (_ZGVbN4vvv_sincosf): Removed.
34162 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34163 ...
34164 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34165 Don't include <sysdep.h> nor <init-arch.h>.
34166 (_ZGVdN8vvv_sincosf): Removed.
34167 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34168 ...
34169 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34170 Don't include <sysdep.h> nor <init-arch.h>.
34171 (_ZGVeN16v_sinf): Removed.
34172 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34173 ...
34174 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34175 Don't include <sysdep.h> nor <init-arch.h>.
34176 (_ZGVbN4v_sinf): Removed.
34177 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34178 ...
34179 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34180 Don't include <sysdep.h> nor <init-arch.h>.
34181 (_ZGVdN8v_sinf): Removed.
34182
34183 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34184
34185 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34186 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34187 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34188 s_rint-sse4_1 and s_rintf-sse4_1.
34189 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34190 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34191 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34192 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34193 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34194 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34195 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34196 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34197 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34198 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34199 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34200 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34201 (__ceil): Removed.
34202 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34203 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34204 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34205 (__ceilf): Removed.
34206 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34207 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34208 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34209 (__floor): Removed.
34210 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34211 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34212 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34213 (__floorf): Removed.
34214 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34215 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34216 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34217 (__nearbyint): Removed.
34218 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34219 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34220 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34221 (__nearbyintf): Removed.
34222 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34223 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34224 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34225 (__rint): Removed.
34226 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34227 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34228 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34229 (__rintf): Removed.
34230
34231 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34232
34233 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34234 SHARED. Avoid dynamic relocation against main in static PIE.
34235
34236 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34237
34238 [BZ #21815]
34239 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34240 (LDFLAGS-tst-prelink): Likewise.
34241
34242 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34243
34244 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34245 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34246 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34247 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34248 (INTERNAL_SYSCALL_NCS): Likewise.
34249 (LOADARGS_1): Likewise.
34250 (LOADARGS_5): Likewise.
34251 (RESTOREARGS_1): Likewise.
34252 (RESTOREARGS_5): Likewise.
34253
34254 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34255
34256 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34257 (MEMPCPY_SYMBOL): Likewise.
34258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34259 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34260 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34261 in libc.a.
34262 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34263 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34264 Likewise.
34265 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34266 (__hidden_ver1): Don't use in libc.a.
34267 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34268 (__mempcpy): Don't create a weak alias in libc.a.
34269 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34270 libc.a.
34271 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34272 (__hidden_ver1): Don't use in libc.a.
34273
34274 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34275
34276 * config.make.in (have-insert): New.
34277 * configure.ac (libc_cv_insert): New. Set to yes if linker
34278 supports INSERT in linker script.
34279 (AC_SUBST(libc_cv_insert): New.
34280 * configure: Regenerated.
34281 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34282 if $(have-insert) == yes.
34283
34284 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34285
34286 * elf/Makefile (tests): Add vismain only if
34287 $(have-protected-data) == yes.
34288 (tests-pie): Likewise.
34289
34290 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34291
34292 [BZ #21871]
34293 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34294 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34295
34296 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34297
34298 [BZ #21790]
34299 * sysdeps/i386/i586/memset.S
34300 (__memset_zero_constant_len_parameter): Removed.
34301 * sysdeps/i386/i686/memset.S
34302 (__memset_zero_constant_len_parameter): Likewise.
34303 * sysdeps/i386/i686/multiarch/memset_chk.S
34304 (__memset_zero_constant_len_parameter): Likewise.
34305 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34306 Likewise.
34307
34308 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34309
34310 * stdlib/getentropy.c (getentropy): Change return type to int.
34311
34312 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34313
34314 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34315
34316 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34317
34318 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34319 u_intN_t.
34320 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34321 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34322 Likewise.
34323 (ieee_float_shape_type): Likewise.
34324 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34325 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34326 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34327 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34328 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34329 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34330 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34331 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34332 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34333 Likewise.
34334 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34335 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34336 (__ieee754_yn): Likewise.
34337 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34338 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34339 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34340 Likewise.
34341 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34342 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34343 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34344 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34345 (__erfc): Likewise.
34346 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34347 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34348 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34349 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34350 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34351 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34352 Likewise.
34353 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34354 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34355 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34356 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34357 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34358 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34359 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34360 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34361 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34362 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34363 (__issignaling): Likewise.
34364 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34365 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34366 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34367 Likewise.
34368 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34369 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34370 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34371 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34372 Likewise.
34373 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34374 Likewise.
34375 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34376 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34377 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34378 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34379 (__erfcf): Likewise.
34380 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34381 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34382 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34383 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34384 Likewise.
34385 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34386 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34387 Likewise.
34388 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34389 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34390 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34391 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34392 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34393 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34394 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34395 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34396 Likewise.
34397 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34398 Likewise.
34399 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34400 Likewise.
34401 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34402 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34403 Likewise.
34404 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34405 Likewise.
34406 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34407 (__ieee754_ynl): Likewise.
34408 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34409 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34410 Likewise.
34411 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34412 Likewise.
34413 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34414 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34415 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34416 Likewise.
34417 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34418 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34419 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34420 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34421 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34422 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34423 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34424 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34425 Likewise.
34426 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34427 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34428 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34429 Likewise.
34430 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34431 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34432 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34433 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34434 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34435 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34436 Likewise.
34437 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34438 Likewise.
34439 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34440 Likewise.
34441 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34442 Likewise.
34443 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34444 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34445 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34446 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34447 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34448 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34449 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34450 Likewise.
34451 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34452 Likewise.
34453 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34454 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34455 Likewise.
34456 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34457 (__ieee754_remainderl): Likewise.
34458 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34459 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34460 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34461 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34462 Likewise.
34463 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34464 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34465 Likewise.
34466 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34467 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34468 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34469 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34470 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34471 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34472 Likewise.
34473 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34474 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34475 (__ieee754_y0l): Likewise.
34476 (pzero): Likewise.
34477 (qzero): Likewise.
34478 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34479 (__ieee754_y1l): Likewise.
34480 (pone): Likewise.
34481 (qone): Likewise.
34482 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34483 (__ieee754_ynl): Likewise.
34484 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34485 (__ieee754_lgammal_r): Likewise.
34486 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34487 Likewise.
34488 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34489 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34490 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34491 (__erfcl): Likewise.
34492 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34493 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34494 Likewise.
34495 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34496 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34497 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34498 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34499 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34500 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34501 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34502 Likewise.
34503 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34504 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34505 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34506 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34507 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34508 Likewise.
34509 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34510 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34511 Likewise.
34512 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34513 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34514 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34515 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34516 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34517
34518 2017-08-03 Florian Weimer <fweimer@redhat.com>
34519
34520 [BZ #21885]
34521 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34522 on memory allocation failure.
34523
34524 2017-08-03 Alan Modra <amodra@gmail.com>
34525
34526 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34527 tst-tlsopt-powerpc.c with function name change and no test harness.
34528 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34529 Call tls_get_addr_opt_test.
34530 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34531 (modules-names): Add mod-tlsopt-powerpc.
34532 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34533 (tst-tlsopt-powerpc): Depend on .so.
34534 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34535 define. Expand use in TLS_GD and TLS_LD.
34536
34537 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34538
34539 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34540 function.
34541 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34542
34543 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34544
34545 [BZ #21686]
34546 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34547 comparing size with that of double.
34548 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34549 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34550 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34551 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34552 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34553 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34554 unsigned __int128 types.
34555
34556 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34557
34558 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34559 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34560 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34561 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34562 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34563
34564 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34565
34566 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34567
34568 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34569
34570 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34571 of SHARED.
34572 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34573 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34574 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34575 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34576 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34577 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34579
34580 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34581
34582 [BZ #21685]
34583 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34584 bit-field expressions passed to sizeof or typeof.
34585 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34586 (__TGMATH_F128): Likewise.
34587 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34588 (__TGMATH_CF128): Likewise.
34589 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34590 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34591 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34592 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34593 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34594 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34595 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34596 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34597 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34598 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34599 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34600 (__TGMATH_UNARY_IMAG): Likewise.
34601 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34602 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34603 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34604 type.
34605 (define_vars_for_type): Handle bit_field type specially.
34606 (Tests.__init__): Declare structure with bit-field element.
34607
34608 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34609
34610 [BZ #21791]
34611 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34612 (MEMCPY_CHK): Define only if SHARED is defined.
34613 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34614 Likewise.
34615 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34616 Likewise.
34617
34618 See ChangeLog.18 for earlier changes.